/* Portfloor site: a bright gallery wall where the invitations bring the colour.
   One system typeface, as on the original Portfloor. Ink on porcelain, colour only from the films. */
:root{
  --bg:#FBFAF8; --surface:#FFFFFF; --ink:#18171A; --muted:#6D6A70; --line:rgba(24,23,26,.09); --focus:#3B63F6;
  --blush:#F2D3C9; --sage:#D3DCCB; --rose:#A5564C;
  /* Inter for the site's own text (the system fonts read thin, Segoe UI above all); the logo keeps its own face below */
  --display:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --logo:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --shadow-lg:0 1px 1px rgba(24,23,26,.04),0 30px 70px -30px rgba(24,23,26,.35);
  --btn-bg:#18171A; --btn-fg:#FFFFFF; --hover:rgba(24,23,26,.05); --chip:#F2F0EC; --line-strong:rgba(24,23,26,.16);
  --nav-bg:rgba(251,250,248,.72); --body-ink:#3A383D; --card-empty:#E9E6DF; --band:#18171A;
  --g-bg:#FFFFFF; --g-border:#747775; --g-fg:#1F1F1F; --glow:1; --danger:#C2413A;
  /* "only": Chrome's forced dark mode must not repaint the light theme (the dark one is our own) */
  color-scheme:only light;
}
:root[data-theme="dark"]{
  --bg:#0C0E12; --surface:#151920; --ink:#F3F4F6; --muted:#A1A7B2; --line:rgba(255,255,255,.09); --rose:#D98F84;
  --shadow-lg:0 1px 1px rgba(0,0,0,.3),0 30px 70px -30px rgba(0,0,0,.7);
  --btn-bg:#EDF0F5; --btn-fg:#171B23; --hover:rgba(255,255,255,.06); --chip:#1F242D; --line-strong:rgba(255,255,255,.2);
  --nav-bg:rgba(12,14,18,.78); --body-ink:#C9CED8; --card-empty:#1B2029; --band:#1B2029;
  --g-bg:#131314; --g-border:#8E918F; --g-fg:#E3E3E3; --glow:.16; --danger:#F07F76;
  color-scheme:dark;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 var(--font);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.nav{position:sticky;top:0;z-index:50;background:var(--nav-bg);-webkit-backdrop-filter:saturate(1.4) blur(18px);backdrop-filter:saturate(1.4) blur(18px);border-bottom:1px solid transparent;transition:border-color .3s}
.nav.scrolled{border-bottom-color:var(--line)}
.nav-in{max-width:1240px;margin:0 auto;height:68px;padding:0 24px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px}
.brand{justify-self:start;display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink)}
.brand .wm{font-family:var(--logo);font-size:25px;font-weight:650;letter-spacing:-1.35px;line-height:1;white-space:nowrap}
/* the P of the wordmark is the mark: a play button for a counter, drawn to the font's cap height */
.wm-p{display:inline-block;width:.516em;height:.703em;margin-right:-.05em;background:currentColor;-webkit-mask:url(/assets/mark.svg) 0 0/100% 100% no-repeat;mask:url(/assets/mark.svg) 0 0/100% 100% no-repeat}
.site-foot .brand .wm{font-size:21px;letter-spacing:-1px}
.tabs{display:flex;align-items:center;gap:32px}
.tabs a{position:relative;text-decoration:none;color:var(--muted);font-size:14.5px;padding:8px 0}
.tabs a:hover{color:var(--ink)}
.tabs a[aria-current="page"]{color:var(--ink);font-weight:600}
.actions{justify-self:end;position:relative;display:flex;align-items:center;gap:14px}
.icon-link{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;color:var(--muted)}
.icon-link:hover{color:var(--ink);background:var(--hover)}
.icon-link svg{width:19px;height:19px}
.avatar{width:38px;height:38px;border-radius:50%;border:0;display:grid;place-items:center;background:var(--chip);color:var(--ink);font:600 15px/1 var(--font);cursor:pointer;overflow:hidden}
/* the account menu: who you are and your usage, then the plan and help, then sign out (Claude and ChatGPT style) */
.account-menu{position:absolute;right:0;top:calc(100% + 10px);min-width:264px;padding:6px;border-radius:14px;background:var(--surface);box-shadow:0 0 0 1px var(--line),0 24px 50px -24px rgba(24,23,26,.4);
  display:grid;grid-template-columns:44px minmax(0,1fr);align-content:start;z-index:60;min-width:284px}
.account-menu>*{grid-column:1/-1}
.account-menu p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-menu .am-av{grid-column:1;grid-row:1/span 2;align-self:center;justify-self:end;width:32px;height:32px;margin:8px 2px 8px 0;border-radius:50%;display:grid;place-items:center;background:var(--chip);color:var(--ink);font:600 13.5px/1 var(--font)}
.account-menu #account-email{grid-column:2;grid-row:1;align-self:end;padding:10px 10px 1px 8px;font-size:13.5px;color:var(--ink)}
.account-menu #account-plan{grid-column:2;grid-row:2;align-self:start;display:flex;align-items:center;gap:6px;padding:1px 10px 10px 8px;font-size:12.5px;color:var(--muted)}
.account-menu #account-email:only-of-type{grid-row:1/span 2;align-self:center;padding-bottom:10px}
.plan-tag{padding:2px 7px;border-radius:99px;background:var(--chip);font-size:11px;font-weight:500;line-height:1.2;color:var(--muted)}
.account-menu a,.account-menu button{display:flex;align-items:center;gap:11px;height:38px;padding:0 10px;border:0;border-radius:9px;background:transparent;font:500 14px/1 var(--font);color:var(--ink);text-align:left;text-decoration:none;cursor:pointer}
.account-menu a:hover,.account-menu button:hover{background:var(--hover)}
.account-menu #account-subscription::before,.account-menu a[href^="mailto:"]::before,.account-menu #signout::before{content:'';flex:none;width:18px;height:18px;background:var(--muted);-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat}
.account-menu #account-subscription{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E")}
.account-menu #account-subscription[href="/pricing"]{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 4.6L18.5 9.5l-4.6 1.9L12 16l-1.9-4.6L5.5 9.5l4.6-1.9z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3C/svg%3E")}
.account-menu a[href^="mailto:"]{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.6 9.4a2.5 2.5 0 1 1 3.4 2.4c-.6.3-1 .8-1 1.5v.6M12 17h.01'/%3E%3C/svg%3E")}
.account-menu #signout{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-2'/%3E%3Cpath d='M10 12h11m-3-3l3 3-3 3'/%3E%3C/svg%3E")}
.am-sep{height:1px;margin:5px 6px;background:var(--line)}
/* the AI balance: a thin gauge in the account menu (the only place it shows until it runs low) */
.account-usage{display:grid;gap:8px;margin:0;padding:8px 10px 12px;border-radius:9px;cursor:pointer;outline-offset:-2px}
.account-usage:hover{background:var(--hover)}
.account-usage[hidden]{display:none}
.account-menu .usage-refills{margin-top:2px;padding:0;border:0;font-size:12.5px;color:var(--muted)}
.usage-refills{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:7px;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.account-menu .usage-manage{width:auto!important;height:auto;min-height:0;margin-right:-8px;padding:3px 8px!important;border:0;border-radius:7px;background:transparent;color:var(--ink);font:500 12.5px var(--font);cursor:pointer}
.account-menu .usage-manage:hover{background:var(--hover)}
.balance-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px}
.balance-heading h2{margin:0}
.refill-card{padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--bg);margin-bottom:14px}
.refill-card strong{display:block;font-size:19px;font-weight:600;letter-spacing:-.4px;margin-bottom:8px}
.sheet .refill-card p{font-size:13.5px;margin:0 0 18px}
.refill-actions{display:flex;flex-direction:column;gap:8px}
.refill-actions button{min-height:44px;padding:10px 16px;border:1px solid var(--line-strong);border-radius:11px;background:var(--surface);color:var(--ink);font:500 14px var(--font);cursor:pointer}
.refill-actions .refill-primary{border-color:transparent;background:var(--btn-bg);color:var(--btn-fg)}
.refill-actions button:disabled{opacity:.5;cursor:default}
.refill-actions button[hidden]{display:none}
.sheet .refill-status{font-size:13.5px;margin:0 0 14px;color:var(--ink)}
.balance-details{font-size:13px;color:var(--muted)}
.balance-details summary{cursor:pointer;padding:5px 0}
.sheet .balance-details p{font-size:13px;margin:12px 0 0}
.ai-low{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}
.ai-low button{border:0;padding:6px 10px;border-radius:8px;background:var(--chip);color:var(--ink);font:500 12.5px var(--font);cursor:pointer}
.usage-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:12.5px;font-weight:500;color:var(--ink)}
.usage-left{font-weight:600;font-variant-numeric:tabular-nums;color:var(--ink)}
.usage-bar{height:6px;border-radius:99px;background:var(--line-strong);overflow:hidden}
.usage-fill{display:block;height:100%;border-radius:99px;background:var(--ink);transition:width .4s}
/* the site was updated while this tab stayed open */
.update-bar{position:fixed;left:50%;bottom:24px;z-index:140;display:flex;align-items:center;gap:14px;max-width:calc(100vw - 32px);padding:9px 9px 9px 16px;border-radius:14px;
  background:var(--btn-bg);color:var(--btn-fg);font:500 14px/1.35 var(--font);box-shadow:0 18px 40px -18px rgba(0,0,0,.5);opacity:0;transform:translate(-50%,10px);transition:opacity .25s,transform .25s}
.update-bar.show{opacity:1;transform:translate(-50%,0)}
.update-bar button{border:0;border-radius:9px;padding:7px 12px;background:var(--btn-fg);color:var(--btn-bg);font:600 13.5px var(--font);cursor:pointer}
.account-usage.low .usage-fill{background:var(--danger)}
.account-usage.low .usage-left{color:var(--danger)}
.account-menu .usage-when{margin:0;padding:0;font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted)}
/* under the box, only when the balance runs low */
.ai-low{grid-column:1/-1;margin:0;padding:10px 2px 0;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}
.ai-low[hidden]{display:none}
.ai-meter-row{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:10px 2px 0;color:var(--muted);font-size:12px;line-height:1.5}
.ai-meter{padding:0;border:0;background:none;color:var(--ink);font:500 12px/1.5 var(--font);cursor:pointer;text-align:left}
.ai-meter:hover{text-decoration:underline;text-underline-offset:3px}
.ai-rates{display:grid;grid-template-columns:1fr auto;gap:14px;margin:24px 0;padding:18px 0;border-block:1px solid var(--line);font-size:14px}
.ai-rates dt,.ai-rates dd{margin:0}.ai-rates dd{font-weight:600;font-variant-numeric:tabular-nums}
.ai-usage-sheet{width:min(440px,calc(100% - 32px));border:1px solid var(--line);border-radius:24px;padding:28px;color:var(--ink);background:var(--surface)}
.ai-usage-sheet::backdrop{background:rgba(0,0,0,.3);backdrop-filter:blur(4px)}
.ai-usage-sheet h2{margin:0 0 12px;font-size:24px;letter-spacing:-.5px}.ai-usage-sheet p{color:var(--muted);font-size:14px;line-height:1.6}
.ai-usage-sheet .sheet-btns{display:flex;justify-content:flex-end;margin-top:24px}.ai-usage-sheet .sheet-btns button{border:0;border-radius:24px;padding:12px 24px;font:600 14px var(--font);background:var(--ink);color:var(--bg);cursor:pointer}
@media(max-width:480px){.ai-meter-row{align-items:flex-start;font-size:11px}.ai-meter{font-size:11px}.ai-meter-row>span{max-width:55%;text-align:right}}
.show-xs{display:none}
.pill-btn{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 18px;border-radius:999px;border:0;background:var(--btn-bg);color:var(--btn-fg)!important;
  font:500 14.5px/1 var(--font);text-decoration:none;cursor:pointer;box-shadow:0 8px 20px -10px rgba(24,23,26,.6);transition:transform .2s}
.pill-btn:hover{transform:translateY(-1px)}
.pill-btn.big{height:52px;padding:0 26px;font-size:16px}
.pill-btn{white-space:nowrap}

.page{max-width:1240px;margin:0 auto;padding:40px 24px 110px}
.page h1{margin:0 0 32px;font-size:44px;font-weight:600;line-height:1.08;letter-spacing:-1.8px}
@media (max-width:700px){ .page h1{font-size:34px;letter-spacing:-1.2px} }
.cta-btn{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 20px;border-radius:999px;background:var(--btn-bg);color:var(--btn-fg);text-decoration:none;font-weight:500;font-size:15px;justify-self:start}

.legal{max-width:720px}
.legal h2{margin:32px 0 8px;font-size:20px;font-weight:600;letter-spacing:-.4px}
.legal p,.legal li{color:var(--body-ink)}
.legal .updated{color:var(--muted);margin-top:-24px}

.missing{max-width:560px;margin:14vh auto;padding:0 24px;text-align:center}
.missing h1{font-size:34px;font-weight:600;letter-spacing:-1.2px;margin:0 0 14px}
.missing p{color:var(--muted);margin:0 0 26px}

.site-foot{max-width:1240px;margin:0 auto;padding:30px 24px 44px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;color:var(--muted);font-size:14px}
.site-foot nav{display:flex;gap:20px}
.site-foot a{text-decoration:none}
.site-foot a:hover{color:var(--ink)}

/* the guest-facing invitation page */
.invite-body{background:#171816}
.invite-stage{min-height:100vh;min-height:100dvh;display:grid;place-items:center}
.invite-stage .invite{width:100vw;height:100vh;height:100dvh}
@media (min-width:600px){
  .invite-stage .invite{width:auto;height:min(calc(100dvh - 40px),900px);aspect-ratio:9/16;border-radius:28px}
}

/* header on smaller screens: tabs go, actions stay */
@media (max-width:900px){ .nav-in{grid-template-columns:auto 1fr} .tabs{display:none} }
@media (max-width:560px){
  .nav-in{height:60px;padding:0 16px;gap:10px}
  .actions{gap:8px}
  .icon-link{display:none}
  .hide-xs{display:none} .show-xs{display:inline}
  .pill-btn{height:36px;padding:0 14px;font-size:13.5px}
  .g-btn{height:36px;padding:0 12px 0 10px;font-size:13.5px}
  .brand .wm{font-size:22px;letter-spacing:-1.1px}
}

.cta-btn{border:0;cursor:pointer;font-family:inherit}

/* Google's own sign-in button styling: light and dark themes from its branding guidelines */
.g-btn{display:inline-flex;align-items:center;gap:10px;height:40px;padding:0 16px 0 12px;border-radius:999px;border:1px solid var(--g-border);background:var(--g-bg);color:var(--g-fg);font:500 14px/1 var(--font);cursor:pointer;white-space:nowrap}
.g-btn:hover{box-shadow:0 1px 3px rgba(0,0,0,.2)}
.g-btn .g-logo{width:18px;height:18px;flex:none}
.g-btn.big{height:48px;padding:0 22px 0 16px;font-size:15px}
.theme-switch{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:0;background:transparent;color:var(--muted);cursor:pointer;flex:none}
.theme-switch svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.theme-switch:hover{background:var(--hover);color:var(--ink)}

/* My invitations: a centred sign-in card, and a centred empty state once signed in */
.auth-wrap{position:relative;isolation:isolate;overflow:clip;min-height:calc(100vh - 68px);min-height:calc(100dvh - 68px);display:grid;place-items:center;padding:48px 20px 72px}
.auth-wrap .glow{position:absolute;border-radius:50%;filter:blur(60px);z-index:-1;pointer-events:none;opacity:var(--glow)}
.auth-wrap .g1{width:620px;height:620px;right:-120px;top:-220px;background:radial-gradient(closest-side,rgba(242,211,201,.95),rgba(242,211,201,0))}
.auth-wrap .g2{width:560px;height:560px;left:-200px;bottom:-200px;background:radial-gradient(closest-side,rgba(211,220,203,.9),rgba(211,220,203,0))}
.auth-card{width:min(420px,100%);padding:44px 36px 30px;border-radius:28px;background:var(--surface);text-align:center;display:grid;justify-items:center;gap:14px;
  box-shadow:0 0 0 1px var(--line),0 40px 90px -40px rgba(24,23,26,.45)}
.auth-mark{margin-bottom:6px}
.auth-card h1{margin:0;font-size:28px;font-weight:650;letter-spacing:-.9px;line-height:1.15}
.auth-card>p{margin:0 0 12px;color:var(--muted);font-size:15.5px;line-height:1.5;max-width:30ch}
.g-btn.wide{width:100%;height:50px;justify-content:center;font-size:15.5px;border-radius:14px}
.auth-card .fine{margin:10px 0 0;font-size:12.5px;line-height:1.5;color:var(--muted);max-width:32ch}
.auth-card .fine a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.auth-card .fine a:hover{color:var(--ink)}
:root[data-theme="dark"] .auth-mark{filter:invert(1) hue-rotate(180deg)}

.dash-in{max-width:1240px;margin:0 auto;padding:36px 24px 110px}
.dash-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.dash-head h1{margin:0;font-size:32px;font-weight:650;letter-spacing:-1.1px}
.dash-head .cta-btn{height:42px}
.empty-state{min-height:52vh;display:grid;place-content:center;justify-items:center;text-align:center;gap:12px;padding:56px 0}
.empty-state h2{margin:14px 0 0;font-size:22px;font-weight:650;letter-spacing:-.6px}
.empty-state p{margin:0 0 12px;color:var(--muted);max-width:36ch}
.fan{position:relative;width:190px;height:150px}
.fan img{position:absolute;left:50%;bottom:0;width:84px;aspect-ratio:2/3;object-fit:cover;border-radius:12px;
  box-shadow:0 0 0 1px var(--line),0 18px 34px -18px rgba(24,23,26,.55);transform-origin:50% 100%}
.fan img:nth-child(1){transform:translateX(-50%) translateX(-58px) rotate(-12deg)}
.fan img:nth-child(2){transform:translateX(-50%) translateY(-6px);z-index:1}
.fan img:nth-child(3){transform:translateX(-50%) translateX(58px) rotate(12deg)}
@media (max-width:560px){ .auth-card{padding:36px 22px 24px} .dash-head h1{font-size:26px} }
.empty-state .cta-btn{justify-self:center}

/* the closing band, shared by home and pricing */
.cx{max-width:1240px;margin:0 auto 90px;padding:0 24px}
.cx-in{position:relative;overflow:hidden;border-radius:40px;background:var(--band);color:#F6F3EE;padding:clamp(48px,8vw,110px) clamp(28px,6vw,90px);display:grid;gap:28px;justify-items:start}
.cx-in::before{content:"";position:absolute;inset:auto -10% -60% 30%;height:120%;background:radial-gradient(closest-side,rgba(197,130,112,.45),transparent 70%);pointer-events:none}
.cx h2{position:relative;margin:0;font-size:clamp(34px,4.6vw,60px);font-weight:600;line-height:1.05;letter-spacing:-2px;max-width:14ch}
.cx h2 em{font-style:normal;color:#E7B3A5}
.cx p{position:relative;margin:0;color:rgba(246,243,238,.7);font-size:16px}
.cx .pill-btn{position:relative;background:#F6F3EE;color:#18171A!important}
.cx-fan{position:absolute;right:clamp(40px,7vw,110px);top:50%;width:300px;height:290px;transform:translateY(-50%);pointer-events:none}
.cx-fan img{position:absolute;left:50%;bottom:0;width:150px;aspect-ratio:4/5;object-fit:cover;border-radius:16px;transform-origin:50% 100%;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 30px 50px -24px rgba(0,0,0,.7)}
.cx-fan img:nth-child(1){transform:translateX(-50%) translateX(-92px) rotate(-13deg)}
.cx-fan img:nth-child(2){transform:translateX(-50%) translateY(-10px);z-index:1}
.cx-fan img:nth-child(3){transform:translateX(-50%) translateX(92px) rotate(13deg)}
@media (max-width:900px){ .cx-fan{display:none} }

/* the sign-in card is the page's only sign-in button */
body:has(#dash-out:not([hidden])) #signin{display:none!important}

/* My invitations: what has been made, newest first */
.dash-sub{margin:6px 0 0;color:var(--muted);font-size:14px}
.inv-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 22px;margin-top:30px}
.inv{display:grid;gap:5px;min-width:0;color:var(--ink);text-decoration:none}
.inv-poster{position:relative;display:block;margin-bottom:9px;aspect-ratio:9/16;border-radius:22px;overflow:hidden;background:var(--card-empty);
  box-shadow:0 0 0 1px var(--line),0 24px 50px -32px rgba(24,23,26,.55);transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s}
.inv-poster img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.inv:hover .inv-poster{transform:translateY(-6px);box-shadow:0 0 0 1px var(--line),0 40px 70px -34px rgba(24,23,26,.6)}
/* a world is a place, not a card: wider, as on the home shelf */
.inv.world .inv-poster{aspect-ratio:4/5}
.inv:hover .inv-poster img{transform:scale(1.035)}
.inv b{font-size:15.5px;font-weight:600;letter-spacing:-.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inv span{font-size:13.5px;color:var(--body-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inv small{font-size:12.5px;color:var(--muted)}
@media (max-width:980px){ .inv-grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width:700px){ .inv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px} .inv-poster{border-radius:18px} }

/* not found: the site around it, and a way back */
.missing{margin:0 auto;display:grid;justify-items:center;gap:0}
.missing .fan{margin-bottom:30px}
.missing-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.line-btn{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 20px;border-radius:999px;color:var(--ink);text-decoration:none;
  font-weight:500;font-size:15px;box-shadow:inset 0 0 0 1px var(--line-strong);transition:background .2s}
.line-btn:hover{background:var(--hover)}

/* dialogs, shared by the chat and My invitations */
.sheet{width:min(400px,calc(100vw - 32px));padding:26px 24px 20px;border:0;border-radius:22px;background:var(--surface);color:var(--ink);
  box-shadow:0 0 0 1px var(--line),0 40px 90px -30px rgba(0,0,0,.5)}
.sheet::backdrop{background:rgba(12,14,18,.5)}
.sheet h2{margin:0 0 8px;font-size:20px;font-weight:650;letter-spacing:-.3px}
.sheet p{margin:0 0 22px;color:var(--muted);font-size:15px;line-height:1.5}
.sheet-btns{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.sheet-btns button{height:42px;padding:0 18px;border:0;border-radius:12px;background:var(--chip);color:var(--ink);font:600 14.5px/1 var(--font);cursor:pointer}
.sheet-btns .danger{background:var(--danger);color:#fff}
.sheet-btns .primary{background:var(--btn-bg);color:var(--btn-fg)}
.sheet-btns .g-btn{border:1px solid var(--g-border);background:var(--g-bg);color:var(--g-fg);font-weight:500}
/* a link to copy */
.link-box{display:flex;gap:8px;margin:-6px 0 22px}
.link-box input{flex:1;min-width:0;height:44px;padding:0 12px;border:1px solid var(--line-strong);border-radius:12px;background:var(--bg);color:var(--ink);font:500 14.5px var(--font);outline:none}
.link-box input:focus{border-color:var(--ink)}
.link-box button{flex:none;height:44px;padding:0 16px;border:0;border-radius:12px;background:var(--btn-bg);color:var(--btn-fg);font:600 14px/1 var(--font);cursor:pointer}

/* My invitations: live state on each card, and the reply list */
.inv-state{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}
.inv-state.live{color:var(--ink);font-weight:500}
.inv-state.live::before{content:"";width:7px;height:7px;border-radius:50%;background:#3FA34D;box-shadow:0 0 0 3px rgba(63,163,77,.18)}
.sheet.wide{width:min(520px,calc(100vw - 24px));padding:22px 22px 18px}
.inv-top{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;margin-bottom:18px}
.inv-top img{width:52px;height:72px;object-fit:cover;border-radius:10px;box-shadow:0 0 0 1px var(--line)}
.inv-head h2{margin:0 0 4px;font-size:19px}
.inv-head p{margin:0;font-size:14px}
.sheet-x{align-self:start;width:36px;height:36px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:var(--muted);cursor:pointer}
.sheet-x:hover{background:var(--hover);color:var(--ink)}
.sheet-x svg{width:18px;height:18px}
.sheet.wide .link-box{margin:0 0 18px}
.seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:12px;background:var(--chip);margin-bottom:10px}
.seg button{height:36px;border:0;border-radius:9px;background:transparent;color:var(--muted);font:500 14px/1 var(--font);cursor:pointer}
.seg button b{margin-left:4px;font-weight:600}
.seg button[aria-selected="true"]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px rgba(24,23,26,.12)}
.rep-list{list-style:none;margin:0 0 16px;padding:0;max-height:300px;overflow-y:auto}
.rep-list li{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:9px 2px;border-bottom:1px solid var(--line)}
.rep-list li:last-child{border-bottom:0}
.rep-face{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--chip);font:600 12.5px/1 var(--font)}
.rep-name{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rep-time{font-size:12.5px;color:var(--muted)}
.rep-x{width:30px;height:30px;border:0;border-radius:8px;display:grid;place-items:center;background:transparent;color:var(--muted);cursor:pointer}
.rep-x:hover{background:var(--hover);color:var(--danger)}
.rep-x svg{width:15px;height:15px}
.rep-empty{margin:6px 0 18px;text-align:center;color:var(--muted);font-size:14px}
.sheet-btns .sheet-link{display:inline-flex;align-items:center;height:42px;padding:0 18px;border-radius:12px;background:var(--chip);color:var(--ink);font:600 14.5px/1 var(--font);text-decoration:none}
.sheet-btns .sheet-link.primary{background:var(--btn-bg);color:var(--btn-fg)}
.sheet-btns .ghost-danger{margin-right:auto;background:transparent;color:var(--danger)}
.sheet-btns .ghost-danger.confirm{background:var(--danger);color:#fff}
