/* Beyond Bingo — one shared stylesheet.
   Direction: a cozy, lively host's toolkit. Warm paper, deep pine ink, one cranberry accent;
   gold appears only as the New Year's Eve season colour. Buttons are raffle tickets. */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces.woff2?v=3") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-italic.woff2?v=3") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree.woff2?v=2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
  --display-axes: "opsz" 72, "SOFT" 100, "WONK" 0;
  --paper: #fbf7f0;
  --paper-2: #f3ece0;
  --card: #fffdf9;
  --ink: #14281f;
  --ink-2: #2b4237;
  --muted: #5e6d65;
  --line: #e4dbcb;
  --accent: #c62f3b;       /* cranberry — the one accent */
  --accent-ink: #fff;
  --accent-dark: #9e1f2a;
  --pine: #1f4d3a;         /* Christmas season */
  --night: #101b2d;        /* NYE season */
  --gold: #d4a72c;         /* NYE season accent */
  --gold-soft: #f6e7b8;
  --ok: #2f7d4f;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: clamp(.82rem, .8rem + .1vw, .88rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + .4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + .75vw, 1.9rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.5vw, 2.7rem);
  --step-4: clamp(2.3rem, 1.7rem + 3vw, 4.1rem);

  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4.5rem; --sp-9: 7rem;
  --radius: 10px;
  --shadow: 0 1px 0 rgba(20, 40, 31, .06), 0 8px 24px -12px rgba(20, 40, 31, .25);
  --wrap: 1180px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html { font-variation-settings: var(--display-axes); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-dark); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -.005em; margin: 0 0 var(--sp-4); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h1 em, h2 em { font-style: italic; color: var(--accent); font-weight: 800; }
p { margin: 0 0 var(--sp-4); }
code, kbd { font: 600 .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--paper-2); padding: .1em .4em; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sprite { display: none; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.section { padding-block: var(--sp-8); }
.section-head { max-width: 640px; margin-bottom: var(--sp-6); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.45; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font: 700 var(--step--1)/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--sp-3); }
.eyebrow .ic { width: 1em; height: 1em; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.ic { width: 1.1em; height: 1.1em; flex: none; }
.ic-xl { width: 2.2rem; height: 2.2rem; }

/* ---------- buttons: raffle tickets ---------- */
.btn { --notch: 7px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.35rem; border: 0; border-radius: 4px; font: 700 var(--step-0)/1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn .ic { width: 1.05em; height: 1.05em; }
.btn-ticket { background: var(--accent); color: var(--accent-ink);
  -webkit-mask: radial-gradient(circle at 0 50%, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, transparent var(--notch), #000 calc(var(--notch) + .5px)) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent var(--notch), #000 calc(var(--notch) + .5px)) right / 51% 100% no-repeat;
  padding-inline: 1.7rem; }
.btn-ticket:hover { background-color: var(--accent-dark); color: #fff; transform: translateY(-1px) rotate(-.6deg); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--pine); }
.btn-light:hover { background: #fff; color: var(--pine); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: #e7bb3f; color: var(--night); transform: translateY(-1px); }
.btn-sm { padding: .6rem 1rem; font-size: var(--step--1); --notch: 5px; }
.btn-lg { padding: 1.15rem 2.2rem; font-size: var(--step-1); --notch: 9px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; color: var(--accent-dark); }
.link-arrow .ic { transition: transform .15s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 240, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.logo-ball { width: 34px; height: 34px; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.logo:hover .logo-ball { transform: rotate(-200deg); }
.logo-word { font: 800 1.4rem/1 var(--font-display); letter-spacing: -.01em; }
.logo-word em { color: var(--accent); font-weight: 800; font-style: normal; }
.site-nav { display: flex; align-items: center; gap: var(--sp-5); }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; position: relative; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.nav-toggle span:first-child { top: 21px; }
.nav-toggle span:first-child::before { top: -7px; left: 0; }
.nav-toggle span:first-child::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] span:first-child { background: transparent; }
.nav-toggle[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: var(--sp-3) 1.25rem var(--sp-5); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: var(--sp-4); }
}

/* ---------- tags ---------- */
.tag { display: inline-flex; align-items: center; gap: .35rem; font: 700 .74rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: .38rem .55rem; border-radius: 3px; text-decoration: none; background: var(--paper-2); color: var(--ink-2); }
.tag .ic { width: 1.05em; height: 1.05em; }
.tag-active { background: #fde3dc; color: #8f2617; }
.tag-creative { background: #e5eefa; color: #1e4479; }
.tag-trivia { background: #efe6fb; color: #53308a; }
.tag-party { background: #fdeccf; color: #7a4a06; }
.tag-icebreakers { background: #def3ea; color: #1d5e43; }
.tag-bingo-games { background: #fbe0e5; color: var(--accent-dark); }
.season { font: 700 .72rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: .38rem .5rem; border-radius: 3px; text-decoration: none; }
.season-christmas { background: var(--pine); color: #e9f3ed; }
.season-nye { background: var(--night); color: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: var(--sp-8) 0 var(--sp-7); background:
  radial-gradient(1200px 500px at 85% -10%, rgba(212, 167, 44, .16), transparent 60%),
  radial-gradient(900px 500px at -10% 110%, rgba(31, 77, 58, .12), transparent 60%), var(--paper); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-7); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-5) 0; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-5); padding: 0; margin: 0; color: var(--muted); font-weight: 600; font-size: var(--step--1); }
.hero-proof li { display: flex; align-items: center; gap: .35rem; }
.hero-proof .ic { color: var(--ok); }
.snow { position: absolute; inset: 0; pointer-events: none; }
.snow i { position: absolute; top: -10px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(20, 40, 31, .06); opacity: .9; animation: fall linear infinite; }
.snow i:nth-child(3n) { width: 4px; height: 4px; }
.snow i:nth-child(5n) { width: 8px; height: 8px; opacity: .6; }
.snow i:nth-child(odd) { animation-duration: 14s; }
.snow i:nth-child(even) { animation-duration: 19s; }
.snow i:nth-child(3n+1) { animation-duration: 23s; }
@keyframes fall { to { transform: translate3d(40px, 760px, 0); } }

/* roulette — the "wow" moment */
.roulette { position: relative; background: var(--night); color: #fff; border-radius: 18px; padding: var(--sp-6); box-shadow: 0 30px 60px -30px rgba(16, 27, 45, .7); isolation: isolate; overflow: hidden; }
.roulette::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 260px at 100% 0, rgba(212, 167, 44, .28), transparent 60%), radial-gradient(400px 300px at 0 100%, rgba(198, 47, 59, .35), transparent 60%); }
.roulette-card { position: relative; display: grid; gap: .6rem; min-height: 220px; align-content: start; background: var(--paper); color: var(--ink); border-radius: 12px; padding: var(--sp-5) var(--sp-5) var(--sp-5); transform-origin: 50% 0; }
.roulette-card::after { content: ""; position: absolute; left: 0; right: 0; top: 52px; border-top: 2px dashed var(--line); }
.roulette-label { font: 700 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.roulette-tag { justify-self: start; margin-top: var(--sp-4); font: 700 .74rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: .38rem .55rem; border-radius: 3px; background: var(--paper-2); }
.roulette-title { font: 800 var(--step-2)/1.12 var(--font-display); min-height: 2.25em; }
.roulette-meta { color: var(--muted); font-weight: 600; font-size: var(--step--1); }
.roulette-go { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; }
.roulette.spinning .roulette-title { filter: blur(.6px); }
.roulette.landed .roulette-card { animation: land .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes land { 0% { transform: rotateX(25deg) scale(.98); } 100% { transform: none; } }
.roulette-balls { display: flex; justify-content: center; gap: .6rem; margin: var(--sp-5) 0; }
.roulette-balls i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 800 1rem/1 var(--font-body); font-style: normal; color: var(--ink); background: radial-gradient(circle at 50% 50%, #fff 0 46%, var(--c, var(--accent)) 47%); box-shadow: inset -4px -6px 0 rgba(0, 0, 0, .18); }
.roulette-balls i:nth-child(2) { --c: var(--gold); }
.roulette-balls i:nth-child(3) { --c: #3f8f6a; }
.roulette-balls i:nth-child(4) { --c: #4b74c9; }
.roulette-balls i:nth-child(5) { --c: #9a5bd1; }
.roulette.spinning .roulette-balls i { animation: bounce .45s ease-in-out infinite alternate; }
.roulette.spinning .roulette-balls i:nth-child(2) { animation-delay: .09s; }
.roulette.spinning .roulette-balls i:nth-child(3) { animation-delay: .18s; }
.roulette.spinning .roulette-balls i:nth-child(4) { animation-delay: .27s; }
.roulette.spinning .roulette-balls i:nth-child(5) { animation-delay: .36s; }
@keyframes bounce { to { transform: translateY(-10px) rotate(20deg); } }
.roulette-ctrl { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; align-items: center; }
.btn-spin { min-width: 9rem; }

/* segmented & chips */
.f-seg { display: inline-flex; background: var(--paper-2); border-radius: 6px; padding: 3px; }
.f-seg button { border: 0; background: none; padding: .5rem .8rem; border-radius: 4px; font-weight: 700; font-size: var(--step--1); cursor: pointer; color: var(--muted); }
.f-seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.f-seg-dark { background: rgba(255, 255, 255, .08); }
.f-seg-dark button { color: rgba(255, 255, 255, .7); }
.f-seg-dark button[aria-pressed="true"] { background: var(--paper); color: var(--night); }

/* variety strip */
.variety { margin-top: calc(var(--sp-6) * -1); position: relative; z-index: 2; }
.variety-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--card); }
.variety-row li + li { border-left: 2px solid var(--ink); }
.v-cell { display: grid; gap: .3rem; padding: var(--sp-4) var(--sp-4) var(--sp-5); text-decoration: none; color: var(--ink); height: 100%; transition: background-color .2s; }
.v-cell:hover { background: var(--paper-2); color: var(--ink); }
.v-num { font: 800 var(--step-3)/1 var(--font-display); }
.v-label { display: flex; align-items: center; gap: .35rem; font-weight: 700; font-size: var(--step--1); line-height: 1.2; }
.v-active .v-num { color: #b53a26; } .v-creative .v-num { color: #2c5aa0; } .v-trivia .v-num { color: #6d43b0; }
.v-party .v-num { color: #a36507; } .v-icebreakers .v-num { color: #23774f; } .v-bingo-games .v-num { color: var(--accent); }

/* featured — deliberately uneven grid */
.feat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--sp-4); }
.feat { display: flex; flex-direction: column; gap: .6rem; padding: var(--sp-5); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; grid-column: span 3; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.feat .tag { align-self: flex-start; }
.feat-title { font: 800 var(--step-1)/1.15 var(--font-display); }
.feat-line { color: var(--muted); font-size: .95rem; flex: 1; }
.feat-0 { grid-column: span 6; background: var(--pine); color: #f1f7f3; border-color: var(--pine); }
.feat-1 { grid-column: span 6; background: var(--night); color: #fff; border-color: var(--night); }
.feat-0 .feat-line, .feat-1 .feat-line, .feat-0 .gcard-meta, .feat-1 .gcard-meta { color: rgba(255, 255, 255, .75); }
.feat-0 .feat-title, .feat-1 .feat-title { font-size: var(--step-2); }
.feat-0:hover, .feat-1:hover { color: #fff; }

/* seasons */
.seasons { display: grid; grid-template-columns: 1fr 1fr; }
.season-panel { padding: var(--sp-8) 0; position: relative; overflow: hidden; }
.sp-inner { width: min(100% - 2.5rem, 520px); margin-inline: auto; position: relative; }
.sp-xmas { background: var(--pine); color: #eef6f1; }
.sp-nye { background: var(--night); color: #fff; }
.sp-xmas::before, .sp-nye::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -140px; opacity: .14; }
.sp-xmas::before { background: repeating-conic-gradient(#fff 0 10deg, transparent 10deg 30deg); }
.sp-nye::before { background: radial-gradient(circle, var(--gold) 0 2px, transparent 3px) 0 0 / 22px 22px; opacity: .3; }
.season-panel .eyebrow { color: var(--gold); }
.sp-xmas .eyebrow { color: #f5c9cd; }
.season-panel p { color: rgba(255, 255, 255, .8); }
.sp-list { list-style: none; padding: 0; margin: var(--sp-5) 0 var(--sp-6); columns: 2; column-gap: var(--sp-5); }
.sp-list li { break-inside: avoid; padding: .3rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.sp-list a { color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.sp-list a:hover { text-decoration: underline; }

/* ways */
.ways-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 0; border-top: 2px solid var(--ink); }
.way { padding: var(--sp-6) var(--sp-5) var(--sp-5) 0; }
.way + .way { padding-left: var(--sp-5); border-left: 1px solid var(--line); }
.way > .ic { color: var(--accent); margin-bottom: var(--sp-4); }
.way p { color: var(--muted); }
.mini-card { display: grid; grid-template-columns: repeat(5, 30px); gap: 3px; margin-bottom: var(--sp-4); }
.mini-card b { background: var(--accent); color: #fff; font: 800 .8rem/30px var(--font-body); text-align: center; border-radius: 3px; }
.mini-card span { background: var(--card); border: 1px solid var(--line); font: 600 .78rem/28px var(--font-body); text-align: center; border-radius: 3px; }
.mini-card .hit { background: radial-gradient(circle, var(--gold) 0 55%, var(--card) 56%); border-color: var(--gold); }

/* pricing teaser */
.pt-box { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: var(--sp-6); align-items: center; padding: var(--sp-6); border-radius: 16px; background: var(--paper-2); border: 2px dashed var(--line); }
.pt-box h2 { font-size: var(--step-2); }
.pt-box p:last-child { margin: 0; color: var(--muted); }
.pt-prices { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.pt-prices li { display: flex; justify-content: space-between; gap: var(--sp-4); border-bottom: 1px dotted var(--muted); padding-bottom: .3rem; font-weight: 600; }
.pt-prices strong { font-family: var(--font-display); font-size: 1.2rem; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: var(--sp-4) 0; }
.faq summary { cursor: pointer; font: 800 var(--step-1)/1.3 var(--font-display); list-style: none; display: flex; justify-content: space-between; gap: var(--sp-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); color: var(--accent); font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: var(--sp-3) 0 0; color: var(--ink-2); }

/* ---------- listings ---------- */
.list-hero, .tool-hero { padding-block: var(--sp-6) var(--sp-5); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 var(--sp-4); font-size: var(--step--1); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.crumbs a { color: var(--muted); }
.filters { display: grid; gap: var(--sp-3); padding: var(--sp-4); background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: var(--sp-5); }
.f-search input { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-size: 1rem; }
.f-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.f-chips button { border: 1px solid var(--line); background: var(--paper); border-radius: 99px; padding: .4rem .8rem; font-weight: 600; font-size: var(--step--1); cursor: pointer; }
.f-chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.f-selects { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.f-selects label { display: flex; align-items: center; gap: .4rem; font-weight: 600; font-size: var(--step--1); color: var(--muted); }
select, input[type="text"], input[type="email"], input[type="number"], input:not([type]), textarea { padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); }
.f-count { margin: 0; font-size: var(--step--1); color: var(--muted); }
@media (min-width: 1000px) { .filters { grid-template-columns: 1fr auto; } .f-chips, .f-selects { grid-column: 1 / -1; } .f-count { grid-column: 1 / -1; } }
@media (max-width: 700px) { .filters { position: static; } }
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--sp-4); }
.gcard { display: flex; flex-direction: column; gap: .7rem; padding: var(--sp-4) var(--sp-4) var(--sp-5); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .18s, box-shadow .18s, border-color .18s; position: relative; }
.gcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.gcard[hidden] { display: none; }
.gcard-top { display: flex; justify-content: space-between; gap: .5rem; }
.gcard-title { font: 800 1.22rem/1.2 var(--font-display); }
.gcard-meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; color: var(--muted); font-size: var(--step--1); font-weight: 600; margin-top: auto; }
.gcard-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.empty { padding: var(--sp-6); text-align: center; color: var(--muted); }
.prose-block { max-width: 760px; }
.prose-block h2 { font-size: var(--step-2); }

/* ---------- game page ---------- */
.game-hero { padding: var(--sp-6) 0 var(--sp-6); background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-bottom: 1px solid var(--line); }
.game[data-season="nye"] .game-hero { background: linear-gradient(180deg, #ece9f1, var(--paper)); }
.game-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.game-hero h1 { max-width: 18ch; font-size: var(--step-4); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-3); padding: 0; margin: var(--sp-5) 0 0; }
.facts li { display: flex; align-items: center; gap: .6rem; padding: .65rem .9rem; background: var(--card); border: 1px solid var(--line); border-radius: 8px; font-weight: 700; }
.facts .ic { color: var(--accent); width: 1.3rem; height: 1.3rem; }
.facts small { display: block; font: 600 .7rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .2rem; }
.game-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--sp-7); padding-block: var(--sp-7); }
.prose h2 { font-size: var(--step-2); margin-top: var(--sp-7); }
.prose h2:first-child { margin-top: 0; }
.steps { padding: 0; list-style: none; counter-reset: s; display: grid; gap: var(--sp-3); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; gap: var(--sp-3); align-items: start; }
.steps li::before { content: counter(s); width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 700 .95rem/1 var(--font-body); }
.mode-note { display: flex; gap: .5rem; align-items: flex-start; padding: var(--sp-3) var(--sp-4); background: var(--gold-soft); border-radius: 8px; font-size: .95rem; }
.mode-note .ic { color: #9a7413; margin-top: .25rem; }
.supplies { list-style: none; padding: 0; display: grid; gap: .5rem; }
.supplies li { display: flex; gap: .6rem; align-items: flex-start; }
.supplies .ic { color: var(--ok); margin-top: .28rem; }
.prompt-list { padding-left: 1.3rem; display: grid; gap: .45rem; }
.prompt-list.cols { columns: 2 260px; column-gap: var(--sp-6); display: block; }
.prompt-list.cols li { break-inside: avoid; margin-bottom: .45rem; }
.prompt-list .ans { display: inline-block; margin-left: .4rem; font-size: .92rem; }
.prompt-list .ans summary { cursor: pointer; color: var(--accent-dark); font-weight: 700; display: inline; }
.prompt-list .ans[open] { color: var(--ink-2); font-style: italic; }
.prompt-list .muted { display: block; font-size: .9rem; }
.kind { font: 700 .7rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .08em; background: var(--paper-2); padding: .25rem .4rem; border-radius: 3px; }
.time-chip { font: 700 .8rem/1 var(--font-body); background: var(--night); color: var(--gold); padding: .25rem .45rem; border-radius: 3px; white-space: nowrap; }
mark.lr-LEFT { background: #dbe9ff; color: #1e4479; font-weight: 800; padding: 0 .15em; border-radius: 3px; }
mark.lr-RIGHT { background: #ffe0dc; color: #8f2617; font-weight: 800; padding: 0 .15em; border-radius: 3px; }
.tips { padding-left: 1.2rem; }
.tips li { margin-bottom: .4rem; }
.game-side { display: grid; gap: var(--sp-5); align-content: start; position: sticky; top: 90px; }
.kit-cta { padding: var(--sp-5); background: var(--card); border: 2px solid var(--ink); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); }
.kit-cta h2 { font-size: var(--step-1); margin-bottom: var(--sp-2); }
.kit-cta p { color: var(--muted); font-size: .95rem; }
.kit-cta .link-arrow { margin-top: var(--sp-3); font-size: var(--step--1); }
.side-related h2 { font-size: var(--step-0); font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.side-related ul { list-style: none; padding: 0; margin: 0; }
.side-related a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 650; }
.side-related a:hover { color: var(--accent); }
.side-related small { display: block; color: var(--muted); font-weight: 500; }

/* ---------- live host mode ---------- */
.live-section { background: var(--night); padding-block: var(--sp-6); scroll-margin-top: 68px; }
.live { color: #fff; }
.live-nojs { color: rgba(255, 255, 255, .75); }
.live-top { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.live-top h2 { font-size: var(--step-1); margin: 0; display: flex; align-items: center; gap: .5rem; }
.live-top h2 .dot { width: 10px; height: 10px; border-radius: 50%; background: #ff4d5a; box-shadow: 0 0 0 4px rgba(255, 77, 90, .25); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 77, 90, 0); } }
.live-tools { display: flex; flex-wrap: wrap; gap: .5rem; }
.live .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.live .btn-ghost:hover { background: #fff; color: var(--night); }
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: var(--sp-4); }
.stage { position: relative; background: var(--paper); color: var(--ink); border-radius: 14px; min-height: 340px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: var(--sp-6) var(--sp-5); }
.stage-count { position: absolute; top: var(--sp-4); left: var(--sp-4); font: 700 var(--step--1)/1 var(--font-body); color: var(--muted); letter-spacing: .06em; }
.stage-kind { position: absolute; top: var(--sp-4); right: var(--sp-4); }
.stage-text { font: 800 clamp(1.6rem, 1.1rem + 2.6vw, 3.4rem)/1.12 var(--font-display); max-width: 22ch; margin: 0; }
.stage-text.emoji { font-size: clamp(3rem, 2rem + 5vw, 6rem); letter-spacing: .1em; }
.stage-sub { margin-top: var(--sp-4); color: var(--muted); font-size: var(--step-1); }
.stage-answer { margin-top: var(--sp-5); padding: .7rem 1.2rem; border-radius: 8px; background: var(--gold-soft); font: 700 var(--step-1)/1.3 var(--font-body); }
.stage-answer[hidden] { display: none; }
.forbidden { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: var(--sp-4); }
.forbidden span { background: #fde3dc; color: #8f2617; padding: .35rem .7rem; border-radius: 4px; font-weight: 700; text-decoration: line-through; }
.wyr { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--sp-4); align-items: stretch; width: 100%; }
.wyr-opt { border: 0; background: var(--paper-2); border-radius: 12px; padding: var(--sp-5); font: 800 var(--step-2)/1.15 var(--font-display); cursor: pointer; display: grid; gap: var(--sp-3); }
.wyr-opt:first-child { background: #dbe9ff; } .wyr-opt:last-child { background: #ffe0dc; }
.wyr-opt small { font: 700 var(--step-0)/1 var(--font-body); color: var(--muted); }
.wyr-or { align-self: center; font: italic 800 var(--step-1)/1 var(--font-display); color: var(--muted); }
.lr-big { font-weight: 800; padding: 0 .12em; border-radius: 4px; }
.lr-big.l { background: #dbe9ff; color: #1e4479; } .lr-big.r { background: #ffe0dc; color: #8f2617; }
.letter-ball { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font: 800 3.6rem/1 var(--font-display); color: var(--ink); background: radial-gradient(circle, #fff 0 52%, var(--accent) 53%); margin-bottom: var(--sp-4); box-shadow: inset -6px -8px 0 rgba(0, 0, 0, .15); }
.letter-ball.rolling { animation: spinball .12s linear infinite; }
@keyframes spinball { to { transform: rotate(360deg); } }
.cat-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.2rem; text-align: left; font-weight: 650; counter-reset: c; }
.cat-list li { counter-increment: c; }
.cat-list li::before { content: counter(c) ". "; color: var(--accent); }
.sched { list-style: none; padding: 0; margin: 0; width: 100%; max-height: 330px; overflow: auto; text-align: left; }
.sched li { display: flex; gap: var(--sp-3); align-items: center; padding: .5rem .6rem; border-radius: 6px; }
.sched li.past { opacity: .45; }
.sched li.now { background: var(--gold-soft); font-weight: 800; font-size: 1.1rem; }
.stage-sub.tight { margin: 0 0 .6rem; }
.stage-sub.small { font-size: .9rem; }
.m-n { width: 4.5rem; }
.mafia-role { font: 800 var(--step-3)/1.1 var(--font-display); }
.stage-ctrl { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: var(--sp-4); }
.stage-ctrl .btn-ghost { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.stage-ctrl .btn-ghost:hover { color: var(--paper); background: var(--ink); }
.panel { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: var(--sp-4); }
.panel + .panel { margin-top: var(--sp-4); }
.panel h3 { font: 700 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .65); margin: 0 0 var(--sp-3); }
.timer-face { font: 700 3rem/1 var(--font-body); font-variant-numeric: tabular-nums; text-align: center; margin-bottom: var(--sp-3); }
.timer-face.low { color: #ff6b75; }
.timer-face.done { animation: flash .5s 4; }
@keyframes flash { 50% { opacity: .2; } }
.timer-btns, .score-btns { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.timer-btns select { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.timer-btns select option { color: var(--ink); }
.team { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .4rem; padding: .4rem 0; }
.team + .team { border-top: 1px solid rgba(255, 255, 255, .12); }
.team input { background: transparent; border: 0; color: #fff; font-weight: 700; padding: .2rem 0; width: 100%; }
.team-score { font: 700 2rem/1 var(--font-body); font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; }
.team-btns { grid-column: 1 / -1; display: flex; gap: .3rem; }
.team-btns button { flex: 1; border: 0; border-radius: 6px; padding: .45rem; font-weight: 800; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff; }
.team-btns button:hover { background: rgba(255, 255, 255, .22); }
.team-btns button.plus { background: var(--accent); }
.kbd-hint { font-size: var(--step--1); color: rgba(255, 255, 255, .55); margin-top: var(--sp-3); }
.kbd-hint kbd { background: rgba(255, 255, 255, .12); color: inherit; }
/* full-screen TV mode */
.live.tv { position: fixed; inset: 0; z-index: 100; background: var(--night); padding: 2vw; overflow: auto; }
.live.tv .live-grid { min-height: calc(100vh - 7rem); }
.live.tv .stage { min-height: 70vh; }
.live.tv .stage-text { font-size: clamp(2rem, 1rem + 4vw, 5.5rem); }

/* ---------- ad slots ---------- */
.ad-slot { display: none; }
.ad-slot.on { display: block; margin: var(--sp-6) auto; min-height: 280px; text-align: center; }
.ad-slot.preview { display: grid; place-items: center; margin: var(--sp-6) auto; min-height: 120px; border: 2px dashed var(--line); border-radius: 10px; color: var(--muted); font: 600 var(--step--1)/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; max-width: var(--wrap); width: min(100% - 2.5rem, var(--wrap)); }
.prose .ad-slot.preview { width: 100%; }

/* ---------- printables ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: var(--sp-5); background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.tier h3 { margin-bottom: var(--sp-3); }
.tier-flag { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.tier-badge { position: absolute; top: -.8rem; left: var(--sp-5); margin: 0; background: var(--accent); color: #fff; font: 800 .72rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: .4rem .6rem; border-radius: 3px; }
.tier[data-tier="mega"] .tier-badge { background: var(--gold); color: var(--night); }
.tier-price { display: flex; flex-direction: column; margin-bottom: var(--sp-2); }
.tier-price strong { font: 800 var(--step-4)/1 var(--font-display); }
.tier-price span { color: var(--muted); font-size: var(--step--1); font-weight: 600; }
.tier-cards { font-weight: 800; color: var(--accent-dark); }
.tier ul { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: .5rem; flex: 1; font-size: .95rem; }
.tier li { display: flex; gap: .5rem; }
.tier li .ic { color: var(--ok); margin-top: .25rem; }
.tiers-note { margin-top: var(--sp-4); padding: var(--sp-3) var(--sp-4); background: var(--gold-soft); border-radius: 8px; }
.ka-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.ka { margin: 0; }
.ka-sheet { aspect-ratio: 8.5 / 11; background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--shadow); padding: 12%; display: flex; flex-direction: column; gap: 6%; transform: rotate(-1.5deg); transition: transform .3s; }
.ka:nth-child(2) .ka-sheet { transform: rotate(1deg); }
.ka:hover .ka-sheet { transform: rotate(0) translateY(-4px); }
.ka-sheet b { font: 800 1.1rem/1.1 var(--font-display); color: var(--accent); }
.ka-sheet > i { height: 8px; background: var(--paper-2); border-radius: 4px; }
.ka-sheet > i.s { width: 60%; }
.ka-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; flex: 1; }
.ka-table i { border: 1px solid var(--line); border-radius: 2px; }
.ka-cut { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 0; padding: 8%; }
.ka-cut i { border: 1.5px dashed var(--muted); margin: -0.75px; background: linear-gradient(var(--paper-2), var(--paper-2)) center / 60% 10% no-repeat; }
.ka figcaption { margin-top: var(--sp-4); color: var(--muted); }
.ka figcaption strong { color: var(--ink); }

/* forms / order */
.card-form { display: grid; gap: var(--sp-4); padding: var(--sp-5); background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: var(--sp-5); }
.card-form label { display: grid; gap: .35rem; font-weight: 700; }
.card-form input { padding: .8rem 1rem; font-size: 1rem; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.err { color: var(--accent-dark); }
.license-box { padding: var(--sp-5); border: 2px solid var(--ok); border-radius: 12px; background: #eef7f1; margin-bottom: var(--sp-5); }
.license-box .code { font: 800 var(--step-2)/1 ui-monospace, Menlo, monospace; letter-spacing: .06em; display: inline-block; padding: .5rem .8rem; background: #fff; border-radius: 6px; border: 1px dashed var(--ok); }
.order { padding-block: var(--sp-7); }
.info { padding-block: var(--sp-5) var(--sp-8); }
.info h2 { font-size: var(--step-2); margin-top: var(--sp-6); }
.notfound { padding-block: var(--sp-8); }
.nf-ball { width: 140px; height: 140px; margin: 0 auto var(--sp-5); border-radius: 50%; display: grid; place-items: center; font: 800 2.4rem/1 var(--font-display); background: radial-gradient(circle, #fff 0 50%, var(--accent) 51%); box-shadow: inset -8px -10px 0 rgba(0, 0, 0, .15); }
.notfound .hero-ctas { justify-content: center; }

/* dialog */
.dlg { border: 0; border-radius: 14px; padding: var(--sp-5); width: min(640px, 92vw); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); background: var(--paper); color: var(--ink); }
.dlg::backdrop { background: rgba(16, 27, 45, .6); }
.dlg h2 { font-size: var(--step-2); }
.dlg textarea { width: 100%; font: .8rem/1.5 ui-monospace, Menlo, monospace; }
.dlg-row { display: flex; gap: .5rem; justify-content: flex-end; margin-top: var(--sp-3); }

/* ---------- bingo editor ---------- */
.bingo-tool { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: var(--sp-6); align-items: start; padding-bottom: var(--sp-7); }
.b-controls { display: grid; gap: var(--sp-4); position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding-right: .3rem; }
.b-controls fieldset { border: 1px solid var(--line); border-radius: 12px; padding: var(--sp-4); margin: 0; display: grid; gap: var(--sp-3); background: var(--card); }
.b-controls legend { font: 800 .76rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; padding: 0 .4rem; color: var(--accent-dark); }
.b-controls label { display: grid; gap: .3rem; font-weight: 700; font-size: .92rem; }
.b-controls textarea { resize: vertical; }
.b-limit { margin: 0; font-size: var(--step--1); color: var(--muted); }
.b-limit a { font-weight: 700; }
.b-actions { display: grid; gap: .5rem; }
.b-pack { font-size: var(--step--1); color: var(--muted); margin: 0; }
.theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.theme-sw { border: 2px solid transparent; border-radius: 8px; padding: 3px; background: none; cursor: pointer; display: grid; gap: 3px; text-align: center; }
.theme-sw[aria-checked="true"] { border-color: var(--ink); }
.theme-sw .sw { height: 38px; border-radius: 5px; display: grid; place-items: center; font-size: 1rem; background: var(--b-bg, #fff); border: 1px solid var(--line); border-top: 12px solid var(--b-head, var(--accent)); }
.theme-sw small { font-size: .66rem; font-weight: 700; line-height: 1.1; color: var(--muted); }
.b-preview { background: #e9e3d7; border-radius: 14px; padding: var(--sp-5); min-height: 60vh; }
.b-sheets { display: grid; gap: var(--sp-5); justify-items: center; }
.sheet { background: #fff; width: 100%; max-width: 640px; aspect-ratio: 8.5 / 11; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); display: grid; padding: 4%; gap: 4%; }
.sheet.a4 { aspect-ratio: 210 / 297; }
.sheet.per-2 { grid-template-rows: 1fr 1fr; }
.sheet.per-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.b-more { text-align: center; color: var(--muted); font-weight: 600; }

/* bingo card (screen + print) */
.bcard { --b-bg: #fff; --b-head: var(--accent); --b-head-ink: #fff; --b-ink: var(--ink); --b-line: #d9cfbf; --b-mark: var(--gold);
  position: relative; display: flex; flex-direction: column; background: var(--b-bg); color: var(--b-ink); border: 2px solid var(--b-head); border-radius: 10px; overflow: hidden; container-type: inline-size; min-height: 0; aspect-ratio: .8; width: 100%; }
.sheet { place-items: center; }
.sheet.per-2 .bcard { width: auto; height: 100%; max-width: 100%; }
.player .bcard, .check-result .bcard { max-width: 520px; }
.bc-head { background: var(--b-head); color: var(--b-head-ink); text-align: center; padding: 3cqi 3cqi 2cqi; position: relative; }
.bc-title { font: 800 6.2cqi/1.05 var(--font-display); display: block; }
.bc-motif { position: absolute; top: 50%; transform: translateY(-50%); font-size: 7cqi; }
.bc-motif.l { left: 3cqi; } .bc-motif.r { right: 3cqi; }
.bc-letters { display: grid; grid-template-columns: repeat(var(--n), 1fr); background: var(--b-head); color: var(--b-head-ink); font: 800 6cqi/1 var(--font-body); text-align: center; padding-bottom: 1.6cqi; }
.bc-grid { flex: 1; display: grid; grid-template-columns: repeat(var(--n), 1fr); grid-auto-rows: 1fr; border-top: 1px solid var(--b-line); }
.bc-cell { display: grid; place-items: center; text-align: center; border-right: 1px solid var(--b-line); border-bottom: 1px solid var(--b-line); padding: 1cqi; font: 700 calc(var(--fs, 3.1) * 1cqi)/1.08 var(--font-body); overflow-wrap: anywhere; hyphens: auto; position: relative; min-height: 0; overflow: hidden; }
.bc-cell.lc { border-right: 0; }
.bc-cell.lr { border-bottom: 0; }
.bc-cell.num { font-size: 7.5cqi; font-family: var(--font-display); }
.bc-cell.free { background: var(--b-head); color: var(--b-head-ink); font-size: 3.4cqi; text-transform: uppercase; letter-spacing: .04em; }
.bc-cell.free .fm { display: block; font-size: 7cqi; line-height: 1; margin-bottom: .5cqi; }
.bc-cell.marked::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: var(--b-mark); opacity: .55; mix-blend-mode: multiply; }
.bc-cell.called-hit { background: color-mix(in srgb, var(--b-mark) 35%, transparent); }
.bc-foot { display: flex; justify-content: space-between; padding: 1.2cqi 2.5cqi; font: 600 2.2cqi/1 var(--font-body); color: color-mix(in srgb, var(--b-ink) 65%, transparent); border-top: 1px solid var(--b-line); }
.bcard .wm { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font: 800 7cqi/1 var(--font-body); color: rgba(0, 0, 0, .07); transform: rotate(-28deg); white-space: nowrap; text-transform: uppercase; letter-spacing: .08em; }

/* 16 themes */
.th-candycane { --b-head: #c62f3b; --b-head-ink: #fff; --b-line: #f0c9cc; --b-mark: #c62f3b; }
.th-candycane .bc-head { background: repeating-linear-gradient(-45deg, #c62f3b 0 14px, #d9505b 14px 28px); }
.th-evergreen { --b-head: #1f4d3a; --b-head-ink: #f3efe2; --b-line: #cfe0d6; --b-mark: #3f8f6a; }
.th-gingerbread { --b-head: #8a5228; --b-head-ink: #fff6ea; --b-bg: #fffaf3; --b-line: #ecd6bf; --b-mark: #d98b4a; }
.th-snowfall { --b-head: #4b74c9; --b-head-ink: #fff; --b-bg: #f7faff; --b-line: #d6e1f5; --b-mark: #8fb0f0; }
.th-snowfall .bc-head { background: radial-gradient(circle, rgba(255,255,255,.6) 0 1.5px, transparent 2px) 0 0 / 14px 14px, #4b74c9; }
.th-nordic { --b-head: #b8323c; --b-head-ink: #fff; --b-line: #e7d8d8; --b-mark: #b8323c; }
.th-nordic .bc-letters { background: repeating-linear-gradient(90deg, #b8323c 0 10px, #fff 10px 12px); color: #fff; }
.th-sweater { --b-head: #2a6b3f; --b-head-ink: #fff; --b-line: #dbe8d3; --b-mark: #d6403f; }
.th-sweater .bc-head { background: linear-gradient(135deg, #d6403f 25%, transparent 25%) -8px 0 / 16px 16px, linear-gradient(225deg, #d6403f 25%, transparent 25%) -8px 0 / 16px 16px, #2a6b3f; }
.th-cocoa { --b-head: #4a2e22; --b-head-ink: #f6e9dc; --b-bg: #fdf8f3; --b-line: #e7d6c7; --b-mark: #b07a55; }
.th-northpole { --b-head: #0f2742; --b-head-ink: #e9f1ff; --b-line: #d5deea; --b-mark: #7fb2e5; }
.th-poinsettia { --b-head: #a0182a; --b-head-ink: #ffe8a8; --b-line: #f1d0d4; --b-mark: #e3b341; }
.th-bells { --b-head: #b48a1f; --b-head-ink: #fff; --b-bg: #fffcf2; --b-line: #eedfb3; --b-mark: #d4a72c; }
.th-midnight { --b-head: #101b2d; --b-head-ink: #d4a72c; --b-line: #dcd9e3; --b-mark: #d4a72c; }
.th-champagne { --b-head: #d9c08a; --b-head-ink: #2a2113; --b-bg: #fffdf6; --b-line: #eee1c0; --b-mark: #c9a227; }
.th-champagne .bc-head { background: radial-gradient(circle, rgba(255,255,255,.7) 0 2px, transparent 2.5px) 0 0 / 12px 18px, #d9c08a; }
.th-disco { --b-head: #6c3bc4; --b-head-ink: #fff; --b-line: #e2d8f5; --b-mark: #c39af7; }
.th-disco .bc-head { background: conic-gradient(from 45deg, #6c3bc4, #c24bb5, #3b6fc4, #6c3bc4); }
.th-confetti { --b-head: #1c1c1c; --b-head-ink: #fff; --b-line: #e5e5e5; --b-mark: #f05a7e; }
.th-confetti .bc-head { background: radial-gradient(circle at 20% 30%, #f05a7e 0 3px, transparent 3.5px) 0 0 / 30px 30px, radial-gradient(circle at 70% 60%, #f5c442 0 3px, transparent 3.5px) 0 0 / 26px 26px, radial-gradient(circle at 40% 80%, #4fc3d9 0 3px, transparent 3.5px) 0 0 / 34px 34px, #1c1c1c; }
.th-countdown { --b-head: #c62f3b; --b-head-ink: #fff; --b-bg: #fff; --b-line: #d9d9d9; --b-mark: #101b2d; }
.th-countdown .bc-letters { background: #101b2d; }
.th-noir { --b-head: #000; --b-head-ink: #f3d77b; --b-line: #cfcfcf; --b-mark: #f3d77b; }
.th-noir .bc-head { background: linear-gradient(90deg, #000, #2b2b2b, #000); }

/* ---------- caller ---------- */
.caller { padding-block: var(--sp-5) var(--sp-7); }
.caller-head { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; align-items: end; margin-bottom: var(--sp-5); }
.caller-head h1 { font-size: var(--step-3); margin: 0; }
.caller-tools { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.switch { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; font-size: var(--step--1); }
.caller-main { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
.ball-stage { text-align: center; padding: var(--sp-6) var(--sp-4); background: var(--night); color: #fff; border-radius: 16px; }
.big-ball { width: min(240px, 60vw); aspect-ratio: 1; margin: 0 auto var(--sp-4); border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, #fff 0 56%, var(--accent) 57%); color: var(--ink); box-shadow: inset -12px -16px 0 rgba(0, 0, 0, .18), 0 20px 50px -20px rgba(0, 0, 0, .6); padding: 18%; }
.big-ball [data-ball-letter] { font: 800 1.6rem/1 var(--font-body); color: var(--accent); }
.big-ball [data-ball-text] { font: 800 clamp(1rem, .6rem + 1.4vw, 1.5rem)/1.1 var(--font-display); }
.big-ball.num [data-ball-text] { font-size: 4.2rem; }
.big-ball.pop { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.6) rotate(-30deg); } }
.called-count { color: rgba(255, 255, 255, .7); font-weight: 700; }
.caller-btns { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.ball-stage .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.45); }
.board { display: grid; gap: 4px; }
.board.nums { grid-template-columns: 2.2rem repeat(15, 1fr); }
.board.words { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.board .bl { display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; border-radius: 4px; }
.board .bn { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--card); border: 1px solid var(--line); font: 700 .9rem/1 var(--font-body); color: var(--muted); transition: background-color .3s, color .3s; }
.board.words .bn { aspect-ratio: auto; border-radius: 6px; padding: .5rem; font-size: .8rem; line-height: 1.2; text-align: center; min-height: 3rem; }
.board .bn.on { background: var(--gold); color: var(--night); border-color: var(--gold); }
.board .bn.last { background: var(--accent); color: #fff; border-color: var(--accent); }
.checker { margin-top: var(--sp-7); padding: var(--sp-5); background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.checker h2 { font-size: var(--step-2); }
.check-form { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: end; }
.check-form label { display: grid; gap: .3rem; font-weight: 700; font-size: .92rem; }
.check-result { margin-top: var(--sp-5); display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: var(--sp-5); align-items: start; }
.check-result:empty { display: none; }
.verdict { font: 800 var(--step-3)/1.1 var(--font-display); }
.verdict.win { color: var(--ok); } .verdict.no { color: var(--accent-dark); }
.page-caller.tv-on .site-head, .page-caller.tv-on .site-foot, .page-caller.tv-on .checker { display: none; }
.page-caller.tv-on .caller { width: 100%; max-width: none; padding: 2vw; min-height: 100vh; }

/* ---------- player ---------- */
.player { max-width: 520px; padding-block: var(--sp-5) var(--sp-7); display: grid; gap: var(--sp-4); }
.player .bcard .bc-cell { cursor: pointer; user-select: none; }
.player .kbd-hint { color: var(--muted); text-align: center; }
.shout { position: fixed; inset: 0; z-index: 200; background: var(--accent); color: #fff; display: grid; place-items: center; text-align: center; padding: 2rem; }
.shout[hidden] { display: none; }
.shout-big { font: 800 clamp(4rem, 20vw, 9rem)/1 var(--font-display); margin: 0 0 1rem; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }

/* ---------- kit ---------- */
.kit-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4); align-items: end; padding-block: var(--sp-5); }
.kit-bar > div { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: end; }
.kit-bar label { display: grid; gap: .3rem; font-weight: 700; font-size: .92rem; }
.kit-parts { border: 0; padding: 0; margin: 0; display: flex; gap: var(--sp-3); }
.kit-parts label { display: flex; gap: .3rem; align-items: center; }
.kit-banner { padding: var(--sp-4); background: var(--gold-soft); border-radius: 10px; margin-bottom: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between; }
.kit-banner p { margin: 0; }
.kit-pages { display: grid; gap: var(--sp-6); justify-items: center; padding-bottom: var(--sp-8); background: #e9e3d7; padding-top: var(--sp-6); }
.kpage { position: relative; background: #fff; color: #111; width: min(100% - 2rem, 816px); aspect-ratio: 8.5 / 11; padding: 48px 56px; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); overflow: hidden; display: flex; flex-direction: column; }
.kpage.a4 { aspect-ratio: 210 / 297; }
.kp-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--accent); padding-bottom: 10px; margin-bottom: 18px; }
.kp-head .logo-word { font-size: 1rem; }
.kp-kind { font: 800 .7rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.kpage h1 { font-size: 2rem; margin-bottom: 6px; }
.kp-facts { display: flex; gap: 14px; font-weight: 700; font-size: .85rem; color: #555; margin-bottom: 14px; }
.kpage h2 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 14px 0 6px; color: var(--pine); }
.kpage ol, .kpage ul { margin: 0; padding-left: 1.2rem; font-size: .9rem; line-height: 1.45; }
.kp-key { columns: 2; column-gap: 24px; font-size: .74rem !important; line-height: 1.35 !important; }
.kp-key li { break-inside: avoid; margin-bottom: 2px; }
.kp-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 8px; }
.kp-table th, .kp-table td { border: 1.5px solid #333; padding: 10px; text-align: center; }
.kp-table th { background: #f3ece0; }
.kp-table td:first-child { font-weight: 700; width: 18%; }
.kp-table tr.total td { font-weight: 800; background: #faf6ef; height: 54px; }
.kp-line { border-bottom: 1px solid #999; height: 30px; margin: 0; }
.kp-cards { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
.kp-card { border: 1.5px dashed #888; margin: -0.75px; padding: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; position: relative; }
.kp-card .t { font: 800 1rem/1.18 var(--font-display); }
.kp-card .t.emoji { font-size: 1.7rem; letter-spacing: .08em; }
.kp-card .a { position: absolute; left: 8px; right: 8px; top: 6px; font-size: .66rem; color: #666; transform: rotate(180deg); }
.kp-card .f { margin-top: 6px; font-size: .68rem; color: #8f2617; font-weight: 700; }
.kp-card .n { position: absolute; bottom: 4px; right: 6px; font-size: .6rem; color: #aaa; }
.kp-card .k { position: absolute; top: 5px; left: 6px; font: 800 .55rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.kp-foot { margin-top: auto; padding-top: 10px; font-size: .7rem; color: #777; display: flex; justify-content: space-between; }
.kp-wm { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font: 800 3.4rem/1 var(--font-body); color: rgba(198, 47, 59, .1); transform: rotate(-32deg); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.caller-sheet .kp-cards { grid-template-columns: repeat(5, 1fr); }
.caller-sheet .kp-card .t { font-size: .78rem; font-family: var(--font-body); font-weight: 700; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: #c9d6cf; padding: var(--sp-8) 0 var(--sp-5); margin-top: var(--sp-6); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-6); }
.site-foot .logo { color: #fff; margin-bottom: var(--sp-4); }
.site-foot .logo-ball circle:nth-child(2) { fill: var(--ink); }
.site-foot .logo-ball text { fill: #fff; }
.foot-brand p { max-width: 34ch; font-size: .95rem; }
.foot-h { font: 800 .76rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--sp-4); }
.site-foot a:not(.logo) { display: block; color: #e7efe9; text-decoration: none; padding: .25rem 0; font-size: .95rem; }
.site-foot a:not(.logo):hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; margin-top: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid rgba(255, 255, 255, .12); font-size: var(--step--1); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .bingo-tool { grid-template-columns: 1fr; }
  .b-controls { position: static; max-height: none; }
  .pt-box { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .game-body, .live-grid, .caller-main, .check-result { grid-template-columns: minmax(0, 1fr); }
  .game-side { position: static; }
  .variety-row { grid-template-columns: repeat(3, 1fr); }
  .variety-row li:nth-child(4) { border-left: 0; }
  .variety-row li:nth-child(n+4) { border-top: 2px solid var(--ink); }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat, .feat-0, .feat-1 { grid-column: span 1; }
  .seasons { grid-template-columns: 1fr; }
  .ways-grid { grid-template-columns: 1fr; }
  .way, .way + .way { padding: var(--sp-5) 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .ka-grid { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .board.nums { grid-template-columns: 1.8rem repeat(15, 1fr); gap: 2px; }
  .board .bn { font-size: .62rem; min-width: 0; }
  .board.words { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}
@media (max-width: 560px) {
  .tiers, .feat-grid { grid-template-columns: 1fr; }
  .variety-row { grid-template-columns: repeat(2, 1fr); }
  .variety-row li:nth-child(odd) { border-left: 0; }
  .variety-row li:nth-child(3) { border-left: 0; border-top: 2px solid var(--ink); }
  .variety-row li:nth-child(4) { border-left: 2px solid var(--ink); }
  .wyr { grid-template-columns: 1fr; }
  .cat-list { grid-template-columns: 1fr; }
  .sp-list { columns: 1; }
  .kpage { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .snow { display: none; }
}

/* ---------- print ---------- */
@media print {
  @page { margin: 0; }
  body { background: #fff; }
  .site-head, .site-foot, .no-print, .ad-slot, .skip, .b-controls, .kit-bar, .kit-banner, .tool-hero, .prose-block, .dlg { display: none !important; }
  main, .bingo-tool, .b-preview, .kit-pages, .b-sheets { display: block !important; padding: 0 !important; margin: 0 !important; background: none !important; width: auto !important; }
  .sheet, .kpage { box-shadow: none !important; width: 100% !important; max-width: none !important; aspect-ratio: auto !important; height: 100vh; page-break-after: always; break-after: page; margin: 0 !important; }
  .sheet { padding: 0.45in; }
  .kpage { padding: 0.5in 0.55in; }
  .b-more { display: none; }
  .bcard, .kp-card, .bc-head, .bc-letters, .bc-cell.free, .kp-table th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- card previews (mini picture of each game in play) ---------- */
.gprev { --gp-bg: var(--paper-2); --gp-ink: var(--ink); position: relative; display: block; height: 150px; border-radius: 8px; overflow: hidden; background: var(--gp-bg); isolation: isolate; font-variation-settings: var(--display-axes); }
.gprev::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7; background: radial-gradient(circle, #fff 0 1.6px, transparent 2px) 0 0 / 22px 22px, radial-gradient(circle, #fff 0 1.1px, transparent 1.5px) 11px 11px / 22px 22px; }
.gprev.gp-nye::before { background: radial-gradient(circle, rgba(212,167,44,.55) 0 1.6px, transparent 2px) 0 0 / 24px 24px, radial-gradient(circle, rgba(198,47,59,.35) 0 1.2px, transparent 1.6px) 12px 12px / 24px 24px; }
.gp-active { --gp-bg: #fbd9cf; --gp-c: #b53a26; }
.gp-creative { --gp-bg: #d9e6f8; --gp-c: #2c5aa0; }
.gp-trivia { --gp-bg: #e6dcf8; --gp-c: #6d43b0; }
.gp-party { --gp-bg: #fbe3bd; --gp-c: #a36507; }
.gp-icebreakers { --gp-bg: #cfeee0; --gp-c: #23774f; }
.gp-bingo-games { --gp-bg: #f8d6dc; --gp-c: var(--accent); }
.gprev > * { position: absolute; }
.gprev .gp-chip { right: 10px; top: 10px; font: 800 .72rem/1 var(--font-body); background: var(--ink); color: #fff; padding: .35rem .5rem; border-radius: 99px; letter-spacing: .04em; }
.gprev .gp-timer::before { content: "⏱ "; }
/* default: stacked prompt cards */
.gp-card { width: 62%; height: 108px; left: 19%; top: 21px; border-radius: 9px; box-shadow: 0 8px 18px -10px rgba(20,40,31,.55); }
.gp-back { background: var(--gp-c); color: rgba(255,255,255,.85); transform: rotate(-7deg) translate(-12px, 2px); display: grid; place-items: center; }
.gp-back .ic { width: 34px; height: 34px; }
.gp-front { background: #fff; color: var(--ink); transform: rotate(3deg) translate(10px, 0); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 10px 12px; font: 800 .98rem/1.15 var(--font-display); }
.gp-front small { position: absolute; top: 7px; left: 9px; font: 700 .62rem/1 var(--font-body); color: var(--muted); }
.gprev:hover .gp-front, .gcard:hover .gp-front, .feat:hover .gp-front { transform: rotate(0) translate(10px, -3px); transition: transform .25s; }
.gp-front, .gp-back { transition: transform .25s; }
.gcard:hover .gp-back, .feat:hover .gp-back { transform: rotate(-11deg) translate(-20px, 4px); }
/* reveal: TV screen with hidden answer */
.gp-tv { left: 12%; right: 12%; top: 16px; bottom: 16px; background: var(--night); border-radius: 10px; border: 4px solid #2a3550; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 8px 12px; text-align: center; }
.gp-q { color: #fff; font: 800 .92rem/1.15 var(--font-display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gp-q.emoji { font-size: 1.5rem; letter-spacing: .12em; }
.gp-ans { display: flex; gap: 6px; align-items: center; }
.gp-blur { background: var(--gold-soft); color: var(--ink); border-radius: 5px; padding: .2rem .5rem; font: 700 .72rem/1.2 var(--font-body); filter: blur(3.5px); max-width: 120px; white-space: nowrap; overflow: hidden; }
.gp-ans b { background: var(--accent); color: #fff; font: 800 .62rem/1 var(--font-body); padding: .3rem .45rem; border-radius: 4px; text-transform: uppercase; letter-spacing: .06em; }
.gp-score { right: 6px; top: 6px; display: flex; flex-direction: column; gap: 3px; }
.gp-score b { background: #fff; color: var(--ink); font: 800 .62rem/1 var(--font-body); padding: .25rem .35rem; border-radius: 4px; }
/* taboo */
.gp-taboo { gap: 7px; }
.gp-word { font: 800 1.15rem/1.1 var(--font-display); }
.gp-no { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.gp-no s { background: #fde3dc; color: #8f2617; font: 700 .64rem/1 var(--font-body); padding: .25rem .35rem; border-radius: 3px; }
/* would you rather */
.gp-wyr { inset: 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0; }
.gp-wyr .a, .gp-wyr .b { display: grid; place-items: center; text-align: center; padding: 8px; font: 800 .86rem/1.15 var(--font-display); border-radius: 9px; }
.gp-wyr .a { background: #dbe9ff; color: #1e4479; transform: rotate(-2deg); }
.gp-wyr .b { background: #ffe0dc; color: #8f2617; transform: rotate(2deg); }
.gp-wyr .or { align-self: center; z-index: 1; margin: 0 -10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: italic 800 .78rem/1 var(--font-display); }
/* left-right story */
.gp-story { width: 76%; left: 12%; top: 14px; height: 92px; transform: rotate(-1.5deg); font-size: .84rem; }
.gp-story em { font-style: normal; font: 800 .8rem/1 var(--font-body); padding: .1rem .25rem; border-radius: 3px; }
.gp-story .lr-LEFT { background: #dbe9ff; color: #1e4479; } .gp-story .lr-RIGHT { background: #ffe0dc; color: #8f2617; }
.gp-arrows { left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 14px; font-size: 1.2rem; align-items: center; }
.gp-arrows b { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 .95rem/1 var(--font-body); }
/* hourly schedule */
.gp-sched { left: 10%; right: 10%; top: 14px; display: grid; gap: 5px; }
.gp-sched span { display: flex; gap: 8px; align-items: center; background: rgba(255,255,255,.75); border-radius: 6px; padding: 5px 8px; font: 700 .74rem/1.15 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-sched span.now { background: var(--gold-soft); transform: scale(1.04); box-shadow: 0 4px 10px -6px rgba(0,0,0,.4); }
.gp-sched b { background: var(--night); color: var(--gold); padding: .2rem .35rem; border-radius: 3px; font-size: .64rem; flex: none; }
.gprev .gp-mid { top: auto; bottom: 10px; right: 50%; transform: translateX(50%); white-space: nowrap; background: var(--night); color: var(--gold); }
/* heads up */
.gp-phone { left: 50%; top: 16px; width: 168px; height: 84px; margin-left: -84px; border-radius: 16px; background: var(--night); padding: 7px 14px; display: grid; transform: rotate(-4deg); box-shadow: 0 10px 18px -10px rgba(0,0,0,.6); }
.gp-phone span { background: var(--gp-c); color: #fff; border-radius: 8px; display: grid; place-items: center; text-align: center; font: 800 .9rem/1.1 var(--font-display); padding: 4px; }
.gp-hu { left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.gp-hu b { font: 800 .7rem/1 var(--font-body); padding: .38rem .6rem; border-radius: 99px; }
.gp-hu .pass { background: #fff; color: var(--ink); } .gp-hu .got { background: var(--ok); color: #fff; }
/* scattergories letter */
.gp-letter { left: 12%; top: 50%; margin-top: -42px; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font: 800 2.4rem/1 var(--font-display); background: radial-gradient(circle, #fff 0 50%, var(--gp-c) 51%); box-shadow: inset -5px -7px 0 rgba(0,0,0,.15); }
.gp-cats { left: calc(12% + 100px); right: 8%; top: 50%; transform: translateY(-50%); display: grid; gap: 5px; }
.gp-cats span { background: #fff; border-radius: 5px; padding: 4px 7px; font: 700 .72rem/1.15 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* mafia role cards */
.gp-role { top: 20px; width: 74px; height: 106px; border-radius: 8px; display: grid; place-items: center; text-align: center; box-shadow: 0 8px 16px -8px rgba(0,0,0,.55); left: 50%; }
.gp-role.back { background: var(--night) radial-gradient(circle, rgba(212,167,44,.5) 0 1.5px, transparent 2px) 0 0 / 10px 10px; color: var(--gold); font: 800 1.6rem/1 var(--font-display); border: 3px solid #fff; }
.gp-role.r1 { transform: translateX(-118%) rotate(-12deg); } .gp-role.r2 { transform: translateX(-50%) rotate(-3deg) translateY(-4px); }
.gp-role.face { transform: translateX(18%) rotate(9deg); background: #fff; font: 800 .9rem/1.1 var(--font-display); align-content: center; gap: 4px; padding: 6px; }
.gp-role.face small { font: 700 .55rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
/* bingo */
.gp-bingo { left: 50%; top: 12px; width: 124px; margin-left: -62px; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 16px -8px rgba(0,0,0,.5); transform: rotate(-3deg); }
.gp-bhead { display: block; text-align: center; color: #fff; font: 800 .8rem/1 var(--font-body); letter-spacing: .3em; padding: 6px 0 5px; background: var(--accent); }
.gp-b-candy .gp-bhead { background: repeating-linear-gradient(-45deg, #c62f3b 0 8px, #d9505b 8px 16px); }
.gp-b-night .gp-bhead { background: #0f2742; } .gp-b-gold .gp-bhead { background: var(--night); color: var(--gold); }
.gp-bgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 4px; }
.gp-bgrid i { aspect-ratio: 1; background: var(--paper-2); border-radius: 2px; }
.gp-bgrid i.m { background: radial-gradient(circle, var(--gold) 0 55%, var(--paper-2) 57%); }
.gp-bgrid i.f { background: var(--accent); }
.gp-b-gold .gp-bgrid i.f { background: var(--night); }
.gp-ball { right: 14%; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; background: radial-gradient(circle, #fff 0 52%, var(--accent) 53%); box-shadow: inset -3px -4px 0 rgba(0,0,0,.15); transform: rotate(12deg); }
/* dark featured cards */
.feat-0 .gprev, .feat-1 .gprev { --gp-bg: rgba(255,255,255,.1); height: 170px; }
.feat-0 .gprev::before, .feat-1 .gprev::before { opacity: .35; }
@media (prefers-reduced-motion: reduce) { .gp-front, .gp-back { transition: none; } }

/* ---------- live host: automatic scoring flows ---------- */
.live { --team-a: var(--accent); --team-b: #2f7a5b; }
.team { border-radius: 8px; padding-inline: .5rem; margin-inline: -.5rem; transition: background .2s; }
.team.active { background: rgba(255, 255, 255, .1); box-shadow: inset 3px 0 0 var(--team-a); }
.team.t1.active { box-shadow: inset 3px 0 0 var(--team-b); }
.team-score.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); color: var(--gold); } }
.score-setup { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin: var(--sp-3) 0 .5rem; font-size: .85rem; color: rgba(255, 255, 255, .75); }
.score-setup select { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2); border-radius: 6px; padding: .2rem .3rem; margin-left: .25rem; }
.score-setup select option { color: var(--ink); }
.score-note { font-size: .78rem; color: rgba(255, 255, 255, .55); margin: var(--sp-3) 0 0; text-align: center; }
.turn-chip { padding: .35rem .7rem; border-radius: 999px; font: 800 .85rem/1 var(--font-body); color: #fff; background: var(--team-a); }
.turn-chip.t1 { background: var(--team-b); }
.turn-chip b { font-variant-numeric: tabular-nums; }
.turn-name { color: var(--team-a); }
.turn-name.t1 { color: var(--team-b); }
.stage-count.big { font: 800 clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem)/1 var(--font-body); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.stage-count.big.low { color: var(--accent); }
.stage-text.sm { font-size: clamp(1.3rem, 1rem + 1.4vw, 2.2rem); }
.stage-text.huge { font-size: clamp(2.2rem, 1.4rem + 4vw, 5rem); }
.stage { padding-top: calc(var(--sp-6) + .8rem); }
.turn-ctrl .btn-lg { min-width: 8.5rem; }
.got-list { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; margin: var(--sp-4) 0 0; max-width: 40rem; }
.got-list span { padding: .3rem .6rem; border-radius: 4px; background: var(--paper-2); color: var(--muted); font-size: .85rem; text-decoration: line-through; }
.got-list span.ok { background: #dcefe4; color: #17442f; text-decoration: none; font-weight: 700; }
.award { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; align-items: center; margin-top: var(--sp-4); }
.award > span { font-weight: 700; color: var(--muted); margin-right: .2rem; }
.aw { border: 0; border-radius: 8px; padding: .6rem 1rem; font: 800 .95rem/1 var(--font-body); cursor: pointer; color: #fff; background: var(--team-a); }
.aw.t1 { background: var(--team-b); }
.aw.none { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.aw:hover { filter: brightness(1.1); } .aw:disabled { opacity: .4; cursor: default; }
.stepper { display: flex; align-items: center; gap: .4rem; justify-content: center; margin-top: var(--sp-4); }
.stepper button { width: 2.8rem; height: 2.8rem; border: 0; border-radius: 50%; font: 800 1.2rem/1 var(--font-body); cursor: pointer; background: var(--paper-2); color: var(--ink); }
.stepper button:last-of-type { width: auto; border-radius: 999px; padding: 0 .9rem; font-size: 1rem; }
.stepper output { min-width: 3ch; text-align: center; font: 800 2.6rem/1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--team-a); }
.stepper.t1 output { color: var(--team-b); }
.st-name { font-weight: 800; min-width: 6rem; text-align: right; }
.steppers { display: grid; gap: .2rem; }
.final { display: flex; gap: var(--sp-5); justify-content: center; margin: var(--sp-4) 0 0; font-weight: 700; font-size: var(--step-1); }
.final .t0 b { color: var(--team-a); } .final .t1 b { color: var(--team-b); }
.letter-ball.sm { width: 84px; height: 84px; font-size: 2.6rem; margin-bottom: var(--sp-3); }
.pot { font: 800 1rem/1 var(--font-body); background: var(--gold-soft); padding: .35rem .7rem; border-radius: 999px; }
.feud { list-style: none; padding: 0; margin: var(--sp-4) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; width: min(100%, 38rem); }
.feud button { width: 100%; min-height: 3rem; border: 0; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .55rem .9rem; background: var(--night); color: #fff; font: 800 1rem/1.2 var(--font-body); text-align: left; }
.feud button .fnum { margin: 0 auto; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--gold); color: var(--night); }
.feud button.open { background: var(--gold-soft); color: var(--ink); cursor: default; }
.feud button.open b { color: var(--accent); }
.strikes { min-height: 1.6rem; margin: var(--sp-3) 0 0; font-weight: 700; }
.strikes span { color: var(--accent); font: 900 1.6rem/1 var(--font-body); margin: 0 .15rem; }
.strikes em { color: var(--muted); font-style: normal; }
@media (max-width: 600px) {
  .feud { grid-template-columns: 1fr; }
  .st-name { min-width: 0; }
  .turn-ctrl .btn-lg { min-width: 0; flex: 1; }
}
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; line-height: 1.2; max-width: 100%; } }
/* bilingual cards */
.lang-pick { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: rgba(255, 255, 255, .75); }
.lang-pick select { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 6px; padding: .35rem .5rem; font-weight: 700; }
.lang-pick select option { color: var(--ink); }
.stage-tr { margin-top: var(--sp-3); display: grid; gap: .35rem; }
.stage-tr p { margin: 0; font: 700 clamp(1.05rem, .9rem + .9vw, 1.7rem)/1.25 var(--font-body); color: var(--muted); }
.stage-tr span { display: inline-block; font: 800 .7rem/1 var(--font-body); letter-spacing: .08em; background: var(--paper-2); color: var(--ink); padding: .25rem .4rem; border-radius: 4px; margin-right: .5rem; vertical-align: .25em; }
.live.tv .stage-tr p { font-size: clamp(1.3rem, 1rem + 1.6vw, 2.6rem); }
.kp-card .tr { margin-top: 4px; font: 600 .74rem/1.2 var(--font-body); color: #555; }
.kp-card .tr b { font-size: .55rem; letter-spacing: .08em; color: var(--accent); margin-right: 2px; }
.kp-bi { margin: -2px 0 8px; font: 800 .75rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--pine); }
