/* The VIP invite page (vip.php): the approved VIP direction (design-skills/muck-ui): near-black, warm ivory, muted gold,
   a restrained Georgia headline, space over panels. Two X pictures, the one invited in gold (Shaun, 2026-11-01: "the gold should be
   on the invited"), a thin line between them. */
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url('fonts/Inter-Variable-latin.woff2') format('woff2')}
*{box-sizing:border-box}
.vipx-page{--vipx-bg:#0c0c0b;--vipx-ivory:#eee9dc;--vipx-gold:#ddc58a;--vipx-copy:#aaa79d;--vipx-line:#615234;
  margin:0;min-height:100vh;background:var(--vipx-bg);color:var(--vipx-ivory);font-family:var(--muck-font);-webkit-font-smoothing:antialiased;
  display:flex;flex-direction:column}
.vipx-nav{padding:var(--muck-space-5) var(--muck-space-6);display:flex;justify-content:center}   /* centered over the page (Shaun, 2026-11-01) */
.vipx-nav a{display:block}
.vipx-nav img{display:block;width:132px;height:auto}
.vipx-main{flex:1;width:100%;max-width:720px;margin:0 auto;padding:var(--muck-space-7) var(--muck-space-5) 96px;text-align:center}

/* the two of them */
.vipx-pair{display:flex;align-items:flex-start;justify-content:center;gap:var(--muck-space-4)}
.vipx-person{margin:0;display:flex;flex-direction:column;align-items:center;gap:var(--muck-space-3);width:200px}
.vipx-pfp{position:relative;display:grid;place-items:center;width:120px;height:120px;border-radius:50%;overflow:hidden;
  background:#1a1916;border:1px solid var(--vipx-line)}
.vipx-person--guest .vipx-pfp{border:2px solid var(--vipx-gold);box-shadow:0 0 0 6px #ddc58a14}
.vipx-initial{font:400 46px/1 Georgia,serif;color:var(--vipx-gold)}
.vipx-pfp img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.vipx-person figcaption{display:flex;flex-direction:column;align-items:center;gap:var(--muck-space-1);max-width:100%}
/* a name wraps to two lines at most, each line the same height whatever font an emoji in it comes from */
.vipx-person figcaption b{font-size:15px;font-weight:700;line-height:20px;color:var(--vipx-ivory);max-width:100%;text-align:center;overflow-wrap:anywhere;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;max-height:40px}
.vipx-person figcaption small{margin-top:-2px;font-size:12px;color:var(--vipx-copy);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}   /* the @handle under their name */
.vipx-person figcaption span{margin-top:2px;font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--vipx-copy)}
.vipx-person--guest figcaption span{color:var(--vipx-gold)}
.vipx-link{flex:0 1 120px;align-self:flex-start;margin-top:59px;height:1px;background:linear-gradient(90deg,var(--vipx-line),var(--vipx-gold));position:relative}
.vipx-link span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:0 var(--muck-space-2);background:var(--vipx-bg);
  font:italic 13px/1 Georgia,serif;color:var(--vipx-gold);white-space:nowrap}

/* what it says */
.vipx-title{margin:var(--muck-space-7) 0 var(--muck-space-4);font:400 clamp(34px,6vw,56px)/1.08 Georgia,serif;letter-spacing:-.02em;color:var(--vipx-ivory);overflow-wrap:anywhere;text-wrap:balance}
.vipx-title em{color:var(--vipx-gold)}
.vipx-lead{margin:0 auto;max-width:520px;font-size:16px;line-height:1.65;color:var(--vipx-copy);text-wrap:pretty}   /* no word left alone on the last line */
.vipx-actions{margin-top:var(--muck-space-6);display:flex;flex-direction:column;align-items:center;gap:var(--muck-space-3)}
.vipx-cta{min-height:48px;padding:0 var(--muck-space-6);font-size:15px}
.vipx-micro{max-width:420px;font-size:12px;line-height:1.5;color:var(--vipx-copy);text-wrap:balance}   /* lines of even length, no word left alone */
.vipx-error{margin:0;font-size:13px;color:var(--muck-red)}
.vipx-error[hidden]{display:none}
/* the way out: quiet, under the button */
.vipx-alt{margin-top:var(--muck-space-2);font-size:13px;color:var(--vipx-copy);text-decoration:underline;text-decoration-color:var(--vipx-line);text-underline-offset:3px}
.vipx-alt:hover{color:var(--vipx-ivory)}
.vipx-alt:focus-visible{outline:2px solid var(--vipx-gold);outline-offset:3px;border-radius:2px}

@media (max-width:600px){
  .vipx-nav{padding:var(--muck-space-4)}
  .vipx-nav img{width:112px}
  .vipx-main{padding:var(--muck-space-6) var(--muck-space-4) var(--muck-space-7)}
  .vipx-pair{gap:var(--muck-space-2)}
  .vipx-person{width:136px}
  .vipx-pfp{width:92px;height:92px}
  .vipx-initial{font-size:36px}
  .vipx-link{flex-basis:64px;margin-top:45px}
  .vipx-cta,.vipx-actions>.mg-wrap{align-self:stretch}
  .vipx-actions>.mg-wrap>.vipx-cta{width:100%}   /* Google's layer wraps the button (assets/google-chooser.js fast): full width either way */
}
@media (max-width:360px){
  .vipx-person{width:120px}
  .vipx-pfp{width:84px;height:84px}
  .vipx-link{flex-basis:72px;margin-top:41px}
}
.vipx-cta .vipx-x{font-size:17px;line-height:1}
.vipx-note{margin:0;font-size:13px;color:var(--vipx-ivory)}
/* You're in (youre-in.php): their picture big, in the gold ring */
.vipx-in{display:flex;flex-direction:column;align-items:center}
.vipx-pfp--in{width:140px;height:140px;border:2px solid var(--vipx-gold);box-shadow:0 0 0 8px #ddc58a14}
.vipx-in .vipx-title{margin-top:var(--muck-space-6)}
/* Only the one invited (vip.php): their face big, the sender a small line under the headline */
.vipx-solo{display:flex;justify-content:center}
.vipx-solo .vipx-person{width:260px}
.vipx-solo .vipx-pfp{width:168px;height:168px}
.vipx-solo .vipx-initial{font-size:60px}
.vipx-solo .vipx-person figcaption b{font-size:17px}
.vipx-solo + .vipx-title{margin-top:var(--muck-space-6)}
.vipx-by{display:flex;align-items:center;justify-content:center;gap:var(--muck-space-2);margin:0 0 var(--muck-space-4);font-size:15px;color:var(--vipx-copy)}
.vipx-by b{color:var(--vipx-ivory);font-weight:700}
.vipx-by-pfp{position:relative;display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;overflow:hidden;background:#1a1916;border:1px solid var(--vipx-line);color:var(--vipx-gold);font:400 14px/1 Georgia,serif}
.vipx-by-pfp img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media (max-width:600px){
  .vipx-solo .vipx-pfp{width:136px;height:136px}
  .vipx-solo .vipx-initial{font-size:48px}
}
/* You're out (youre-out.php): the face in gray behind a crooked DENIED stamp */
.vipx-out-face{position:relative;display:inline-flex}
.vipx-pfp--out{border-color:var(--muck-red);box-shadow:0 0 0 8px #e5484d14;filter:grayscale(1)}
.vipx-out-stamp{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-14deg);padding:4px 12px;border:3px solid var(--muck-red);border-radius:6px;background:#141716d9;color:var(--muck-red);font-size:22px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;line-height:1.2}
/* Not yours (not-for-you.php): the same calm page, two short paragraphs before Apply */
.vipx-notfor .vipx-lead + .vipx-lead{margin-top:var(--muck-space-3)}
/* The spotlight on the one invited (vip.php), as the share card and the leaderboard podium have it: two gold
   beams from above crossing onto the face, a warm glow behind it, the ring lit */
.vipx-solo--spot{position:relative;isolation:isolate;margin-top:12px}   /* the face and words 12px lower, the logo where it was (Shaun, 2026-11-01: "scooch the image and the text down like 12px") */
.vipx-solo--spot::before{content:'';position:absolute;z-index:-1;left:50%;top:84px;width:420px;height:420px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#ffd48057,#ffd48014 45%,transparent 70%);pointer-events:none}
.vipx-beam{position:absolute;z-index:-1;top:-230px;left:50%;width:190px;height:470px;background:linear-gradient(180deg,#ffdf914d,#ffdf9114 70%,transparent);clip-path:polygon(47% 0,53% 0,100% 100%,0 100%);filter:blur(8px);transform-origin:50% 0;pointer-events:none}
.vipx-beam--l{transform:translateX(-50%) translateX(-300px) rotate(-38deg)}
.vipx-beam--r{transform:translateX(-50%) translateX(300px) rotate(38deg)}
.vipx-solo--spot .vipx-person{margin-top:12px}   /* the face and everything under it 12px lower again, the beams and glow where they are (Shaun, 2026-11-01: "leave logo and spotlight alone, move person and text below person (all text) down 12 px") */
.vipx-solo--spot .vipx-pfp{box-shadow:0 0 0 6px #ddc58a1f,0 0 34px #ffd48047}
html:has(.vipx-solo--spot),body:has(.vipx-solo--spot){overflow-x:clip}   /* the beams reach past a phone's edges: no sideways scroll */
@media (max-width:600px){
  .vipx-beam{top:-190px;width:140px;height:380px}
  .vipx-beam--l{transform:translateX(-50%) translateX(-190px) rotate(-36deg)}
  .vipx-beam--r{transform:translateX(-50%) translateX(190px) rotate(36deg)}
  .vipx-solo--spot::before{top:68px;width:320px;height:320px}
  .vipx-solo--spot{margin-top:0}   /* phones keep the face where it was (Shaun, 2026-11-01: "mobile is fine no change") */
  .vipx-solo--spot .vipx-person{margin-top:0}
}
