/* Candied Online Invitations: host guest-list demo */
.gl{background:#F7F2EC}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.gl-hero{position:relative;color:#fff;background:radial-gradient(80% 120% at 85% 0%,#5a1540 0%,#22101f 48%,#0d090f 100%);padding:130px clamp(20px,5vw,64px) 120px;overflow:hidden}
.gl-hero::before{content:'';position:absolute;inset:auto -10% -60% 40%;height:120%;background:radial-gradient(closest-side,rgba(236,22,142,.22),transparent);pointer-events:none}
.gl-hero-in{position:relative;max-width:1240px;margin:0 auto;display:flex;align-items:flex-end;justify-content:space-between;gap:40px;flex-wrap:wrap}
.gl-id .eye{color:#D4AF6A}
.gl-id h1{font-size:clamp(38px,5.2vw,66px);line-height:1.02}
.gl-id h1 em{display:block;font:italic 500 .62em/1.2 'Cormorant Garamond',Georgia,serif;color:#E3C48D;letter-spacing:.01em;margin-top:4px}
.gl-meta{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px 22px;color:rgba(255,255,255,.78);font-size:14.5px}
.gl-meta li{display:flex;align-items:center;gap:8px}
.gl-meta svg{width:17px;height:17px;color:#E3C48D}
.gl-side{display:flex;flex-direction:column;align-items:flex-end;gap:14px}
.gl-switch{display:flex;align-items:center;gap:10px;font-size:13px;color:rgba(255,255,255,.66)}
.gl-switch select{appearance:none;-webkit-appearance:none;min-height:40px;padding:0 36px 0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08) linear-gradient(45deg,transparent 50%,#E3C48D 50%) calc(100% - 18px) 17px/5px 5px no-repeat;color:#fff;font:500 14px 'Poppins',sans-serif;cursor:pointer}
.gl-switch select option,.gl-switch select optgroup{color:#0F2526}
.gl-theme{display:flex;align-items:center;gap:10px;font-size:13px;color:rgba(255,255,255,.7)}
.gl-dots{display:flex}.gl-dots i{width:16px;height:16px;border-radius:50%;margin-left:-5px;box-shadow:0 0 0 2px #22101f}.gl-dots i:first-child{margin-left:0}
.gl-acts{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.gbtn{white-space:nowrap;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:999px;border:0;cursor:pointer;background:rgba(255,255,255,.1);color:#fff;font:600 14px 'Poppins',sans-serif;text-decoration:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);transition:background .25s,transform .25s}
.gbtn svg{width:17px;height:17px}
.gbtn:hover{background:rgba(255,255,255,.18);transform:translateY(-1px)}
.gbtn.light{background:#fff;color:#C2106F;box-shadow:none}.gbtn.light:hover{background:#FFF0F7}
.gbtn.dark{background:#0F2526;color:#fff;box-shadow:none;width:100%;justify-content:center}.gbtn.dark:hover{background:#EC168E}
.gl-note{position:relative;z-index:2;max-width:1240px;margin:-34px auto 0;padding:0 clamp(20px,5vw,64px)}
.gl-note{display:flex;gap:12px;align-items:flex-start}
.gl-note>span{display:none}
.gl-note p{margin:0 auto;width:100%;max-width:1240px;padding:13px 18px 13px 46px;border-radius:16px;background:#FFF8E6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B07A12' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 7.6v.4'/%3E%3C/svg%3E") 16px 14px/20px no-repeat;color:#6b5013;font-size:14px;box-shadow:0 0 0 1px rgba(176,122,18,.18),0 18px 40px -30px rgba(15,37,38,.5)}
.gl-body{max-width:1240px;margin:0 auto;padding:26px clamp(20px,5vw,64px) clamp(70px,9vw,110px)}
.gl-stats{display:grid;grid-template-columns:repeat(3,1fr) 1.05fr;gap:16px}
.st{position:relative;border-radius:24px;background:#fff;padding:22px 24px;box-shadow:0 0 0 1px rgba(15,37,38,.06),0 26px 50px -40px rgba(15,37,38,.6);overflow:hidden}
.st::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px}
.st-yes::before{background:#1E9E6A}.st-no::before{background:#D24C5A}.st-heads::before{background:#EC168E}
.st-l{display:block;font:600 12px 'Poppins',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#6b7b7c}
.st b{display:block;margin:8px 0 4px;font:600 46px/1 'Fraunces',serif;font-variant-numeric:tabular-nums;color:#0F2526}
.st small{font-size:13.5px;color:#6b7b7c}
.st-ring{display:flex;align-items:center;gap:18px}
.st-ring::before{display:none}
.st-ring svg{width:92px;height:92px;flex:none;transform:rotate(-90deg)}
.st-ring circle{fill:none;stroke-width:12;stroke-linecap:round}
.rg-bg{stroke:#EFE8E1}.rg-yes{stroke:#1E9E6A;transition:stroke-dasharray 1.2s cubic-bezier(.2,.8,.2,1)}.rg-no{stroke:#D24C5A;transition:stroke-dasharray 1.2s cubic-bezier(.2,.8,.2,1),stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1)}
.st-ring b{margin:0;font-size:38px}
.st-ring span{font-size:13.5px;color:#6b7b7c}
.gl-bar{display:flex;height:8px;margin:18px 0 30px;border-radius:99px;overflow:hidden;background:#EFE8E1}
.gl-bar i{width:0;transition:width 1.2s cubic-bezier(.2,.8,.2,1)}
.b-yes{background:#1E9E6A}.b-no{background:#D24C5A}.b-wait{background:#E8C066}
.gl-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.gl-main{border-radius:26px;background:#fff;box-shadow:0 0 0 1px rgba(15,37,38,.06),0 30px 60px -46px rgba(15,37,38,.6);overflow:hidden}
.gl-tools{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;border-bottom:1px solid rgba(15,37,38,.07)}
.seg{display:flex;gap:4px;padding:4px;border-radius:999px;background:#F4EEE8;overflow-x:auto;scrollbar-width:none;max-width:100%}
.seg::-webkit-scrollbar{display:none}
.seg button{flex:none;border:0;background:transparent;padding:9px 15px;border-radius:999px;font:500 14px 'Poppins',sans-serif;color:#4f6162;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}
.seg button sup{font-size:11px;opacity:.6;margin-left:2px}
.seg button[aria-selected=true]{background:#fff;color:#0F2526;font-weight:600;box-shadow:0 4px 14px -6px rgba(15,37,38,.35)}
.gl-tr{display:flex;gap:10px;flex-wrap:wrap}
.srch{display:flex;align-items:center;gap:8px;min-height:42px;padding:0 14px;border-radius:999px;background:#F7F3EF;box-shadow:inset 0 0 0 1px rgba(15,37,38,.08)}
.srch svg{width:17px;height:17px;color:#7c8b8c}
.srch input{border:0;background:transparent;font:400 14.5px 'Poppins',sans-serif;color:#0F2526;width:170px;outline:0}
.srch:focus-within{box-shadow:inset 0 0 0 1.5px #EC168E}
.sortl select{appearance:none;-webkit-appearance:none;min-height:42px;padding:0 34px 0 14px;border-radius:999px;border:0;background:#F7F3EF linear-gradient(45deg,transparent 50%,#C2106F 50%) calc(100% - 17px) 18px/5px 5px no-repeat;box-shadow:inset 0 0 0 1px rgba(15,37,38,.08);font:500 14px 'Poppins',sans-serif;color:#0F2526;cursor:pointer}
.gl-head,.g{display:grid;grid-template-columns:minmax(0,1.5fr) 118px 84px minmax(0,1.5fr) 100px;gap:16px;align-items:center}
.gl-head{padding:12px 22px;font:600 11.5px 'Poppins',sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#8a9798;background:#FCFAF8;border-bottom:1px solid rgba(15,37,38,.06)}
.gl-list{list-style:none;margin:0;padding:0}
.g{padding:14px 22px;border-bottom:1px solid rgba(15,37,38,.06);animation:rowin .5s cubic-bezier(.2,.8,.2,1) both;transition:background .2s}
.g:hover{background:#FDFAF7}
.g.mine{background:linear-gradient(90deg,#FFF0F7,#fff 60%)}
@keyframes rowin{from{opacity:0;transform:translateY(8px)}}
.g-who{display:flex;align-items:center;gap:12px;min-width:0}
.av{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;font:600 13.5px 'Poppins',sans-serif;color:hsl(var(--h,330) 45% 30%);background:hsl(var(--h,330) 60% 92%)}
.av.sm{width:32px;height:32px;font-size:11.5px}
.g-nm{min-width:0;display:flex;flex-direction:column}
.g-nm .nl{display:flex;align-items:center;gap:8px;min-width:0}
.g-nm b{font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.you{flex:none;padding:2px 8px;border-radius:999px;background:#EC168E;color:#fff;font:600 10.5px 'Poppins',sans-serif;letter-spacing:.06em;vertical-align:2px;font-style:normal}
.grp{font-size:12.5px;color:#7c8b8c}
.pill{justify-self:start;display:inline-flex;align-items:center;gap:6px;padding:5px 12px 5px 10px;border-radius:999px;font:600 12.5px 'Poppins',sans-serif}
.pill::before{content:'';width:7px;height:7px;border-radius:50%;background:currentColor}
.p-yes{background:#E6F5EE;color:#157a51}.p-no{background:#FBEAEC;color:#b13a48}.p-wait{background:#FBF2DF;color:#9a6c12}
.g-party b{font:600 18px 'Fraunces',serif}
.g-party small{font-size:12.5px;color:#7c8b8c}
.g-party i{font-style:normal;color:#b5bfc0}
.g-note{margin:0;font-size:13.5px;line-height:1.45;color:#4f6162;font-style:italic;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.g-note.none{visibility:hidden}
.more{display:flex;justify-content:center;padding:20px}
.more button{border:0;cursor:pointer;min-height:44px;padding:0 22px;border-radius:999px;background:#F4EEE8;color:#0F2526;font:600 14px 'Poppins',sans-serif;transition:background .2s}.more button:hover{background:#FFE3F1}
.g-time{font-size:13px;color:#7c8b8c;text-align:right}
.g-wait .g-time{color:#b0973f}
.gl-empty{margin:0;padding:40px 20px;text-align:center;color:#7c8b8c}
.gl-aside{display:grid;gap:18px;position:sticky;top:24px}
.card{border-radius:24px;background:#fff;padding:22px 22px 20px;box-shadow:0 0 0 1px rgba(15,37,38,.06),0 26px 50px -40px rgba(15,37,38,.6)}
.card h2{font-size:19px;margin-bottom:14px}
.feed{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.feed li{display:flex;gap:12px;align-items:flex-start}
.feed p{margin:0;font-size:14px;line-height:1.4;color:#33494a}
.feed p b{font-weight:600;color:#0F2526}
.feed small{font-size:12px;color:#8a9798}
.feed .f-no p{color:#7c8b8c}
.groups{list-style:none;margin:0;padding:0;display:grid;gap:13px}
.gr-t{display:flex;justify-content:space-between;font-size:13.5px;margin-bottom:6px}
.gr-t b{font-weight:600;font-variant-numeric:tabular-nums}
.gr-bar{height:6px;border-radius:99px;background:#F1EBE5;overflow:hidden}
.gr-bar i{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#EC168E,#F7A3CF);transition:width 1s cubic-bezier(.2,.8,.2,1)}
.remind{background:linear-gradient(160deg,#FFF0F7,#fff 60%)}
.remind p{margin:0 0 16px;font-size:14.5px;color:#4f6162}
.remind p b{font-weight:600;color:#C2106F}
.toast{position:fixed;left:50%;bottom:24px;z-index:60;max-width:min(92vw,460px);padding:14px 20px;border-radius:16px;background:#0F2526;color:#fff;font-size:14.5px;box-shadow:0 24px 50px -20px rgba(0,0,0,.5);transform:translate(-50%,20px);opacity:0;transition:opacity .35s,transform .35s}
.toast.on{opacity:1;transform:translate(-50%,0)}
@media (max-width:1100px){.gl-grid{grid-template-columns:1fr}.gl-aside{position:static;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.gl-stats{grid-template-columns:repeat(2,1fr)}}
@media (max-width:860px){
  .gl-hero{padding-top:110px}.gl-side{align-items:flex-start}.gl-acts{justify-content:flex-start}
  .gl-head{display:none}
  .g{grid-template-columns:1fr auto;grid-template-areas:'who pill' 'note note' 'party time';gap:8px 12px;padding:16px 18px}
  .g-who{grid-area:who}.pill{grid-area:pill;justify-self:end}.g-note{grid-area:note;padding-left:52px}.g-party{grid-area:party;padding-left:52px}.g-time{grid-area:time}
  .g.nn{grid-template-areas:'who pill' 'party time'}
  .gl-tools{padding:14px}.gl-tr{width:100%}.srch{flex:1}.srch input{width:100%}
}
@media (max-width:860px){.g-note.none{display:none}}
@media (max-width:520px){.gl-stats{gap:10px}.st{padding:16px}.st b{font-size:34px}.st small{font-size:12.5px;line-height:1.4;display:block}.st-ring{flex-direction:column;gap:6px;text-align:center;justify-content:center}.st-ring svg{width:70px;height:70px}.st-ring b{font-size:28px}.gl-acts{width:100%;display:grid;grid-template-columns:1fr 1fr}.gl-acts .gbtn{justify-content:center;padding:0 12px;font-size:13.5px}.gl-acts .gbtn.light{grid-column:1/-1}.gl-switch{width:100%}.gl-switch select{flex:1}}
@media (prefers-reduced-motion:reduce){.g{animation:none}}
/* mobile scroll fixes: clip (not a scroll container) instead of hidden; 16px inputs stop iOS zoom-on-focus */
body.show.gl{overflow-x:clip}
@media (max-width:860px){.srch input,.sortl select,.gl-switch select{font-size:16px}}
