:root {
  --navy: #16285c;
  --navy-2: #1f3780;
  --gold: #f2c14e;
  --gold-deep: #c9952a;
  --cream: #fbf8f1;
  --paper: #ffffff;
  --ink: #1b1d26;
  --muted: #5b6070;
  --line: #e7e2d6;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(22 40 92 / 6%), 0 8px 24px rgb(22 40 92 / 8%);
  --green: #1f9d55;
  --green-deep: #157a40;
  --green-soft: #e3f6ea;
  --gold-soft: #fff4d6;
  --pink: #ffe1e6;
  --sky: #dbe8ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--navy-2); }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 10; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: rgb(251 248 241 / 92%);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: Fraunces, Georgia, serif; font-weight: 700; font-size: 1.3rem; color: var(--navy); }
.brand-sm { font-size: 1.05rem; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; white-space: nowrap; }
.nav nav a:hover { color: var(--navy-2); }
.pill { background: var(--navy); color: var(--gold); font-weight: 600; font-size: .85rem;
  padding: 7px 14px; border-radius: 99px; white-space: nowrap; }
.brand span { white-space: nowrap; }
@media (max-width: 760px) {
  .nav nav { display: none; }
  .pill { margin-left: auto; font-size: .72rem; padding: 6px 11px; }
}
@media (max-width: 360px) { .pill { display: none; } }
/* Sign in / My games: always visible, also on phones. */
.signin { text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--navy); background: #fff; border: 2px solid var(--line);
  border-radius: 999px; padding: 8px 16px; white-space: nowrap; }
.signin:hover { border-color: var(--navy); }
.order { text-decoration: none; font-weight: 700; font-size: .9rem; color: #fff; background: var(--green); border-radius: 999px;
  padding: 9px 18px; white-space: nowrap; box-shadow: 0 3px 0 var(--green-deep); }
.order:hover { filter: brightness(1.06); }
@media (max-width: 760px) { .pill { display: none; } }
/* Phones and tablets: the links go in a menu. */
.menu { display: none; position: relative; }
.menu summary { list-style: none; display: grid; align-content: center; gap: 4px; width: 42px; height: 42px; padding: 0 11px; box-sizing: border-box;
  border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .15s, opacity .15s; }
.menu[open] summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[open] summary span:nth-child(2) { opacity: 0; }
.menu[open] summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); display: grid; min-width: 250px; padding: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgb(22 40 92 / 16%); }
.menu-panel a { white-space: nowrap; padding: 13px 14px; border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 600; }
.menu-panel a:hover, .menu-panel a:focus-visible { background: var(--cream); }
.menu-panel .menu-account { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
@media (max-width: 960px) {
  .nav nav { display: none; }
  .menu { display: block; }
  .nav-inner { gap: 10px; }
  .nav .signin { margin-left: auto; }
}
@media (max-width: 440px) {
  .nav .signin { display: none; }
  .order { margin-left: auto; padding: 9px 14px; }
  .brand { font-size: 1.15rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent; font-size: 1rem; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #f5cd6c; }
.btn-ghost { border-color: rgb(255 255 255 / 35%); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn[aria-disabled=true] { opacity: .75; cursor: default; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #2a4aa3 0%, transparent 60%), var(--navy);
  color: #e9edf8; padding: 72px 0 88px; overflow: hidden; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.lead { font-size: 1.2rem; color: #cdd5ec; max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px 22px; flex-wrap: wrap; color: #cdd5ec; font-size: .95rem; }
.checks li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 8px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .phone { margin-inline: auto; } }

/* Phone illustration */
.phone { width: min(300px, 100%); background: #0e1a3d; border-radius: 40px; padding: 18px;
  box-shadow: 0 30px 60px rgb(0 0 0 / 35%), inset 0 0 0 2px rgb(255 255 255 / 8%); }
.screen { background: linear-gradient(160deg, #20366f, #172a59); border-radius: 22px; padding: 18px;
  color: #fff; min-height: 150px; }
.screen small { color: #9fb0dd; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 600; }
.screen p { margin: 6px 0 0; font-family: Fraunces, Georgia, serif; font-size: 1.15rem; line-height: 1.3; }
.screen .timer { margin-top: 14px; height: 6px; border-radius: 99px; background: rgb(255 255 255 / 12%); overflow: hidden; }
.screen .timer span { display: block; height: 100%; width: 62%; background: var(--gold); border-radius: 99px; }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.keys span { aspect-ratio: 1.35; display: grid; place-items: center; border-radius: 14px; background: #1a2a57;
  color: #8796c4; font-weight: 600; font-size: 1.2rem; }
.keys span.on { background: var(--gold); color: var(--navy); }
.keys span.press { outline: 3px solid #fff; outline-offset: 2px; }

/* Sections */
section.band { padding: 88px 0; }
section.band.alt { background: var(--paper); border-block: 1px solid var(--line); }
.eyebrow { color: var(--gold-deep); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 10px; }
.intro { max-width: 640px; margin-bottom: 44px; }
.intro p { color: var(--muted); font-size: 1.1rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--gold);
  font: 700 1.1rem Fraunces, Georgia, serif; margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.features { display: grid; gap: 18px; padding: 0; list-style: none; margin: 0; }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.features .ic { width: 44px; height: 44px; border-radius: 12px; background: #fdf1d3; display: grid; place-items: center; font-size: 1.3rem; }
.features strong { display: block; color: var(--navy); }
.features span { color: var(--muted); font-size: .97rem; }

.keypad-card { background: var(--navy); color: #dfe5f6; border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.keypad-card h3 { color: #fff; }
.keypad-card p { color: #aebbe0; }
.legend { display: grid; gap: 10px; margin-top: 18px; }
.legend div { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 14px;
  background: rgb(255 255 255 / 6%); border-radius: 12px; padding: 8px; }
.legend b { display: grid; place-items: center; height: 40px; border-radius: 10px; background: var(--gold);
  color: var(--navy); font-size: 1.15rem; }

.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.audience div { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.audience .em { font-size: 2rem; display: block; margin-bottom: 8px; }
.audience strong { color: var(--navy); }
.audience p { color: var(--muted); font-size: .93rem; margin: 6px 0 0; }
@media (max-width: 860px) { .audience { grid-template-columns: repeat(2, 1fr); } }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); gap: 20px; justify-content: center; }
@media (max-width: 700px) { .prices { grid-template-columns: 1fr; } }
.price { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); text-align: center; }
.price.featured { border: 2px solid var(--gold); position: relative; }
.price.featured::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy); font-size: .75rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.price h3 { margin-bottom: 4px; }
.amount { font: 700 3rem/1 Fraunces, Georgia, serif; color: var(--navy); margin: 14px 0 4px; }
.amount sup { font-size: 1.4rem; vertical-align: 1.2rem; }
.per { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.price .btn { width: 100%; justify-content: center; background: var(--navy); color: #fff; }
.included { max-width: 760px; margin: 36px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; padding: 0; list-style: none; color: var(--muted); }
.included li::before { content: "✓"; color: var(--gold-deep); font-weight: 700; margin-right: 10px; }
@media (max-width: 600px) { .included { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-deep); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* CTA */
.cta { background: var(--navy); color: #dfe5f6; border-radius: 28px; padding: 56px 40px; text-align: center;
  background-image: radial-gradient(600px 240px at 50% -20%, #2a4aa3, transparent 70%); }
.cta h2 { color: #fff; }
.cta p { color: #aebbe0; max-width: 520px; margin: 0 auto 24px; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 64px 0 88px; }
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.doc h2 { font-size: 1.4rem; margin-top: 2em; }
.doc .updated { color: var(--muted); margin-bottom: 2em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc .box { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 18px 22px; margin: 1.4em 0; }

/* Footer */
.footer { background: transparent; color: var(--muted); padding: 40px 0 28px; border-top: 1px solid var(--line); }
.footer .brand { color: var(--navy); }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer p { margin: 8px 0 0; font-size: .95rem; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer nav a { color: var(--navy); text-decoration: none; font-size: .95rem; }
.footer nav a:hover { color: var(--green); }
/* The company line Stripe asks for: there, but quiet. */
/* Pages for what people search for: a quiet row of links, smaller than the footer's own. */
.footer nav.footer-ideas { margin-top: 18px; gap: 6px 16px; }
.footer-ideas span, .footer nav.footer-ideas a { font-size: .85rem; }
.footer-ideas span { color: var(--muted); }
.copyright { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 14px; font-size: .72rem; color: #8b90a0; }

/* Voice tag buttons: a tap adds "[laughs]" to the box (src/site/tag-chips.ts). */
.tag-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: -2px 0 4px; }
.tag-chips .tag-hint { width: 100%; font-size: .8rem; color: var(--muted); }
.tag-chips button { font: inherit; font-size: .8rem; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.tag-chips button:hover { border-color: var(--gold-deep); background: var(--gold-soft); }

/* Customer pages (sign in, booking, my games): one narrow card, few words. */
.flow { padding: 56px 0 88px; }
.flow-card { width: min(440px, 100% - 32px); margin-inline: auto; background: var(--paper); border: 1px solid var(--line);
  border-radius: 24px; padding: 36px 28px; box-shadow: var(--shadow); text-align: center; }
.flow-card h1 { font: 700 2rem/1.15 Fraunces, Georgia, serif; color: var(--navy); margin: 0 0 24px; }
.flow-sub { color: var(--muted); margin: -12px 0 24px; }
.flow-hello { color: var(--muted); margin: 0 0 4px; }
.flow-empty { color: var(--muted); padding: 28px 0; border: 1px dashed var(--line); border-radius: 14px; margin-bottom: 20px; }
.flow-error { color: #b42318; background: #fef3f2; border-radius: 10px; padding: 10px 12px; margin: -8px 0 18px; }
.flow-foot { margin-top: 18px; }
.btn-block { width: 100%; justify-content: center; }
.btn-google { background: #fff; color: var(--ink); border: 1px solid #d6d9e0; font-weight: 600; }
.btn-google:hover { background: #f6f7f9; }
.signin-ways { display: grid; gap: 12px; }
.flow-input { display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 1.25rem; padding: 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 16px; }
.flow-input:focus { outline: none; border-color: var(--navy); }
.flow-code { text-align: center; font-size: 1.8rem; letter-spacing: .4em; font-variant-numeric: tabular-nums; }
button.link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }

/* Booking steps: progress bar, Back, big tappable choices. */
.steps { display: flex; gap: 6px; margin: -8px 0 22px; }
.steps span { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.steps span.on { background: var(--gold); }
.flow-back { display: block; text-align: left; margin: -8px 0 14px; color: var(--muted); text-decoration: none; font-size: .95rem; }
.flow-back:hover { color: var(--navy); }
.choices { display: grid; gap: 12px; margin-bottom: 22px; text-align: left; }
.choice { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px;
  border: 2px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; cursor: pointer; }
.choice:hover { border-color: var(--navy-2); }
.choice small { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; }
.choice .amount { font: 700 1.5rem Fraunces, Georgia, serif; color: var(--navy); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; }
.choice:has(input:checked) { border-color: var(--gold-deep); background: #fffaf0; }
.choice:has(input:checked) .tick { background: var(--gold); border-color: var(--gold-deep); }
.choice:has(input:checked) .tick::after { content: '✓'; color: var(--navy); font-weight: 700; font-size: .9rem; }
.choice:has(input:focus-visible) { outline: 3px solid var(--navy-2); outline-offset: 2px; }
.flow-date { width: 100%; font: inherit; font-size: 1.15rem; padding: 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.flow-hint { min-height: 1.4em; color: #b42318; margin: 10px 0 14px; }
.summary { text-align: left; margin: 0 0 22px; border-top: 1px solid var(--line); }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.summary .total dd { font: 700 1.5rem Fraunces, Georgia, serif; color: var(--navy); }

/* My questions: type or record, then the list. */
.btn-plain { background: transparent; border: 1px solid var(--line); color: var(--navy); margin-top: 10px; }
.flow-ok { color: #1f7a45; background: #ecfdf3; border-radius: 10px; padding: 10px 12px; margin: -8px 0 18px; }
.flow-error-text { color: #b42318; min-height: 1.2em; margin: 6px 0; }
.flow-card [hidden] { display: none !important; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.tabs button { font: inherit; font-weight: 600; padding: 12px 8px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.tabs button small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.tabs button.on { border-color: var(--gold-deep); background: #fffaf0; }
.own-typed { display: grid; gap: 10px; text-align: left; margin-bottom: 24px; }
.own-typed input { width: 100%; font: inherit; padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.own-typed input[name=question] { font-weight: 600; }
/* The right answer's box is green, with a check; the two wrong ones plain. */
.own-typed input.own-right { border-color: var(--green); background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%231f9d55'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 22px;
  padding-right: 48px; }
.own-typed input.own-right::placeholder { color: #1f7a45; }
.own-hint { color: var(--muted); font-size: .9rem; margin: 0; text-align: center; }
.rec-form { margin-bottom: 24px; text-align: left; }
.flow-card .rec-box button { font: inherit; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: #f6f3ec; color: var(--ink); cursor: pointer; }
.flow-card .rec-box .rec-btn.recording { background: #c53030; color: #fff; border-color: #c53030; }
.own-list { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; border-top: 1px solid var(--line); }
.own-list li { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.own-q { display: flex; flex-direction: column; gap: 2px; }
.own-q span { color: var(--muted); font-size: .95rem; }
.own-q span.right { color: #1f7a45; font-weight: 600; }
.own-plays { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.own-play { font: inherit; font-size: .9rem; padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.own-play.right { border-color: #1f7a45; color: #1f7a45; font-weight: 600; }
.credits { margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; }
.credits-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.credits-top > span { font-size: 1rem; color: var(--navy); }
.credits-top b { font-size: 1.3rem; }
.credits-top small { color: var(--muted); font-size: .85rem; }
.credits-buy { font: inherit; font-size: .88rem; font-weight: 700; padding: 7px 14px; border-radius: 99px; border: 0; background: #1f9d55; color: #fff; cursor: pointer; }
.credits-buy:hover { background: #17834a; }
.credits-bar { height: 10px; margin: 10px 0 10px; border-radius: 99px; background: #e7ebf3; overflow: hidden; }
.credits-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #1f9d55, #3cc47c); }
.credits.empty .credits-bar span { background: #e85d75; }
.credits-how { margin: 0; color: var(--muted); font-size: .88rem; }
.credits-bar:last-child { margin-bottom: 0; }
.own-q { flex: 1; min-width: 0; }
.own-preview { flex: none; font: inherit; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--navy); color: var(--navy); background: #fff; cursor: pointer; white-space: nowrap; }
.own-preview:hover { background: #eef2fb; }
.own-msg { margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: #fff6e0; color: #7a5300; font-size: .88rem; font-weight: 600; }
.own-msg[hidden] { display: none; }
.own-remove { background: none; border: 0; color: var(--muted); font-size: 1.1rem; cursor: pointer; padding: 4px 8px; }
.own-remove:hover { color: #b42318; }
.add-own { display: block; margin: -8px 0 18px; font-weight: 600; color: var(--navy-2); text-decoration: none; }
.choice.mine { border-color: var(--gold); }

.tabs.three { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.tabs.three button { padding: 10px 4px; font-size: .95rem; }
.own-upload { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-bottom: 24px; }
.own-drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 30px 16px; border: 2px dashed var(--gold-deep);
  border-radius: 18px; background: #fffaf0; cursor: pointer; transition: background .15s, transform .15s; }
.own-drop:hover, .own-drop.over { background: #fff3d6; transform: scale(1.01); }
.own-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.own-drop-icon { font-size: 2.4rem; line-height: 1; margin-bottom: 6px; }
.own-drop b { font-size: 1.1rem; color: var(--navy); }
.own-drop small { color: var(--muted); }
.own-drop.busy { opacity: .7; pointer-events: none; }
.own-template { justify-self: center; color: var(--navy-2); font-weight: 600; text-decoration: none; font-size: .95rem; }
.own-template:hover { text-decoration: underline; }
.own-problems { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; }
.own-problems li { padding: 10px 12px; border-radius: 10px; background: #fef3f2; margin-bottom: 8px; }
.own-problems span { display: block; color: #b42318; font-size: .9rem; margin-top: 2px; }


/* Free code on the review screen, and the game codes. */
.have-code { margin-top: 14px; }
.have-code summary { cursor: pointer; color: var(--navy-2); font-weight: 600; list-style: none; }
.have-code summary::-webkit-details-marker { display: none; }
.code-form { display: flex; gap: 8px; margin-top: 10px; }
.code-form input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; text-transform: uppercase; }
.code-form .btn-plain { margin-top: 0; }
.code-ok { color: #1f7a45; font-weight: 600; margin: 0 0 10px; }
.summary .total s { color: var(--muted); font-weight: 400; font-size: 1.1rem; margin-right: 6px; }
.code-call { margin: 6px 0 18px; }
.summary.small { margin-bottom: 18px; }

/* Customer account pages: a keypad for what to do, tickets for games. */
.acct { padding: 44px 0 88px; }
.acct-wrap { width: min(720px, 100% - 32px); margin-inline: auto; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap;
  border-bottom: 2px solid var(--navy); padding-bottom: 12px; margin-bottom: 28px; }
.acct-head h1 { margin: 0; font-size: clamp(1.9rem, 5vw, 2.6rem); }
.acct-aside { display: flex; gap: 14px; align-items: baseline; color: var(--muted); font-size: .9rem; }
.acct-aside a { color: var(--navy-2); font-weight: 600; text-decoration: none; }
.acct-aside form { margin: 0; }
.home-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 40px; }
.key { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; min-height: 96px; padding: 16px 20px; border-radius: 10px; text-decoration: none;
  border: 2px solid var(--navy); background: var(--cream); color: var(--navy); box-shadow: 0 5px 0 var(--navy);
  transition: transform .06s, box-shadow .06s; }
.key:hover { background: #fff; }
.key:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--navy); }
.key span { font: 700 clamp(1.5rem, 4vw, 1.9rem)/1.1 Fraunces, Georgia, serif; }
.key i { font-style: normal; font-size: 1.6rem; font-weight: 700; }
.key.primary { background: var(--navy); color: #fff; box-shadow: 0 5px 0 #08122e; }
.key.primary span, .key.primary i { color: var(--gold); }
.key.primary:hover { background: var(--navy-2); }
.section-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.tickets { display: grid; gap: 12px; }
.ticket { display: grid; grid-template-columns: 84px 1fr; border: 2px solid var(--navy); border-radius: 10px; background: #fff;
  color: var(--ink); text-decoration: none; overflow: hidden; }
a.ticket:hover { background: #fffdf7; }
.ticket-stub { display: grid; justify-items: center; align-content: center; gap: 2px; padding: 12px 6px; background: var(--gold);
  color: var(--navy); border-right: 2px dashed var(--navy); }
.ticket-stub b { font: 700 2.3rem/1 Fraunces, Georgia, serif; }
.ticket-stub small { font-weight: 700; letter-spacing: .14em; font-size: .7rem; }
.ticket-body { display: grid; gap: 2px; padding: 14px 18px; align-content: center; }
.ticket-body small { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; color: var(--muted); }
.ticket .code { font-weight: 600; font-size: 1.75rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--navy); line-height: 1.2; }
.ticket-meta { color: var(--muted); font-size: .9rem; }
.stamp { display: inline-block; margin-left: 8px; padding: 0 6px; border: 1.5px solid #b42318; border-radius: 3px; color: #b42318;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transform: rotate(-4deg); vertical-align: 1px; }
.ticket { position: relative; }
.ticket.played > :not(.stamp-played) { opacity: .5; }
/* A played game's rubber stamp, across the ticket (not faded with it). */
.stamp-played { position: absolute; top: 50%; right: 7%; transform: translateY(-50%) rotate(-12deg); pointer-events: none;
  padding: 4px 14px; border: 3px solid #b42318; border-radius: 6px; color: #b42318; background: rgb(255 255 255 / 60%);
  font: 800 1.5rem/1.1 Fraunces, Georgia, serif; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / 70%), inset 0 0 0 4px #b42318; }
.ticket.big .stamp-played { font-size: clamp(1.6rem, 6vw, 2.4rem); padding: 6px 18px; }
.ticket.played .ticket-stub { background: var(--line); }
.ticket.empty { grid-template-columns: 1fr; border-style: dashed; border-color: var(--line); padding: 22px; color: var(--muted); }
.ticket.empty a { color: var(--navy-2); font-weight: 600; text-decoration: none; }
.ticket.big { grid-template-columns: 110px 1fr; }
.ticket.big .ticket-stub b { font-size: 3rem; }
.ticket.big .ticket-body { padding: 20px 24px; }
.ticket.big .code { font-size: clamp(2.2rem, 8vw, 3rem); }
.ticket.big .code.host { font-size: clamp(1.6rem, 6vw, 2.1rem); }
.ticket-call { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.ticket-call-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-size: 1.6rem; box-shadow: 0 3px 0 var(--navy); }
.ticket-call span { display: grid; gap: 2px; }
.ticket-call b { font: 700 clamp(1.5rem, 6vw, 2.1rem)/1.1 Fraunces, Georgia, serif; letter-spacing: .01em; white-space: nowrap; }
.ticket-call:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ticket.big hr { border: 0; border-top: 2px dashed var(--line); margin: 14px 0 12px; }
.code-call { margin: 24px 0 22px; font-size: 1.05rem; }
.summary.plain { max-width: 460px; }
.own-drop-icon { font: 700 .8rem/1 Inter, sans-serif; letter-spacing: .12em; color: #1f7a45; border: 2px solid #1f7a45; border-radius: 6px; padding: 8px 6px; }
@media (max-width: 480px) {
  .key { min-height: 84px; padding: 14px 16px; }
  .ticket { grid-template-columns: 68px 1fr; }
  .ticket.big { grid-template-columns: 76px 1fr; }
  .ticket .code { font-size: 1.45rem; }
}
.key-note { position: absolute; top: 10px; right: 12px; font-style: normal; font-size: .8rem; font-weight: 600; color: var(--muted); }

/* Preview of a booked game: one button plays the whole show. */
.preview { margin-top: 28px; }
.btn-preview { width: 100%; font: 700 1.3rem Fraunces, Georgia, serif; padding: 18px; border-radius: 10px; cursor: pointer;
  border: 2px solid var(--navy); background: var(--navy); color: var(--gold); box-shadow: 0 5px 0 #08122e; transition: transform .06s, box-shadow .06s; }
.btn-preview:active { transform: translateY(4px); box-shadow: 0 1px 0 #08122e; }
.btn-preview.on { background: #fff; color: var(--navy); box-shadow: 0 5px 0 var(--navy); }
.btn-preview:disabled { background: var(--cream); color: var(--muted); border-color: var(--line); box-shadow: none; cursor: default; }
.pv-now { min-height: 1.4em; margin: 12px 0 0; color: var(--muted); text-align: center; }
.plain-link { display: inline-block; margin-top: 18px; color: var(--navy-2); font-weight: 600; text-decoration: none; }
.plain-link:hover { text-decoration: underline; }
/* Personal messages. */
.msgs { display: grid; gap: 18px; max-width: 560px; }
.msg { display: grid; gap: 6px; }
.msg-label { font: 700 1.15rem Fraunces, Georgia, serif; color: var(--navy); }
.msg textarea { font: inherit; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; resize: vertical; }
.msg textarea:focus { outline: none; border-color: var(--navy-2); }
.msg-when { color: var(--muted); font-size: .88rem; }
.msg-check { display: flex; gap: 10px; align-items: center; }
.msg-check input { width: 20px; height: 20px; accent-color: var(--navy); }

/* The way into a game's personal messages. */
.msg-card { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 18px 20px; border-radius: 10px; text-decoration: none;
  background: var(--gold); color: var(--navy); border: 2px solid var(--navy); box-shadow: 0 5px 0 var(--navy); transition: transform .06s, box-shadow .06s; }
.msg-card:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--navy); }
.msg-card span { flex: 1; display: grid; gap: 4px; }
.msg-card b { font: 700 1.35rem/1.15 Fraunces, Georgia, serif; }
.msg-card small { font-size: .95rem; color: #3a3420; }
.msg-card i { font-style: normal; font-size: 1.6rem; font-weight: 700; }
.msg-card.done { background: var(--cream); }
.msg-card.done small { color: #1f7a45; font-weight: 600; }
/* The account header on every signed-in page, and a page's own title under it. */
.acct-head h1 a { color: inherit; text-decoration: none; }
.acct-sub { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: -10px 0 20px; }
.acct-sub h2 { margin: 0; font-size: 1.5rem; }
.acct-sub a { color: var(--navy-2); font-weight: 600; text-decoration: none; }
.acct .flow-card { margin-inline: auto; }
/* Custom Trivia box, and Skip. */
.choice small a { color: var(--navy-2); font-weight: 600; }
.choice.add { border-style: dashed; border-color: var(--gold-deep); background: #fffaf0; }
.choice.add:hover { border-style: solid; }
.tick.plus { border-color: var(--gold-deep); color: var(--gold-deep); font-weight: 700; font-size: 1.1rem; line-height: 1; }
.skip-link { display: block; margin-top: 16px; text-align: center; color: var(--muted); font-weight: 600; text-decoration: none; }
.skip-link:hover { color: var(--navy); text-decoration: underline; }
.msg-card.topics { background: var(--navy); color: #fff; }
.msg-card.topics b, .msg-card.topics i { color: var(--gold); }
.msg-card.topics small { color: #dfe5f6; }
.msg-left { justify-self: center; display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; border: 2px solid var(--gold-deep);
  border-radius: 99px; background: #fffaf0; color: var(--navy); font-weight: 600; }
.msg-left b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: 1rem; }
.date-note { margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; background: #fffaf0; border: 1px solid var(--gold); color: var(--navy); font-size: .95rem; text-align: left; }
.dd-note { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
/* Switching a booked game's topics or players. */
.dd-change { margin-left: 8px; font-weight: 600; font-size: .9rem; color: var(--navy-2); }
button.choice { width: 100%; font: inherit; font-weight: 600; text-align: left; }
/* A topic's picture (src/questions/set-icons.ts), before its name. */
.choice .topic-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream);
  border: 1px solid var(--line); }
.choice .topic-name { flex: 1; min-width: 0; }
.choice .topic-ic svg { width: 34px; height: 34px; }
.choice.current { border-color: var(--gold-deep); background: #fffaf0; cursor: default; }
.choices form { margin: 0; }
/* Game length: 20 / 30 / 40 questions. */
.lengths { border: 0; padding: 0; margin: 4px 0 22px; text-align: left; }
.lengths legend { font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.lengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lengths legend { grid-column: 1 / -1; }
.lengths label { position: relative; cursor: pointer; }
.lengths input { position: absolute; opacity: 0; }
.lengths span { display: grid; justify-items: center; padding: 10px 4px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.lengths b { font: 700 1.5rem/1.1 Fraunces, Georgia, serif; color: var(--navy); }
.lengths small { color: var(--muted); font-size: .8rem; }
.lengths input:checked + span { border-color: var(--gold-deep); background: #fffaf0; }
.lengths input:focus-visible + span { outline: 3px solid var(--navy-2); outline-offset: 2px; }
button.skip-link { width: 100%; background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
/* Topics heading under the game length, with the order questions are asked in. */
.topics-head { text-align: left; font-weight: 600; color: var(--navy); margin: 4px 0 4px; }
.topics-head small { font-weight: 400; color: var(--muted); margin-left: 6px; }
/* Topics are ticked, one or more: square boxes that stand out, and a clear ticked card. */
.pick-hint { margin: -4px 0 14px; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.choice.pick .tick { width: 30px; height: 30px; border-radius: 8px; border: 2.5px solid var(--navy-2); background: #fff; }
.choice.pick:hover:not(:has(input:checked)) .tick { background: #f3f5fb; }
.choice.pick:has(input:checked) { box-shadow: inset 0 0 0 1px var(--gold-deep); }
.choice.pick:has(input:checked) .tick { background: var(--gold); border-color: var(--gold-deep); }
.choice.pick:has(input:checked) .tick::after { font-size: 1.1rem; }
/* Custom Trivia: how many saves a booked game has left. */
.topics-order { text-align: left; margin: 0 0 12px; padding: 8px 12px; border-left: 3px solid var(--gold-deep); background: #fffaf0; color: var(--ink); font-size: .92rem; }

/* ---- Home page: light & playful (Oct 2026) ---------------------------- */
.btn-green { background: var(--green); color: #fff; border-radius: 999px; box-shadow: 0 4px 0 var(--green-deep); }
.btn-green:hover { filter: brightness(1.06); }
.btn-light { background: #fff; color: var(--navy); border: 2px solid var(--line); border-radius: 999px; }
.btn-light:hover { border-color: var(--navy); }

.h-hero { position: relative; padding: 48px 0 84px; overflow: hidden; }
.h-blob { position: absolute; border-radius: 50%; z-index: 0; }
.h-b1 { width: 440px; height: 440px; background: var(--gold-soft); right: -90px; top: -70px; }
.h-b2 { width: 220px; height: 220px; background: var(--green-soft); right: 360px; bottom: 0; }
.h-b3 { width: 170px; height: 170px; background: var(--sky); left: -70px; top: 140px; }
.h-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.h-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -.02em; line-height: 1.05; }
.h-hero h1 em { font-style: normal; color: var(--green); background: linear-gradient(transparent 70%, rgb(242 193 78 / 55%) 70% 90%, transparent 90%); }
.h-lead { font-size: 1.2rem; color: var(--muted); margin: 20px 0 28px; }
.h-hero .h-lead { max-width: 30ch; }
.h-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.h-sample { margin-top: 18px; }
.h-sample-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; font: inherit; font-weight: 600; color: var(--navy);
  background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 8px 20px 8px 8px; cursor: pointer; }
.h-sample-btn:hover { border-color: var(--navy); }
.h-sample-ic { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); position: relative; flex: none; }
.h-sample-ic::after { content: ''; position: absolute; left: 15px; top: 11px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.h-sample.playing .h-sample-ic::after { left: 13px; top: 12px; width: 4px; height: 14px; border: 0; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.h-sample-text small { margin-left: 8px; color: var(--muted); font-weight: 500; }
.h-sample-ic, .h-sample-text { position: relative; z-index: 1; }
.h-sample-bar { position: absolute; inset: 0; z-index: 0; }
.h-sample-bar span { display: block; height: 100%; width: 0; background: #fdf0c4; transition: width .25s linear; }
.h-chips, .h-included { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.h-included { justify-content: center; }
.h-chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; color: var(--navy); font-weight: 500; }

/* The home page phone: a light flip phone calling Trivia Dial (owner, Oct 2026). */
.h-phone-wrap { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.fp { width: 172px; rotate: 4deg; filter: drop-shadow(0 24px 30px rgb(22 40 92 / 18%)); }
.fp-top { position: relative; background: linear-gradient(150deg, #fff, #eceae4); border-radius: 30px 30px 12px 12px; padding: 12px 12px 10px; box-shadow: inset 0 0 0 1.5px #e2ded4; }
.fp-ear { width: 34px; height: 4px; border-radius: 3px; background: #d6d2c8; margin: 2px auto 9px; }
.fp-cam { position: absolute; left: 22px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: #cfcac0; }
.fp-screen { background: var(--navy); border-radius: 10px; padding: 9px 11px 12px; color: #fff; min-height: 196px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 3px #0f1d45; }
.fp-status { display: flex; justify-content: space-between; align-items: center; font-size: .58rem; color: #a9b8e4; }
.fp-sig { display: inline-flex; gap: 1.5px; align-items: flex-end; height: 8px; }
.fp-sig i { width: 2.5px; background: #a9b8e4; border-radius: 1px; }
.fp-sig i:nth-child(1) { height: 3px; } .fp-sig i:nth-child(2) { height: 5px; } .fp-sig i:nth-child(3) { height: 6.5px; } .fp-sig i:nth-child(4) { height: 8px; }
.fp-bat { width: 14px; height: 7px; border: 1.3px solid #a9b8e4; border-radius: 2px; position: relative; }
.fp-bat::before { content: ""; position: absolute; inset: 1px 3px 1px 1px; background: #a9b8e4; }
.fp-call { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 3px; }
.fp-avatar { width: 42px; height: 42px; border-radius: 12px; background: var(--gold); display: grid; grid-template-columns: repeat(2, 7px); gap: 6px; place-content: center; margin-bottom: 8px; }
.fp-avatar i { width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }
.fp-call small { color: var(--gold); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.fp-call b { font: 700 1.05rem/1.2 Fraunces, Georgia, serif; }
.fp-num { color: var(--gold); font-weight: 700; font-size: .82rem; letter-spacing: .02em; }
.fp-num:empty { display: none; }
.fp-wave { display: flex; gap: 3px; align-items: center; height: 16px; margin-top: 10px; }
.fp-wave i { width: 3px; height: 6px; border-radius: 2px; background: #7f93cf; animation: fp-wave 1.2s ease-in-out infinite; }
.fp-wave i:nth-child(2) { animation-delay: .15s; } .fp-wave i:nth-child(3) { animation-delay: .3s; } .fp-wave i:nth-child(4) { animation-delay: .45s; } .fp-wave i:nth-child(5) { animation-delay: .6s; }
@keyframes fp-wave { 50% { height: 16px; background: var(--gold); } }
/* The phone picture plays the sample (owner, Nov 2026): "Tap to hear a real game", then the call with its clock. */
.fp-listen, .fp-clock { display: none; }
.h-phone-wrap.can-play { cursor: pointer; }
.h-phone-wrap.can-play:not(.playing) .fp-call { display: none; }
.h-phone-wrap.can-play:not(.playing) .fp-listen { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; }
.h-phone-wrap.playing .fp-num { display: none; }
.h-phone-wrap.playing .fp-clock { display: block; color: var(--gold); font-weight: 700; font-size: .82rem; font-variant-numeric: tabular-nums; }
.fp-listen b { font: 700 1rem/1.2 Fraunces, Georgia, serif; }
.fp-listen small { color: var(--gold); font-weight: 700; font-size: .72rem; }
.fp-listen small:empty { display: none; }
.fp-play { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgb(242 193 78 / 60%); animation: fp-pulse 1.6s ease-out 4; transition: transform .15s; }
.fp-play::after { content: ''; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--navy); }
.h-phone-wrap.can-play:hover .fp-play { transform: scale(1.08); }
@keyframes fp-pulse { 0% { box-shadow: 0 0 0 0 rgb(242 193 78 / 60%); } 100% { box-shadow: 0 0 0 18px rgb(242 193 78 / 0%); } }
/* Moving arrows to the sample: at the phone picture on a computer, above the button on a phone. Gone while it plays. */
.h-phone-nudge, .h-sample-nudge { display: none; }
.h-phone-wrap.can-play:not(.playing) .h-phone-nudge { display: grid; justify-items: center; position: absolute; right: calc(50% + 92px); top: 70px; z-index: 2; color: var(--gold-deep); pointer-events: none; }
.h-phone-nudge em { font: italic 700 1.05rem/1.1 Fraunces, Georgia, serif; color: #a86f12; white-space: nowrap; transform: rotate(-6deg); margin-bottom: 2px; }
.h-phone-nudge svg { display: block; animation: fp-point 1.4s ease-in-out infinite; }
.h-phone-nudge path { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes fp-point { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
@media (max-width: 760px) {
  .h-phone-wrap .h-phone-nudge { display: none !important; }
  .h-sample:not(.playing) .h-sample-nudge { display: block; margin: 0 0 4px 14px; font: italic 700 1rem/1.1 Fraunces, Georgia, serif; color: #a86f12; }
  .h-sample-nudge i { display: inline-block; font-style: normal; font-size: 1.3rem; animation: h-drop 1.4s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .fp-play, .h-phone-nudge svg, .h-sample-nudge i { animation: none; } }
.fp-brand { text-align: center; margin-top: 8px; font: 700 .7rem/1 Fraunces, Georgia, serif; color: #9a958a; }
.fp-brand b { color: var(--gold); }
.fp-hinge { height: 14px; margin: -2px 8px; position: relative; z-index: 1; border-radius: 7px; background: linear-gradient(#cfcbc2, #f7f6f2 45%, #c9c5bb); box-shadow: 0 1px 2px rgb(0 0 0 / 10%); }
.fp-bottom { background: linear-gradient(200deg, #fff, #eae7e0); border-radius: 12px 12px 34px 34px; padding: 16px 11px 18px; box-shadow: inset 0 0 0 1.5px #e2ded4; }
.fp-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px 8px; align-items: center; }
.fp-soft { width: 26px; height: 16px; border-radius: 5px; background: #fff; box-shadow: 0 1.5px 0 #d6d2c8, inset 0 0 0 1px #e6e2d9; justify-self: center; }
.fp-ring { grid-row: 1 / 3; grid-column: 2; width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(#fff, #e9e6df); box-shadow: 0 2px 0 #d3cec3, inset 0 0 0 1.5px #e0dbd1; display: grid; place-items: center; }
.fp-ring b { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #c9c4b8; background: #fbfaf7; box-sizing: border-box; }
.fp-calls { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin: 12px 0; }
.fp-calls span { height: 17px; border-radius: 6px; background: #fff; box-shadow: 0 1.5px 0 #d6d2c8, inset 0 0 0 1px #e6e2d9; display: grid; place-items: center; }
.fp-calls svg { width: 11px; height: 11px; }
.fp-calls .call svg { fill: var(--green); }
.fp-calls .end svg { fill: #d0473a; rotate: 135deg; }
.fp-calls .mid i { width: 12px; height: 3px; border-radius: 2px; background: #cfcac0; }
.h-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 6px; }
.h-keys span { height: 27px; border-radius: 7px 7px 9px 9px; display: flex; align-items: baseline; justify-content: center; gap: 2px; padding-top: 5px; box-sizing: border-box;
  font-weight: 700; font-size: .92rem; line-height: 1; color: var(--navy); background: #fff; box-shadow: 0 2px 0 #d6d2c8, inset 0 0 0 1px #e6e2d9; }
.h-keys span small { font-size: .45rem; font-weight: 700; letter-spacing: .03em; color: #9a958a; }
.h-keys .on { background: var(--gold); box-shadow: 0 2px 0 var(--gold-deep); animation: h-press 3s ease-in-out infinite; }
.h-keys .on small { color: #7a5a12; }
.h-keys .on:nth-child(2) { animation-delay: 1s; }
.h-keys .on:nth-child(3) { animation-delay: 2s; }
@keyframes h-press { 0%, 20%, 100% { transform: scale(1); } 8% { transform: scale(.9); background: var(--green); color: #fff; box-shadow: 0 0 0 5px rgb(31 157 85 / 28%); } }
.fp-mics { display: flex; justify-content: space-between; padding: 10px 14px 0; }
.fp-mics i { width: 4px; height: 4px; border-radius: 50%; background: #d3cec3; }
.h-bubble { position: absolute; background: #fff; border-radius: 16px; padding: 8px 14px; font-weight: 700; font-size: .9rem; white-space: nowrap; z-index: 2;
  box-shadow: 0 8px 20px rgb(22 40 92 / 12%); rotate: -3deg; animation: h-float 4s ease-in-out infinite; }
.h-bubble-1 { left: calc(50% - 170px); top: 285px; color: var(--green); }
.h-bubble-2 { left: calc(50% + 40px); top: 560px; color: var(--navy); animation-delay: 2s; }
@keyframes h-float { 50% { translate: 0 -8px; } }

.h-block { padding: 70px 0; }
.h-tight { padding-top: 10px; }
.h-center { text-align: center; }
.h-kicker { display: inline-block; background: var(--gold-soft); color: #8a6512; font-weight: 700; font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }
.h-kicker-white { background: #fff; }

.h-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.h-step { background: #fff; border-radius: 28px; padding: 28px; border: 1px solid var(--line); }
.h-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 2.1rem; margin: 0 auto 16px; background: var(--sky); }
.h-step:nth-child(2) .h-ic { background: var(--pink); }
.h-step:nth-child(3) .h-ic { background: var(--gold-soft); }
.h-step h3 { font-size: 1.35rem; margin-bottom: 6px; }
.h-step p { color: var(--muted); margin: 0; }

.h-custom { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center;
  background: linear-gradient(135deg, #fff4d6, #ffe9ee 55%, #e3f6ea); border-radius: 40px; padding: 56px 48px; }
.h-custom h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.h-custom h2 em { font-style: normal; color: #d6455d; }
.h-custom .h-lead { color: #4b4f5c; font-size: 1.12rem; margin: 14px 0 22px; }
.h-ways { display: grid; gap: 10px; margin-bottom: 26px; }
.h-way { display: flex; align-items: center; gap: 12px; background: rgb(255 255 255 / 75%); border-radius: 16px; padding: 12px 16px; font-weight: 600; color: var(--navy); }
.h-way > span { font-size: 1.4rem; }
.h-way small { display: block; font-weight: 400; color: var(--muted); }
.h-occasions { margin: 18px 0 0; color: #6b4b52; font-weight: 600; }
.h-deco { position: absolute; font-size: 1.6rem; opacity: .75; }
.h-deck { position: relative; display: grid; }
.h-qcard { grid-area: 1 / 1; background: #fff; border-radius: 28px; padding: 26px; box-shadow: 0 18px 40px rgb(22 40 92 / 14%);
  opacity: 0; visibility: hidden; animation: h-cycle 20s infinite; }
.h-qcard:nth-child(2) { animation-delay: 4s; }
.h-qcard:nth-child(3) { animation-delay: 8s; }
.h-qcard:nth-child(4) { animation-delay: 12s; }
.h-qcard:nth-child(5) { animation-delay: 16s; }
/* Hidden cards are also invisible to the mouse: the cards lie on top of each other. */
@keyframes h-cycle {
  0% { opacity: 0; visibility: hidden; transform: translateY(18px) rotate(-2deg); }
  3%, 17% { opacity: 1; visibility: visible; transform: none; }
  20%, 100% { opacity: 0; visibility: hidden; transform: translateY(-18px) rotate(2deg); }
}
.h-tag { display: inline-block; background: var(--pink); color: #a12b40; font-weight: 700; font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }
.h-qcard h3 { font-size: 1.55rem; margin: 14px 0 18px; }
.h-opts { display: grid; gap: 10px; }
.h-opts div { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: 14px; padding: 10px 14px; font-weight: 500; }
.h-opts b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--gold); color: var(--navy); flex: none; }
.h-opts .right { border-color: var(--green); background: var(--green-soft); }
.h-opts .right b { background: var(--green); color: #fff; }
.h-opts .right::after { content: '✓'; margin-left: auto; color: var(--green); font-weight: 700; }
.h-react { margin-top: 16px; display: inline-block; background: var(--gold-soft); color: #7a5810; font-weight: 700; border-radius: 999px; padding: 8px 14px; font-size: .95rem; }

/* How it works: booking to game night, six small steps side by side. */
.h-flow { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.h-flow li { display: grid; justify-items: center; align-content: start; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 10px; }
.h-fi { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.35rem; background: var(--gold-soft); margin-bottom: 4px; }
.h-flow li:nth-child(even) .h-fi { background: var(--sky); }
.h-flow b { color: var(--navy); font-size: .98rem; }
.h-flow small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
@media (max-width: 960px) { .h-flow { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .h-flow { grid-template-columns: repeat(2, 1fr); gap: 8px; } .h-flow li { padding: 12px 8px; } }
.h-host { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; background: #fff; border-radius: 32px; padding: 36px; border: 1px solid var(--line); }
.h-host p { color: var(--muted); margin: 10px 0 0; }
.h-keyrow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; text-align: center; }
.h-keyrow b { display: grid; place-items: center; height: 58px; border-radius: 16px; background: var(--navy); color: var(--gold); font-size: 1.4rem;
  margin-bottom: 8px; box-shadow: 0 4px 0 #0c1840; }
.h-keyrow span { font-size: .85rem; color: var(--muted); font-weight: 500; }

.h-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 22px; margin-top: 34px; }
.h-price { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 28px; padding: 30px; }
.h-price.featured { border-color: var(--gold); }
.h-pop { position: absolute; top: -14px; left: 50%; translate: -50% 0; background: var(--gold); color: var(--navy); font-weight: 700; font-size: .8rem; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.h-who { font-weight: 600; color: var(--muted); }
.h-price .amount { font: 700 3.2rem/1 Fraunces, Georgia, serif; color: var(--navy); margin: 10px 0 18px; }
.h-price .amount sup { font-size: 1.4rem; }
.h-price .btn { width: 100%; justify-content: center; }

.h-faq { max-width: 680px; margin: 30px auto 0; display: grid; gap: 10px; text-align: left; }
.h-faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; }
.h-faq summary { font-weight: 600; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: '+'; color: var(--green); font-weight: 700; }
.h-faq details[open] summary::after { content: '–'; }
.h-faq p { color: var(--muted); margin: 10px 0 0; }

.h-cta { position: relative; overflow: hidden; background: var(--gold); border-radius: 36px; padding: 48px; text-align: center; margin-bottom: 30px; }
.h-cta h2 { margin-bottom: 10px; }
.h-cta p { color: #5a4613; margin: 0 0 22px; }
.h-cta p a { color: #5a4613; }
.h-confetti { position: absolute; width: 12px; height: 12px; border-radius: 3px; }

@media (max-width: 520px) { .h-confetti { display: none; } .h-bubble-1 { left: 8px; } .h-bubble-2 { left: auto; right: 8px; } }
@media (max-width: 760px) {
  .h-hero-grid, .h-host, .h-custom { grid-template-columns: 1fr; }
  .h-steps, .h-prices { grid-template-columns: 1fr; }
  .h-phone-wrap { margin-top: 20px; }
  .h-keyrow { gap: 6px; }
  .h-custom { padding: 36px 22px; border-radius: 30px; }
  .h-cta { padding: 36px 22px; }
  .h-b2 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fp-wave i, .h-keys .on, .h-bubble { animation: none; }
  .h-qcard { animation: none; }
  .h-qcard:first-child { opacity: 1; visibility: visible; }
}

/* Paying on the review screen */
.pay-note { text-align: center; color: var(--muted); font-size: .9rem; margin: 10px 0 0; }

/* A choice already picked (a link card, e.g. going Back to it) */
.choice.picked { border-color: var(--gold-deep); background: #fffaf0; }
.lang-choices { grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
.lang-choices .choice { padding: 14px 16px; }
.choice.picked .tick { background: var(--gold); border-color: var(--gold-deep); }
.choice.picked .tick::after { content: '✓'; color: var(--navy); font-weight: 700; font-size: .9rem; }

.msg-card .go { position: relative; flex: none; display: grid; place-items: center; width: 46px; height: 46px; margin: 0 6px 0 4px;
  border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.5rem; box-shadow: 0 3px 0 rgba(0,0,0,.18);
  animation: go-hop 1.8s ease-in-out infinite; }
.msg-card .go em { position: absolute; font-style: normal; font-size: 1rem; line-height: 1; color: #fff; opacity: 0;
  text-shadow: 0 0 6px rgba(255,255,255,.9); animation: go-twinkle 1.8s ease-in-out infinite; }
.msg-card .go .tw1 { top: -10px; right: -8px; }
.msg-card .go .tw2 { bottom: -6px; left: -10px; font-size: .8rem; color: var(--navy); text-shadow: none; animation-delay: .6s; }
.msg-card .go .tw3 { top: -12px; left: -2px; font-size: .7rem; animation-delay: 1.2s; }
.msg-card.topics .go { background: var(--gold); color: var(--navy); }
.msg-card.topics .go .tw2 { color: var(--gold); }
@keyframes go-hop {
  0%, 50%, 100% { transform: translate(0, 0) scale(1); }
  12% { transform: translate(2px, -10px) scale(1.05); }
  24% { transform: translate(4px, 0) scale(1.08, .92); }
  34% { transform: translate(2px, -4px) scale(1); }
  42% { transform: translate(0, 0); }
}
@keyframes go-twinkle {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0); }
  40% { opacity: 1; transform: scale(1.3) rotate(45deg); }
  60% { opacity: .8; transform: scale(.9) rotate(80deg); }
}
.msg-card:hover .go { animation-duration: 1s; }
@media (prefers-reduced-motion: reduce) { .msg-card .go, .msg-card .go em { animation: none; } }
/* Get ready: the card, and the three steps before the game. */
.msg-card.prep-card { background: #fff; }
.msg-card.prep-card small { color: var(--muted); }
.prep { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.prep li { padding: 20px; background: #fff; border: 2px solid var(--line); border-radius: 12px; }
.prep li > div { display: grid; gap: 6px; justify-items: start; }
.prep b { display: flex; align-items: center; gap: 12px; font: 700 1.3rem/1.2 Fraunces, Georgia, serif; color: var(--navy); }
.prep small { font-size: 1rem; color: #3a3f4c; }
.prep strong { color: var(--navy); white-space: nowrap; }
.prep .btn { margin-top: 6px; }
.prep-n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font: 700 1.1rem Fraunces, Georgia, serif; }
.prep li.done .prep-n { background: var(--green); color: #fff; }
.prep-text { width: 100%; box-sizing: border-box; margin: 6px 0 0; padding: 14px 16px; background: var(--cream); border-radius: 10px;
  font: .95rem/1.5 inherit; font-family: inherit; white-space: pre-wrap; color: var(--ink); }
.prep-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.prep-btns [hidden] { display: none; }
.msg-card + dl.summary { margin-top: 28px; }
/* Phones: the booking and sign-in card uses the whole width; the account tiles keep their note clear. */
@media (max-width: 520px) {
  .flow { padding: 24px 0 56px; }
  .flow-card { width: calc(100% - 24px); padding: 28px 18px; border-radius: 20px; }
  .acct .flow-card { width: 100%; }
  .key:has(.key-note) { padding-top: 32px; }
}
/* In the games list the stamp sits small at the right, clear of the codes. */
.tickets .stamp-played { right: 14px; font-size: 1rem; padding: 3px 10px; border-width: 2px; }
@media (max-width: 520px) {
  .acct-sub { flex-wrap: wrap; }
  .acct-sub h2 { font-size: 1.3rem; }
  .acct-sub a { white-space: nowrap; }
}
/* Topics: "See them" opens a topic's questions (read only). */
.choice .peek { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--navy-2); text-decoration: underline;
  text-underline-offset: 2px; cursor: pointer; }
.peek-sheet { width: min(560px, 100% - 24px); max-height: min(80vh, 760px); padding: 0; border: 0; border-radius: 22px; background: var(--paper);
  color: var(--ink); box-shadow: 0 24px 60px rgb(22 40 92 / 25%); text-align: left; overflow: hidden; }
.peek-sheet[open] { display: flex; flex-direction: column; }
.peek-sheet::backdrop { background: rgb(22 40 92 / 45%); }
.peek-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px 6px; }
.peek-head h2 { margin: 0; font: 700 1.5rem/1.2 Fraunces, Georgia, serif; color: var(--navy); }
.peek-close { flex: none; width: 40px; height: 40px; border: 2px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy);
  font-size: 1.5rem; line-height: 1; cursor: pointer; }
.peek-answers { display: flex; align-items: center; gap: 8px; padding: 6px 22px 14px; border-bottom: 1px solid var(--line);
  font-size: .95rem; font-weight: 600; color: var(--muted); }
.peek-answers input { width: 18px; height: 18px; accent-color: var(--green); }
.peek-list { margin: 0; padding: 6px 22px 22px 46px; overflow-y: auto; overscroll-behavior: contain; }
.peek-list > li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.peek-list > li::marker { color: var(--muted); font-weight: 600; }
.peek-list > li:last-child { border-bottom: 0; }
.peek-list p { margin: 0 0 8px; font-weight: 600; color: var(--navy); }
.peek-list ol { margin: 0; padding-left: 22px; display: grid; gap: 3px; color: #3a3f4c; }
.peek-list .peek-wait { list-style: none; margin-left: -24px; color: var(--muted); border: 0; }
.peek-sheet.show .peek-list .right { color: var(--green); font-weight: 700; }
.peek-sheet.show .peek-list .right::after { content: ' ✓'; }
/* On phones it slides up from the bottom. */
@media (max-width: 520px) {
  .peek-sheet { width: 100%; max-width: 100%; max-height: 85vh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
}
/* Example questions: "See more examples" under the cards, and its pop-up (src/site/examples.ts). */
.h-deck-col { display: grid; gap: 18px; justify-items: center; }
.h-deck-col .h-deck { width: 100%; }
.h-qcard.still { opacity: 1; visibility: visible; animation: none; }
.h-more-wrap { display: flex; align-items: center; gap: 10px; }
.h-more { padding: 10px 20px; border: 2px solid var(--gold-deep); border-radius: 999px; background: #fff; white-space: nowrap;
  font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; animation: h-glow 2.4s ease-in-out infinite; }
.h-more:hover { background: var(--gold-soft); }
@keyframes h-glow { 0%, 100% { box-shadow: 0 0 0 0 rgb(242 193 78 / 0%); } 50% { box-shadow: 0 0 0 8px rgb(242 193 78 / 45%); } }
/* The curly arrow pointing at "See more examples", with a nudge. */
.h-nudge { display: grid; justify-items: center; color: var(--gold-deep); }
.h-nudge em { font: italic 600 .95rem/1.1 Fraunces, Georgia, serif; color: #a86f12; white-space: nowrap; transform: rotate(-4deg); }
.h-nudge svg { display: block; animation: h-nudge 1.6s ease-in-out infinite; }
.h-nudge path { fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
@keyframes h-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-8px); } }
/* ▶ Hear it on a home card: the cards stop taking turns while it plays (and while the mouse is on them). */
.h-qcard .ex-row { margin-top: 16px; }
.h-qcard .ex-row .h-react { margin: 0; }
.h-deck:hover .h-qcard, .h-deck.paused .h-qcard { animation-play-state: paused; }
/* On phones the arrow sits above the button, pointing down. */
@media (max-width: 520px) {
  .h-more-wrap { flex-direction: column-reverse; gap: 2px; }
  .h-nudge svg { display: none; }
  .h-nudge::after { content: '↓'; font-size: 1.6rem; font-weight: 700; line-height: 1; animation: h-drop 1.6s ease-in-out infinite; }
}
@keyframes h-drop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .h-more, .h-nudge svg, .h-nudge::after { animation: none; }
}
.ex-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 22px 14px; border-bottom: 1px solid var(--line); }
.ex-chips button { font: inherit; font-size: .88rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); cursor: pointer; }
.ex-chips button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.ex-list { overflow-y: auto; overscroll-behavior: contain; padding: 16px 22px; display: grid; gap: 14px; background: var(--cream); }
.ex-card { background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.ex-card h3 { font-size: 1.1rem; margin: 10px 0 12px; color: var(--navy); }
.ex-card .h-opts { gap: 6px; }
.ex-card .h-opts div { padding: 7px 10px; font-size: .95rem; }
.ex-card .h-opts b { width: 24px; height: 24px; border-radius: 7px; font-size: .85rem; }
.ex-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.ex-row .h-react { margin: 0; font-size: .85rem; padding: 6px 12px; }
.ex-play { font: inherit; font-weight: 700; font-size: .9rem; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--navy);
  background: #fff; color: var(--navy); cursor: pointer; }
.ex-wait { color: var(--muted); text-align: center; margin: 20px 0; }
.ex-foot { padding: 12px 22px 18px; border-top: 1px solid var(--line); }

/* The host link: the other way to host (on the ticket, and in Get ready). */
.host-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px;
  padding: 12px 14px; border-radius: 12px; background: var(--cream); }
.host-alt > span:first-child { display: grid; font-weight: 600; color: var(--navy); font-size: .95rem; }
.host-alt em { font-style: normal; font-weight: 400; font-size: .85rem; color: var(--muted); }
.host-alt-btns { display: flex; gap: 8px; }
.host-alt-btns a, .host-alt-btns button { font: 600 .9rem Inter, system-ui, sans-serif; padding: 8px 14px; border-radius: 999px; cursor: pointer;
  text-decoration: none; border: 2px solid var(--navy); white-space: nowrap; }
.host-alt-btns a { background: var(--navy); color: #fff; }
.host-alt-btns button { background: #fff; color: var(--navy); }
.host-ways { display: grid; gap: 10px; width: 100%; margin: 4px 0; }
.host-way { display: grid; gap: 4px; justify-items: start; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; background: #fff; }
.prep .host-way b { font: 700 1.05rem Inter, system-ui, sans-serif; }
.prep .host-way small { font-size: .95rem; }
.host-opt { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.host-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: .8rem; letter-spacing: .12em; }
.host-or::before, .host-or::after { content: ''; flex: 1; border-top: 2px dashed var(--line); }
/* After the game: results, and how was it? */
.results { margin-bottom: 18px; padding: 20px; background: #fff; border: 2px solid var(--navy); border-radius: 12px; }
.results h3 { margin: 0; font: 700 1.5rem Fraunces, Georgia, serif; color: var(--navy); }
.results-sum { margin: 2px 0 12px; color: var(--muted); font-weight: 600; }
.standings { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.standings li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; background: var(--cream); }
.standings .rank { width: 30px; text-align: center; font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.standings b { margin-left: auto; color: var(--navy); white-space: nowrap; }
.name-play { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--navy-2); cursor: pointer; }
.name-play:hover { text-decoration: underline; }
.name-phone, .name-none { color: var(--muted); }
.standings-more { margin-top: 6px; }
.standings-more summary { cursor: pointer; color: var(--navy-2); font-weight: 600; margin-bottom: 6px; }
.results-note { margin: 10px 0 0; color: var(--muted); font-size: .88rem; }
.results-qs { margin: 14px 0 0; display: grid; gap: 8px; }
.results-qs dt { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.results-qs dd { margin: 0; }
.results-qs small { color: var(--muted); white-space: nowrap; }
.review-card { margin-top: 0; margin-bottom: 18px; }
.msg-card .stars-links { display: flex; gap: 4px; margin-top: 6px; }
.stars-links a { font-size: 2.2rem; line-height: 1; color: var(--navy); text-decoration: none; transition: transform .1s; }
.stars-links a:hover, .stars-links a:focus-visible { transform: scale(1.2); color: #fff; }
.stars-links:hover a { color: #fff; }
.stars-links a:hover ~ a { color: var(--navy); }
.stars-show { color: var(--gold-deep); letter-spacing: .05em; }
.review { display: grid; gap: 18px; }
.stars-pick { border: 0; margin: 0; padding: 0; text-align: center; }
.stars-pick legend { font: 700 1.3rem Fraunces, Georgia, serif; color: var(--navy); margin: 0 auto 8px; }
.stars-row { display: inline-flex; flex-direction: row-reverse; gap: 6px; }
.stars-row input { position: absolute; opacity: 0; pointer-events: none; }
.stars-row label { font-size: 3rem; line-height: 1; color: var(--line); cursor: pointer; transition: transform .1s; }
.stars-row label:hover, .stars-row label:hover ~ label, .stars-row input:checked ~ label { color: var(--gold); }
.stars-row label:hover { transform: scale(1.12); }
.stars-row input:focus-visible + label { outline: 3px solid var(--navy-2); outline-offset: 2px; border-radius: 6px; }

/* Search pages (Chanukah parties, kosher phones, simchas, shul events): a centered intro, readable text, sample questions. */
.s-hero { position: relative; padding: 52px 0 30px; text-align: center; overflow: hidden; }
.s-hero-in { max-width: 820px; }
.s-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); letter-spacing: -.02em; line-height: 1.08; margin-top: 14px; }
.s-hero h1 em { font-style: normal; color: var(--green); background: linear-gradient(transparent 70%, rgb(242 193 78 / 55%) 70% 90%, transparent 90%); }
.s-hero .h-lead { max-width: 46ch; margin-left: auto; margin-right: auto; }
.s-hero .h-actions, .s-hero .h-chips { justify-content: center; }
.s-text { max-width: 720px; }
.s-text h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-top: 1.4em; }
.s-text h2:first-child { margin-top: 0; }
.s-text p { color: #3d4150; font-size: 1.08rem; line-height: 1.7; }
.s-qs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; text-align: left; }
.s-q { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.s-q h3 { font-size: 1.2rem; margin: 12px 0 14px; }
.s-q .h-react { font-size: .88rem; }
@media (max-width: 860px) { .s-qs { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

/* Picking topics: the count on top, Custom Trivia as its own big card (left), the topics beside it. */
.flow-card:has(.topics-grid) { width: min(980px, 100% - 32px); }
.topics-sum { text-align: left; background: var(--green-soft); border: 1px solid #b7e4c7; border-radius: 16px; padding: 14px 18px; margin: 0 0 16px; }
.topics-sum.empty { background: #fffaf0; border-color: var(--line); }
.topics-sum p { margin: 4px 0; color: var(--ink); }
.topics-sum b { color: var(--navy); font-size: 1.1rem; }
.topics-sum .topics-sum-head { font: 700 1.25rem/1.2 Fraunces, Georgia, serif; color: var(--navy); margin: 0 0 6px; }
.topics-grid { display: grid; grid-template-columns: minmax(230px, 280px) 1fr; gap: 16px; align-items: start; margin-bottom: 18px; }
.topics-own { position: sticky; top: 16px; }
.topics-list { margin-bottom: 0; }
.choice.own-card { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon name tick" "note note note"; gap: 12px 14px; padding: 22px 20px;
  background: linear-gradient(135deg, #fff4d6, #ffe9ee 60%, #e3f6ea); border-width: 2px; border-color: var(--gold); }
.choice.own-card > :first-child { grid-area: icon; }
.choice.own-card .topic-name { grid-area: name; font-size: 1.15rem; }
.choice.own-card .tick { grid-area: tick; }
.choice.own-card .own-note { grid-area: note; color: #5b4a52; font-weight: 400; font-size: .95rem; line-height: 1.45; }
.choice.own-card, .choice.own-card .topic-name { text-align: left; }
.choice.own-card:has(input:checked) { background: linear-gradient(135deg, #fff4d6, #ffe9ee 60%, #e3f6ea); border-color: var(--gold-deep); }
@media (max-width: 760px) {
  .topics-grid { grid-template-columns: 1fr; }
  .topics-own { position: static; }
}

/* Custom Trivia (owner, Nov 2026): the adding part looks like adding, the list like a list, Done like done.
   On a computer they sit side by side and fit on one screen. */
.own-add, .own-side { text-align: left; border-radius: 18px; padding: 16px 18px 18px; margin-bottom: 16px; }
.own-add { background: #fffaf0; border: 2px solid var(--gold); }
.own-side { background: #fff; border: 1px solid var(--line); }
.own-panel-head { font: 700 1.2rem/1.2 Fraunces, Georgia, serif; color: var(--navy); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.own-panel-head small { font: 600 .85rem Inter, sans-serif; color: var(--navy); background: var(--gold-soft); border-radius: 99px; padding: 2px 10px; }
.own-add .tabs { margin-bottom: 12px; }
/* The idea card: one light idea at a time, fading to the next. */
.own-idea { margin: -4px 0 12px; padding: 9px 14px; border-radius: 12px; background: #fff; border: 1px dashed #e9cf8f; color: #6b5a3a; font-size: .95rem; line-height: 1.4; transition: opacity .4s ease; }
.own-idea-label { font-weight: 700; color: #8a6512; }
.own-idea-text { font-style: italic; }
.own-idea.fade { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .own-idea { transition: none; } }
.own-add .own-typed { margin-bottom: 0; }
.own-side .own-list { counter-reset: q; border-top: 0; margin: 0; display: grid; gap: 8px; }
.own-side .own-list li { counter-increment: q; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fcfbf8; }
.own-side .own-list li::before { content: counter(q); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.own-empty { color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; padding: 24px 16px; margin: 0; text-align: center; }
.own-done { border-top: 1px solid var(--line); padding-top: 16px; }
.own-done .btn { font-size: 1.05rem; }
.own-wrongs { display: grid; gap: 10px; }
@media (min-width: 900px) {
  /* The account page's frame is narrow (720px): this page uses most of the screen. */
  .acct-wrap:has(.own-cols), .acct-wrap:has(.topics-grid) { width: min(1200px, 100% - 32px); }
  .flow-card:has(.own-cols) { width: min(1200px, 100%); padding-top: 28px; }
  .flow-card:has(.own-cols) h1 { margin-bottom: 18px; }
  .flow-card .own-count { display: none; }
  .own-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .own-add, .own-side { margin-bottom: 0; }
  .own-side { position: sticky; top: 16px; max-height: calc(100vh - 140px); overflow: auto; }
  .own-done { margin-top: 18px; display: flex; justify-content: flex-end; }
  .own-done .btn { width: auto; min-width: 240px; }
  .own-wrongs { grid-template-columns: 1fr 1fr; }
  .own-add .credits { padding: 10px 14px; }
  .own-add .credits-bar { margin: 6px 0; height: 8px; }
  .own-add .credits-top b { font-size: 1.1rem; }
  .own-typed { gap: 8px; }
  .own-typed input { padding: 11px 14px; }
  .own-q { display: block; }
  .own-q span { display: inline; margin-right: 12px; }
  .own-q b { display: block; margin-bottom: 2px; }
  /* A little tighter, so Add is on the first screen. */
  .own-add .tabs button { padding-top: 8px; padding-bottom: 8px; }
  .own-add .credits:not(.empty) .credits-how { display: none; }
  .own-typed input { font-size: 1rem; padding: 10px 12px; }
  .own-add .tag-chips button { font-size: .76rem; padding: 3px 9px; }
  .own-add .own-hint { font-size: .82rem; }
  .own-side .own-list li { padding: 8px 12px; }
  .own-wrongs input { font-size: .9rem; padding-left: 12px; padding-right: 8px; }
  /* Room for the idea card: the tone buttons' hint sits in their row, the tabs are shorter. */
  .own-add .tag-chips .tag-hint { width: auto; margin-right: 4px; }
  .own-add .tabs button { padding-top: 6px; padding-bottom: 6px; }
  .own-add .tabs button small { display: inline; margin-left: 4px; }
  .own-add .own-panel-head { margin-bottom: 8px; }
  .own-idea { margin-bottom: 10px; padding: 7px 12px; }
}

/* The home page's idea card: one family question at a time, fading to the next. */
.h-idea { min-height: 430px; box-sizing: border-box; background: #fff; border-radius: 28px; padding: 26px; box-shadow: 0 18px 40px rgb(22 40 92 / 14%); transition: opacity .45s ease; }
.h-idea h3 { font-size: 1.5rem; margin: 14px 0 18px; }
.h-idea.fade { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .h-idea { transition: none; } }

/* Custom Trivia: Quiz or Poll (a poll has no right answer). */
.own-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 10px; }
.own-kind button { font: inherit; padding: 7px 10px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  display: flex; align-items: baseline; justify-content: center; gap: 6px; flex-wrap: wrap; }
.own-kind button b { font-size: 1rem; }
.own-kind button small { color: var(--muted); font-size: .8rem; }
.own-kind button.on { border-color: var(--navy); background: #eef3ff; }
.own-typed.poll input.own-right { border-color: var(--line); background: #fff; }
.own-typed.poll input.own-right::placeholder { color: var(--muted); }
.rec-form.poll .rec-right { display: none; }
.own-badge { display: inline-block; align-self: flex-start; width: fit-content; font-size: .78rem; font-weight: 700; color: var(--navy); background: #eef3ff; border-radius: 999px; padding: 2px 9px; margin: 0 0 4px; }

/* Editing a Custom Trivia question (✎ in the list). */
.own-edit { color: var(--muted); font-size: 1.1rem; padding: 4px 6px; text-decoration: none; line-height: 1; }
.own-edit:hover { color: var(--navy); }
.own-side .own-list li.editing { border-color: var(--gold-deep); background: #fffaf0; box-shadow: 0 0 0 2px #f6dfa6; }
.own-editing .own-cost { margin: 2px 0 0; color: var(--navy); font-size: .9rem; text-align: center; font-weight: 600; }
.own-edit-actions { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.own-edit-actions .btn { margin: 0; display: flex; align-items: center; justify-content: center; text-align: center; }
.rec-edit { display: grid; gap: 10px; }
.rec-edit.poll .rec-right { display: none; }

/* "⭐ Popular" on a topic the owner marked (Admin → Question sets). */
.topic-pop { display: inline-block; vertical-align: 2px; margin-left: 6px; font-size: .72rem; font-weight: 700; color: #8a5a00; background: #fff4d6; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
/* A choice that saves with one tap (Game length). */
button.choice { width: 100%; font: inherit; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; }

/* Home page, Prices: what one game includes (owner, Nov 2026). */
.h-get { max-width: 640px; margin: 30px auto 0; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 26px; }
.h-get h3 { margin: 0 0 12px; font: 700 1.35rem/1.2 Fraunces, Georgia, serif; color: var(--navy); text-align: center; }
.h-get ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.h-get li { display: flex; gap: 12px; align-items: baseline; color: var(--ink); line-height: 1.45; }
.h-get li > span:first-child { flex: none; width: 1.6em; text-align: center; }
.h-get b { color: var(--navy); }
/* The same, on its own card: the first thing after "Order a game". */
.book-get { text-align: left; margin: 4px 0 26px; }
.book-get h1 { text-align: center; margin-bottom: 18px; }
.book-get ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.book-get li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-weight: 600; font-size: 1rem; line-height: 1.35; }
.book-get li span { flex: none; font-size: 1.3rem; width: 1.6em; text-align: center; }

/* Custom Trivia, kept clean (owner, Nov 2026): questions left in one quiet line, voice effects folded away. */
.own-add .credits { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; padding: 0; border: 0; background: none; }
.own-add .credits-line { display: flex; gap: 8px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.4; text-align: left; }
.own-add .credits-line b { color: var(--navy); font-size: .95rem; }
.own-add .credits.empty .credits-line b { color: #b42318; }
.own-add .tabs button { padding: 9px 6px; font-size: .95rem; }
.own-tags { margin: -2px 0 2px; text-align: left; }
.own-tags summary { cursor: pointer; color: var(--navy-2); font-size: .9rem; font-weight: 600; list-style: none; }
.own-tags summary::-webkit-details-marker { display: none; }
.own-tags summary small { color: var(--muted); font-weight: 400; }
.own-tags[open] summary { margin-bottom: 8px; }
@media (max-width: 520px) {
  .own-kind button small { display: none; }
}

/* Pick topics: more Custom Trivia than the game holds. */
.topics-sum.over { background: #fffaf0; border-color: #f3d58a; }

/* A customer who signed in by phone: an email for the game emails. */
.email-card { margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-align: left; }
.email-card label { display: block; margin-bottom: 8px; color: var(--navy); }
.email-card label small { display: block; color: var(--muted); font-size: .88rem; font-weight: 400; }
.email-row { display: flex; gap: 8px; }
.email-row input { flex: 1; min-width: 0; font: inherit; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; }
.email-row .btn { margin: 0; padding: 10px 18px; }
.email-note { margin: 0 0 14px; color: var(--muted); font-size: .9rem; text-align: left; }

/* The season line, right under the headline (Admin → Prices → Home page): light, in the site's gold. */
.h-season { display: inline-block; max-width: 40rem; margin: 4px 0 14px; padding: 10px 18px; border-radius: 14px;
  background: #fff4d6; border: 1px solid #f3d58a; color: var(--navy);
  font: 700 clamp(1.05rem, 2.2vw, 1.3rem)/1.35 Fraunces, Georgia, serif; }
.h-season::before { content: '★ '; color: var(--gold-deep); }
