/* site.css  Option A, "The living room".
   A warm, light page that grows out of the lamp-lit wall of the family's own room. Navy ink (the night in
   the window), gold for the one button that matters, raspberry and teal only where the two teams are.
   Real pictures lead; the type stays quiet. core.css (loaded first) holds the working parts. */

:root{
  --bg:#f7eee4;
  --paper:#fffaf3;
  --ink:#0d1533;
  --ink-2:#39405c;
  --mute:#6a6770;
  --line:rgba(13,21,51,.12);
  --line-2:rgba(13,21,51,.32);
  --line-3:rgba(13,21,51,.55);
  --field:#fffaf3;
  --gold:#ffc63c;
  --gold-hi:#ffd66b;
  --gold-lo:#c8890a;
  --gold-ink:#1a1202;
  --cream:#fdf6e6;
  --night:#0b1024;
  --team-a:#c6285b;
  --team-b:#2a9bb2;
  --bad:#b3261e;
  --bad-soft:#fdebe7;
  --bad-line:rgba(179,38,30,.38);
  --ok:#1c7a4b;
  --ring:#0d1533;
  --ring-soft:rgba(255,198,60,.5);
  --select:#ffc63c;
  --r:24px;
  --r-s:14px;
  --r-btn:16px;
  --r-tile:12px;
  --track:#e2d5c5;
  --track-on:#0d1533;
  --tile-bg:#eadfd1;
  --tile-hi:#f8f0e6;
  --chip-bg:#0d1533;
  --chip-ink:#fdf6e6;
  --pick-bg:#fff1c9;
  --pick-line:#0d1533;
  --drop-bg:#fffaf3;
  --drop-line:#d9a21c;
  --swatch-gap:#fffaf3;
  --gutter:clamp(20px,4.4vw,64px);
  --sec:clamp(72px,9vw,132px);
  --ease:cubic-bezier(.2,.8,.2,1);
  --pop:cubic-bezier(.34,1.45,.64,1);
  --warm-shadow:0 30px 60px -30px rgba(74,42,22,.45),0 8px 18px -10px rgba(74,42,22,.25);
  color-scheme:light;
}

.wrap{width:100%;max-width:1240px;margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
h3{font-size:22px;line-height:1.25;font-weight:800}
.btn-small{border-radius:12px}

/* ---------- top bar ---------- */
.top{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:20px;min-height:72px;
  padding:10px max(var(--gutter),calc((100% - 1240px) / 2 + var(--gutter)));transition:background-color .25s,box-shadow .25s}
/* 2026-11-27 (the visitor pass on live): the pinned bar is one solid colour, like the home page's. It was 97 percent
   solid over a blur; in Safari's engine the page's own words showed through it as faint ghost letters behind the logo
   and Sign in while scrolling (his words for this kind: "messy behind the backgrounds"). The two bottom bars the same. */
.top.is-stuck,.top-fixed{background:var(--bg);
  box-shadow:0 1px 0 var(--line)}
.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);
  font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-size:20px;letter-spacing:.03em;line-height:1;min-height:44px}
.brand svg{width:38px;height:38px;flex:none;padding:6px;border-radius:11px;background:var(--night);
  transition:transform .35s var(--pop)}
.brand:hover svg{transform:rotate(-8deg) scale(1.06)}
.top-nav{display:flex;gap:6px;margin-left:auto}
.top-nav a,.top-link{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;
  font-weight:700;font-size:16px;text-decoration:none;transition:background-color .15s}
.top-nav a:hover,.top-link:hover{background:rgba(13,21,51,.07)}
.top-end{display:flex;align-items:center;margin-left:auto}
.top-get{opacity:0;max-width:0;padding:0;margin-left:0;overflow:hidden;white-space:nowrap;pointer-events:none;visibility:hidden;
  transition:opacity .25s,max-width .35s var(--ease),padding .35s var(--ease),margin .35s var(--ease),transform .14s var(--ease),box-shadow .14s,visibility 0s .35s}
.top.is-past .top-get{opacity:1;max-width:250px;padding:0 18px;margin-left:10px;pointer-events:auto;visibility:visible;transition-delay:0s}
.top.is-past .top-get:hover{transform:translateY(-1px)}
.top .save{margin-left:auto}

/* ---------- section heads ---------- */
.sec-head{text-align:center;max-width:820px;margin:0 auto}
.sec-head h2{font-size:clamp(28px,3.5vw,46px);text-wrap:balance}
.sec-head p{margin-top:14px;font-size:clamp(18px,1.5vw,21px);color:var(--ink-2)}

/* things that rise into place the first time they are scrolled to (only when scripts run) */
.js [data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease),transform .9s var(--ease)}
.js [data-reveal].is-in{opacity:1;transform:none}

/* ---------- hero ---------- */
.hero-top{background:var(--bg);margin-top:-72px;padding-top:72px}
.hero-words{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(28px,4.4vw,72px);align-items:center;
  padding-top:clamp(14px,2.4vh,26px);padding-bottom:clamp(22px,3.6vh,36px)}
.hero h1{font-size:clamp(34px,min(4.05vw,7.4vh),60px);letter-spacing:.012em}
.hero h1 span{display:block;white-space:nowrap}
.hero-line{font-size:clamp(18px,1.45vw,21px);line-height:1.4;font-weight:600;max-width:21em;text-wrap:balance}
.hero-go{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-top:16px}
.more-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:750;font-size:17px;text-decoration:none}
.more-link::after{content:"";width:9px;height:9px;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(45deg) translate(-2px,-2px);
  transition:transform .2s var(--ease)}
.more-link:hover::after{transform:rotate(45deg) translate(2px,2px)}

.room{position:relative;margin:0}
.room-in{position:relative;aspect-ratio:16/9;overflow:hidden;
  -webkit-mask-image:linear-gradient(#000 88%,transparent 100%);mask-image:linear-gradient(#000 88%,transparent 100%)}
.room-in > img{width:100%;height:100%;object-fit:cover}
.room-screen{position:absolute;left:27.36%;top:6.15%;width:45.33%;height:45.75%;object-fit:cover;background:#090d22}
.room-tag{position:absolute;left:clamp(18px,3.4vw,56px);bottom:16%;padding:14px 20px 13px;border-radius:14px;background:var(--cream);color:var(--ink);
  font-size:clamp(15px,1.25vw,18px);line-height:1.25;font-weight:700;transform:rotate(-3deg);
  box-shadow:0 18px 30px -14px rgba(40,20,8,.6),0 2px 0 rgba(255,255,255,.7) inset}
.room-tag span{display:block}
.room-tag b{display:block;font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-weight:400;font-size:1.3em;letter-spacing:.02em;text-transform:uppercase;color:var(--team-a);margin-top:2px}

.promo{padding-top:var(--sec)}
.promo video{width:100%;aspect-ratio:16/9;border-radius:var(--r);background:#000;box-shadow:var(--warm-shadow)}

/* ---------- the cards that turn into photos ---------- */
.deal{padding-top:clamp(40px,5vw,72px)}
.deck{display:flex;justify-content:center;margin-top:clamp(36px,4.5vw,60px);padding-bottom:10px}
.fcard{--tilt:0deg;--dy:0px;position:relative;flex:none;width:clamp(150px,19.5vw,268px);aspect-ratio:4/3;margin:0 clamp(-22px,-1.3vw,-10px);padding:0;border:0;background:none;
  perspective:1100px;transform:translateY(var(--dy)) rotate(var(--tilt));transition:transform .45s var(--pop);cursor:pointer;-webkit-tap-highlight-color:transparent}
.fcard:nth-child(1){--tilt:-7deg;--dy:14px}
.fcard:nth-child(2){--tilt:-3deg;--dy:-4px;z-index:1}
.fcard:nth-child(3){--tilt:1.5deg;--dy:-12px;z-index:2}
.fcard:nth-child(4){--tilt:4deg;--dy:-2px;z-index:1}
.fcard:nth-child(5){--tilt:8deg;--dy:16px}
.fcard:hover,.fcard:focus-visible{transform:translateY(calc(var(--dy) - 14px)) rotate(0deg) scale(1.05);z-index:5}
.fcard:focus-visible{outline:none}
.fcard:focus-visible .fcard-in{outline:3px solid var(--ring);outline-offset:5px;border-radius:18px}
.fcard-in{display:block;position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .8s var(--pop)}
html:not(.js) .fcard-in,.fcard.is-up .fcard-in{transform:rotateY(180deg)}
.fcard-front,.fcard-back{position:absolute;inset:0;border-radius:clamp(12px,1.3vw,18px);-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;
  box-shadow:0 22px 34px -18px rgba(60,32,14,.6),0 3px 8px rgba(60,32,14,.18)}
.fcard-front{display:grid;place-items:center;background:linear-gradient(168deg,#fffdf5 0%,var(--cream) 46%,#f3e6c6 100%)}
.fcard-front::before{content:"";position:absolute;inset:6px;border-radius:clamp(8px,1vw,13px);box-shadow:inset 0 0 0 2.5px rgba(224,165,40,.9)}
.fcard-front b{font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-weight:400;font-size:clamp(46px,6.4vw,92px);line-height:1;color:#14296b;text-shadow:0 .055em 0 rgba(255,198,60,.95)}
.fcard-back{transform:rotateY(180deg);background:var(--cream);padding:clamp(5px,.5vw,7px)}
.fcard-back img{width:100%;height:100%;object-fit:cover;border-radius:clamp(8px,.9vw,12px)}

/* ---------- how it works: three pictures, staggered like prints on a table ---------- */
.how{padding-top:var(--sec)}
.steps{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr) minmax(0,1fr);gap:clamp(22px,3.2vw,48px);margin-top:clamp(40px,5vw,68px);align-items:start}
.step-2{margin-top:clamp(28px,5vw,76px)}
.step-3{margin-top:clamp(10px,1.8vw,26px)}
.step-pic{position:relative;transform:rotate(var(--tilt,0deg));transition:transform .5s var(--pop)}
.step-1 .step-pic{--tilt:-1.6deg}
.step-2 .step-pic{--tilt:1.1deg}
.step-3 .step-pic{--tilt:-.9deg}
.step:hover .step-pic{transform:rotate(0deg) translateY(-6px)}
.step-pic img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;border-radius:var(--r);box-shadow:var(--warm-shadow)}
.step-2 .step-pic img{aspect-ratio:1/1}
.step-3 .step-pic img{aspect-ratio:4/3;object-position:center}
.step-n{position:absolute;left:-14px;top:-18px;width:64px;height:50px;display:grid;place-items:center;border-radius:11px;
  background:linear-gradient(168deg,#fffdf5,var(--cream) 50%,#f3e6c6);box-shadow:inset 0 0 0 3px #fffdf5,inset 0 0 0 5px rgba(224,165,40,.9),0 10px 18px -8px rgba(60,32,14,.55);
  font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-size:28px;line-height:1;color:#14296b;text-shadow:0 .06em 0 rgba(255,198,60,.95);transform:rotate(-8deg);
  transition:transform .5s var(--pop)}
.step:hover .step-n{transform:rotate(4deg) scale(1.08)}
.step h3{margin-top:26px;font-size:clamp(22px,1.9vw,27px);letter-spacing:-.005em}
.step p{margin-top:6px;font-size:clamp(17px,1.35vw,19px);color:var(--ink-2);text-wrap:balance}

/* ---------- the one dark band ---------- */
.night{margin:var(--sec) clamp(8px,1.4vw,22px) 0;padding:clamp(56px,7vw,104px) 0 clamp(52px,6.4vw,96px);border-radius:clamp(26px,3vw,44px);color:var(--cream);
  background:
    radial-gradient(circle,rgba(255,236,190,.19) 0 1.1px,transparent 1.8px) 0 0/89px 79px,
    radial-gradient(circle,rgba(200,222,255,.13) 0 .9px,transparent 1.6px) 37px 41px/127px 109px,
    radial-gradient(60% 70% at 0% 100%,rgba(198,40,91,.34),transparent 70%),
    radial-gradient(60% 70% at 100% 100%,rgba(42,155,178,.32),transparent 70%),
    radial-gradient(110% 80% at 50% -20%,#22449a 0%,#101f52 44%,transparent 76%),
    var(--night)}
.night .sec-head p{color:#e9dfc8}
.night h2{text-shadow:0 .06em 0 rgba(3,6,20,.7)}
.clips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.4vw,34px);margin-top:clamp(36px,4.6vw,60px)}
.clip video{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:clamp(14px,1.5vw,20px);background:#090d22;
  box-shadow:0 0 0 2px rgba(255,198,60,.7),0 0 0 7px rgba(255,198,60,.12),0 30px 50px -24px #000;transition:transform .4s var(--pop)}
.clip:hover video{transform:translateY(-6px) scale(1.015)}
.clip p{margin-top:20px;text-align:center;font-weight:750;font-size:clamp(17px,1.4vw,20px)}
.clip:nth-child(2){transition-delay:.1s}
.clip:nth-child(3){transition-delay:.2s}

/* ---------- the ticket ---------- */
.price{padding-top:var(--sec)}
.ticket{position:relative;display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);max-width:960px;margin:clamp(36px,4.6vw,60px) auto 0;
  border-radius:30px;filter:drop-shadow(0 34px 44px rgba(74,42,22,.24)) drop-shadow(0 4px 8px rgba(74,42,22,.12))}
.stub{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;padding:40px 28px;color:var(--cream);
  border-radius:30px 0 0 30px;
  background:
    radial-gradient(circle,rgba(255,236,190,.15) 0 1.1px,transparent 1.8px) 0 0/71px 67px,
    radial-gradient(120% 90% at 50% -10%,#22449a 0%,#101f52 50%,var(--night) 100%);
  -webkit-mask:radial-gradient(circle 15px at 100% 0,transparent 98%,#000 100%) top/100% 51% no-repeat,radial-gradient(circle 15px at 100% 100%,transparent 98%,#000 100%) bottom/100% 51% no-repeat;
  mask:radial-gradient(circle 15px at 100% 0,transparent 98%,#000 100%) top/100% 51% no-repeat,radial-gradient(circle 15px at 100% 100%,transparent 98%,#000 100%) bottom/100% 51% no-repeat}
.stub::after{content:"";position:absolute;right:-1px;top:26px;bottom:26px;border-right:2px dashed rgba(253,246,230,.55)}
.stub-mark svg{width:46px;height:46px}
.stub-name{margin-top:6px;font-size:14px;font-weight:800;font-stretch:112%;letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.stub-price{font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-size:clamp(76px,8.4vw,116px);line-height:1;color:var(--gold);text-shadow:0 .05em 0 rgba(120,70,0,.9);margin:6px 0 10px;
  font-variant-numeric:tabular-nums}
.stub-price.is-bump{animation:bump .45s var(--pop)}
@keyframes bump{40%{transform:scale(1.09) rotate(-2deg)}}
.stub-facts{font-size:15px;line-height:1.45;font-weight:650;color:#efe6d0}
.stub-facts i{font-style:normal;opacity:.6;padding:0 3px}
.ticket-body{background:var(--paper);padding:clamp(26px,3.4vw,42px);border-radius:0 30px 30px 0;
  -webkit-mask:radial-gradient(circle 15px at 0 0,transparent 98%,#000 100%) top/100% 51% no-repeat,radial-gradient(circle 15px at 0 100%,transparent 98%,#000 100%) bottom/100% 51% no-repeat;
  mask:radial-gradient(circle 15px at 0 0,transparent 98%,#000 100%) top/100% 51% no-repeat,radial-gradient(circle 15px at 0 100%,transparent 98%,#000 100%) bottom/100% 51% no-repeat}
.addon{position:relative;display:flex;align-items:center;gap:14px;margin-top:20px;padding:12px 14px;border-radius:var(--r-s);cursor:pointer;
  box-shadow:inset 0 0 0 2px var(--line);transition:box-shadow .15s,background-color .15s}
.addon:hover{box-shadow:inset 0 0 0 2px var(--line-3)}
.addon input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.addon-box{flex:none;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:var(--paper);box-shadow:inset 0 0 0 2.5px var(--ink);
  color:var(--gold);transition:background-color .15s,transform .25s var(--pop)}
.addon-box svg{width:20px;height:20px;transform:scale(0);transition:transform .25s var(--pop)}
.addon input:checked ~ .addon-box{background:var(--ink);transform:rotate(-6deg)}
.addon input:checked ~ .addon-box svg{transform:scale(1)}
.addon:has(input:checked){background:var(--pick-bg);box-shadow:inset 0 0 0 2.5px var(--ink)}
.addon input:focus-visible ~ .addon-box{outline:3px solid var(--ring);outline-offset:3px}
.addon-words b{display:block;font-weight:800;font-size:17px;line-height:1.3}
.addon-words span{display:block;font-size:15px;color:var(--mute);line-height:1.35}
.code-wrap{margin-top:8px}
.code-ask{padding-left:0;font-size:15px;color:var(--ink-2)}
.code-box{padding-bottom:6px;animation:drop-in .35s var(--ease)}
@keyframes drop-in{from{opacity:0;transform:translateY(-8px)}}
.code-box .input{text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.code-box .input::placeholder{text-transform:none;letter-spacing:0}
.code-good{margin-top:8px;font-size:15px;font-weight:750;color:var(--ok)}
.back-line{margin-top:16px;padding:12px 16px;border-radius:var(--r-s);background:var(--pick-bg);box-shadow:inset 0 0 0 2px rgba(200,137,10,.5);font-size:16px;font-weight:700;text-align:center}
.ticket-body .error{margin-top:14px}
.ticket-body .btn{margin-top:18px}
.pay-note{margin-top:14px;text-align:center;font-size:14px;line-height:1.5;color:var(--mute)}
.pay-note a{text-underline-offset:3px}
.offer-line{margin-top:8px;text-align:center;font-size:15px;font-weight:800;color:var(--team-a)}
.promises{display:flex;flex-wrap:wrap;justify-content:center;gap:12px clamp(20px,3vw,44px);margin-top:clamp(28px,3.4vw,40px)}
.promises li{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:700}
.promises svg{width:26px;height:26px;padding:5px;border-radius:50%;background:var(--gold);color:var(--gold-ink);flex:none}

/* ---------- questions: six short answers, all showing (nothing to click) ---------- */
.faq{padding-top:var(--sec)}
.faq-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.8vw,24px);max-width:1160px;margin:clamp(32px,4vw,52px) auto 0}
.q{border-radius:20px;background:var(--paper);padding:22px 24px 24px;box-shadow:0 1px 0 rgba(255,255,255,.8) inset,0 10px 24px -18px rgba(74,42,22,.5),0 0 0 1px rgba(74,42,22,.07)}
.q dt{font-weight:800;font-size:19px;line-height:1.25}
.q dd{margin:8px 0 0;font-size:17.5px;line-height:1.45;color:var(--ink-2);text-wrap:pretty}
.faq-more{margin-top:28px;text-align:center;font-size:17px;color:var(--ink-2)}

/* ---------- the last picture ---------- */
.last{margin:var(--sec) auto 0;max-width:1240px;padding:0 var(--gutter);color:var(--ink);
  display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:clamp(28px,4vw,64px);align-items:center}
.last-pic{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 50%;border-radius:22px;
  box-shadow:0 14px 34px -18px rgba(40,20,12,.35)}
.last-words{max-width:460px}
.last h2{font-size:clamp(28px,3.1vw,48px);line-height:1.04}
.last .btn{margin-top:clamp(18px,2.2vw,30px)}

/* ---------- foot ---------- */
.foot{padding:34px 0 40px;font-size:15px;color:var(--ink-2)}
.last + .foot,.page-home .foot{margin-top:0}
.foot-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 30px}
.foot .brand{font-size:17px}
.foot .brand svg{width:32px;height:32px;padding:5px;border-radius:9px}
.foot nav{display:flex;flex-wrap:wrap;gap:2px 6px;margin-left:auto}
.foot nav a,.foot-mail a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;border-radius:10px;text-decoration:none;font-weight:650}
.foot nav a:hover,.foot-mail a:hover{background:rgba(13,21,51,.07)}
.foot-small{flex-basis:100%;font-size:14px;color:var(--mute);text-wrap:balance}   /* at 320 wide the last word, Prava, sat alone on line 2 */
body:not(.page-home) .foot{margin-top:clamp(56px,8vw,104px);border-top:1px solid var(--line)}

.dock{display:none}
.noscript{position:fixed;left:0;right:0;bottom:0;z-index:70;margin:0;padding:14px 20px;background:var(--gold);color:var(--gold-ink);font-weight:800;text-align:center}

/* ============ the quiet pages: thanks, sign in ============ */
.center{display:grid;place-items:start center;padding-top:clamp(28px,8vh,96px);padding-bottom:40px}
.box{width:100%;max-width:500px;border-radius:28px;padding:clamp(26px,5vw,44px);background:var(--paper);box-shadow:var(--warm-shadow),0 0 0 1px rgba(74,42,22,.06)}
.box h1{font-size:clamp(30px,5vw,42px)}
.lede{font-size:19px;line-height:1.45;color:var(--ink-2)}
.box .lede{margin-top:14px}
.box form .field{margin-top:26px}
.box .btn{margin-top:20px}
.box-foot{margin-top:18px;display:flex;flex-wrap:wrap;gap:4px 22px;justify-content:center}
.eyebrow{font-size:13px;line-height:1.3;font-weight:800;font-stretch:112%;letter-spacing:.18em;text-transform:uppercase;color:var(--team-a)}
.eyebrow + h1{margin-top:12px}
.pulse{display:flex;align-items:center;gap:14px;margin-top:22px;font-weight:700;color:var(--ink-2)}
.pulse .spinner{width:22px;height:22px;color:var(--gold-lo)}
.code{margin-top:26px}
.signin-wrap{display:grid;grid-template-columns:minmax(0,500px) minmax(0,1fr);gap:clamp(28px,5vw,72px);align-items:center;max-width:1100px;width:100%}
.signin-pic{position:relative;transform:rotate(1.6deg)}
.signin-pic img{width:100%;aspect-ratio:4/3.1;object-fit:cover;border-radius:var(--r);box-shadow:var(--warm-shadow)}
/* two cards that keep turning while the page waits */
.flippers{display:flex;justify-content:center;gap:14px;margin-bottom:26px;perspective:800px}
.flippers i{width:74px;height:56px;border-radius:11px;background:linear-gradient(168deg,#fffdf5,var(--cream) 50%,#f3e6c6);
  box-shadow:inset 0 0 0 3px #fffdf5,inset 0 0 0 5px rgba(224,165,40,.9),0 12px 18px -10px rgba(60,32,14,.55);animation:turn 2.4s var(--ease) infinite}
.flippers i:nth-child(1){transform:rotate(-6deg)}
.flippers i:nth-child(2){animation-delay:.35s}
@keyframes turn{0%,20%{transform:rotateY(0)}50%,70%{transform:rotateY(180deg)}100%{transform:rotateY(360deg)}}
.box-center{text-align:center}
.box-center .pulse,.box-center .box-foot{justify-content:center}

/* ============ set up ============ */
.setup{padding-top:clamp(18px,3vw,40px)}
.setup-head h1{font-size:clamp(32px,4.6vw,58px);margin-top:10px}
.setup-head .lede{margin-top:12px}
.setup-grid{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(0,1fr);gap:clamp(24px,3.4vw,52px);align-items:start;margin-top:clamp(24px,3vw,40px)}
.part{position:relative;border-radius:var(--r);background:var(--paper);padding:clamp(20px,2.6vw,32px);box-shadow:0 14px 34px -26px rgba(74,42,22,.6),0 0 0 1px rgba(74,42,22,.07)}
.part + .part{margin-top:clamp(16px,2vw,24px)}
.part-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.part-head h2{font-size:clamp(22px,2.2vw,28px);display:flex;align-items:center;gap:14px}
.part-n{flex:none;width:46px;height:36px;display:grid;place-items:center;border-radius:8px;background:linear-gradient(168deg,#fffdf5,var(--cream) 50%,#f3e6c6);
  box-shadow:inset 0 0 0 2px #fffdf5,inset 0 0 0 4px rgba(224,165,40,.9),0 6px 10px -6px rgba(60,32,14,.5);font-size:20px;line-height:1;color:#14296b;transform:rotate(-6deg)}
.counter{margin-left:auto;font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-size:clamp(20px,2.2vw,26px);line-height:1;white-space:nowrap}
.counter span{color:var(--mute);font-size:.7em;letter-spacing:.04em}
.meter{height:8px;border-radius:999px;background:var(--track);margin-top:16px;overflow:hidden}
.meter i{display:block;height:100%;width:0;border-radius:999px;background:var(--gold);transition:width .5s var(--ease)}
.readiness{display:flex;align-items:center;gap:10px;margin-top:12px;font-weight:750;font-size:17px;color:var(--ink-2)}
.readiness svg{width:24px;height:24px;padding:4px;border-radius:50%;background:var(--ok);color:#fff;flex:none;display:none}
.readiness.is-ready{color:var(--ok)}
.readiness.is-ready svg{display:block;animation:chip-in .4s var(--pop)}
.uploader{margin-top:18px}
.share{margin-top:26px;padding-top:24px;border-top:2px dashed var(--line-2)}
.share h3{font-size:20px}
.share p{margin-top:4px;color:var(--ink-2);font-size:17px}
.share-row{margin-top:14px}
.btn-ghost.wa{color:#0f6b3c;box-shadow:inset 0 0 0 2px #1f9d5b}
.btn-ghost.wa:hover{background:#e8f6ee;box-shadow:inset 0 0 0 2px #0f6b3c}
.wipe{margin-top:16px}
.wipe .link-btn{color:var(--mute);font-weight:650;font-size:15px}
.label-row{margin-top:20px}
.teams{display:grid;gap:12px;margin-top:22px}
.teams legend{font-weight:750;font-size:16px;margin-bottom:10px;padding:0}
.team{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;align-items:center}
.team-name{position:relative}
.team-name .input{padding-left:52px}
.team-dot{position:absolute;left:16px;top:50%;width:24px;height:24px;margin-top:-12px;border-radius:50%;background:var(--c,#888);box-shadow:inset 0 -3px 0 rgba(0,0,0,.18);transition:background-color .25s}
details.part > summary{display:flex;align-items:center;gap:14px;cursor:pointer;list-style:none;min-height:44px;border-radius:12px}
details.part > summary::-webkit-details-marker{display:none}
details.part > summary h2{font-size:clamp(22px,2.2vw,28px);display:flex;align-items:center;gap:14px}
details.part > summary .sum-sub{color:var(--mute);font-size:16px;font-weight:600}
details.part > summary::after{content:"";margin-left:auto;width:11px;height:11px;border-right:3px solid var(--ink);border-bottom:3px solid var(--ink);transform:rotate(45deg);transition:transform .25s var(--ease);flex:none;margin-right:8px}
details.part[open] > summary::after{transform:rotate(-135deg)}
.extra{margin-top:26px}
.extra h3{font-size:19px;display:flex;align-items:center;gap:10px}
.extra .sub{margin-top:4px;color:var(--ink-2);font-size:16px}
.extra .chips,.extra .lengths{margin-top:14px}
.tag{display:inline-block;font-size:11.5px;line-height:1.4;font-weight:800;font-stretch:112%;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);
  box-shadow:inset 0 0 0 1.5px var(--line-2);border-radius:7px;padding:3px 8px}
.switches{display:grid;gap:6px;margin-top:10px}
.others{margin-top:26px;font-size:16px;color:var(--ink-2)}
.others a{margin-left:8px}

/* their show, drawn: a projector screen on the room's wall */
.show{position:sticky;top:96px}
.wallbox{border-radius:var(--r);padding:clamp(18px,2vw,26px) clamp(18px,2vw,26px) clamp(20px,2.2vw,28px);
  background:linear-gradient(180deg,#d9b9a4,#cba894 60%,#c29c86);box-shadow:var(--warm-shadow)}
.screen{position:relative;border-radius:6px;background:
    radial-gradient(70% 60% at 0% 100%,color-mix(in srgb,var(--ta,#c6285b) 50%,transparent),transparent 70%),
    radial-gradient(70% 60% at 100% 100%,color-mix(in srgb,var(--tb,#2a9bb2) 50%,transparent),transparent 70%),
    radial-gradient(120% 80% at 50% -10%,#22449a 0%,#101f52 46%,#0b1024 100%);
  padding:16px 14px 14px;box-shadow:0 0 0 3px #17120f,0 18px 26px -14px rgba(40,20,8,.7);color:var(--cream);text-align:center;overflow:hidden}
.screen::before{content:"";position:absolute;left:-10px;right:-10px;top:-9px;height:9px;border-radius:5px;background:#17120f}
.sign{display:inline-flex;flex-direction:column;align-items:center;max-width:100%;padding:9px 18px 8px;border-radius:12px;background:#0b1433;
  box-shadow:0 0 0 2.5px var(--gold),0 6px 0 -1px rgba(0,0,0,.4);font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;line-height:1.05;text-transform:uppercase}
.sign output,.sign-empty{display:block;font-size:clamp(15px,1.5vw,21px);color:var(--cream);overflow-wrap:anywhere}
.sign small{margin-top:3px;font-size:10px;letter-spacing:.2em;color:var(--gold)}
.sign-name[hidden] + .sign-empty{display:block}
.sign-empty{display:none}
.vsrow{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;margin-top:14px}
.vs-team{min-width:0;padding:9px 8px;border-radius:10px;background:var(--c);font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-size:clamp(12px,1.15vw,16px);line-height:1.1;text-transform:uppercase;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-shadow:inset 0 -4px 0 rgba(0,0,0,.2);transition:background-color .3s}
.vs-mid{width:34px;height:38px;display:grid;place-items:center;background:var(--gold);color:var(--gold-ink);font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-size:13px;
  clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%)}
.minis{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:14px}
/* Custard and Jelly (2026-11-25): each team wears the game's own drawn donut (js/badges.js), on its colour in the name
   field and beside its name on the little screen, as on the wall. A light team colour gets navy writing, as in the game. */
.team-dot.has-badge{left:10px;width:34px;height:34px;margin-top:-17px;box-shadow:inset 0 -3px 0 rgba(0,0,0,.14),0 0 0 2px #fffdf7}
.team-dot svg{position:absolute;inset:2px;width:30px;height:30px;overflow:visible;filter:drop-shadow(0 1px 1px rgba(60,32,14,.25))}
.vs-team{display:flex;align-items:center;justify-content:center;gap:5px}
.vs-name{min-width:0;overflow:hidden;text-overflow:ellipsis}
.vs-badge{flex:none;width:1.45em;height:1.45em;margin:-.3em 0}
.vs-badge svg{width:100%;height:100%;overflow:visible;display:block}
.vs-team.is-light{color:#0d1533}
.mini{position:relative;aspect-ratio:4/3;border-radius:5px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(168deg,#fffdf5,var(--cream) 50%,#f3e6c6);
  box-shadow:inset 0 0 0 1.5px rgba(224,165,40,.9);font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-size:clamp(12px,1.2vw,17px);line-height:1;color:#14296b}
.mini img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;animation:mini-in .5s var(--pop)}
@keyframes mini-in{from{opacity:0;transform:scale(.9) rotate(-5deg)}}
.show-go{margin-top:20px;text-align:center}
.show-go .readiness{justify-content:center;margin:0 0 14px}
#open{width:100%}
#open[aria-disabled="true"]{background:#e9dccb;color:#6a6770;box-shadow:0 4px 0 #cdbda9;cursor:default;transform:none}
#open .open-wait{display:none}
#open.is-saving{cursor:progress;opacity:.85}
#open[aria-disabled="true"] .open-go{display:none}
#open[aria-disabled="true"] .open-wait{display:inline}
.go-notes{margin-top:16px;text-align:center}
.go-line{font-size:16px;color:var(--ink-2)}
.go-more{margin-top:8px;font-size:14.5px;color:var(--mute)}
.go-more:empty{display:none}

/* ============ the family's add-photos page ============ */
.guest{max-width:640px;padding-top:clamp(14px,4vw,40px)}
.guest-head{text-align:center}
.guest-head h1{font-size:clamp(32px,8.4vw,54px);margin-top:10px}
.guest-head .lede{margin:12px auto 0}
.guest .part{margin-top:22px}
.guest .uploader{margin-top:0}
.thanks-line{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:20px;text-align:center;font-weight:800;font-size:19px;color:var(--ok)}
.thanks-line svg{width:28px;height:28px;padding:5px;border-radius:50%;background:var(--ok);color:#fff;flex:none}
.guest-note{margin-top:16px;text-align:center;font-size:15px;color:var(--mute)}
/* 2026-11-27 audit BW-12: the line under Add photos says "Up to 300 photos". That is the whole party's room, not each
   cousin's, so the family's page does not show it (the host's page still does; when the party is full the page says so) */
.page-upload .drop-sub{display:none}
/* 2026-11-27 audit BX-05: once the party is on, the line above the box says so ("Photos you add now join the game"),
   and "Only the host sees your photos until the party" under it is no longer true: it goes while that line shows.
   It goes too while the box is shut (the host paused the family link, which happens by itself at the first Start,
   or the party is over): there is nothing to add then, and "until the party" beside "The party is over" was stale. */
.guest-head:has(#live-line:not([hidden])) ~ .guest-note,.part:has(#uploader.is-closed) ~ .guest-note{display:none}
.guest .sorry,.guest .loading{text-align:center;justify-content:center}

/* ============ the small print ============ */
.legal{max-width:calc(720px + 2 * var(--gutter));padding-top:clamp(20px,4vw,48px);color:var(--ink-2)}
.legal h1,.legal h2,.legal h3,.legal strong{color:var(--ink)}
/* 2026-11-27 (the visitor pass on live): on a phone a heading that takes two lines left one word alone on the second
   (the how-to's "2. Collect the photos with one / link", the terms' "10. Refunds and payment / disputes"). Headings
   are balanced; a short paragraph or list line no longer ends on one word where the browser can help it (the home
   page's answers already do this). */
/* The page's own title is NOT balanced: Chrome balances "Our Party-Night Guarantee" as "Our Party-" over
   "Night Guarantee", a break inside the promise's name, at almost every width. Left alone it reads
   "Our Party-Night" over "Guarantee". */
.legal h2,.legal h3{text-wrap:balance}
/* a short term that must stay on one line (USB-C in the guides: "USB-" ended a line and "C," began the next) */
.nb{white-space:nowrap}
.legal .prose p,.legal .prose li{text-wrap:pretty}
.about-pic{display:none}
.legal-about .about-pic{display:block;width:100%;aspect-ratio:16/8.4;object-fit:cover;object-position:50% 42%;border-radius:var(--r);box-shadow:var(--warm-shadow);margin:0 0 30px}

/* ============ phones ============ */
@media (max-width:980px){
  .top-nav{display:none}
  .steps{gap:22px}
  .setup-grid{display:flex;flex-direction:column;gap:18px}
  .show{position:static;display:contents}
  .wallbox{order:-1;width:100%;padding:14px}
  .setup-work{width:100%}
  .show-go{position:fixed;left:0;right:0;bottom:0;z-index:45;margin:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));
    display:flex;align-items:center;gap:12px;background:var(--bg);box-shadow:0 -1px 0 var(--line)}
  .show-go .readiness{flex:1 1 0;min-width:0;margin:0;justify-content:flex-start;text-align:left;font-size:15px;line-height:1.25}
  .show-go #open{flex:0 0 auto;width:auto;min-height:52px;padding:0 20px;font-size:17px}
  .go-notes{order:9;width:100%;margin-top:6px}
  .page-party main{padding-bottom:96px}
  .page-party .foot{padding-bottom:110px}
  .signin-wrap{grid-template-columns:minmax(0,500px);justify-content:center}
  .signin-pic{display:none}
}
@media (max-width:760px){
  .top{min-height:60px;padding-top:8px;padding-bottom:8px}
  .hero-top{margin-top:-60px;padding-top:60px;background-size:178.6% 100%}
  .brand{font-size:18px}
  .brand svg{width:34px;height:34px;padding:5px;border-radius:10px}
  .top-get{display:none}
  .hero-words{grid-template-columns:minmax(0,1fr);gap:12px;padding-top:14px;padding-bottom:22px;text-align:center}
  .hero h1{font-size:clamp(30px,9vw,44px)}
  .hero h1 span{white-space:normal}
  .hero-line{margin:0 auto;font-size:18px;max-width:19em}
  .hero-go{justify-content:center;margin-top:14px;gap:4px 20px}
  .hero-go .btn{width:100%}
  .room{overflow:hidden;aspect-ratio:1075/930}
  .room-in{position:absolute;top:0;left:-39.3%;width:178.6%}
  .room-tag{position:absolute;left:50%;bottom:4%;transform:translateX(-50%) rotate(-2deg);white-space:nowrap;text-align:center;padding:10px 16px 9px;font-size:15px}
  .room-tag span,.room-tag b{display:inline}
  .room-tag b{font-size:1.1em}
  .deck{flex-wrap:wrap;max-width:420px;margin-left:auto;margin-right:auto}
  .fcard{width:36%;margin:0 -2.5%}
  .fcard:nth-child(n+4){margin-top:-3%}
  .fcard:nth-child(4){--tilt:-5deg;--dy:0px}
  .fcard:nth-child(5){--tilt:5deg;--dy:6px}
  .fcard:nth-child(3){--tilt:6deg;--dy:8px}
  .fcard:nth-child(2){--tilt:1deg;--dy:-8px}
  .steps{grid-template-columns:minmax(0,1fr);gap:44px}
  .step-2,.step-3{margin-top:0}
  .step-n{left:-6px;top:-16px}
  .step h3{margin-top:20px}
  .night{margin-left:8px;margin-right:8px}
  .clips{grid-template-columns:minmax(0,1fr);gap:30px}
  .clip p{margin-top:14px}
  .ticket{grid-template-columns:minmax(0,1fr);max-width:480px}
  .stub{border-radius:26px 26px 0 0;padding:26px 20px 30px;
    -webkit-mask:radial-gradient(circle 14px at 0 100%,transparent 98%,#000 100%) left/51% 100% no-repeat,radial-gradient(circle 14px at 100% 100%,transparent 98%,#000 100%) right/51% 100% no-repeat;
    mask:radial-gradient(circle 14px at 0 100%,transparent 98%,#000 100%) left/51% 100% no-repeat,radial-gradient(circle 14px at 100% 100%,transparent 98%,#000 100%) right/51% 100% no-repeat}
  .stub::after{left:24px;right:24px;top:auto;bottom:-1px;border-right:0;border-bottom:2px dashed rgba(253,246,230,.55)}
  .stub-price{font-size:84px;margin:2px 0 6px}
  .ticket-body{border-radius:0 0 26px 26px;padding:26px 20px 24px;
    -webkit-mask:radial-gradient(circle 14px at 0 0,transparent 98%,#000 100%) left/51% 100% no-repeat,radial-gradient(circle 14px at 100% 0,transparent 98%,#000 100%) right/51% 100% no-repeat;
    mask:radial-gradient(circle 14px at 0 0,transparent 98%,#000 100%) left/51% 100% no-repeat,radial-gradient(circle 14px at 100% 0,transparent 98%,#000 100%) right/51% 100% no-repeat}
  .promises{flex-direction:column;align-items:flex-start;max-width:340px;margin-left:auto;margin-right:auto}
  .faq-list{grid-template-columns:minmax(0,1fr);gap:12px}
  .q{padding:18px 20px 20px}
  .last{color:var(--ink);text-align:center}
  .last{display:block;padding:0}
  .last-pic{border-radius:0;box-shadow:none}
  .last-words{position:static;transform:none;max-width:none;padding:26px var(--gutter) 8px}
  .last .btn{width:100%}
  .foot-row{gap:6px 20px}
  .foot nav{margin-left:-10px;flex-basis:100%}
  .foot-mail{margin-left:-10px}
  .dock{display:block;position:fixed;left:0;right:0;bottom:0;z-index:45;padding:10px 16px calc(10px + env(safe-area-inset-bottom));
    background:var(--bg);box-shadow:0 -1px 0 var(--line);
    transform:translateY(110%);transition:transform .35s var(--ease)}
  .dock.is-on{transform:none}
  .page-home .foot{padding-bottom:96px}
  .team{grid-template-columns:minmax(0,1fr)}
  .swatches{justify-content:space-between;max-width:330px}
  .center{padding-top:26px}
  .flippers i{width:64px;height:48px}
}
@media (max-width:380px){
  .share-row .btn{padding:0 12px;font-size:16px}
}

/* ---- round 2 fixes ---- */
.swatch input:disabled + i{opacity:.28;transform:scale(.62)}
.length.is-short input:checked + .length-face b,.length.is-short input:checked + .length-face span{opacity:1}
.sum-sub{white-space:nowrap}
@media (max-width:980px){
  .show-go .readiness{display:none}
  .show-go #open{flex:1 1 auto;width:100%;min-height:56px;font-size:18px}
}
@media (max-width:520px){
  details.part > summary .sum-sub{display:none}
}

/* ---- review round 1 ---- */
:root{--enter:cubic-bezier(.05,.7,.1,1)}
#how,#price,#questions{scroll-margin-top:92px}
.js [data-reveal]{transform:translateY(16px);transition:opacity .45s var(--enter),transform .5s var(--enter)}
.fcard-in{transition-duration:.6s}
.room-screen{filter:brightness(1.1) saturate(1.06)}
.step-n{left:18px;top:-22px}
/* a lift on hover comes fast and leaves slowly, and only where there is a real pointer */
.step-pic,.step-n,.clip video{transition-duration:.45s}
.step:hover .step-pic,.step:hover .step-n,.clip:hover video,.fcard:hover{transition-duration:.14s}
@media (hover:none){
  .fcard:hover{transform:translateY(var(--dy)) rotate(var(--tilt));z-index:auto}
  .step:hover .step-pic{transform:rotate(var(--tilt,0deg))}
  .step:hover .step-n{transform:rotate(-8deg)}
  .clip:hover video{transform:none}
}
/* the order */
.stub-price s{display:block;margin-bottom:2px;font-family:"Text","Text Fallback",sans-serif;font-size:22px;line-height:1.1;font-weight:700;color:#efe6d0;opacity:.85;text-shadow:none;text-decoration-thickness:2px}
.stub-price s[hidden]{display:none}
.stub-now{display:block}
.code-box .label{margin-top:6px}
.code-box .hint[hidden]{display:none}
.code-good{display:flex;align-items:center;gap:9px;margin-top:10px;font-size:16.5px;font-weight:800;color:var(--ok)}
.code-good[hidden]{display:none}
.code-good svg{width:22px;height:22px;padding:4px;border-radius:50%;background:var(--ok);color:#fff;flex:none;animation:chip-in .4s var(--pop)}
.pay-next{margin-top:16px;text-align:center;font-size:16.5px;font-weight:750;color:var(--ink)}
.pay-note{margin-top:6px;color:var(--ink-2);text-wrap:balance}
.promises .link{font-weight:700;white-space:nowrap;margin-left:4px}
/* small pages */
.about-pic,.signin-pic img{height:auto}
.foot-small{color:var(--ink-2)}
.go-line{font-size:17px;font-weight:600;color:var(--ink)}
.go-more{color:var(--ink-2)}
.chip{min-height:44px}
.chip button{width:44px;height:44px}
.sent .sent-to{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
.sent span{display:block;margin-top:2px;font-size:16px;color:var(--mute)}
.box form .error,.box form .error:empty{display:block;min-height:24px;margin:8px 0 0}
.box form .error + .btn{margin-top:8px}
.flippers i{display:grid;place-items:center;font-style:normal;animation:turn 2.2s var(--ease) infinite}
.flippers b{font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-weight:400;font-size:26px;line-height:1;color:#14296b;text-shadow:0 .06em 0 rgba(255,198,60,.95)}
@keyframes turn{0%,62%{transform:rotateY(0)}100%{transform:rotateY(360deg)}}
.box:has([data-view="lost"]:not([hidden])) .flippers i,.box:has([data-view="choose"]:not([hidden])) .flippers i,.box:has([data-view="slow"]:not([hidden])) .flippers i{animation:none}
.box:has([data-view="lost"]:not([hidden])) .flippers i:first-child,.box:has([data-view="choose"]:not([hidden])) .flippers i:first-child,.box:has([data-view="slow"]:not([hidden])) .flippers i:first-child{transform:rotate(-6deg)}
.box:has([data-view="lost"]:not([hidden])) .flippers i:last-child,.box:has([data-view="choose"]:not([hidden])) .flippers i:last-child,.box:has([data-view="slow"]:not([hidden])) .flippers i:last-child{transform:rotate(5deg)}
.guest .sorry .btn{margin-top:22px}
@media (max-width:1040px){
  .faq-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:980px){
  /* set up on a phone: the photos first (the only homework), then their show, then the rest */
  .setup-work{display:contents}
  .setup-work > *{width:100%}
  .setup-work > section.part:first-child{order:1}
  .wallbox{order:2}
  .setup-work > section.part + section.part{order:3}
  .setup-work > details.part{order:4}
  .setup-work > .others{order:5}
  .go-notes{order:6}
  .part + .part{margin-top:0}
}
@media (max-width:760px){
  #how,#price,#questions{scroll-margin-top:72px}
  .hero h1{font-size:clamp(21px,6.9vw,44px)}
  .hero h1 span{white-space:nowrap}
  .faq-list{grid-template-columns:minmax(0,1fr)}
  .stub{padding:20px 20px 24px}
  .stub-mark{display:none}
  .stub-price{font-size:72px;margin:0 0 4px}
  .step-n{left:14px;top:-20px}
  .page-legal .top-end .btn{display:none}
  .foot{padding:24px 0 30px}
  .guest-head h1{font-size:clamp(27px,7.4vw,40px)}
  .guest .drop{padding-top:22px;padding-bottom:22px;min-height:0}
}

/* ---- review round 1, second look ---- */
.promises{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px clamp(18px,2.4vw,34px);max-width:960px;margin-left:auto;margin-right:auto;justify-content:normal}
.promises li{align-items:flex-start;font-size:16.5px;line-height:1.35}
.promises li span{text-wrap:balance}
.promises svg{margin-top:-2px}
.promises .link{margin-left:0}
.sent-to{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}
.qcard{width:124px;height:94px;margin:0 0 30px;border-radius:15px;display:grid;place-items:center;transform:rotate(-6deg);
  background:linear-gradient(168deg,#fffdf5,var(--cream) 50%,#f3e6c6);box-shadow:inset 0 0 0 5px #fffdf5,inset 0 0 0 8px rgba(224,165,40,.9),0 22px 30px -16px rgba(60,32,14,.55);
  font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-size:50px;line-height:1;color:#14296b;text-shadow:0 .06em 0 rgba(255,198,60,.95)}
.guest .sorry .qcard{margin-left:auto;margin-right:auto}
.guest .sorry p{margin-left:auto;margin-right:auto}
@media (max-width:760px){
  .promises{grid-template-columns:minmax(0,1fr);max-width:340px}
}
/* the stars on the ticket stay above the small facts line, so none of them reads as a stray dot beside the words */
.stub{background:radial-gradient(120% 90% at 50% -10%,#22449a 0%,#101f52 50%,var(--night) 100%)}
.stub::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle,rgba(255,236,190,.15) 0 1.1px,transparent 1.8px) 0 0/71px 67px;
  -webkit-mask-image:linear-gradient(#000 0,#000 30%,transparent 52%);mask-image:linear-gradient(#000 0,#000 30%,transparent 52%)}
.stub > *{position:relative}

/* a press is felt: the button goes down and gets a touch smaller */
.btn:active{transform:translateY(3px) scale(.98)}
.btn-ghost:active{transform:scale(.98)}
.lede,.thanks-line span,.guest-note{text-wrap:balance}

/* ---- my own check at in-between widths (768 and 1024) ---- */
.btn{white-space:nowrap}
.stub-facts{text-wrap:balance}
@media (max-width:980px){
  .hero-words{grid-template-columns:minmax(0,1fr);gap:12px;text-align:center}
  .hero-line{margin:0 auto}
  .hero-go{justify-content:center}
  .last-words{left:58%}
  .last .btn-xl{padding:0 24px;font-size:18px;min-height:58px}
}
@media (max-width:760px){
  .last .btn-xl{padding:0 36px;font-size:20px;min-height:64px}
}
/* the footer: logo and links on one line, the small line and the email under them, edges lined up */
.foot-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 30px}
.foot nav{margin:0 -10px 0 0;justify-content:flex-end}
.foot-small{order:3;flex-basis:auto}
.foot-mail{order:4;margin-right:-10px;text-align:right}
/* 2026-11-27 (the visitor pass on live): the footer on a tablet upright. From 761 px up to where the logo, the eight
   links and the small line fit side by side, the links took the whole row and left the first column nothing: the logo
   was 0 px wide and the small line was set one letter per line down the left edge (a 974 px tall footer on every
   upright iPad, in Chrome and Safari). There the logo has a row of its own, the links the next (from the left edge),
   and the small line and the email share the last. */
@media (min-width:761px) and (max-width:1023px){
  .foot .brand,.foot nav{grid-column:1 / -1}
  .foot .brand{justify-self:start}
  .foot nav{justify-content:flex-start;margin:0 0 0 -10px}
}
/* under 820 px the eight links are set a little closer, as on a phone, so Sign in does not drop to a row of its own */
@media (min-width:761px) and (max-width:819px){
  .foot nav{gap:0 2px;margin-left:-8px}
  .foot nav a{padding:0 8px;font-size:14.5px}
}
/* 2026-11-27 (the lead, after the tablet fix): from 1024 px up the small line shared the first column with the logo,
   which is only what the links leave over, so it broke in two ("Pairfect is made and sold / by Prava") while its row
   stood empty up to the email. It has the whole second row now; the email keeps its place at the right end of it. */
@media (min-width:1024px){
  .foot-small{grid-row:2;grid-column:1 / -1}
  .foot-mail{grid-row:2;grid-column:2}
}
@media (max-width:980px){
  .wallbox{max-width:560px;margin-left:auto;margin-right:auto}
}
@media (max-width:760px){
  .foot-row{grid-template-columns:minmax(0,1fr);gap:2px}
  .foot nav{margin:0 0 0 -10px;justify-content:flex-start;flex-basis:auto}
  .foot-mail{order:2;margin:0 0 0 -10px;text-align:left}
  .foot-small{margin-top:8px}
}

/* ---- review round 2 ---- */
.hint[hidden],.error[hidden]{display:none}
#how,#price,#questions{scroll-margin-top:0}
.top.is-stuck,.top-fixed{background:var(--bg)}
.input[aria-invalid="true"]:focus{border-color:var(--bad);box-shadow:0 0 0 4px var(--bad-soft)}
.field .error{margin-top:8px;font-size:15.5px}
.back-line{margin:0 0 20px}
.code-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:2px}
.code-top .label{margin:0}
.code-close{min-height:44px;padding:0 2px;font-size:14.5px;font-weight:650;color:var(--ink-2)}
.code-no{margin-top:8px;font-size:15px;font-weight:700;color:var(--bad)}
.code-no[hidden]{display:none}
.pay-note{font-size:15px}
.room-screen{filter:brightness(1.16) saturate(1.06) contrast(1.03)}
/* six cards, three pairs */
.fcard{width:clamp(140px,16.6vw,228px)}
.fcard:nth-child(1){--tilt:-8deg;--dy:16px;z-index:0}
.fcard:nth-child(2){--tilt:-4.5deg;--dy:1px;z-index:1}
.fcard:nth-child(3){--tilt:-1.5deg;--dy:-9px;z-index:2}
.fcard:nth-child(4){--tilt:1.5deg;--dy:-9px;z-index:2}
.fcard:nth-child(5){--tilt:4.5deg;--dy:1px;z-index:1}
.fcard:nth-child(6){--tilt:8deg;--dy:16px;z-index:0}
.fcard-back{transition:box-shadow .3s var(--ease)}
.fcard.is-pair .fcard-back{box-shadow:0 0 0 4px var(--gold),0 0 0 10px rgba(255,198,60,.3),0 22px 34px -18px rgba(60,32,14,.6)}
.fcard.is-pair{animation:pair .5s var(--pop)}
@keyframes pair{45%{transform:translateY(calc(var(--dy) - 10px)) rotate(var(--tilt)) scale(1.07)}}
.step-2{margin-top:clamp(14px,2vw,30px)}
.step-3{margin-top:0}
.show-go .readiness{display:none}
.setup-head h1{text-wrap:balance}
.setup .sorry{text-align:center}
.sorry .qcard,.sorry p{margin-left:auto;margin-right:auto}
.page-thanks .center{min-height:calc(100vh - 340px);place-items:center}
.signin-wrap{gap:clamp(24px,3.4vw,48px)}
.sent .sent-to{font-size:17px}
.stuck{font-size:15px;color:var(--ink-2);gap:4px 8px;align-items:baseline}
.about-go{display:none}
.legal-about .about-go{display:block;margin-top:36px}
@media (max-width:760px){
  #how,#price,#questions{scroll-margin-top:16px}
  .fcard{width:31%;margin:0}
  .fcard:nth-child(n+4){margin-top:3%}
  .fcard:nth-child(1){--tilt:-6deg;--dy:6px}
  .fcard:nth-child(2){--tilt:1deg;--dy:-8px}
  .fcard:nth-child(3){--tilt:6deg;--dy:8px}
  .fcard:nth-child(4){--tilt:-5deg;--dy:0px;z-index:3}
  .fcard:nth-child(5){--tilt:-1deg;--dy:-6px;z-index:4}
  .fcard:nth-child(6){--tilt:5deg;--dy:6px;z-index:3}
  .step-2,.step-3{margin-top:0}
  /* the questions on a phone: one card, six short lines, a hair between them */
  .faq-list{gap:0;border-radius:20px;background:var(--paper);box-shadow:0 1px 0 rgba(255,255,255,.8) inset,0 10px 24px -18px rgba(74,42,22,.5),0 0 0 1px rgba(74,42,22,.07)}
  .q{background:none;box-shadow:none;border-radius:0;padding:16px 20px 17px}
  .q + .q{border-top:1px solid var(--line)}
  .setup-head h1{font-size:clamp(24px,7.2vw,34px)}
  .thanks-line{flex-direction:column;gap:8px}
  .box h1{font-size:28px}
  .sent .sent-to{font-size:16px}
  .ticket-body #email{font-size:16px}
  .legal-about .about-go .btn{width:100%}
  .page-thanks .center{min-height:0}
}
@media (min-width:761px){ .fcard{width:clamp(140px,15.6vw,214px)} }

/* ================= review round 3 ================= */
/* a small line under the first button */
.hero-note{flex-basis:100%;font-size:15px;line-height:1.4;font-weight:650;color:var(--ink-2)}
/* the three steps: the pictures are the same height and start on one line; the number sits by the title, off the faces */
.steps{grid-template-columns:minmax(0,4fr) minmax(0,3fr) minmax(0,4fr)}
.step-2,.step-3{margin-top:0}
/* the number hangs on the bottom corner of its picture, clear of every face */
.step-n{left:18px;top:auto;bottom:-20px;width:56px;height:44px;border-radius:10px;font-size:24px;transform:rotate(-6deg)}
.step:hover .step-n{transform:rotate(3deg) scale(1.06)}
.step h3{margin-top:36px}
/* the three clips of the game read brighter on the dark band */
.clip video{filter:brightness(1.14) saturate(1.05)}
/* 2026-11-27 audit BX-08: a photo's remove button was always shown on a computer too, a dark 26 px disc on a face in
   most family photos. With a mouse it now shows when the pointer is on that photo or the keyboard reaches it (the rule
   in core.css). On touch there is no hover, so it stays, smaller and tucked into the corner (22 px, 5 px in), where a
   face rarely is; the place a finger may land is still the whole 44 px corner. */
@media not all and (hover:hover) and (pointer:fine){
  .tile-x{place-items:start end;opacity:1}
  .tile-x::before{top:5px;right:5px;width:22px;height:22px;background:rgba(4,6,14,.6)}
  .tile-x svg{width:10px;height:10px;margin:11px 11px 0 0}
  .tile-x:focus-visible{outline-offset:-4px;border-radius:12px}
}
.part-head h2 .tag{font-family:"Text","Text Fallback",system-ui,sans-serif}
/* waiting: the spinner sits above its line */
.box-center .pulse{flex-direction:column;gap:12px}
@media (max-width:980px){
  /* set up on a phone: photos, then the family and teams, then how it will look, then the extras */
  .setup-work > section.part + section.part{order:2}
  .wallbox{order:3}
}
@media (max-width:760px){
  .steps{grid-template-columns:minmax(0,1fr)}
  .step-n{left:16px;bottom:-18px}
  .step h3{margin-top:32px}
  .hero-note{text-align:center}
  /* set up: the title and its small tag stay on one line */
  .part-head h2{gap:10px}
  .part-head h2 .tag{font-size:10px;letter-spacing:.08em;padding:2px 6px}
  /* About on a phone: the header carries the way to buy */
  .legal-about .top-end .btn{display:inline-flex}
  .legal-about .top-end .top-link{display:none}
}

/* ================= review round 4 ================= */
/* the three steps: three frames of one size */
.steps{grid-template-columns:repeat(3,minmax(0,1fr))}
.step-2 .step-pic img{aspect-ratio:4/3;object-fit:cover}
/* "Send a new code in 28s" is not a link yet, so it does not look like one */
.link-btn:disabled{text-decoration:none;color:var(--mute);cursor:default}
/* an error under the code never pushes the button down */
#start-error,#code-error{min-height:1.45em}
@media (max-width:760px){
  .steps{grid-template-columns:minmax(0,1fr)}
}

/* ================= review round 5 ================= */
@media (max-width:760px){
  /* the footer links sit on one line on a phone */
  .foot nav{gap:0 2px;margin-left:-8px}
  .foot nav a{padding:0 8px;font-size:14.5px}
  .foot-mail{margin-left:-10px}
}

/* ================= the buyer walk-through, and review round 6 ================= */
/* the ticket says what the code gives: "$120" and under it "with code PERLOWITZ" */
.stub-code{margin:-4px 0 8px;font-size:13px;line-height:1.3;font-weight:800;font-stretch:112%;letter-spacing:.14em;text-transform:uppercase;color:var(--gold)}
.stub-code[hidden]{display:none}
/* order received: the receipt lines */
.eyebrow-ok{display:inline-flex;align-items:center;gap:8px;color:var(--ok)}
.eyebrow-ok svg{width:20px;height:20px;padding:3px;border-radius:50%;background:var(--ok);color:#fff;flex:none}
.receipt{margin:22px 0 4px;text-align:left;border-radius:var(--r-s);background:var(--bg);box-shadow:inset 0 0 0 1px var(--line)}
.receipt > div{padding:12px 18px 13px}
.receipt > div + div{border-top:1px dashed var(--line-2)}
.receipt dt{font-size:14px;line-height:1.3;font-weight:650;color:var(--ink-2)}
.receipt dd{margin:2px 0 0;font-weight:800;font-size:17.5px;line-height:1.35;overflow-wrap:anywhere}
.receipt dd [hidden]{display:none}
.receipt-next{margin-top:16px;text-align:center;text-wrap:balance}
.box [data-two] .lede{margin-top:20px}
.box:has([data-view="received"]:not([hidden])) .flippers i{animation:none}
.box:has([data-view="received"]:not([hidden])) .flippers i:first-child{transform:rotate(-6deg)}
.box:has([data-view="received"]:not([hidden])) .flippers i:last-child{transform:rotate(5deg)}
/* set up: whose party and when, side by side */
.who-row{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:16px 20px;margin-top:18px;align-items:end}
.who-row .label{display:flex;align-items:center;gap:8px;white-space:nowrap}
.who-row .tag{font-family:"Text","Text Fallback",system-ui,sans-serif}
.who-row input[type="date"]{min-height:56px;-webkit-appearance:none;appearance:none}
.part-who + .part{margin-top:clamp(16px,2vw,24px)}
/* the family's page: the day of the party */
.guest-when{margin-top:10px;font-weight:750;color:var(--ink)}
/* cards stand a little clearer off the page */
.part{box-shadow:0 14px 34px -26px rgba(74,42,22,.6),0 0 0 1px rgba(74,42,22,.12)}
@media (max-width:980px){
  /* set up on a phone: whose party, photos, teams, how it will look, extras */
  .setup-work > section.part:first-child{order:1}
  .setup-work > section.part + section.part{order:2}
  .wallbox{order:3}
}
@media (max-width:760px){
  .who-row{grid-template-columns:minmax(0,1fr)}
}

/* ---- review round 7: a top link lands with the section's edge tucked just behind the bar,
   so no cropped sliver of the part above shows under it ---- */
html{scroll-padding-top:64px}
@media (max-width:760px){
  html{scroll-padding-top:52px}
  #how,#price,#questions{scroll-margin-top:0}
}
/* the three links sit at the bar's true middle, so they do not slide when the buy button comes and goes */
@media (min-width:981px){
  .top-nav{position:absolute;left:50%;transform:translateX(-50%);margin-left:0}
}
/* phone: the picture shows down to the table (laptop, projector, donuts), and the sticker sits under them
   instead of on top of them */
@media (max-width:760px){
  .room{aspect-ratio:1000/1005}
  .room-tag{bottom:8.5%}
}
/* set up, how long: the six choices are the same height in a row, and a choice that wants more photos keeps a
   full-strength number (grey read as "switched off"; the small "best with N photos" line says it) */
.length{display:flex}
.length-face{flex:1}
.length.is-short .length-face b,.length.is-short .length-face span{opacity:1}
@media (max-width:760px){
  .page-party main{padding-bottom:36px}                 /* the footer already clears the pinned button */
  .legal-about .top-end .btn{padding:0 14px;font-size:15px;min-height:42px}
}

/* ---- day 2, walk-through item 24: on a phone every control is at least 44px to tap and no text is under 12px.
   Links inside a sentence get a taller tap box with no change to the line (inline padding never moves a line). ---- */
@media (max-width:760px){
  .pay-note a,.promises a,.faq-more a,.prose p a,.prose li a,.go-notes a{padding:14px 2px;margin:0 -2px}
  .chips input{min-height:44px}
  .chip{min-height:44px}
  .chip button{width:44px;height:44px}
  .legal-about .top-end .btn{min-height:44px}
  .part-head h2 .tag,.tag{font-size:12px}
  .sign small{font-size:12px;letter-spacing:.14em}
}

/* ---- day 2: "How to run it" beside Open the game, as a small night-blue panel in the game's own look ---- */
.howto-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;margin:0 auto 14px;padding:0 20px;
  border:2px solid var(--ink);border-radius:var(--r-btn);background:var(--paper);color:var(--ink);font:inherit;font-weight:800;font-size:17px;
  cursor:pointer;box-shadow:0 3px 0 var(--ink);transition:transform .15s var(--ease),box-shadow .15s}
.howto-btn svg{width:22px;height:22px;flex:none}
.howto-btn:hover{transform:translateY(-1px);box-shadow:0 4px 0 var(--ink)}
.howto-btn:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)}
.howto-btn:focus-visible{outline:3px solid var(--ring);outline-offset:3px}
.howto{width:min(560px,calc(100% - 32px));max-height:calc(100% - 32px);padding:0;border:0;border-radius:var(--r);
  background:var(--night);color:var(--cream);box-shadow:0 40px 80px -30px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,198,60,.28)}
.howto::backdrop{background:rgba(11,16,36,.62)}
/* the page behind the panel stands still while it is open (party.js, setupHowTo): it does not scroll, the room of its
   scroll bar is kept, and the panel's own scroll is not passed on to it at its top and its end */
html.howto-open{overflow:hidden}
html.howto-open body{padding-right:var(--howto-sbw,0px)}
.howto{overscroll-behavior:contain}
.howto[open]{animation:howto-in .28s var(--ease) both}
@keyframes howto-in{from{opacity:0;transform:translateY(14px) scale(.98)}}
.howto-in{position:relative;padding:clamp(24px,4vw,36px)}
.howto h2{font-size:clamp(26px,3.4vw,34px);color:var(--gold);padding-right:48px}
.howto-x{position:absolute;top:12px;right:12px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(253,246,230,.1);color:var(--cream);
  display:grid;place-items:center;cursor:pointer;padding:0}
.howto-x svg{width:20px;height:20px}
.howto-x:hover{background:rgba(253,246,230,.2)}
.howto-x:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.howto-steps{list-style:none;margin:20px 0 0;padding:0;counter-reset:s;display:grid;gap:14px}
.howto-steps li{counter-increment:s;position:relative;padding-left:46px;font-size:17px;line-height:1.45;color:rgba(253,246,230,.82)}
.howto-steps li::before{content:counter(s);position:absolute;left:0;top:-2px;width:32px;height:32px;border-radius:9px;background:var(--cream);color:var(--night);
  display:grid;place-items:center;font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-size:18px;transform:rotate(-4deg)}
.howto-steps b{color:var(--cream);font-weight:800}
.howto h3{margin-top:24px;font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
.howto-keys{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:12px 0 0}
.howto-keys div{display:flex;align-items:flex-start;gap:10px;min-width:0}
.howto-keys dt{flex:none}
.howto-keys dd{margin:0;font-size:15px;color:rgba(253,246,230,.82)}
.howto-keys kbd{display:inline-grid;place-items:center;min-width:70px;height:32px;padding:0 8px;border-radius:8px;background:var(--cream);color:var(--night);
  font:800 14px/1 "Text",system-ui,sans-serif;box-shadow:0 3px 0 #c9b98f}
.howto-stuck{margin-top:22px;padding-top:16px;border-top:1px solid rgba(253,246,230,.16);font-size:15px;line-height:1.5;color:rgba(253,246,230,.7)}
@media (max-width:420px){.howto-keys{grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:reduce){.howto[open]{animation:none}}

/* ---- day 2: who is signed in, the order again, sign out (asks first) ---- */
.account{margin-top:26px;padding-top:18px;border-top:1px solid var(--line);font-size:15px;color:var(--mute)}
.account-who bdi{color:var(--ink-2);font-weight:650}
.account-acts{display:flex;flex-wrap:wrap;align-items:center;gap:0 22px;margin-top:4px}
.account-acts .link{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:var(--ink)}
.account .link-btn{color:var(--mute);font-weight:650;font-size:15px}
.out-confirm{margin-top:8px}
.out-confirm p{color:var(--ink);font-weight:700}
@media (max-width:980px){
  .setup-work > .account{order:7}
  .howto-btn{width:100%}
}

/* ================= day 2: "Already in." is calm news, not an error ================= */
.notice.is-calm{background:var(--paper,#fffaf0);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--line)}
/* set up: the waiting Open button reads clearly (it says what to do), it just does not look pressable */
#open[aria-disabled="true"]{color:#3a3d52;box-shadow:0 4px 0 #cdbda9,inset 0 0 0 1.5px #d6c6b0}
/* the other team's color: the same size dot, faded, with a thin slash, so it reads "taken" and never as a stray speck */
.swatch input:disabled + i{opacity:.32;transform:none;
  background-image:linear-gradient(135deg,transparent calc(50% - 1.5px),rgba(13,21,51,.7) calc(50% - 1.5px),rgba(13,21,51,.7) calc(50% + 1.5px),transparent calc(50% + 1.5px))}
/* the ticket facts break between facts, never inside one ("24 hours / each") */
.stub-facts span{white-space:nowrap}
@media (max-width:760px){
  /* phone: the photos fact gets its own line, so no line ever starts with a dot */
  .stub-facts .dot-last{display:none}
  .stub-facts .fact-last{display:block}
}
/* every width: the photos fact on its own line under the other two, so no line ever starts with a dot */
.stub-facts .dot-last{display:none}
.stub-facts .fact-last{display:block}

/* Keep purchase terms on the ticket at every width. */
.stub-promises{display:grid;gap:11px;margin:22px auto 0;padding:20px 0 0;border-top:1px solid rgba(253,246,230,.22);list-style:none;text-align:left;max-width:330px;font-size:14.5px;line-height:1.4;font-weight:600;color:#efe6d0}
.stub-promises li{display:flex;gap:10px;align-items:flex-start}
.stub-promises svg{width:20px;height:20px;padding:4px;border-radius:50%;background:var(--gold);color:var(--gold-ink);flex:none;margin-top:1px}
.stub-promises a{color:inherit;font-weight:700}
#price,#gameplay,#questions,#how{scroll-margin-top:88px}
.clip-sub{display:block;text-align:center;text-wrap:balance;margin-top:5px;color:#efe6d0;font-size:.95rem;line-height:1.45}

.preview-note{margin:0 0 14px;padding:8px 12px;background:var(--cream);color:var(--ink);border:1px solid var(--line);border-radius:8px;font-size:14px}
.code-ask,.second-ask{min-height:44px;padding:8px 0;color:var(--ink)}
.pay-note{line-height:1.6;color:var(--ink)}
.pay-note a{text-underline-offset:3px}
.dock:not(.is-on){visibility:hidden}
@media (min-width:761px) and (max-height:950px){
  .hero-words{padding-block:16px}
  .room{max-width:calc((100svh - 340px) * 1.78);margin-inline:auto}
  .room-in{border-radius:16px}
}
@media (max-width:760px){
  .page-home .top-nav{display:none}
  .page-home .top-nav a{padding-inline:6px;font-size:13px}
  .page-home .top-nav a:first-child{display:none}
  .page-home .top{gap:5px;padding-inline:12px}
  .page-home .brand{font-size:clamp(13px,4vw,18px);gap:5px}
  .page-home .top-link{padding-inline:6px;font-size:13px;white-space:nowrap}
  .room{aspect-ratio:auto}
  .room-in{position:relative;left:auto;width:100%}
  .room-tag{display:none}
  .last-pic{aspect-ratio:4/3;object-position:50% 50%}
  .steps,.clips{gap:30px}
}

.ticket-body{display:flex;flex-direction:column;justify-content:center}
.code-ask{color:var(--mute)}
.pay-next{font-size:14.5px;font-weight:600;color:var(--ink-2)}
@media (min-width:761px){
  .last h2{color:var(--ink);text-shadow:none}
}
@media (min-width:761px){
  .faq-list{grid-template-columns:repeat(2,minmax(0,1fr));max-width:960px}
}

/* =====================================================================================
   Goals round, 2026-11-23 (his six goals for the home page). Everything for the new home
   page parts is below, under .page-goals or a g- name, so the older parts stay as they were.
   ===================================================================================== */
.top-demo{font-weight:800}

/* ---------- the first screen ---------- */
.g-hero{padding:clamp(18px,3.2vw,48px) 0 clamp(36px,4.6vw,72px)}
.g-hero-in{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:clamp(28px,4.4vw,72px);align-items:center}
.g-hero h1{font-size:clamp(30px,3.15vw,48px);line-height:1.04}
.g-hero h1 span{display:block;white-space:nowrap}
.g-hero-3{color:var(--team-a)}
.g-hero-line{margin-top:20px;font-size:clamp(18px,1.45vw,21px);line-height:1.42;font-weight:600;color:var(--ink-2);max-width:27em;text-wrap:pretty}
.g-hero-go{display:flex;flex-wrap:wrap;align-items:center;gap:12px 14px;margin-top:28px}
.g-demo-btn{gap:10px}
.g-demo-btn .g-play{width:24px;height:24px;flex:none;transition:transform .3s var(--pop)}
.g-demo-btn:hover .g-play{transform:scale(1.12)}
.g-hero-note{margin-top:14px;font-size:15px;font-weight:600;color:var(--mute);text-wrap:balance}
.g-room{margin:0}
.g-room-in{position:relative;aspect-ratio:1/1;border-radius:var(--r);overflow:hidden;box-shadow:var(--warm-shadow);background:#3a2b22}
.g-room-in > img{display:block;width:100%;height:100%;object-fit:cover}
.g-room-screen{position:absolute;left:18.9%;top:5.183%;width:62.52%;height:34.45%;object-fit:cover;background:#090d22;filter:brightness(1.04) saturate(1.04)}

/* ---------- the film and how a turn goes ---------- */
.g-film{padding-top:clamp(40px,5.5vw,88px)}
.g-film-in{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(32px,5vw,80px);align-items:center}
.g-film-box{position:relative;width:clamp(270px,27vw,380px);aspect-ratio:9/16;border-radius:28px;overflow:hidden;background:var(--night);box-shadow:var(--warm-shadow)}
.g-film-video{display:block;width:100%;height:100%;object-fit:cover;cursor:pointer}
.g-sound{position:absolute;top:14px;right:14px;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px 0 12px;border:0;border-radius:999px;
  background:rgba(11,16,36,.74);color:#fff;font:inherit;font-weight:800;font-size:15px;cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:0 0 0 1px rgba(255,255,255,.18);transition:background-color .2s,transform .2s var(--pop)}
.g-sound:hover{background:rgba(11,16,36,.9);transform:scale(1.04)}
.g-sound:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.g-sound svg{width:22px;height:22px;flex:none}
.g-sound[aria-pressed="false"] .g-sound-on,.g-sound[aria-pressed="true"] .g-sound-off{display:none}
.g-turn h2{font-size:clamp(28px,3.3vw,46px);text-wrap:balance}
.g-turn-label{margin-top:26px;font-size:14px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--team-a)}
.g-turn-list{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:12px}
.g-beat{display:grid;grid-template-columns:clamp(160px,19vw,280px) minmax(0,1fr);gap:clamp(14px,1.8vw,24px);align-items:center;padding:10px;border-radius:20px;background:var(--paper);
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset,0 10px 24px -18px rgba(74,42,22,.5),0 0 0 1px rgba(74,42,22,.07);transition:transform .3s var(--pop)}
.g-beat:hover{transform:translateX(4px)}
.g-beat video{display:block;width:100%;aspect-ratio:16/9;border-radius:12px;object-fit:cover;background:var(--night)}
.g-beat h3{font-size:clamp(19px,1.6vw,23px);line-height:1.2}
.g-beat p{margin-top:4px;font-size:clamp(15.5px,1.2vw,17px);line-height:1.4;color:var(--ink-2)}
.g-demo-line{margin-top:22px;font-size:18px;font-weight:600;color:var(--ink-2)}
.g-demo-link{display:inline-flex;align-items:center;gap:6px;color:var(--ink);min-height:44px}
.g-demo-link svg{width:18px;height:18px;transition:transform .25s var(--pop)}
.g-demo-link:hover svg{transform:translate(2px,-2px)}

/* ---------- every card is someone in the room ---------- */
.g-deal{padding-top:var(--sec)}
.g-cheer{margin:clamp(48px,6vw,92px) 0 0;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);border-radius:var(--r);overflow:hidden;background:var(--night);color:var(--cream);box-shadow:var(--warm-shadow)}
.g-cheer img{display:block;width:100%;height:100%;min-height:100%;object-fit:cover}
.g-cheer-words{padding:clamp(26px,3.6vw,56px);align-self:center}
.g-cheer h3{font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-weight:400;text-transform:uppercase;font-size:clamp(26px,2.6vw,40px);line-height:1.04;color:var(--gold)}
.g-cheer p{margin-top:14px;font-size:clamp(17px,1.35vw,19px);line-height:1.45;color:#e9dfc8}
.g-crowd{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:10px}
.g-crowd li{position:relative;padding-left:24px;font-weight:700;font-size:16.5px}
.g-crowd li::before{content:"";position:absolute;left:0;top:.42em;width:11px;height:11px;border-radius:50%;background:var(--gold)}

/* ---------- easier than it looks ---------- */
.g-how .step-2 .step-pic img,.g-how .step-3 .step-pic img{aspect-ratio:4/3}
.g-how .step-3 .step-pic img{object-position:50% 26%}
.g-how .step p{max-width:none}
.g-step-extra{margin-top:12px !important;padding:10px 14px;border-radius:12px;background:rgba(255,198,60,.18);font-size:15.5px !important;line-height:1.4;color:var(--ink) !important}
.g-worries{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.6vw,20px);margin:clamp(44px,5.5vw,76px) 0 0}
.g-worry{border-radius:18px;background:var(--paper);padding:18px 20px 20px;box-shadow:0 1px 0 rgba(255,255,255,.8) inset,0 10px 24px -18px rgba(74,42,22,.5),0 0 0 1px rgba(74,42,22,.07)}
.g-worry dt{font-weight:800;font-size:18px;line-height:1.25}
.g-worry dd{margin:6px 0 0;font-size:16px;line-height:1.45;color:var(--ink-2);text-wrap:pretty}

@media (max-width:1100px){
  .g-worries{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:980px){
  .g-hero-in{grid-template-columns:minmax(0,1fr)}
  .g-hero-words{text-align:center}
  .g-hero-line{margin-left:auto;margin-right:auto}
  .g-hero-go{justify-content:center}
  .g-room{max-width:640px;margin:0 auto;width:100%}
  .g-film-in{grid-template-columns:minmax(0,1fr)}
  .g-film-box{margin:0 auto}
  .g-turn{max-width:640px;margin:0 auto;width:100%}
  .g-cheer{grid-template-columns:minmax(0,1fr)}
  .g-cheer img{aspect-ratio:16/9;height:auto}
}
@media (max-width:760px){
  .g-hero{padding-top:14px}
  .g-hero h1{font-size:clamp(22px,6.7vw,40px)}
  .g-hero-line{font-size:17.5px;margin-top:14px}
  .g-hero-go{flex-direction:column;align-items:stretch;gap:10px;margin-top:20px}
  .g-hero-go .btn{width:100%}
  .g-hero-note{font-size:14px}
  .g-film-box{width:min(68vw,300px);border-radius:24px}
  .g-turn h2{text-align:center}
  .g-turn-label{text-align:center}
  .g-beat{grid-template-columns:42% minmax(0,1fr);gap:12px;padding:8px}
  .g-beat h3{font-size:18px}
  .g-beat p{font-size:15px}
  .g-demo-line{text-align:center}
  .g-cheer{border-radius:22px}
  .g-worries{grid-template-columns:minmax(0,1fr);gap:10px}
}
@media (prefers-reduced-motion:reduce){
  .g-beat,.g-beat:hover,.g-demo-btn .g-play{transition:none;transform:none}
}

/* review round 1 */
.g-board{margin-top:clamp(30px,4vw,52px);padding:clamp(22px,3vw,40px) clamp(10px,2vw,28px) clamp(26px,3.2vw,44px);border-radius:var(--r);
  background:radial-gradient(120% 90% at 50% 0%,#1d2a63 0%,var(--night) 70%);box-shadow:var(--warm-shadow)}
.g-board .deck{margin-top:0}
.g-faq{grid-template-columns:repeat(2,minmax(0,1fr));max-width:980px;align-items:start}
.g-q{padding:0}
.g-q summary{display:flex;align-items:center;gap:14px;min-height:64px;padding:16px 22px;cursor:pointer;list-style:none;font-weight:800;font-size:19px;line-height:1.25;border-radius:20px}
.g-q summary::-webkit-details-marker{display:none}
.g-q summary::after{content:"";margin-left:auto;flex:none;width:10px;height:10px;border-right:3px solid var(--ink);border-bottom:3px solid var(--ink);transform:rotate(45deg) translateY(-3px);transition:transform .25s var(--ease)}
.g-q[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
.g-q summary:hover{background:rgba(13,21,51,.035)}
.g-q summary:focus-visible{outline:3px solid var(--ring);outline-offset:2px}
.g-q p{margin:0;padding:0 22px 20px;font-size:17px;line-height:1.45;color:var(--ink-2);text-wrap:pretty}
@media (max-width:760px){
  .g-faq{grid-template-columns:minmax(0,1fr)}
  .g-board{margin-left:calc(var(--gutter) * -0.5);margin-right:calc(var(--gutter) * -0.5);padding:20px 8px 24px}
  .page-goals .stub{padding:22px 20px 24px}
  .page-goals .stub-price{font-size:64px}
  .page-goals .stub-promises li{font-size:14.5px}
  .page-goals .last h2{font-size:clamp(24px,7.2vw,34px)}
}
.g-board .fcard{width:clamp(128px,16vw,226px)}
@media (max-width:760px){.g-board .fcard{width:36%}}
@media (max-width:1200px){.top-demo{display:none}}
/* ===== review round 2 (goals) ===== */
@media (max-width:1200px){.top .top-demo,nav .top-demo,a.top-demo{display:none!important}}
.g-hero{padding-bottom:clamp(24px,3vw,44px)}
.g-film{padding-top:clamp(16px,2.2vw,36px)}
.g-board .fcard{width:clamp(118px,12.6vw,182px)}
.g-beat{grid-template-columns:clamp(180px,21vw,310px) minmax(0,1fr)}
.g-hero-note,.code-hint,.pay-next,.pay-note{color:var(--ink-2)}
.g-promises-after{display:none}
@media (max-width:980px){
  .g-turn{display:contents}
  .g-turn h2{order:-2;max-width:640px;margin:0 auto;width:100%}
  .g-film-in{row-gap:22px}
  .g-film-in > .g-film-box{order:-1}
  .g-turn-label,.g-turn-list,.g-demo-line{max-width:640px;margin-left:auto;margin-right:auto;width:100%}
}
@media (max-width:760px){
  .page-goals .stub .stub-promises{display:none}
  .page-goals .g-promises-after{display:grid;margin:22px 0 0;padding:18px 0 0;max-width:none;border-top:1px solid var(--line);color:var(--ink-2)}
  .page-goals .g-promises-after a{color:var(--ink)}
}
.pay-next,.pay-note{text-wrap:balance}
/* ===== review round 3 (goals) ===== */
.g-pause{position:absolute;left:14px;bottom:14px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(11,16,36,.72);color:#fff;cursor:pointer;transition:transform .2s var(--pop),background .2s}
.g-pause:hover{background:rgba(11,16,36,.9);transform:scale(1.06)}
.g-pause:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.g-pause svg{width:20px;height:20px}
.g-pause[aria-pressed="false"] .g-pause-play,.g-pause[aria-pressed="true"] .g-pause-bars{display:none}
.g-hero .g-demo-btn{min-height:54px;padding:0 24px;font-size:17px;border-width:2px}
.second-ask{font-weight:500;font-size:15px;color:var(--ink-2)}
.input::placeholder,input::placeholder{color:#6d6878;opacity:1}
.foot nav a{display:inline-flex;align-items:center;min-height:44px}
.page-goals{--warm-shadow:0 22px 44px -28px rgba(74,42,22,.34),0 6px 14px -10px rgba(74,42,22,.18)}
@media (min-width:761px){.page-goals .how,.page-goals .faq,.page-goals .buy,.page-goals #price{padding-top:clamp(56px,6.4vw,92px)}.page-goals .deal{padding-top:clamp(28px,3.6vw,52px)}}
@media (max-width:760px){
  .g-film-box{width:min(56vw,240px)}
  .g-beat{grid-template-columns:minmax(0,1fr);padding:8px 8px 14px}
  .g-beat > div,.g-beat h3,.g-beat p{padding-left:6px;padding-right:6px}
  .g-hero .g-demo-btn{min-height:50px;font-size:16px}
}

/* the real Pairfect logo top left (2026-11-26, the shoot): the two cards, with the name beside it */
.brand .brand-logo{display:block;height:46px;width:auto;flex:none;transition:transform .35s var(--pop)}
.brand:hover .brand-logo{transform:rotate(-4deg) scale(1.04)}
.foot .brand .brand-logo,.paybox-brand .brand-logo{height:38px}
@media (max-width:900px){.brand .brand-logo{height:40px}}

/* ===== set up, How many cards? (2026-11-26, board picker). This block is the set up page's own; it took the place of
   the "How long do you want to play?" lengths. Four boards, each with the game's own time guess; a board the photos
   cannot fill yet is greyed, cannot be picked, and says how many photos it needs. ===== */
.part-board .board-rounds{margin-top:8px;color:var(--ink-2);font-size:16px}
.boards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}
.board{position:relative;display:flex;cursor:pointer}
.board input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
.board-face{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:112px;padding:14px 6px;text-align:center;
  border-radius:var(--r-s);background:var(--field);box-shadow:inset 0 0 0 2px var(--line-2);transition:box-shadow .15s,background-color .15s,transform .16s var(--ease)}
.board-face b{font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-weight:400;font-size:clamp(28px,3.2vw,36px);line-height:1}
.board-word{font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.board-time{margin-top:4px;font-size:15px;font-weight:750;color:var(--ink-2);white-space:nowrap}
.board-face em{font-style:normal;font-size:13px;line-height:1.25;font-weight:700;color:var(--ink-2)}
.board-face em:empty{display:none}
@media (hover:hover){.board:not(.is-short):hover .board-face{transform:translateY(-2px);box-shadow:inset 0 0 0 2px var(--ink)}}
.board input:checked + .board-face{background:var(--pick-bg);box-shadow:inset 0 0 0 3px var(--pick-line)}
.board input:focus-visible + .board-face{outline:3px solid var(--ring);outline-offset:3px}
/* not enough photos yet: greyed and not pickable; the "Needs N photos" line stays full strength so it can be read */
.board.is-short,.board.is-short input{cursor:not-allowed}
.board.is-short .board-face{background:transparent;box-shadow:inset 0 0 0 2px var(--line-2)}
.board.is-short .board-face b,.board.is-short .board-word,.board.is-short .board-time{opacity:.45}
.board.is-short input:checked + .board-face{box-shadow:inset 0 0 0 3px var(--pick-line);background:transparent}
.board-note{margin-top:12px;font-size:16px;color:var(--ink-2)}
.board-note:empty{display:none}
@media (max-width:600px){
  .boards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .board-face{min-height:100px}
}
/* ===== end of set up, How many cards? ===== */

/* ===== set up, Chanukah cards and photos during the party (2026-11-27, helper c). One block, the set up page's own.
   The pack switch sits under the board picker: quiet when the photos fill the board, lit up (gold edge, "Suggested")
   when they do not. Six of its pictures show what the cards are. ===== */
.pack{margin-top:18px;padding:14px 16px 16px;border-radius:var(--r-s);background:var(--field);box-shadow:inset 0 0 0 2px var(--line-2);
  transition:box-shadow .2s,background-color .2s}
.pack.is-suggested{background:#fff8e3;box-shadow:inset 0 0 0 3px var(--gold),0 8px 22px -14px rgba(200,137,10,.7)}
.pack.is-on{box-shadow:inset 0 0 0 3px var(--pick-line,var(--gold))}
.pack-switch{padding:2px 0}
.pack-switch .switch-words b{font-size:18px}
.pack-tag{display:inline-block;margin-left:6px;padding:2px 9px 3px;border-radius:999px;background:var(--gold);color:var(--gold-ink);
  font-style:normal;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;vertical-align:2px}
.pack-tag[hidden]{display:none}
.pack-pics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:12px}
.pack-pics img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:10px;
  box-shadow:0 0 0 2px #fffdf5,0 0 0 3px rgba(224,165,40,.55)}
.pack-sum{margin-top:12px;font-size:17px;font-weight:750;color:var(--ink);text-wrap:balance}
.pack-sum:empty{display:none}
.pack-sum small{display:block;margin-top:4px;font-size:15px;font-weight:500;color:var(--ink-2)}
.photos-live{margin-top:12px;padding:10px 14px;border-radius:12px;background:#eef6ea;color:#1d4a1a;font-size:16px;font-weight:650}
.photos-live[hidden]{display:none}
/* during the party a photo cannot be removed (a saved game may hold it): its x is not offered */
#uploader.no-remove .tile-x,#uploader.no-remove .tile-ask{display:none !important}
@media (max-width:600px){
  .pack{padding:12px 12px 14px}
  .pack-pics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pack-switch .switch-words b{font-size:17px}
}
/* ===== end of set up, Chanukah cards ===== */

/* ===== 2026-11-27 every screen size (sizes-walk.mjs: 360 to 2560 wide, Chrome and WebKit) ===== */
/* an email address never breaks at its own dash (it read "buyer-1-" then "127c37@..."): it moves to a line of its
   own first, and only an address longer than the line is broken */
bdi[data-email],#account-to,#go-who-email{display:inline-block;max-width:100%;overflow-wrap:anywhere}
/* the small "Optional" tag is 12px everywhere (it was 11.5 on a computer) */
.tag{font-size:12px}
/* set up on a narrow phone: a title with its "Optional" tag stays on one line with the tag under it
   ("How many cards?" was three lines squeezed beside the tag at 360) */
@media (max-width:420px){
  /* 2026-11-27 audit BW-04: this used to be a two column grid with a 46 px first column for the old step number. The
     workspace's titles have no number, so the title itself fell into those 46 px and PHOTOS read PH / OT / OS (and
     YOUR FAMILY, BOARD the same). The title is whole now; its Optional tag goes under it when the two do not fit. */
  .part-head h2{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;overflow-wrap:normal}
}
/* big screens (1920, 2560): the page grows with the window instead of a small column between two empty bands */
@media (min-width:1800px){
  main,.foot{zoom:1.15}
  .top > *{zoom:1.15}
  .top{padding-left:max(var(--gutter),calc((100% - 1426px) / 2 + 74px));padding-right:max(var(--gutter),calc((100% - 1426px) / 2 + 74px))}
}
@media (min-width:2300px){
  main,.foot{zoom:1.3}
  .top > *{zoom:1.3}
  .top{padding-left:max(var(--gutter),calc((100% - 1612px) / 2 + 83px));padding-right:max(var(--gutter),calc((100% - 1612px) / 2 + 83px))}
}
/* the family upload page on a computer: the title in two even lines ("Add your photos / for the party"), not three
   with "Party" alone on the last */
@media (min-width:761px){
  .guest-head{margin-left:calc(-1 * var(--gutter));margin-right:calc(-1 * var(--gutter))}
  .guest-head h1{text-wrap:balance}
}
/* ===== end of 2026-11-27 every screen size ===== */

/* 2026-11-27 tablets START (his text: "it looks ugly currently on tablet"). Tablets standing up only (761 to 980). */
@media (min-width:761px) and (max-width:980px){
  /* sign in: the card alone left half the screen empty under it; the picture the computer shows beside it comes back,
     under the card, in the same column */
  .signin-pic{display:block;margin-top:4px}
  .signin-pic img{aspect-ratio:16/9.6}
  /* set up: the Open the game bar lines up with the cards above it instead of running 16px from the glass */
  .show-go{padding-left:var(--gutter);padding-right:var(--gutter)}
}
/* 2026-11-27 tablets END */

/* 2026-11-27 GUIDES START (seo helper): /chanukah-party-game and /how-to-play, site/guides/*.html. They are small print
   pages (.page-legal .legal) with a photo on top, a lead line, a short answer card, one table and the two buttons. */
.guide-pic{display:block;width:100%;height:auto;aspect-ratio:16/8.4;object-fit:cover;object-position:50% 40%;border-radius:var(--r);box-shadow:var(--warm-shadow);margin:0 0 30px;background:#3a2b22}
.guide-howto .guide-pic{object-position:50% 55%}
.guide .prose h1{text-wrap:balance}
.guide-lead{font-size:clamp(19px,1.6vw,21px);color:var(--ink)}
/* 2026-11-27, his rule (M0510): no coloured stripe along the edge of a card ("the em dash of AI design"). This box had
   a gold one down its left edge; it is a plain paper card with a hairline now, like the other cards on the page. */
.guide-answer{margin-top:26px;padding:18px 22px;border-radius:var(--r-s);background:var(--paper);border:1px solid var(--line)}
.guide-answer p{margin:0}
.guide-table-wrap{margin-top:18px}
.guide-table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.45;background:var(--paper);border-radius:var(--r-s);overflow:hidden}
.guide-table caption{text-align:left;font-size:15px;color:var(--mute);padding-bottom:8px}
.guide-table th,.guide-table td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.guide-table thead th{font-size:14px;font-weight:800;color:var(--ink);background:var(--tile-bg)}
.guide-table tbody th{font-weight:750;color:var(--ink)}
.guide-table tbody tr:last-child>*{border-bottom:0}
.guide-table .guide-us>*{background:rgba(255,198,60,.22)}
.guide-small{font-size:15px;color:var(--mute)}
.guide-go{max-width:720px;display:flex;flex-wrap:wrap;gap:14px;margin-top:40px}
@media (max-width:760px){
  .guide-pic{aspect-ratio:4/3;border-radius:var(--r-s);margin-bottom:22px}
  .guide-go .btn{width:100%}
  /* the table on a phone: one labelled block per row, never a sideways scroll */
  .guide-table thead{display:none}
  .guide-table,.guide-table tbody,.guide-table tr,.guide-table th,.guide-table td{display:block;width:auto}
  .guide-table{background:none}
  .guide-table tr{background:var(--paper);border-radius:var(--r-s);margin-top:12px;padding:6px 0}
  .guide-table th,.guide-table td{border-bottom:0;padding:6px 16px}
  .guide-table tbody th{font-size:18px;padding-top:10px}
  .guide-table td::before{content:attr(data-k);display:block;font-size:13px;font-weight:750;color:var(--mute)}
  .guide-table .guide-us>*{background:none}
  .guide-table .guide-us{background:rgba(255,198,60,.28)}
}
/* 2026-11-27 GUIDES END */

/* 2026-11-27 REMOVE WITH UNDO (photo removal helper): one press on a photo's x takes it off, and this bar at the
   bottom of the screen says so with Undo for a few seconds (js/uploader.js). */
.undo-bar{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:60;display:flex;align-items:center;gap:14px;
  max-width:calc(100vw - 32px);padding:8px 8px 8px 20px;border-radius:999px;background:rgba(14,18,34,.95);color:#fdf6e6;font-weight:700;font-size:16px;line-height:1.25;
  box-shadow:0 10px 30px rgba(0,0,0,.35);animation:undo-in .18s ease-out}
.undo-bar[hidden]{display:none}
.undo-bar .undo-text{padding:6px 0;white-space:nowrap}
.undo-btn{min-height:44px;padding:0 20px;border:0;border-radius:999px;background:var(--gold,#ffc63c);color:var(--gold-ink,#2b1d0a);font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}
.undo-btn[hidden]{display:none}
.undo-btn:hover{filter:brightness(1.06)}
.undo-btn:disabled{opacity:.6;cursor:default}
.tile-x:disabled{opacity:.4;cursor:default}
@keyframes undo-in{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
@media (prefers-reduced-motion:reduce){.undo-bar{animation:none}}
/* where the set up page keeps "Open the game" pinned to the bottom (980 and under), the bar sits above it, never on it */
@media (max-width:980px){.page-party .undo-bar{bottom:calc(88px + env(safe-area-inset-bottom,0px))}}

/* SPEED (2026-11-27): a weak device or "reduce motion" (html.lite-fx, set by js/boot.js) gets the frosted bars as
   plain colour: a blur behind a sticky bar is repainted on every scroll frame. A normal device is unchanged. */
html.lite-fx .top.is-stuck,html.lite-fx .top-fixed{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--bg)}
html.lite-fx .show-go,html.lite-fx .dock{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--bg)}
html.lite-fx .g-sound{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(11,16,36,.86)}

/* 2026-11-27 WHERE YOU ARE (routes helper): the Back link and the trail at the top of every inner page
   (partials/crumbs.html, js/crumbs.js), and the contact page. Quiet: small type, one soft chip for Back. */
.crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;margin:0 0 clamp(16px,2.6vw,28px);font-size:15px;line-height:1.3;color:var(--mute)}
/* 2026-11-27 (audit round 2, the spacing measure): the Back button starts on the page's own left line. It has a ground of
   its own, and that ground stuck out 4 px to the left of the logo, the headline and the text under it (margin-left:-4px). */
.crumb-back{display:inline-flex;align-items:center;gap:3px;min-height:44px;padding:0 14px 0 8px;margin-left:0;border-radius:12px;
  font-weight:750;color:var(--ink);text-decoration:none;background:rgba(13,21,51,.055);transition:background-color .15s}
.crumb-back:hover{background:rgba(13,21,51,.1)}
.crumb-back:focus-visible,.crumb-trail a:focus-visible{outline:3px solid var(--ring);outline-offset:2px}
.crumb-back svg{flex:none}
.crumb-trail{display:flex;flex-wrap:wrap;align-items:center;min-width:0;margin:0;padding:0 0 0 14px;list-style:none;border-left:1px solid var(--line-2)}
.crumb-trail li{display:inline-flex;align-items:center;min-width:0}
.crumb-trail li + li::before{content:"/";margin:0 9px;color:var(--line-3)}
.crumb-trail a{display:inline-block;padding:12px 2px;margin:-12px -2px;color:var(--ink-2);font-weight:600;text-decoration:none;border-radius:6px}
.crumb-trail a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--gold);text-decoration-thickness:2px}
.crumb-trail [aria-current]{color:var(--ink);font-weight:700;overflow-wrap:anywhere}
/* the centred pages (sign in, your order): the trail sits at the top, lined up with the box under it */
.center:has(> .crumbs){grid-template-rows:auto 1fr;padding-top:clamp(16px,2.6vw,32px)}
.center > .crumbs{justify-self:center;align-self:start;width:100%;max-width:1100px;margin-bottom:clamp(18px,4vh,48px)}
.page-thanks .center > .crumbs{max-width:500px}
@media (max-width:980px){.page-signin .center > .crumbs{max-width:500px}}
@media (prefers-reduced-motion:reduce){.crumb-back{transition:none}}

/* the contact page */
.reach{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;max-width:560px;margin:26px 0 0}
.reach .btn{margin:0;white-space:normal}
.reach-mail{width:100%;white-space:normal;padding:12px 24px}
.reach-mail svg{flex:none}
.reach-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.reach-row .btn{width:100%;padding:8px 14px;min-width:0}
.reach-copy.is-done{color:var(--ok);box-shadow:inset 0 0 0 2px var(--ok)}
.reach-address{min-height:26px;margin:4px 0 0;font-size:16px;color:var(--ink-2)}
.reach-text{font-weight:700;color:var(--ink);-webkit-user-select:all;user-select:all}
.reach-note{margin-left:8px;color:var(--ok);font-weight:750}
.reach-more{max-width:560px;margin:34px 0 0;padding-top:22px;border-top:1px solid var(--line);font-size:16px;color:var(--ink-2)}
.reach-more a{display:inline-block;padding:10px 2px;margin:-10px 0;font-weight:700;color:var(--ink);text-underline-offset:4px;text-decoration-color:var(--gold);text-decoration-thickness:2px}
@media (max-width:440px){.reach-row{grid-template-columns:minmax(0,1fr)}}
/* 2026-11-27 WHERE YOU ARE END */


/* 2026-11-27 Round 2 polish: host tricks teaser, zero-ad friend share, upload footer, animated brand hover */
.brand .brand-logo{transition:transform .32s cubic-bezier(.34,1.56,.64,1)}
.brand:hover .brand-logo{transform:rotate(-5deg) scale(1.07)}
@media (prefers-reduced-motion:reduce){.brand .brand-logo,.brand:hover .brand-logo{transition:none;transform:none}}
.howto-egg{margin:16px 0 0;padding:10px 14px;border-radius:10px;background:rgba(255,198,60,.16);border:1px solid rgba(255,198,60,.45);font-size:14px;line-height:1.45;color:#fff7dc}
.share-friend-btn{margin-top:10px;padding:8px 14px;border-radius:999px;border:1px solid var(--line-2,var(--line));background:transparent;color:var(--ink-2);font:inherit;font-weight:650;font-size:13.5px;line-height:1.2;cursor:pointer;transition:border-color .16s ease,color .16s ease,background-color .16s ease,transform .14s ease}
.share-friend-btn:hover{border-color:var(--gold);color:var(--ink);background:rgba(255,198,60,.1);transform:translateY(-1px)}
.share-planner-wrap{margin-top:12px;padding-top:12px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.share-planner-btn{width:100%;padding:11px 16px;border-radius:12px;border:1.5px solid var(--line-2,var(--line));background:#fff;color:var(--ink);font:700 15px/1.2 inherit;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,transform .14s ease,box-shadow .16s ease}
.share-planner-btn:hover{border-color:var(--gold);background:#fffdf6;transform:translateY(-1px);box-shadow:0 6px 18px rgba(13,21,51,.08)}
.share-planner-btn.is-done{border-color:var(--ok);color:var(--ok);background:#f3fbf5}
.share-planner-note{margin:0;font-size:13px;color:var(--ink-2)}
.guest-made{margin:18px 0 0;text-align:center;font-size:13px;color:var(--ink-2);opacity:.78}
.guest-made a{color:inherit;font-weight:700;text-underline-offset:3px}

/* ===================================================================================================================
   2026-11-27 SET UP WORKSPACE START. Lazer: "you didn't redesign the setup screen". The set up page is now one
   workspace: three tabs on the left (Photos & Names, Teams & Board, Extras & Sound), the live preview with Open the
   game on the right. On a computer it is one window tall (party.js setupFit writes --ws-h) and a tab that holds more
   scrolls inside itself. 820px and under: one column, the tabs stick under the top bar, the preview is a compact strip
   and Open the game sits in a bar at the bottom. Everything here is under .page-party, so no other page changes.
   =================================================================================================================== */
.page-party .setup{padding-top:clamp(10px,1.6vw,22px)}
.page-party .ws-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:6px 28px}
.page-party .ws-head h1{font-size:clamp(28px,2.7vw,38px);margin-top:2px;line-height:1.05}
.page-party .ws-head .eyebrow{font-size:12px}
.page-party .ws-head .lede{margin:0;max-width:44ch;font-size:16.5px;line-height:1.4;padding-bottom:4px}

.ws{display:grid;grid-template-columns:minmax(0,1fr) clamp(300px,31vw,390px);gap:clamp(18px,2.2vw,30px);align-items:start;margin-top:clamp(14px,1.6vw,22px)}
.ws-main{min-width:0;display:flex;flex-direction:column}
.ws-side{min-width:0;display:flex;flex-direction:column;gap:14px;position:sticky;top:88px}
.ws.is-fit{height:var(--ws-h);grid-template-rows:minmax(0,1fr);align-items:stretch}
.ws.is-fit .ws-main{height:100%;min-height:0}
.ws.is-fit .ws-pane{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.ws.is-fit .ws-side{position:static;height:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none}
.ws.is-fit .ws-side::-webkit-scrollbar{display:none}
.ws.is-fit .others,.ws.is-fit .account{display:none}
.ws-main > .others,.ws-main > .account{margin-top:18px}

/* ---- the three tabs: one segmented control, the open one raised like a card ---- */
.ws-tabs{flex:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:5px;border-radius:20px;
  background:#efe3d2;box-shadow:inset 0 1px 2px rgba(74,42,22,.12),inset 0 0 0 1px rgba(74,42,22,.06)}
.ws-tab{appearance:none;-webkit-appearance:none;border:0;margin:0;font:inherit;color:var(--ink-2);background:transparent;cursor:pointer;
  display:flex;align-items:center;gap:11px;min-width:0;min-height:60px;padding:8px 14px;border-radius:15px;text-align:left;
  transition:background-color .2s var(--ease),box-shadow .2s var(--ease),color .2s}
.ws-tab:hover{background:rgba(255,250,243,.6);color:var(--ink)}
.ws-tab.is-on{background:var(--paper);color:var(--ink);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 6px 16px -8px rgba(74,42,22,.45),0 0 0 1px rgba(74,42,22,.08)}
.ws-tab:focus-visible{outline:3px solid var(--ring);outline-offset:2px}
.ws-tab-n{position:relative;flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  box-shadow:inset 0 0 0 2px var(--line-2);font-weight:800;font-size:14px;line-height:1;color:var(--ink-2);transition:background-color .25s,box-shadow .25s,color .25s}
.ws-tab.is-on .ws-tab-n{background:var(--ink);color:var(--cream);box-shadow:none}
.ws-tab-n svg{position:absolute;inset:7px;width:16px;height:16px;opacity:0;transform:scale(.4);transition:opacity .25s,transform .3s var(--pop)}
.ws-tab.is-done .ws-tab-n{background:var(--ok);color:#fff;box-shadow:none}
.ws-tab.is-done .ws-tab-n i{opacity:0}
.ws-tab.is-done .ws-tab-n svg{opacity:1;transform:none}
.ws-tab-n i{font-style:normal;transition:opacity .2s}
.ws-tab-words{display:flex;flex-direction:column;min-width:0;gap:1px}
.ws-tab-words b{font-weight:800;font-size:15.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws-tab-words small{font-size:13px;line-height:1.25;color:var(--mute);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws-tab-words small:empty{display:none}

/* ---- a tab's page ---- */
.ws-pane{margin-top:12px;display:flex;flex-direction:column;gap:12px;border-radius:var(--r);outline:none;padding:1px 2px 2px}
.ws-pane[hidden]{display:none}
.ws-pane:not([hidden]){animation:ws-in .28s var(--ease) both}
@keyframes ws-in{from{opacity:0;transform:translateY(6px)}}
.page-party .ws-pane > .part{margin:0;padding:clamp(18px,1.9vw,24px)}
.page-party .ws-pane .part + .part{margin-top:0}
.ws-h{font-size:clamp(19px,1.6vw,22px);line-height:1.2;display:flex;align-items:center;gap:10px}
.ws-sub{margin-top:4px;color:var(--ink-2);font-size:15.5px}
.page-party .ws-pane .who-row{margin-top:12px}
.page-party .ws-pane .meter{margin-top:12px}
.page-party .ws-pane .readiness{margin-top:10px;font-size:16px}
.page-party .ws-pane .uploader,.page-party .ws-pane #uploader{margin-top:14px}
.page-party .ws-pane .grid{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}
.page-party .ws-pane .share{margin-top:18px;padding-top:16px}
.page-party .ws-pane .share h3{font-size:18px}
.page-party .ws-pane .share p{font-size:15.5px}
.page-party .ws-pane .extra{margin-top:0}
.page-party .ws-pane .extra h3{font-size:19px}
.page-party .ws-pane .teams{margin-top:14px}
.page-party .ws-pane .board-rounds{margin-top:4px;font-size:15.5px}

/* the gold glow on the spot a shortcut led to */
.is-flash{animation:ws-flash 1.5s var(--ease)}
@keyframes ws-flash{0%,30%{box-shadow:0 0 0 3px var(--gold),0 0 0 9px rgba(255,198,60,.35)}100%{box-shadow:0 0 0 0 rgba(255,198,60,0)}}
.field.is-flash,.team.is-flash{border-radius:var(--r-s)}

/* "Next" at the end of a tab */
.ws-next{align-self:flex-end;display:inline-flex;align-items:center;gap:6px;min-height:46px;padding:0 10px 0 18px;border:0;border-radius:999px;
  background:transparent;color:var(--ink);font:inherit;font-weight:800;font-size:15.5px;cursor:pointer;box-shadow:inset 0 0 0 2px var(--line-2);
  transition:background-color .2s,box-shadow .2s}
.ws-next svg{width:20px;height:20px}
.ws-next:hover{background:var(--paper);box-shadow:inset 0 0 0 2px var(--ink)}
.ws-next:focus-visible{outline:3px solid var(--ring);outline-offset:3px}

/* ---- tab 1: the Chanukah cards hint, under the ready line ---- */
.ws-pack-hint{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:10px;padding:10px 12px 10px 14px;border-radius:14px;
  background:#fff6dc;box-shadow:inset 0 0 0 1.5px rgba(224,165,40,.65);font-size:15.5px;font-weight:650;color:var(--ink-2)}
.ws-pack-hint[hidden]{display:none}
.ws-link{display:inline-flex;align-items:center;gap:2px;min-height:36px;padding:0 6px;border:0;border-radius:8px;background:none;font:inherit;
  font-weight:800;color:var(--ink);text-decoration:underline;text-decoration-color:var(--gold-lo);text-decoration-thickness:2px;text-underline-offset:4px;cursor:pointer}
.ws-link svg{width:18px;height:18px}
.ws-link:hover{background:rgba(255,198,60,.28)}
.ws-link:focus-visible{outline:3px solid var(--ring);outline-offset:1px}

/* ---- tab 1: name chips that open to be fixed, and the quick names ---- */
.chip .chip-name{appearance:none;-webkit-appearance:none;border:0;background:none;color:inherit;font:inherit;font-weight:inherit;padding:0;margin:0;
  min-height:40px;min-width:0;max-width:100%;display:inline-flex;align-items:center;cursor:text;border-radius:8px;overflow:hidden}
.chip .chip-name bdi{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chip .chip-name:hover bdi{text-decoration:underline;text-decoration-color:rgba(253,246,230,.55);text-underline-offset:4px}
.chip .chip-name:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.page-party .chip .chip-name{width:auto;height:auto;opacity:1}
.chip.is-editing{padding:0 6px;background:var(--paper);box-shadow:inset 0 0 0 2px var(--ink)}
.chip-edit{min-width:4ch;max-width:24ch;min-height:36px;border:0;background:none;padding:0 6px;font:inherit;font-size:16px;font-weight:700;color:var(--ink)}
.chip-edit:focus{outline:none}
.quick-names{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}
.quick-names[hidden],.quick[hidden]{display:none}
.quick-label{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);margin-right:4px}
.quick{appearance:none;-webkit-appearance:none;min-height:38px;padding:0 14px;border:0;border-radius:999px;font:inherit;font-weight:750;font-size:15px;color:var(--ink);
  background:var(--paper);box-shadow:inset 0 0 0 1.5px var(--line-2);cursor:pointer;transition:background-color .15s,box-shadow .15s,transform .15s var(--ease)}
.quick:hover{background:#fff1c9;box-shadow:inset 0 0 0 1.5px var(--gold-lo)}
.quick:active{transform:scale(.96)}
.quick:focus-visible{outline:3px solid var(--ring);outline-offset:2px}

/* ---- tab 2: each board shows its own little grid of cards ---- */
.page-party .boards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.page-party .board-face{flex-direction:row;align-items:center;justify-content:flex-start;gap:16px;min-height:0;padding:14px 16px;text-align:left}
.board-grid{flex:none;display:grid;grid-template-columns:repeat(var(--cols),1fr);gap:2px;width:clamp(96px,9vw,124px);padding:7px;border-radius:9px;
  background:radial-gradient(120% 90% at 50% 0%,#22449a,#101f52 55%,#0b1024);box-shadow:inset 0 0 0 1.5px rgba(255,198,60,.28),0 6px 12px -8px rgba(11,16,36,.8)}
.board-grid i{display:block;aspect-ratio:4/3;border-radius:2px;background:linear-gradient(170deg,#fffdf5,#f1dfb7);box-shadow:inset 0 0 0 1px rgba(200,137,10,.75);
  opacity:.78;transition:opacity .25s,transform .25s var(--ease),box-shadow .25s}
.board[data-size="60"] .board-grid{gap:1.5px;padding:6px}
.board[data-size="60"] .board-grid i{border-radius:1.5px}
.board input:checked + .board-face .board-grid{box-shadow:inset 0 0 0 1.5px rgba(255,198,60,.85),0 0 18px -2px rgba(255,198,60,.55),0 6px 12px -8px rgba(11,16,36,.8)}
.board input:checked + .board-face .board-grid i{opacity:1;background:linear-gradient(170deg,#fff7d6,var(--gold) 120%);box-shadow:inset 0 0 0 1px #c8890a,0 0 4px rgba(255,198,60,.6);
  animation:ws-deal .42s var(--pop) both;animation-delay:calc(var(--k) * 9ms)}
@keyframes ws-deal{from{opacity:.4;transform:scale(.55)}}
.board.is-short .board-grid{filter:grayscale(1);opacity:.45}
.board-info{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.board-top{display:flex;align-items:baseline;gap:6px}
.page-party .board-face b{font-size:clamp(30px,2.6vw,38px)}
.board-dims{display:inline-block;margin-top:2px;padding:2px 8px;border-radius:7px;background:rgba(13,21,51,.07);font-size:13px;font-weight:800;letter-spacing:.06em;color:var(--ink-2);font-variant-numeric:tabular-nums}
.page-party .board-time{margin-top:3px;font-size:14.5px;white-space:normal}
.page-party .board-face em{font-size:13px}
.board.is-short .board-dims{opacity:.45}
.page-party .pack{margin-top:14px}

/* ---- tab 3: the switches, in three small groups ---- */
.ws-group{margin-top:18px;font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--mute)}
.ws-h + .ws-sub + .ws-group{margin-top:16px}
.ws-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.ws-switch{margin:0;padding:14px 16px;border-radius:16px;background:var(--field);box-shadow:inset 0 0 0 1.5px var(--line);transition:box-shadow .2s,background-color .2s}
.ws-switch:hover{box-shadow:inset 0 0 0 1.5px var(--line-2)}
.ws-switch:has(input:checked){background:#fffdf8;box-shadow:inset 0 0 0 2px rgba(13,21,51,.55)}
.ws-switch .switch-words b{font-size:16px}
.ws-switch .switch-words span{font-size:14px;margin-top:2px}
.ws-switch input{top:14px;left:16px}
.ws-guests[hidden]{display:none}

/* ---- the live preview: every part is a shortcut to where it is set ---- */
.page-party .ws-side .wallbox{order:0;width:auto;max-width:none;margin:0;padding:clamp(14px,1.5vw,20px)}
.ws-hot{appearance:none;-webkit-appearance:none;border:0;margin:0;font:inherit;cursor:pointer;transition:transform .18s var(--ease),box-shadow .18s,filter .18s}
.ws-hot:hover{filter:brightness(1.08)}
.ws-hot:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.page-party .sign.ws-hot{color:var(--cream)}
.page-party .sign.ws-hot:hover{transform:translateY(-1px);box-shadow:0 0 0 2.5px var(--gold-hi),0 0 22px rgba(255,198,60,.45),0 6px 0 -1px rgba(0,0,0,.4)}
.page-party .vs-team.ws-hot{color:#fff;width:100%}
.page-party .vs-team.ws-hot.is-light{color:#0d1533}
.page-party .vs-team.ws-hot:hover{transform:translateY(-1px);box-shadow:inset 0 -4px 0 rgba(0,0,0,.2),0 0 0 2px rgba(255,255,255,.8)}
.page-party .minis.ws-hot{width:100%;padding:6px;margin-top:14px;border-radius:9px;background:rgba(255,255,255,.04);grid-template-columns:repeat(var(--cols,5),1fr);gap:4px;
  font-size:calc(90px / var(--cols,5))}
.page-party .minis.ws-hot:hover{box-shadow:0 0 0 2px rgba(255,198,60,.6)}
.page-party .minis[data-size="40"],.page-party .minis[data-size="60"]{gap:3px}
.page-party .minis .mini{font-size:inherit;border-radius:calc(28px / var(--cols,5));box-shadow:inset 0 0 0 1px rgba(224,165,40,.9)}
.ws-peek{display:none}

/* Open the game, then How to run it, right under it */
.ws-go{display:flex;flex-direction:column;gap:10px}
.ws-go .readiness{justify-content:center;margin:0;font-size:15.5px}
.ws-go .readiness:not(.is-ready){display:none}
.ws-go #open{width:100%;min-height:66px;font-size:21px;border-radius:18px}
.ws-go .howto-btn{width:100%;margin:0;min-height:50px}
.page-party .ws-side .go-notes{margin-top:0}
.page-party .go-line{font-size:15px}
.share-friend-btn.is-done{color:var(--ok)}

/* ---- How to run it: a warm cream card (2026-11-27), navy ink, gold accents ---- */
.page-party .howto{width:min(760px,calc(100% - 28px));background:#fbf4e8;color:var(--ink);box-shadow:0 30px 70px -24px rgba(11,16,36,.65),0 0 0 1px rgba(200,137,10,.35)}
.page-party .howto-in{padding:clamp(22px,3.4vw,38px)}
.howto-kicker{font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-lo)}
.page-party .howto h2{margin-top:4px;color:var(--ink);font-size:clamp(28px,3.6vw,38px);padding-right:52px}
.page-party .howto-x{background:rgba(13,21,51,.07);color:var(--ink)}
.page-party .howto-x:hover{background:rgba(13,21,51,.14)}
.page-party .howto-x:focus-visible{outline:3px solid var(--ring)}
.page-party .howto-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px;counter-reset:s}
.page-party .howto-steps li{display:flex;flex-direction:column;gap:6px;padding:18px 16px 18px;border-radius:18px;background:#fffdf8;color:var(--ink-2);font-size:15px;line-height:1.45;
  box-shadow:0 1px 0 #fff inset,0 10px 22px -16px rgba(74,42,22,.6),0 0 0 1px rgba(200,137,10,.28)}
.page-party .howto-steps li::before{position:static;content:counter(s);width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--ink);color:var(--gold);
  font-size:15px;font-weight:800;line-height:1;margin-bottom:2px}
.howto-ic{position:absolute;display:none}
.page-party .howto-steps li{position:relative}
.page-party .howto-steps .howto-ic{display:block;top:16px;right:16px;width:34px;height:34px;color:var(--gold-lo);opacity:.9}
.page-party .howto-steps .howto-ic svg{width:100%;height:100%}
.page-party .howto-steps b{color:var(--ink);font-size:17px;font-weight:800}
.page-party .howto-egg{margin-top:16px;padding:12px 14px;border-radius:14px;background:#fff3cf;color:var(--ink);font-size:15px;font-weight:600;box-shadow:inset 0 0 0 1px rgba(200,137,10,.4)}
.howto-drawer{margin-top:10px;border-radius:16px;background:#fffdf8;box-shadow:0 0 0 1px rgba(13,21,51,.1)}
.howto-drawer > summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:0 18px;list-style:none;cursor:pointer;border-radius:16px}
.howto-drawer > summary::-webkit-details-marker{display:none}
.howto-drawer > summary::after{content:"";flex:none;width:9px;height:9px;border-right:2.5px solid var(--ink);border-bottom:2.5px solid var(--ink);transform:rotate(45deg) translate(-2px,-2px);transition:transform .2s var(--ease)}
.howto-drawer[open] > summary::after{transform:rotate(-135deg) translate(-2px,-2px)}
.howto-drawer > summary:focus-visible{outline:3px solid var(--ring);outline-offset:2px}
.page-party .howto-drawer h3,.page-party .howto-drawer .howto-stuck-head{margin:0;font-size:16px;letter-spacing:0;text-transform:none;color:var(--ink);font-weight:800}
.page-party .howto-drawer .howto-keys{margin:0;padding:4px 18px 18px}
.page-party .howto-keys dd{color:var(--ink-2)}
.page-party .howto-keys kbd{background:var(--ink);color:var(--cream);box-shadow:0 2px 0 #000}
.page-party .howto-stuck{margin-top:10px;padding-top:0;border-top:0;color:var(--ink-2)}
.page-party .howto-stuck > p{padding:0 18px 6px;font-size:15px}
.page-party .howto-stuck > p:last-child{padding-bottom:18px}
.page-party .howto-stuck b{color:var(--ink)}
.page-party .howto::backdrop{background:rgba(11,16,36,.55)}

/* a computer window that is narrow (821 to 1100): the tabs keep their names, the little line under them goes */
@media (min-width:821px) and (max-width:1100px){
  .ws-tab{padding:8px 10px;gap:8px}
  .ws-tab-words small{display:none}
  .page-party .boards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .page-party .board-face{flex-direction:column;align-items:flex-start}
  .ws-switches{grid-template-columns:minmax(0,1fr)}
}

/* ---- 820px and under: one column ---- */
@media (max-width:820px){
  .page-party .ws-head{display:block}
  .page-party .ws-head .lede{margin-top:6px}
  .ws{display:flex;flex-direction:column;gap:12px}
  .ws-side{display:contents}
  .page-party .ws-side .wallbox{order:-1;padding:12px 12px 10px}
  .ws-main{order:0}
  .page-party .ws-side .go-notes{order:2;margin-top:6px}
  /* the little screen: the sign and the teams; the cards behind a tap */
  .page-party .ws-side:not(.is-peek) .minis{display:none}
  .page-party .screen{padding:12px 10px 12px}
  .page-party .vsrow{margin-top:10px}
  .ws-peek{display:block;margin:8px auto 0;min-height:36px;padding:0 14px;border:0;border-radius:999px;background:rgba(11,16,36,.16);color:#2a1a10;font:inherit;font-size:13.5px;font-weight:800;cursor:pointer}
  .ws-peek:focus-visible{outline:3px solid var(--ring);outline-offset:2px}
  /* the tabs stay at the top, under the bar */
  /* 2026-11-27 (found in the audit's round 2): the pinned tabs were 3 percent see-through, so the big photo count
     ("19 of 60") and the green line showed through them as ghost letters while the page was scrolled. Solid now. */
  .ws-tabs{position:sticky;top:60px;z-index:30;border-radius:18px;background:rgb(239,227,210);box-shadow:inset 0 1px 2px rgba(74,42,22,.12),0 8px 18px -14px rgba(74,42,22,.5)}
  .ws-tab{flex-direction:column;justify-content:center;gap:4px;min-height:64px;padding:8px 4px;text-align:center}
  .ws-tab-words{align-items:center}
  .ws-tab-words b{font-size:13.5px;white-space:normal;line-height:1.15;text-wrap:balance}
  .ws-tab-words small{display:none}
  .ws-tab-n{width:26px;height:26px;font-size:13px}
  .ws-tab-n svg{inset:5px}
  .ws-pane{scroll-margin-top:140px}
  .page-party .ws-pane .part{scroll-margin-top:140px}
  .page-party .boards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .page-party .board-face{flex-direction:column;align-items:flex-start;gap:10px;padding:12px}
  .board-grid{width:100%;max-width:150px}
  .ws-switches{grid-template-columns:minmax(0,1fr)}
  .ws-next{align-self:stretch;justify-content:center}
  /* Open the game in a bar at the bottom, How to run it beside it */
  .ws-go{position:fixed;left:0;right:0;bottom:0;z-index:45;flex-direction:row;align-items:center;gap:8px;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:rgb(247,238,228);box-shadow:0 -1px 0 var(--line),0 -10px 24px -18px rgba(74,42,22,.5)}
  .ws-go .readiness{display:none}
  .ws-go #open{flex:1 1 auto;width:auto;min-width:0;min-height:56px;font-size:17px;padding:0 16px;white-space:normal;line-height:1.15}
  .ws-go .howto-btn{flex:none;width:auto;min-height:56px;padding:0 14px;margin:0}
  .page-party main{padding-bottom:100px}
  .page-party .howto-steps{grid-template-columns:minmax(0,1fr)}
  .page-party .howto-steps li{padding:16px 16px 16px 60px;min-height:0}
  .page-party .howto-steps li::before{position:absolute;left:16px;top:16px}
  .page-party .howto-steps .howto-ic{display:none}
}
@media (max-width:480px){
  .ws-go .howto-btn{width:56px;padding:0}
  .ws-go .howto-words{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
  .ws-go .howto-btn svg{width:24px;height:24px}
}
@media (prefers-reduced-motion:reduce){
  .ws-pane:not([hidden]),.is-flash,.board input:checked + .board-face .board-grid i{animation:none}
}
/* 2026-11-27 SET UP WORKSPACE END */
@media (min-width:761px) and (max-width:820px){.ws-tabs{top:72px}}

/* 2026-11-27 audit BW-05: Open the game is never out of sight on a computer.
   The right column was a box that scrolled inside itself with its scroll bar hidden, and taller than its room: at
   1280x720 Open the game sat on the window's bottom edge with How to run it under it, at 1440x900 the last line was cut.
   Now the right column never scrolls on its own and is never cut: the workspace is at least one window tall, and when
   the right column needs more the row grows with it and the page scrolls. The tab's own part still scrolls inside its
   box, which is as tall as the row (height:0 keeps its long content from stretching the row). */
.ws.is-fit{height:auto;grid-template-rows:minmax(var(--ws-h),auto);align-items:start}
.ws.is-fit .ws-main{height:var(--ws-h)}
.ws.is-fit .ws-side{height:auto;overflow:visible}
/* a computer window under 960 high: Enough to play is already said in the tab beside it; saying it twice pushed the notes
   down. With a little less air around the screen, the whole column fits a 900 high window again. */
@media (min-width:821px) and (max-height:959px){
  .page-party .ws-go .readiness{display:none}
  .page-party .ws-side{gap:10px}
  .page-party .ws-side .wallbox{padding:14px}
  .page-party .screen{padding:14px 12px 12px}
  .ws-go{gap:8px}
  .page-party .go-notes .go-more,.page-party .go-notes .share-friend-btn{margin-top:6px}
}
/* a short computer window (under 760 high, most small laptops): the little screen shows the sign and the teams and the
   cards come with a press, the way a phone has it, so Open the game and How to run it are in view the moment the page opens */
@media (min-width:821px) and (max-height:759px){
  .page-party .ws-side:not(.is-peek) .minis{display:none}
  .page-party .ws-side .wallbox{padding:10px 12px 8px}
  .page-party .screen{padding:12px 10px 12px}
  .page-party .vsrow{margin-top:10px}
  .ws-go #open{min-height:62px}
  .ws-go .howto-btn{min-height:46px}
  .ws-peek{display:block;margin:6px auto 0;min-height:34px;padding:0 14px;border:0;border-radius:999px;background:rgba(11,16,36,.16);color:#2a1a10;font:inherit;font-size:13.5px;font-weight:800;cursor:pointer}
  .ws-peek:hover{background:rgba(11,16,36,.24)}
  .ws-peek:focus-visible{outline:3px solid var(--ring);outline-offset:2px}
}
/* the little screen's sign and team names became buttons with the workspace, and a button's reset (ws-hot, font:inherit)
   took the game's own lettering off them: they are drawn in it again, as on the wall. In the narrow column of a small
   laptop the team name is a size smaller, so Custard is whole and not CUS... */
.page-party .sign.ws-hot,.page-party .vs-team.ws-hot{font-family:"Stage","Stage Fallback","Text","Text Fallback",sans-serif;font-weight:400}
.page-party .sign.ws-hot{line-height:1.05}
.page-party .vs-team.ws-hot{font-size:clamp(12px,1.15vw,16px);line-height:1.1}
@media (max-width:820px){
  .page-party .vs-team.ws-hot{font-size:clamp(12px,3.5vw,14px)}
  .ws{align-items:stretch}                 /* the little screen's box is as wide as the tabs under it, whatever its words */
}
@media (max-width:380px){.page-party .vs-team.ws-hot{padding-left:5px;padding-right:5px;gap:4px}}
/* a finger gets 44 high: the two team names on the little screen, Show the board, the quick names, Copy a note */
@media (pointer:coarse){
  .page-party .vs-team.ws-hot,.ws-peek,.page-party .quick,.page-party .share-friend-btn{min-height:44px}
}
/* 2026-11-27 audit L2-10 (his words: "the pay button should stay on top"): on a phone every page's top bar carries the
   buy button beside Sign in (the small print, the guides and Contact showed only Sign in; About only the button) */
@media (max-width:760px){
  .page-legal .top-end .btn,.legal-about .top-end .btn{display:inline-flex;min-height:44px;padding:0 12px;font-size:14.5px;white-space:nowrap}
  .legal-about .top-end .top-link{display:inline-flex}
  .top-end{gap:6px}
  .top-end .top-link{padding:0 10px}
}
@media (max-width:359px){
  .top-end .top-link{padding:0 6px;font-size:14px}
  .page-legal .top-end .btn,.legal-about .top-end .btn{padding:0 9px;font-size:13.5px}
}
/* a narrow computer window (821 to 1100): a tab's name takes two lines instead of ending in three dots */
@media (min-width:821px) and (max-width:1100px){
  .ws-tab-words b{white-space:normal;overflow:visible;text-wrap:balance;font-size:14.5px;line-height:1.15}
}

/* sign in, the stuck line: the email address takes a finger (44 high to tap, the line itself stays where it was) */
@media (pointer:coarse){
  .box-foot.stuck .link{display:inline-block;padding:11px 0;margin:-11px 0}
}
