/* Gaymes design system. Components are reused on every page; see templates/components. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* The page colour from the first paint, so moving between pages never flashes. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; color-scheme: light; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.4 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
@media (hover: hover) { a:hover { text-decoration-thickness: 2px; } }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
#main:focus { outline: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 650; line-height: 1.15; margin: 0 0 var(--space-3); letter-spacing: .005em; }
h1 { font-size: clamp(25px, 4.45vw, 36px); }
h2 { font-size: clamp(19px, 3.12vw, 23px); }
h3 { font-size: 16px; }
p { margin: 0 0 var(--space-3); }
.muted { color: var(--text-muted); }
.secondary { color: var(--text-secondary); }
.small { font-size: 13px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: var(--space-3); top: -60px; background: var(--accent); color: #FFFFFF; padding: var(--space-2) var(--space-3); border-radius: var(--radius-pill); z-index: 100; }
.skip-link:focus { top: var(--space-2); }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -0.2em; }

/* --vv-shift is 0px except on an iPhone that iOS has left thinking the keyboard is still open (site.js,
   23 Oct 2026). Everything pinned to the top or bottom of the screen adds it to its offset, so iOS can't lift
   the bottom bar halfway up the screen or push the header off the top while you scroll. */
/* The rainbow strip stays pinned above the header on every page, Chat included (Stuart, 15 Oct 2026). */
.rainbow-rule {
  position: sticky; top: var(--vv-shift, 0px); z-index: 21;
  height: 4px;
  background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6));
}
.preview-bar { background: var(--surface-raised); color: var(--text); text-align: center; font-size: 13px; padding: 8px var(--space-3); border-bottom: 1px solid var(--border); }

/* ---------- Layout ---------- */
.site-header {
  position: sticky; top: calc(4px + var(--vv-shift, 0px)); z-index: 20;
  background: #FFFFFF;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { max-width: var(--content-max); margin: 0 auto; padding: 10px var(--space-3); display: flex; align-items: center; gap: var(--space-3); }
.site-header__brand { display: inline-flex; align-items: center; flex-shrink: 0; }
/* The wordmark from 25 Oct 2026 is wide and short, so it's sized by height and kept slim on phones. */
.site-header__brand img { height: 32px; width: auto; display: block; }
.site-nav { display: none; margin-left: auto; gap: var(--space-1); }
.site-nav a { color: var(--text-secondary); text-decoration: none; font-weight: 600; padding: 10px 12px; border-radius: var(--radius-pill); white-space: nowrap; }
/* Six links with counts (Challenges, 16 Oct 2026) fit on one line on smaller desktops too. */
@media (max-width: 1179px) { .site-nav { gap: 0; } .site-nav a { padding: 10px 7px; font-size: 14px; } }
/* Small laptops: with the wider wordmark, a guest's Log in becomes an icon, as on phones, so everything fits. */
@media (min-width: 900px) and (max-width: 1099px) {
  .site-header__brand img { height: 30px; }
  .site-header__login { width: 44px; padding: 0; justify-content: center; }
  .site-header__login .site-header__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 900px) and (max-width: 999px) { .site-header__brand img { height: 28px; } .site-nav a { padding: 10px 6px; } }
.site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-raised); }
@media (hover: hover) { .site-nav a:hover { color: var(--text); background: var(--surface-raised); } }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--space-2); }
.site-header__button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill); color: var(--text); background: var(--surface-raised); text-decoration: none; font-weight: 600; white-space: nowrap; }
.site-header__button .icon { width: 20px; height: 20px; }
.site-header__button[aria-current="page"] { background: var(--accent); }
@media (hover: hover) { .site-header__button:hover { background: var(--accent); } }
.site-header__button--icon { width: 44px; padding: 0; justify-content: center; }
button.site-header__button { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.site-header__button--join, .btn.btn--join {
  /* A bright, saturated rainbow with a little gloss on top (Stuart, 14 Oct 2026: the old one looked dull).
     The dark halo round the words keeps them readable over the yellow and green. */
  background:
    linear-gradient(180deg, rgba(16, 24, 40, 0.195), rgba(16, 24, 40, 0) 52%, rgba(0, 0, 0, 0.1)),
    linear-gradient(100deg, var(--danger), var(--orange) 19%, #FFB800 37%, var(--success) 56%, var(--accent) 77%, var(--accent) 100%);
  color: #FFFFFF; font-weight: 750;
  text-shadow: 0 1px 1px rgba(16, 24, 40, 0.18), 0 0 6px rgba(16, 24, 40, 0.18), 0 0 14px rgba(16, 24, 40, 0.14);
  box-shadow: inset 0 0 0 1px rgba(51, 54, 61, 0.11), 0 6px 18px -8px rgba(63, 115, 221, 0.75), 0 6px 18px -8px rgba(63, 115, 221, 0.7);
}
@media (hover: hover) { .btn.btn--join:hover, .site-header__button--join:hover {
  background:
    linear-gradient(180deg, rgba(16, 24, 40, 0.195), rgba(16, 24, 40, 0) 52%, rgba(0, 0, 0, 0.1)),
    linear-gradient(100deg, var(--danger), var(--orange) 19%, #FFB800 37%, var(--success) 56%, var(--accent) 77%, var(--accent) 100%);
  filter: brightness(1.07) saturate(1.08);
} }
.chat-card__more { margin-top: var(--space-3); text-align: center; }
.site-header__avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
@media (max-width: 440px) {
  .site-header__inner { gap: 6px; }
  .site-header__actions { gap: 6px; }
  .site-header__brand img { height: 26px; }
  .site-header__button { padding: 0 11px; }
  .site-header__button--icon { padding: 0; }
  /* Log in is an icon on phones, so the header fits (Stuart, 14 Oct 2026). */
  .site-header__login { width: 44px; padding: 0; justify-content: center; }
  .site-header__login .site-header__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 380px) {
  .site-header__inner { padding-left: 12px; padding-right: 12px; }
  .site-header__brand img { height: 22px; }
  .site-header__button--join { padding: 0 9px; }
}
/* The smallest phones (320px wide) get a slimmer wordmark, so the header still fits on one line. */
@media (max-width: 350px) {
  .site-header__inner { gap: 4px; padding-left: 10px; padding-right: 10px; }
  .site-header__actions { gap: 4px; }
  .site-header__brand img { height: 18px; }
  .site-header__button--join { padding: 0 7px; }
}
/*
  Logged in on a phone, the header is an app bar like OMGay!'s (Stuart, 27 Oct 2026), at its sizes: no logo
  (that's in the footer now), the screen's name instead, and Instagram, Me and Settings as round buttons.
  Home, Play, Leaders and Explore get a big title, with a line under the bar once the page scrolls; every other
  screen gets a back arrow and a smaller title. The page's own heading says the same, so it's kept for screen
  readers only. Computers and visitors keep the logo header.
*/
.site-header__back, .site-header__title { display: none; }
@media (max-width: 899px) {
  .site-header--app .site-header__inner { gap: 4px; min-height: 56px; padding: 0 12px 0 6px; }
  .site-header--tab .site-header__inner { min-height: 64px; padding-left: 12px; }
  .site-header--tab { border-bottom-color: transparent; transition: border-color .2s var(--ease); }
  .site-header--tab.is-scrolled { border-bottom-color: var(--border); }
  .site-header--app .site-header__brand { display: none; }
  .site-header--app .site-header__back { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--text); -webkit-tap-highlight-color: transparent; }
  .site-header--app .site-header__back .icon { width: 28px; height: 28px; stroke-width: 2.2; }
  @media (hover: hover) { .site-header--app .site-header__back:hover { background: var(--surface-raised); } }
  .site-header--app .site-header__title { display: block; flex: 1; min-width: 0; margin: 0; overflow: hidden; color: var(--text); font: 600 16px/1.25 var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
  .site-header--tab .site-header__title { padding-left: 10px; font: 700 25px/1.15 var(--font-display); letter-spacing: -.01em; }
  .site-header--app .site-header__actions { flex: none; gap: 8px; margin-left: 0; }
  .site-header--app .site-header__button { width: 40px; height: 40px; min-height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
  .site-header--app .site-header__button .icon { width: 21px; height: 21px; }
  .site-header--app .site-header__avatar { width: 28px; height: 28px; }
  .site-header--app .site-header__me .site-header__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* Content starts just under the bar, as on OMGay!. Chat, a quiz and the Arcade games have bars of their own (page--app). */
  .site-header--app ~ .page:not(.page--app) { padding-top: var(--space-3); }
  .site-header--tab ~ .page:not(.page--app) { padding-top: var(--space-2); }
  .page--app.page--question { padding-top: var(--space-3); }
  .site-header--app ~ .page .page__header > h1, .site-header--app ~ .page .legal > h1:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header--app ~ .page .page__header:has(> h1:only-child) { margin: 0; }
  /* The bar's back arrow does the job of a page's own back link, and Arcade above a game's board name. */
  .site-header--app ~ .page .page__header > .mback, .site-header--app ~ .page .match > .mback,
  .site-header--app ~ .page .armada-lobby > .mback, .site-header--app ~ .page .sb-page > .mback, .site-header--app ~ .page .page__header > .arcade-card__kicker { display: none; }
}

/* The footer clears the bottom bar itself, so the page doesn't add room for it too (Stuart, 14 Oct 2026: a big empty gap above the footer). */
.page { max-width: 640px; margin: 0 auto; padding: var(--space-5) var(--space-3); }
/* The same gap above the footer on every page, whatever comes last (Stuart, 14 Oct 2026: tight on /play). */
.page > :last-child { margin-bottom: 0; }
.page--wide { max-width: var(--content-max); }
.page__header { margin-bottom: var(--space-4); }
.page__header p { color: var(--text-secondary); }

.tab-bar {
  position: fixed; inset: auto 0 calc(0px - var(--vv-shift, 0px)) 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #FFFFFF;
  border-top: 1px solid var(--border);
}
.tab-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--text-muted); text-decoration: none; font-size: 12px; font-weight: 600;
  min-height: var(--tap-min);
}
.tab-bar a .icon { width: 24px; height: 24px; }
.tab-bar a[aria-current="page"] { color: var(--text); }
.tab-bar a[aria-current="page"] .icon { stroke: var(--gold-ink); }
.tab-bar__icon { position: relative; display: grid; place-items: center; }
.tab-bar__rank { position: absolute; top: -6px; left: calc(100% - 6px); min-width: 22px; height: 18px; padding: 0 5px; border-radius: var(--radius-pill); display: grid; place-items: center; background: var(--rainbow-3); color: var(--text); font: 700 11px/1 var(--font-display); white-space: nowrap; box-shadow: 0 0 0 2px rgba(16, 24, 40, 0.18); }
.tab-bar__unread { position: absolute; top: -6px; left: calc(100% - 8px); min-width: 20px; height: 18px; padding: 0 5px; border-radius: var(--radius-pill); display: grid; place-items: center; background: var(--danger); color: #FFFFFF; font: 700 11px/1 var(--font-body); white-space: nowrap; box-shadow: 0 0 0 2px rgba(16, 24, 40, 0.18); }
/* Someone @mentioned you or replied: the count carries an @ (Stuart, 14 Oct 2026). */
.tab-bar__unread--at { display: flex; align-items: center; gap: 1px; }
.tab-bar__unread--at > span[aria-hidden], .nav-unread--at > span[aria-hidden] { font-weight: 800; }
.nav-unread { display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--danger); color: #FFFFFF; font: 700 12px/1.2 var(--font-body); }
.nav-rank { display: inline-block; margin-left: 4px; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--rainbow-3); color: var(--text); font: 700 12px/1.2 var(--font-display); }

.site-footer { position: relative; margin-top: 0; padding: var(--space-5) var(--space-3) calc(var(--nav-height) + env(safe-area-inset-bottom) + var(--space-5)); background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), #FFFFFF 40%); color: var(--text-muted); font-size: 13px; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)); opacity: .85; }
.site-footer__inner { max-width: var(--content-max); margin: 0 auto; display: grid; gap: var(--space-4); }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); }
.site-footer__brand { display: flex; align-items: center; gap: var(--space-3); color: var(--text-secondary); text-decoration: none; font-size: 14px; max-width: 30ch; }
.site-footer__brand img { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; }
.site-footer__logo { display: inline-flex; flex-shrink: 0; }
.site-footer__logo img { display: block; width: auto; height: 32px; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pill-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-pill); background: var(--surface-raised); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; transition: border-color .2s var(--ease), transform .2s var(--ease); }
@media (hover: hover) { .pill-link:hover { border-color: var(--accent); transform: translateY(-1px); } }
.pill-link .icon { width: 20px; height: 20px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--border); }
.site-footer__links a { color: var(--text-secondary); text-decoration: none; padding: var(--space-1) 0; }
@media (hover: hover) { .site-footer__links a:hover { color: var(--text); text-decoration: underline; } }
.site-footer__note { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0; max-width: 70ch; }
.age-badge { flex-shrink: 0; display: inline-grid; place-items: center; height: 24px; padding: 0 8px; border-radius: var(--radius-pill); border: 1.5px solid var(--format-video); color: var(--text); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.site-footer__note--omgay { align-items: center; }
.site-footer__note--omgay picture { flex: 0 0 32px; display: flex; justify-content: center; }
.site-footer__roundel { display: block; width: 32px; height: 32px; max-width: none; object-fit: contain; }
.site-footer__note--omgay a { color: var(--text); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(51, 54, 61, 0.35); text-underline-offset: 3px; }
.site-footer__copy { margin: 0; font-size: 13px; }
.site-footer__usps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--text-secondary); }
.site-footer__usps li { display: flex; align-items: center; gap: var(--space-2); }
.site-footer__usps a { color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(51, 54, 61, 0.35); text-underline-offset: 3px; }
@media (hover: hover) { .site-footer__usps a:hover { text-decoration-color: currentColor; } }
.site-footer__emoji { width: 22px; text-align: center; font-size: 15px; line-height: 1; flex-shrink: 0; }

/* The iPhone app (23 Oct 2026) has its own bottom bar and adds this class, so the site's bar gives way. It
   stays in the page, hidden, because the app copies its current tab and counts from it and taps its links.
   0px, not 0: every bottom offset is calc(var(--nav-height) + ...), which a plain 0 would break. */
html.gaymes-ios-tabs { --nav-height: 0px; }
html.gaymes-ios-tabs .tab-bar { visibility: hidden; }
/* The app's bar is Apple's Liquid Glass (27 Oct 2026): the page runs underneath it and the app sets --nav-height
   to the room it covers, so the Explore sheet keeps its last links clear of it too. */
html.gaymes-ios-tabs .explore { padding-bottom: calc(16px + var(--nav-height) + env(safe-area-inset-bottom)); }
/* A page of comments goes without the bar in the app (data-app-bar="off"), as Chat did, so the box to write in
   sits on the bottom edge as frosted glass to match Apple's, filling the home-bar strip, with a glassy rim on the
   box. The site's back arrow at the top takes the bar's place for leaving (29 Oct 2026). */
html.gaymes-ios-tabs:has(.tab-bar[data-app-bar="off"]) .tea-compose--docked { bottom: calc(0px - var(--vv-shift, 0px)); padding-bottom: calc(12px + env(safe-area-inset-bottom)); border-top-color: rgba(16, 24, 40, 0.06); background: rgba(255, 255, 255, 0.52); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); }
html.gaymes-ios-tabs:has(.tab-bar[data-app-bar="off"]) .tea-compose--docked:focus-within { padding-bottom: 12px; }
html.gaymes-ios-tabs:has(.tab-bar[data-app-bar="off"]) .tea-compose--docked textarea { border: 1px solid rgba(16, 24, 40, 0.105); background: rgba(16, 24, 40, 0.053); box-shadow: inset 0 1px 0 rgba(51, 54, 61, 0.07), 0 4px 14px rgba(16, 24, 40, 0.1); }

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .site-header__actions { margin-left: 0; }
  .tab-bar { display: none; }
  .site-footer { padding-bottom: var(--space-6); }
}

.grid { display: grid; gap: var(--space-4); }
@media (min-width: 720px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.stack > * + * { margin-top: var(--space-3); }
.row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
}
.card > :last-child { margin-bottom: 0; }
.card--raised { background: var(--surface-raised); }
.card--hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(63, 115, 221, 0.28), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(63, 115, 221, 0.22), transparent 55%), var(--surface);
}
.card__title { display: flex; align-items: center; gap: var(--space-2); }

.empty { text-align: center; padding: var(--space-5) var(--space-3); color: var(--text-secondary); }
.empty .icon { width: 40px; height: 40px; stroke: var(--text-muted); margin-bottom: var(--space-2); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin: 0; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface-raised); border-radius: 16px; padding: var(--space-3); margin: 0; }
.stat dt { color: var(--text-muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.stat dd { margin: 4px 0 0; font: 650 23px/1.1 var(--font-display); }

/* ---------- Buttons ---------- */
[hidden] { display: none !important; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: var(--tap-min);
  padding: 0 var(--space-4);
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #FFFFFF;
  font: 650 15px var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s var(--ease), background .15s var(--ease);
}
@media (hover: hover) { .btn:hover { background: var(--accent-hover); } }
.btn:active { transform: scale(.98); }
.btn--quiet { background: var(--surface-raised); }
@media (hover: hover) { .btn--quiet:hover { background: var(--accent); } }
.btn--danger { background: var(--danger); }
@media (hover: hover) { .btn--danger:hover { background: var(--danger); } }
.btn--block { display: flex; width: 100%; }
.btn--small { min-height: 40px; padding: 0 var(--space-3); font-size: 14px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.link-button { background: none; border: 0; padding: 0; color: var(--format-sound); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: var(--space-4); }
.field__after { margin: var(--space-2) 0 0; }
.field__label { display: block; font-weight: 650; margin-bottom: 6px; }
.field__hint { display: block; color: var(--text-muted); font-size: 13px; margin-top: 6px; }
/* Quiz Studio's name check (Stuart, 24 Oct 2026): names used before, and the next number in a series. */
.title-check { margin-top: 8px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-field); background: var(--surface-raised); color: var(--text-secondary); font-size: 13px; }
.title-check p { margin: 0; }
.title-check p + p { margin-top: 6px; }
.title-check .btn { display: flex; width: max-content; max-width: 100%; margin-top: 8px; }
.date-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.date-steps[hidden] { display: none; }
.date-steps__label { color: var(--text-muted); font-size: 13px; margin-right: 2px; }
@media (max-width: 479px) { .date-steps__label { flex-basis: 100%; } }
.field__error { display: flex; gap: 6px; align-items: flex-start; color: var(--danger); font-size: 13px; margin-top: 6px; font-weight: 600; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .slot input {
  width: 100%;
  min-height: 52px;
  padding: 0 var(--space-3);
  border: 1.5px solid rgba(16, 24, 40, 0.105);
  border-radius: var(--radius-field);
  background: var(--surface-raised);
  color: var(--text);
  font: 16px var(--font-body);
}
.field input:focus, .slot input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(63, 115, 221, 0.35); }
.field--invalid input { border-color: var(--danger); }
.field input.pin { letter-spacing: .5em; font: 600 21px ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; max-width: 200px; }
.field input.code { letter-spacing: .3em; font: 600 20px ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; max-width: 240px; }
.prefix-input { position: relative; }
.prefix-input span { position: absolute; left: var(--space-3); top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 16px; }
.prefix-input input { padding-left: 36px !important; }
.check { display: flex; gap: var(--space-3); align-items: flex-start; margin-bottom: var(--space-3); cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }
fieldset { border: 0; margin: 0 0 var(--space-4); padding: 0; }
legend { font-weight: 650; margin-bottom: var(--space-2); padding: 0; }
.choice { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3); border: 1.5px solid var(--border); border-radius: 16px; margin-bottom: var(--space-2); cursor: pointer; background: var(--surface-raised); }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(63, 115, 221, 0.2); }
.choice input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.choice > div > strong { display: block; }
.choice span { color: var(--text-secondary); font-size: 14px; }

/* ---------- Notices and badges ---------- */
.notice { display: flex; gap: var(--space-2); border-radius: 14px; padding: var(--space-3); margin-bottom: var(--space-4); }
.notice > :last-child { margin-bottom: 0; }
.notice--success { background: rgba(30, 138, 90, 0.12); border: 1px solid rgba(30, 138, 90, 0.6); }
.notice--error { background: rgba(211, 63, 73, 0.12); border: 1px solid rgba(211, 63, 73, 0.7); }
.notice--info { background: rgba(63, 115, 221, 0.12); border: 1px solid rgba(63, 115, 221, 0.6); }
.notice--warning { background: rgba(226, 112, 58, 0.12); border: 1px solid rgba(226, 112, 58, 0.6); }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; background: var(--surface-raised); color: var(--text-secondary); white-space: nowrap; }
.badge .icon { width: 15px; height: 15px; }
.badge--verified { background: rgba(63, 115, 221, 0.16); color: var(--accent-ink); }
.badge--success { background: rgba(30, 138, 90, 0.16); color: var(--success); }
.badge--warning { background: rgba(226, 112, 58, 0.16); color: var(--warning); }
.badge--danger { background: rgba(211, 63, 73, 0.16); color: var(--danger); }
.format-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-pill); color: var(--text); }
.format-chip--gk { background: var(--format-gk); } .format-chip--mini { background: var(--format-mini); }
.format-chip--picture { background: var(--format-picture); } .format-chip--sound { background: var(--format-sound); }
.format-chip--map { background: var(--format-map); } .format-chip--video { background: var(--format-video); }

/* ---------- Identity ---------- */
.identity { display: flex; align-items: center; gap: var(--space-3); }
.identity__avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font: 700 20px var(--font-display);
  background: conic-gradient(var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6), var(--rainbow-1));
  color: var(--text);
}
.identity__avatar span { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--text); display: grid; place-items: center; }
.identity__avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; display: block; }
.identity__avatar-wrap { position: relative; flex-shrink: 0; }
.identity__edit { position: absolute; right: -6px; bottom: -6px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-raised); border: 2px solid var(--bg); color: var(--text); }
.identity__edit .icon { width: 15px; height: 15px; }
@media (hover: hover) { .identity__edit:hover { background: var(--accent); } }
.avatar-preview { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: block; }
.identity__name { font: 650 18px/1.2 var(--font-display); word-break: break-word; }
.identity__meta { color: var(--text-muted); font-size: 13px; }

/* ---------- Key values, codes ---------- */
.key {
  font: 600 20px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .05em;
  word-break: break-all;
  background: var(--surface-raised);
  border-radius: 12px;
  padding: var(--space-3);
}
.copy-code { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-2); }
.copy-code .key { display: inline-block; padding: var(--space-2) var(--space-3); font-size: 18px; user-select: all; -webkit-user-select: all; word-break: normal; white-space: nowrap; }
.name-form { margin-top: var(--space-4); scroll-margin-top: 110px; }
.card[id] { scroll-margin-top: 90px; }
/* On the account page the pencils glide down to their section rather than jumping. */
@media (prefers-reduced-motion: no-preference) { html:has(#picture-title) { scroll-behavior: smooth; } }
.name-form__row { display: flex; gap: var(--space-2); }
.fold { border-top: 1px solid var(--border); scroll-margin-top: 110px; }
.fold > summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 56px; padding: var(--space-2) 0; cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.fold__action { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-3); border-radius: var(--radius-pill); background: var(--surface-raised); font-size: 14px; font-weight: 650; }
.fold[open] .fold__open, .fold:not([open]) .fold__close { display: none; }
.fold[open] > summary { margin-bottom: var(--space-2); }
.fold > form + form { margin-top: var(--space-3); }
.fold:last-child[open] { padding-bottom: 0; }
@media (hover: hover) { .fold > summary:hover .fold__action { background: var(--accent); } }
.card > h2 + .fold, .card > p + .fold { margin-top: var(--space-3); }
.name-form__row input { flex: 1; min-width: 0; }
.identity__rename { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: 4px; border-radius: 50%; background: var(--surface-raised); color: var(--text); vertical-align: middle; }
.identity__rename .icon { width: 14px; height: 14px; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); list-style: none; padding: 0; margin: 0 0 var(--space-3); }
.codes li { font: 600 16px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-raised); border-radius: 10px; padding: 10px; text-align: center; letter-spacing: .05em; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-2) var(--space-4); margin: 0 0 var(--space-3); }
dl.facts dt { color: var(--text-muted); }
dl.facts dd { margin: 0; word-break: break-word; }

/* ---------- Lists and tables ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: var(--space-3); align-items: center; justify-content: space-between; padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.list li:last-child { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 var(--space-3); }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: var(--space-3); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--surface-raised); color: var(--gold-ink); }

/* ---------- Rainbow progress (signature) ---------- */
.progress-rainbow { display: flex; gap: 6px; justify-content: center; margin: var(--space-4) auto; max-width: 320px; }
.progress-rainbow span { flex: 1; height: 10px; border-radius: var(--radius-pill); background: var(--surface-raised); transition: background .3s var(--ease); }
.progress-rainbow span.on:nth-child(6n+1) { background: var(--rainbow-1); }
.progress-rainbow span.on:nth-child(6n+2) { background: var(--rainbow-2); }
.progress-rainbow span.on:nth-child(6n+3) { background: var(--rainbow-3); }
.progress-rainbow span.on:nth-child(6n+4) { background: var(--rainbow-4); }
.progress-rainbow span.on:nth-child(6n+5) { background: var(--rainbow-5); }
.progress-rainbow span.on:nth-child(6n+6) { background: var(--rainbow-6); }
.progress-rainbow--left { margin-left: 0; }

/* ---------- Coming soon / holding ---------- */
.holding { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: var(--space-4) var(--space-3); }
.holding__logo { width: min(420px, 85vw); height: auto; }
.holding__title { font: 700 clamp(28px, 6vw, 40px)/1.15 var(--font-display); margin: var(--space-4) 0 var(--space-2); }
.holding__strap { font: 600 18px var(--font-display); color: var(--text-secondary); margin: 0 0 var(--space-3); }

/* ---------- Home ---------- */
.hero { text-align: center; padding: var(--space-4) 0 var(--space-5); }
.hero__logo { width: min(360px, 80vw); height: auto; }
.hero__art { display: block; width: min(330px, 72vw); height: auto; margin: 0 auto; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.hero__title { font-size: clamp(27px, 5.34vw, 43px); margin-top: var(--space-3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; margin-top: var(--space-4); }
.formats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
/* Always 1 x 2 x 2: General Knowledge across the top, then two by two, on every screen (Stuart,
   15 Oct 2026: three across on desktop left Map Quiz on its own). Names line up under the icons and
   the "open now" chips line up along the bottom. */

/* ---------- Legal ---------- */
.legal h2 { margin-top: var(--space-5); }
.legal li { margin-bottom: var(--space-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.format-tile--gk { --tile: var(--format-gk); } .format-tile--mini { --tile: var(--format-mini); }
.format-tile--picture { --tile: var(--format-picture); } .format-tile--sound { --tile: var(--format-sound); }
.format-tile--map { --tile: var(--format-map); } .format-tile--video { --tile: var(--format-video); }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Admin ---------- */
.admin-tag { margin-left: var(--space-2); font: 700 12px/1 var(--font-body); text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); vertical-align: middle; }
.admin-nav { display: flex; gap: var(--space-1); overflow-x: auto; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--border); max-width: var(--content-max); margin: 0 auto; }
.admin-nav a { padding: 8px 14px; border-radius: 999px; color: var(--text-secondary); text-decoration: none; white-space: nowrap; font-weight: 600; }
.admin-nav a[aria-current="page"] { background: var(--surface-raised); color: var(--text); }
@media (min-width: 900px) { .admin-nav { flex-wrap: wrap; overflow-x: visible; } }
.stats--four { grid-template-columns: repeat(2, 1fr); margin-bottom: var(--space-4); }
@media (min-width: 720px) { .stats--four { grid-template-columns: repeat(4, 1fr); } }
.search, .row input:not([type="checkbox"]), .row select { flex: 1 1 200px; min-height: 44px; padding: 8px 12px; border-radius: var(--radius-field); border: 1.5px solid var(--border); background: var(--surface-raised); color: var(--text); font: inherit; }
/* A file picker shrinks to fit a phone instead of running off the card (Studio's thumbnail upload). */
.row input[type="file"] { min-width: 0; max-width: 100%; }
.queue-item { padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.queue-item:last-child { border-bottom: 0; }
.qr { display: block; margin: var(--space-2) 0; border-radius: 12px; background: #FFFFFF; padding: 8px; }
.card h3 { margin-top: var(--space-4); }
.card form + form, .card form + h3 { margin-top: var(--space-3); }
.site-header__brand { text-decoration: none; }
.admin-home { margin-right: calc(var(--space-2) * -1); }

/* ---------- Quiz format tiles ---------- */
.format-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px;
  min-height: 150px; padding: var(--space-3); border-radius: 22px;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--tile) 45%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, color-mix(in srgb, var(--tile) 22%, var(--surface)) 0%, var(--surface-raised) 100%);
  border: 1px solid color-mix(in srgb, var(--tile) 40%, transparent);
  transition: transform .15s ease, box-shadow .15s ease;
}
@media (hover: hover) { .format-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--tile) 70%, transparent); } }
.format-tile__icon {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: var(--tile); color: #140F26; transform: rotate(-6deg);
  box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--tile) 90%, transparent);
}
.format-tile__icon .icon { width: 26px; height: 26px; stroke: #140F26; stroke-width: 2.2; }
.format-tile__name { margin-top: 8px; font: 650 17px/1.15 var(--font-display); color: var(--text); }
.format-tile__blurb { color: var(--text-secondary); font-size: 13px; line-height: 1.35; }
.format-tile { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.format-tile:focus-visible { outline: 3px solid var(--tile); outline-offset: 3px; }
.format-tile__open { position: relative; align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; line-height: 1.35; padding: 3px 10px; border-radius: 999px; background: var(--surface-raised); color: var(--text); white-space: nowrap; }
.format-tile__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(30, 138, 90, 0.22); }
.format-tile__go { position: absolute; top: var(--space-3); right: var(--space-3); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(16, 24, 40, 0.09); border: 1px solid color-mix(in srgb, var(--tile) 55%, transparent); transition: background .15s ease, transform .15s ease; }
.format-tile__go .icon { width: 20px; height: 20px; color: var(--text); }
.format-tile:focus-visible .format-tile__go { transform: scale(1.06); }
@media (hover: hover) { .format-tile:hover .format-tile__go { transform: scale(1.06); } }
@media (hover: hover) { .format-tile:hover .format-tile__go .icon { color: var(--accent); } }
.format-tile:active { transform: scale(.98); }
@media (max-width: 360px) { .format-tile__go { top: 10px; right: 10px; width: 32px; height: 32px; } .format-tile__go .icon { width: 17px; height: 17px; } .format-tile__open { padding: 3px 8px; gap: 5px; } }
.format-tile__bubble { position: absolute; right: -18px; bottom: -18px; width: 86px; height: 86px; border-radius: 50%; background: color-mix(in srgb, var(--tile) 18%, transparent); }
.formats > .format-tile:first-child { grid-column: 1 / -1; min-height: 120px; }
@media (prefers-reduced-motion: reduce) { .format-tile { transition: none; transform: none; }
@media (hover: hover) { .format-tile:hover { transition: none; transform: none; } } }

/* ---------- Phone number with country ---------- */
.phone { display: flex; gap: var(--space-2); }
.phone > input { flex: 1 1 auto; min-width: 0; }
.phone__country { position: relative; flex: 0 0 auto; }
.phone__country select { max-width: 9.5rem; height: 100%; }
.phone__display { display: none; }
.phone__country.is-enhanced .phone__display {
  display: flex; align-items: center; gap: 6px; height: 100%; min-height: 52px; padding: 0 30px 0 14px;
  border-radius: var(--radius-field); border: 1.5px solid var(--border); background: var(--surface-raised);
  font-size: 16px; white-space: nowrap; color: var(--text);
}
.phone__country.is-enhanced .phone__display::after { content: ""; position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: translateY(-70%) rotate(45deg); }
.phone__country.is-enhanced select { position: absolute; inset: 0; width: 100%; max-width: none; opacity: 0; cursor: pointer; }
.phone__country.is-enhanced:focus-within .phone__display { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(63, 115, 221, 0.35); }

/* ---------- Sign-up and login extras ---------- */
.perks { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: var(--space-2); }
.perks li { display: flex; gap: var(--space-2); align-items: flex-start; }
.perks .icon { flex-shrink: 0; width: 22px; height: 22px; stroke: var(--format-map); margin-top: 1px; }
.signin-nudge { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; padding: var(--space-3); margin-bottom: var(--space-4); border-radius: 16px; background: var(--surface-raised); }
.privacy-note { display: flex; gap: var(--space-2); align-items: flex-start; margin: var(--space-2) 0 var(--space-4); padding: var(--space-2) var(--space-3); border-radius: 12px; background: rgba(30, 138, 90, 0.1); border: 1px solid rgba(30, 138, 90, 0.45); font-size: 13px; line-height: 1.5; }
.privacy-note .icon { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--format-map); margin-top: 2px; }
.privacy-note strong { display: block; }
.form-footer { margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--border); text-align: center; }
.form-footer p { margin: 0 0 var(--space-2); }
.form-footer p:last-child { margin-bottom: 0; }
.join-card { text-align: center; }
.join-card .card__title { justify-content: center; }
.number-check { font: 650 23px/1.2 var(--font-display); letter-spacing: .02em; margin: var(--space-2) 0 var(--space-3); }

/* ---------- Community stats ---------- */
.stats--community { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .stats--community { grid-template-columns: repeat(4, 1fr); } }
.stats--community dt .icon { display: block; margin-bottom: 8px; }
.stats--community .stat .icon { width: 22px; height: 22px; stroke: var(--gold-ink); }
details.card > summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::after { content: "+"; font-size: 20px; color: var(--text-muted); }
details.card[open] > summary::after { content: "–"; }
details.card[open] > summary { margin-bottom: var(--space-3); }

/* ---------- Help and PIN reset ---------- */
.help-actions { display: grid; gap: var(--space-2); }
@media (min-width: 560px) { .help-actions { grid-template-columns: 1fr 1fr; } }
.btn--instagram { background: linear-gradient(45deg, var(--accent), var(--accent) 60%, var(--accent)); }
@media (hover: hover) { .btn--instagram:hover { background: linear-gradient(45deg, var(--accent), var(--accent) 60%, var(--accent)); } }
.btn--whatsapp { background: var(--success); }
@media (hover: hover) { .btn--whatsapp:hover { background: var(--success); } }
.btn .icon { width: 20px; height: 20px; }
.reset-code { font: 700 25px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; margin: var(--space-2) 0; user-select: all; }

/* ---------- Gaymes Verified explainer ---------- */
.verified { position: relative; display: inline-block; vertical-align: middle; }
.verified .badge { border: 0; font-family: inherit; cursor: pointer; }
@media (hover: hover) { .verified .badge:hover { background: rgba(63, 115, 221, 0.26); } }
.verified__tip { display: none; position: fixed; z-index: 60; top: 0; left: 0; width: min(300px, calc(100vw - 32px)); padding: var(--space-3); border-radius: 14px; background: var(--surface-raised); border: 1px solid rgba(63, 115, 221, 0.45); box-shadow: 0 12px 32px rgba(16, 24, 40, 0.18); color: var(--text); font: 400 13px/1.45 var(--font-body); white-space: normal; text-align: left; }
.verified__tip::before { content: ""; position: absolute; top: -7px; left: var(--arrow-x, 22px); width: 12px; height: 12px; background: var(--surface-raised); border-left: 1px solid rgba(63, 115, 221, 0.45); border-top: 1px solid rgba(63, 115, 221, 0.45); transform: rotate(45deg); }
.verified.is-open .verified__tip { display: block; }
.ext-link { display: inline-flex; align-items: center; gap: 8px; }
.ext-link .icon { width: 22px; height: 22px; }

/* ---------- Quizzes: lists and start page ---------- */
.center { text-align: center; }
.section-title { display: flex; align-items: center; gap: var(--space-2); font-size: 20px; margin: var(--space-5) 0 var(--space-3); }
.section-title .icon { stroke: var(--gold-ink); }
.stack-section > .quiz-card + .quiz-card { margin-top: var(--space-3); }
.quiz-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.chip { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--radius-pill); background: var(--surface-raised); border: 1px solid var(--border); color: var(--text-secondary); font: 700 12px/1 var(--font-body); letter-spacing: .02em; vertical-align: middle; }
.chip--ranked { background: rgba(255, 210, 63, 0.14); border-color: rgba(255, 210, 63, 0.5); color: var(--gold-ink); }
.chip--done { background: rgba(30, 138, 90, 0.14); border-color: rgba(30, 138, 90, 0.45); color: var(--success); }

.quiz-card { --fc: var(--format-gk); display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--fc) 16%, transparent), transparent 60%), var(--surface); border: 1px solid color-mix(in srgb, var(--fc) 30%, var(--border)); color: var(--text); text-decoration: none; transition: transform .2s var(--ease), border-color .2s var(--ease); }
/* Only where there's a real pointer, so a phone never spends the first tap on a hover (Stuart, 15 Oct 2026). */
@media (hover: hover) { .quiz-card:hover { transform: translateY(-2px); border-color: var(--fc); } }
.quiz-card__icon { flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--fc) 22%, transparent); }
.quiz-card__icon .icon { width: 26px; height: 26px; stroke: var(--fc); }
.quiz-card__icon--thumb { overflow: hidden; background: var(--surface-raised); box-shadow: 0 0 0 1px color-mix(in srgb, var(--fc) 45%, transparent); }
.quiz-card__icon--thumb img { width: 100%; height: 100%; object-fit: cover; }
.quiz-card__body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.quiz-card__format { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fc); }
.quiz-card__title { font: 600 16px/1.25 var(--font-display); }
.quiz-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--text-secondary); font-size: 13px; }
.quiz-card__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; }
.quiz-card__go { flex-shrink: 0; width: 28px; height: 28px; stroke: var(--text-muted); }
.chip--soon { background: rgba(226, 112, 58, 0.14); border-color: rgba(226, 112, 58, 0.5); color: var(--orange-ink); }

/* A stack of open quizzes of one format, like a deck of cards (Stuart, 14 Oct 2026). */
.quiz-stack { --fc: var(--format-gk); }
.quiz-stack__summary { display: block; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 18px; }
.quiz-stack__summary::-webkit-details-marker { display: none; }
.quiz-stack__deck { position: relative; display: block; padding-bottom: 10px; }
.quiz-stack--deep .quiz-stack__deck { padding-bottom: 18px; }
/* The cards underneath: a sliver of each peeks out below the top one. */
.quiz-stack__deck::before, .quiz-stack__ghost { content: ""; position: absolute; left: 12px; right: 12px; top: 10px; bottom: 0; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--fc) 12%, transparent), transparent 60%), var(--surface); border: 1px solid color-mix(in srgb, var(--fc) 28%, var(--border)); }
.quiz-stack__deck::before { display: none; left: 24px; right: 24px; top: 18px; opacity: .55; }
.quiz-stack--deep .quiz-stack__deck::before { display: block; }
.quiz-stack--deep .quiz-stack__ghost { bottom: 8px; }
.quiz-stack__top { position: relative; z-index: 1; box-shadow: 0 10px 22px rgba(16, 24, 40, 0.14); }
.quiz-stack__count { flex-shrink: 0; display: grid; place-items: center; min-width: 40px; height: 32px; padding: 0 10px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--fc) 22%, transparent); border: 1px solid color-mix(in srgb, var(--fc) 45%, transparent); color: var(--text); font: 700 13px/1 var(--font-body); }
@media (hover: hover) { .quiz-stack__summary:hover .quiz-stack__top { border-color: var(--fc); } }
.quiz-stack__head { display: none; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 44px; padding: 0 4px; }
.quiz-stack__fold { display: inline-flex; align-items: center; gap: 4px; color: var(--text-secondary); font-size: 13px; font-weight: 600; }
.quiz-stack__fold .icon { width: 18px; height: 18px; }
.quiz-stack[open] .quiz-stack__deck { display: none; }
.quiz-stack[open] .quiz-stack__head { display: flex; }
.quiz-stack__list { display: grid; gap: var(--space-3); }
.quiz-stack:not([open]) .quiz-stack__list { display: none; }
.quiz-stack__less { justify-self: center; }
.quiz-stack__less .icon { width: 18px; height: 18px; }
.section-lead { margin: calc(var(--space-2) * -1) 0 var(--space-3); }
.up-next { --fc: var(--format-gk); }
.quiz-card--mini, .play--mini, .result--mini { --fc: var(--format-mini); }
.quiz-card--picture, .play--picture, .result--picture { --fc: var(--format-picture); }
.quiz-card--sound, .play--sound, .result--sound { --fc: var(--format-sound); }
.quiz-card--map, .play--map, .result--map { --fc: var(--format-map); }
.quiz-card--video, .play--video, .result--video { --fc: var(--format-video); }

.quiz-hero { --fc: var(--format-gk); position: relative; overflow: hidden; padding: var(--space-5) var(--space-4); margin-bottom: var(--space-4); border-radius: var(--radius-card); background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--fc) 38%, transparent), transparent 60%), var(--surface); border: 1px solid color-mix(in srgb, var(--fc) 35%, var(--border)); }
.quiz-hero__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: color-mix(in srgb, var(--fc) 25%, transparent); transform: rotate(-6deg); margin-bottom: var(--space-3); }
.quiz-hero__icon .icon { width: 30px; height: 30px; stroke: var(--fc); }
.quiz-hero__thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; margin-bottom: var(--space-4); background: var(--surface-raised); box-shadow: 0 0 0 1px color-mix(in srgb, var(--fc) 45%, transparent), 0 12px 32px rgba(16, 24, 40, 0.14); }
.quiz-hero__format { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--space-2); margin: 0 0 var(--space-2); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fc); }
.quiz-facts { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: var(--space-3) 0 0; }
.quiz-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(16, 24, 40, 0.045); font-size: 13px; font-weight: 600; }
.quiz-facts .icon { width: 18px; height: 18px; }
/* How players rate a quiz and how hard it's been (Stuart, 14 Oct 2026). On the quiz page, never on the quiz cards. */
.quiz-verdict { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-2); margin-top: var(--space-3); }
.quiz-verdict__item { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 14px; border-radius: 16px; background: rgba(16, 24, 40, 0.045); }
.quiz-verdict__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.quiz-verdict__main { display: flex; align-items: center; gap: 8px; min-height: 28px; font-family: var(--font-display); font-size: 18px; line-height: 1.2; }
.quiz-verdict__main strong { font-weight: 600; }
.quiz-verdict__note { font-size: 13px; color: var(--text-secondary); }
.stars { display: block; flex: none; width: 92px; height: auto; }
.stars__empty { fill: rgba(51, 54, 61, 0.16); }
.difficulty { --dc: var(--success); }
.difficulty--medium { --dc: var(--rainbow-3); }
.difficulty--hard { --dc: var(--rainbow-2); }
.difficulty--fiendish { --dc: var(--rainbow-1); }
.difficulty strong { color: var(--dc); }
.difficulty__meter { display: inline-flex; align-items: flex-end; gap: 3px; height: 20px; flex: none; }
.difficulty__meter i { width: 6px; border-radius: 3px; background: rgba(16, 24, 40, 0.12); }
.difficulty__meter i:nth-child(1) { height: 8px; }
.difficulty__meter i:nth-child(2) { height: 12px; }
.difficulty__meter i:nth-child(3) { height: 16px; }
.difficulty__meter i:nth-child(4) { height: 20px; }
.difficulty__meter i.is-on { background: var(--dc); }
/* A themed special to win on this quiz: a rainbow-edged lozenge that explains itself on tap (Stuart, 13 Oct 2026). Steady, nothing moves. */
.special-badge { position: relative; margin-top: var(--space-3); }
.special-badge > summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px 6px 6px; border-radius: var(--radius-pill); border: 2px solid transparent; background: linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box, linear-gradient(135deg, var(--rainbow-1), var(--rainbow-3), var(--rainbow-5), var(--rainbow-6)) border-box; color: var(--text); font-weight: 700; font-size: 14px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.special-badge > summary::-webkit-details-marker { display: none; }
.special-badge > summary:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.special-badge__icon { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: conic-gradient(from 200deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6), var(--rainbow-1)); }
.special-badge__icon .icon { width: 18px; height: 18px; stroke: var(--bg); stroke-width: 2.2; }
.special-badge__kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.special-badge__info { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-muted); }
.special-badge__tip { max-width: 460px; margin: 10px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--surface-raised); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(16, 24, 40, 0.18); color: var(--text); font-size: 13px; line-height: 1.5; }
.rules { margin: 0; padding-left: 1.2em; color: var(--text-secondary); }
.rules li + li { margin-top: var(--space-2); }
.quiz-actions { display: grid; gap: var(--space-2); margin: var(--space-4) 0; }
.quiz-actions form { margin: 0; }
/* The big start button's face sits 7px proud of its base, so after a button above it it needs more room than the gap
   (Stuart, 21 Nov 2026: See the results and Play it for fun were touching). */
.quiz-actions > :not(:first-child) .start-btn, .quiz-actions > .start-btn:not(:first-child) { margin-top: 12px; }
.btn--big { min-height: 58px; font-size: 16px; }
.guest-note { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0 0 var(--space-2); padding: var(--space-3); border-radius: 14px; background: rgba(63, 115, 221, 0.1); border: 1px solid rgba(63, 115, 221, 0.3); color: var(--text); font-size: 14px; }
.guest-note .icon { flex-shrink: 0; width: 20px; height: 20px; stroke: var(--format-sound); margin-top: 2px; }

/* ---------- Question screen ---------- */
.play { --fc: var(--format-gk); max-width: 640px; margin: 0 auto; animation: play-in .35s var(--ease); }
@keyframes play-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.play__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-2); }
.play__quiz { margin: 0; font-size: 13px; font-weight: 600; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.play__count { display: flex; align-items: center; margin: 0; font-size: 13px; color: var(--text-secondary); }
/* The question counter, like a game's level marker (Stuart, 19 Oct 2026). The number lands with a bounce once. */
.play__q { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 14px 6px; border-radius: var(--radius-pill); background: linear-gradient(135deg, color-mix(in srgb, var(--fc) 30%, var(--surface)), var(--surface-raised)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 50%, transparent); }
.play__kicker { font: 700 11px/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--text-secondary); }
.play__num { display: inline-block; font: 700 20px/1 var(--font-display); color: var(--text); animation: count-in .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.play__of { margin-left: -3px; font: 600 14px/1 var(--font-display); color: var(--text-secondary); }
.play__q--cheer { background: linear-gradient(135deg, color-mix(in srgb, #FFD23F 26%, var(--surface)), var(--surface-raised)); box-shadow: inset 0 0 0 1px color-mix(in srgb, #FFD23F 55%, transparent); }
.play__q--cheer .play__kicker { color: var(--gold-ink); }
.play__final { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 10px; border-radius: var(--radius-pill); background: linear-gradient(100deg, var(--danger), var(--danger)); box-shadow: 0 6px 18px -6px rgba(211, 63, 73, 0.7); color: #FFFFFF; animation: count-in .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.play__final strong { font: 700 16px/1 var(--font-display); color: var(--text); }
.play__final .icon { width: 18px; height: 18px; stroke: var(--gold-ink); }
@keyframes count-in { from { transform: translateY(45%) scale(.55); } to { transform: none; } }
.progress-rainbow--play { max-width: none; margin: 0 0 var(--space-4); gap: 4px; align-items: center; }
.progress-rainbow--play span { height: 10px; }
/* Where you are: a wider marker that grows into place. The one you just answered fills with a bounce. */
.progress-rainbow--play span.now { flex: 2.4; background: #FFFFFF; box-shadow: 0 0 0 2px color-mix(in srgb, var(--fc) 60%, transparent), 0 0 12px color-mix(in srgb, var(--fc) 70%, transparent); animation: dot-now .55s var(--ease) both; }
.progress-rainbow--play span.just { animation: dot-just .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.progress-rainbow--many { gap: 3px; }
.progress-rainbow--many span { height: 8px; }
@keyframes dot-now { from { transform: scaleX(.35); } to { transform: none; } }
@keyframes dot-just { from { transform: scale(.4); } to { transform: none; } }
.progress-bar { display: block; width: 100%; height: 8px; margin: 0 0 var(--space-4); }
.progress-bar__track { fill: var(--surface-raised); }
/* The countdown (Stuart, 19 Oct 2026: "Everything should be high energy"). A stopwatch and a rainbow fuse that
   burns down to red, with the pressure building in stages that follow each question's own time limit. play.js
   sets --heat to the colour at the fuse's tip. Movement and one-way colour changes only: nothing blinks. */
.timer { --heat: var(--fc); display: flex; align-items: center; gap: 14px; margin-bottom: var(--space-4); }
.timer__clock { position: relative; flex: none; display: grid; place-items: center; width: 58px; height: 58px; margin: 6px 0 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--accent), var(--surface-raised)); box-shadow: inset 0 0 0 3px var(--heat), 0 0 18px -4px var(--heat); transition: background .4s var(--ease); }
/* The stopwatch's crown and side button. */
.timer__clock::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 8px; margin-left: -7px; border-radius: 4px 4px 1px 1px; background: var(--heat); }
.timer__clock::after { content: ""; position: absolute; top: 3px; right: 2px; width: 9px; height: 6px; border-radius: 2px; background: var(--heat); transform: rotate(45deg); }
.timer__num { display: block; font: 700 22px/1 var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; }
.timer__num.is-long { font-size: 16px; }
.timer__main { flex: 1; min-width: 0; }
.timer__mood { display: inline-block; margin: 0 0 7px; font: 700 15px/1.2 var(--font-display); letter-spacing: .01em; color: color-mix(in srgb, var(--heat) 60%, var(--text)); white-space: nowrap; transform-origin: 0 70%; }
.timer__track { position: relative; height: 14px; border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: inset 0 1px 3px rgba(16, 24, 40, 0.18); transition: box-shadow .4s var(--ease); }
.timer__fill { position: relative; width: 100%; min-width: 14px; height: 100%; border-radius: inherit; background-image: linear-gradient(90deg, var(--danger) 0 20%, var(--orange) 36%, #FFD23F 52%, var(--success) 68%, var(--accent) 84%, var(--accent)); background-size: var(--track, 100%) 100%; background-repeat: no-repeat; transition: opacity .4s var(--ease), filter .4s var(--ease); }
.timer__spark { position: absolute; top: 50%; right: -11px; width: 24px; height: 24px; margin-top: -12px; fill: var(--text); filter: drop-shadow(0 0 3px var(--heat)) drop-shadow(0 0 6px var(--heat)); animation: spark-spin 2.4s linear infinite; }
@keyframes spark-spin { to { transform: rotate(1turn); } }
/* Halfway, then tick tock: the number drops into place each second. */
.timer__num.is-tick { animation: timer-tick .35s var(--ease); }
@keyframes timer-tick { from { transform: translateY(-7px) scale(1.12); } to { transform: none; } }
.timer__mood.is-new { animation: mood-in .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes mood-in { from { transform: scale(.6) translateY(4px); } to { transform: none; } }
/* The final countdown: the stopwatch turns red and thumps every second, and the fuse glows. */
.timer.is-final .timer__clock { background: radial-gradient(circle at 35% 30%, var(--danger), var(--danger)); box-shadow: inset 0 0 0 3px rgba(51, 54, 61, 0.5), 0 0 24px -2px var(--danger); }
.timer.is-final .timer__clock::before, .timer.is-final .timer__clock::after { background: var(--danger); }
.timer.is-final .timer__mood { color: var(--danger-ink); }
.timer.is-final .timer__track { box-shadow: inset 0 1px 3px rgba(16, 24, 40, 0.18), 0 0 16px -3px rgba(211, 63, 73, 0.8); }
.timer__clock.is-thump { animation: clock-thump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes clock-thump { from { transform: scale(1.22); } to { transform: none; } }
.timer__clock.is-shake { animation: clock-shake .5s var(--ease); }
@keyframes clock-shake { 0%, 100% { transform: none; } 20% { transform: rotate(-12deg) scale(1.15); } 45% { transform: rotate(9deg) scale(1.1); } 70% { transform: rotate(-5deg); } }
.timer.is-up .timer__fill { opacity: 0; }
/* Locked in: everything stops where it was. */
.timer.is-stopped .timer__spark { animation-play-state: paused; }
.timer.is-stopped .timer__mood { color: color-mix(in srgb, var(--success) 70%, var(--text)); }
/* Red creeping in from the edges of the screen through the final countdown. It only ever gets stronger,
   then fades away once. Added by play.js. */
.timer-edge { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0; box-shadow: inset 0 0 70px 4px rgba(211, 63, 73, 0.5); transition: opacity .6s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .timer__spark, .timer__num, .timer__clock, .timer__mood, .play__num, .play__final, .progress-rainbow--play span { animation: none !important; }
}
.play__question { font-size: clamp(20px, 4.98vw, 27px); line-height: 1.25; margin: 0 0 var(--space-4); }
.answers { display: grid; gap: var(--space-3); margin: 0; }
.answer { display: flex; align-items: center; gap: var(--space-3); width: 100%; min-height: 64px; padding: var(--space-3); border-radius: 18px; border: 2px solid var(--border); background: var(--surface); color: var(--text); font: 600 16px/1.3 var(--font-body); text-align: left; cursor: pointer; transition: transform .12s var(--ease), border-color .15s var(--ease), background .15s var(--ease); }
@media (hover: hover) { .answer:hover { border-color: color-mix(in srgb, var(--fc) 60%, var(--border)); background: var(--surface-raised); } }
.answer:active { transform: scale(.985); }
.answer__letter { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: color-mix(in srgb, var(--fc) 22%, transparent); color: var(--fc); font: 700 15px/1 var(--font-display); }
.answers.is-locked .answer { cursor: default; opacity: .45; }
/* Tip of my tongue (Stuart, 24 Oct 2026). The two answers it ditches leave an empty dashed slot, so nothing
   jumps about, and fade out rather than blink. */
.tongue-form { display: flex; justify-content: center; margin: 0 0 var(--space-3); }
.tongue { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 18px 6px 12px; border: 2px solid color-mix(in srgb, var(--fc) 55%, var(--border)); border-radius: var(--radius-pill); background: color-mix(in srgb, var(--fc) 14%, var(--surface)); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: transform .12s var(--ease), background .15s var(--ease); }
@media (hover: hover) { .tongue:hover { background: color-mix(in srgb, var(--fc) 24%, var(--surface)); } }
.tongue:active { transform: scale(.97); }
.tongue .icon { width: 26px; height: 26px; color: var(--fc); }
.tongue__text { display: grid; line-height: 1.2; }
.tongue__text strong { font: 650 15px/1.2 var(--font-display); }
.tongue__text small { color: var(--text-secondary); font-size: 13px; }
.tongue-done { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 0 0 var(--space-3); color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.tongue-done .icon { width: 22px; height: 22px; color: var(--fc); }
.tongue-form.is-locked .tongue, .tongue:disabled { opacity: .45; cursor: default; }
.answer.is-gone { border-style: dashed; background: transparent; cursor: default; opacity: 1; transform: none; }
.answer.is-gone > * { visibility: hidden; }
.answer.is-going { transition: opacity .35s var(--ease), transform .35s var(--ease); opacity: 0; transform: scale(.96); }
@media (prefers-reduced-motion: reduce) { .answer.is-going { transition: none; } }
.answers.is-locked .answer.is-chosen { opacity: 1; border-color: var(--fc); background: color-mix(in srgb, var(--fc) 18%, var(--surface)); }
.answers.is-locked .answer.is-chosen .answer__letter { background: var(--fc); color: #FFFFFF; }
.answers.is-locked .answer.is-chosen.is-right { border-color: var(--success); background: color-mix(in srgb, var(--success) 24%, var(--surface)); }
.answers.is-locked .answer.is-chosen.is-wrong { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 24%, var(--surface)); }
.answers.is-locked .answer.is-right .answer__letter { background: var(--success); color: #FFFFFF; }
.answers.is-locked .answer.is-wrong .answer__letter { background: var(--danger); color: #FFFFFF; }
/* After a wrong pick or running out of time, the right answer lights up too, like Millionaire (Stuart, 14 Oct 2026). */
.answers.is-locked .answer.is-answer { opacity: 1; border-color: var(--success); background: color-mix(in srgb, var(--success) 24%, var(--surface)); }
.answers.is-locked .answer.is-answer .answer__letter { background: var(--success); color: #FFFFFF; }
.answers.is-locked .answer.is-answer::after, .answers.is-locked .answer.is-chosen.is-right::after { content: "\2713"; margin-left: auto; padding-left: var(--space-2); color: var(--success); font: 800 20px/1 var(--font-display); }
.answers.is-locked .answer.is-chosen.is-wrong::after { content: "\2717"; margin-left: auto; padding-left: var(--space-2); color: var(--danger); font: 800 20px/1 var(--font-display); }
/* Right or wrong straight after answering (Stuart's friend Santi, 13 Oct 2026). A steady colour, never a blink. */
form.is-right input[type="text"] { border-color: var(--success); }
form.is-wrong input[type="text"] { border-color: var(--danger); }
form.is-half input[type="text"] { border-color: #FFD23F; }
.verdict { margin: var(--space-3) 0 0; text-align: center; font: 700 18px/1.2 var(--font-display); }
.verdict--right { color: var(--success); }
.verdict--wrong { color: var(--danger); }
.verdict--half { color: var(--gold-ink); }
.streak-cheer { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px auto 0; width: fit-content; max-width: 100%; padding: 8px 14px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--orange) 18%, var(--surface)); border: 1px solid color-mix(in srgb, var(--orange) 45%, transparent); color: var(--orange-ink); font: 700 15px/1.25 var(--font-display); animation: streak-in .45s var(--ease) both; }
.streak-cheer .icon { flex: none; width: 20px; height: 20px; stroke: var(--orange-ink); }
.streak-cheer--hot { background: linear-gradient(90deg, color-mix(in srgb, var(--danger) 22%, var(--surface)), color-mix(in srgb, #FFD23F 22%, var(--surface))); border-color: color-mix(in srgb, #FFD23F 55%, transparent); color: var(--gold-ink); }
.streak-cheer--hot .icon { stroke: var(--gold-ink); }
.streak-cheer--lost { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--accent-ink); animation-name: streak-droop; }
.streak-cheer--lost .icon { stroke: var(--accent-ink); }
.streak-cheer--rare { background: color-mix(in srgb, var(--accent) 22%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent-ink); }
.streak-cheer--rare .icon { stroke: var(--accent-ink); }
.streak-cheer--tease { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 40%, transparent); color: var(--accent-ink); animation-name: streak-droop; }
.streak-cheer--tease .icon { stroke: var(--accent-ink); }
.streak-cheer--quick { background: color-mix(in srgb, var(--success) 16%, var(--surface)); border-color: color-mix(in srgb, var(--success) 45%, transparent); color: var(--success-ink); }
.streak-cheer--quick .icon { stroke: var(--success-ink); }
/* Eases in once, then holds still. Only movement and a single fade in, never a blink. */
@keyframes streak-in { from { opacity: 0; transform: translateY(6px) scale(.9); } 70% { transform: translateY(0) scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes streak-droop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(2px); } }
@media (prefers-reduced-motion: reduce) { .streak-cheer { animation: none; } }
.best-streak { display: flex; align-items: center; gap: 10px; margin: var(--space-3) 0 0; padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--orange) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--orange) 35%, transparent); font-size: 14px; color: var(--text-secondary); }
.best-streak__icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: color-mix(in srgb, var(--orange) 25%, transparent); }
.best-streak__icon .icon { width: 20px; height: 20px; stroke: var(--orange-ink); }
.best-streak__label { font-weight: 700; color: var(--orange-ink); }
.best-streak strong { font: 700 16px/1 var(--font-display); color: var(--text); }
.streak-chip { display: inline-flex; align-items: center; gap: 3px; margin-right: 6px; padding: 2px 8px 2px 6px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--orange) 18%, var(--surface)); color: var(--orange-ink); font: 700 13px/1.4 var(--font-display); vertical-align: 1px; }
.streak-chip .icon { width: 14px; height: 14px; stroke: var(--orange-ink); }
.verdict__answer { display: block; margin-top: 6px; color: var(--text); font: 600 16px/1.35 var(--font-body); }
.play__note { margin-top: var(--space-4); }

/* ---------- Results ---------- */
.result { --fc: var(--format-gk); text-align: center; padding: var(--space-5) var(--space-4); margin-bottom: var(--space-4); border-radius: var(--radius-card); background: radial-gradient(100% 80% at 50% 0%, color-mix(in srgb, var(--fc) 30%, transparent), transparent 70%), var(--surface); border: 1px solid color-mix(in srgb, var(--fc) 30%, var(--border)); animation: play-in .45s var(--ease); }
.result__quiz { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 var(--space-3); font-weight: 600; color: var(--text-secondary); }
.result__ring { position: relative; width: 170px; height: 170px; margin: 0 auto var(--space-3); }
.result__ring svg { width: 100%; height: 100%; }
.result__ring-bg { fill: none; stroke: var(--surface-raised); stroke-width: 12; }
.result__ring-fill { fill: none; stroke-width: 12; stroke-linecap: round; }
.result__score { position: absolute; inset: 0; display: grid; place-content: center; font-family: var(--font-display); }
.result__score strong { font-size: 43px; line-height: 1; }
.result__score span { color: var(--text-secondary); font-size: 15px; }
.result__message { font-size: clamp(20px, 4.45vw, 25px); margin: 0 0 var(--space-4); }
.result__stats { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-3); margin: 0 0 var(--space-3); }
.result__stats div { min-width: 104px; padding: var(--space-3); border-radius: 16px; background: var(--surface-raised); }
.result__stats dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.result__stats dd { margin: 4px 0 0; font: 600 23px/1 var(--font-display); }

.admin-questions { padding-left: 1.4em; }
.admin-questions > li { margin-bottom: var(--space-3); }
.admin-questions > li > p { margin: 0 0 4px; font-weight: 600; }
.admin-questions ul { margin: 0; padding-left: 1.2em; color: var(--text-secondary); }
.admin-questions li.is-correct { color: var(--text); }
.gap { height: var(--space-3); }
.featured-note { margin: var(--space-3) 0 0; }
.more-quizzes { margin-top: var(--space-3); }
.more-quizzes summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-4); border-radius: var(--radius-pill); background: var(--surface-raised); border: 1px solid var(--border); font-weight: 600; cursor: pointer; list-style: none; }
.more-quizzes summary::-webkit-details-marker { display: none; }
.more-quizzes[open] summary { margin-bottom: var(--space-3); }
.result .chip { color: var(--text); }
/* Guests: a slimmer score card so the sign-up sits nearer the top (Stuart, 13 Oct 2026). Ring beside the message. */
.result--compact { display: grid; grid-template-columns: 92px 1fr; column-gap: var(--space-3); align-items: center; padding: var(--space-4) var(--space-3); }
.result--compact > * { grid-column: 1 / -1; }
.result--compact > .result__ring { grid-column: 1; width: 92px; height: 92px; margin: 0; }
.result--compact > .result__message { grid-column: 2; margin: 0; text-align: left; font-size: 17px; }
.result--compact .result__quiz { margin-bottom: var(--space-2); }
.result--compact .result__score strong { font-size: 27px; }
.result--compact .result__score span { font-size: 13px; }
.result--compact .result__stats { flex-wrap: nowrap; gap: var(--space-2); margin: var(--space-3) 0 0; }
.result--compact .result__stats div { flex: 1; min-width: 0; padding: var(--space-2); }
.result--compact .result__stats dt { font-size: 10px; }
.result--compact .result__stats dd { font-size: 18px; }
.result--compact .podium-note, .result--compact .celebrate-replay { margin-top: var(--space-2); margin-bottom: 0; }
.result__stats dt { color: var(--text-secondary); }
@media (prefers-reduced-motion: reduce) { .play, .result { animation: none; } }
/* Phase 4: picture, sound and map questions. */
.timer.is-waiting { --heat: var(--text-muted); }
.timer.is-waiting .timer__fill { opacity: .4; filter: saturate(0); }
.timer.is-waiting .timer__spark { display: none; }
.timer.is-waiting .timer__mood { color: var(--text-secondary); font-size: 14px; }
.typed { margin: 0; }
.typed__fields { border: 0; padding: 0; margin: 0; min-width: 0; }
.typed__fields[disabled] { opacity: .5; }
.typed .field input { font-size: 16px; min-height: 56px; }
.typed__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.typed__actions [data-lock] { flex: 1 1 200px; }

/* The calculator on a Maths Mini (Stuart, 21 Nov 2026: "they type the answer on a calculator ... and the question
   appears on the calculator"). A chunky pastel calculator in the Maths look's sky blue: the question on a mint screen,
   white keys with a lip, a rose C, a peach delete and a tall lemon = that locks it in. Keys press down a touch when
   tapped (no flashing, and still with reduced motion). It fits an iPhone screen with the timer above it. */
.play--calc .timer { margin-bottom: var(--space-3); }
.calc { margin: 0 auto; max-width: 400px; }
.calc__body { position: relative; padding: 10px 12px 14px; border-radius: 28px; background: var(--pop-sky); background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 38%); box-shadow: inset 0 0 0 2px var(--pop-sky-edge), 0 6px 0 var(--pop-sky-edge), 0 14px 26px rgba(22, 60, 130, 0.16); }
.calc__top { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 8px; }
.calc__brand { font: 700 14px/1 var(--font-display); letter-spacing: .06em; color: var(--pop-sky-ink); }
.calc__solar { display: flex; gap: 2px; padding: 3px; border-radius: 6px; background: var(--pop-sky-ink); }
.calc__solar i { width: 13px; height: 9px; border-radius: 2px; background: linear-gradient(180deg, #4C5A86, #2D365A); }
.calc__screen { padding: 10px 14px 4px; border-radius: 16px; background: var(--mint); box-shadow: inset 0 0 0 2px var(--mint-edge), inset 0 4px 0 rgba(29, 106, 76, 0.12); }
.calc__q { margin: 0; font: 600 clamp(18px, 4.8vw, 22px)/1.25 var(--font-display); color: var(--mint-ink); overflow-wrap: anywhere; }
.calc__entry { display: block; width: 100%; height: auto; min-height: 0; margin: 2px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; text-align: right; font: 700 42px/1.1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--mint-ink); caret-color: transparent; outline: none; }
.calc__entry::placeholder { color: var(--mint-ink); opacity: .35; }
.calc__entry.is-long { font-size: 32px; line-height: 1.45; }
.calc__entry.is-longer { font-size: 25px; line-height: 1.85; }
.calc__screen:focus-within { box-shadow: inset 0 0 0 2px var(--mint-edge), inset 0 4px 0 rgba(29, 106, 76, 0.12), 0 0 0 3px var(--accent); }
.calc__hint { margin: 10px 4px 0; padding: 8px 12px; border-radius: 12px; background: var(--surface); }
.calc__keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.calc__key { display: grid; place-items: center; min-height: 52px; padding: 0; border: 0; border-radius: 16px; background: var(--surface); color: var(--text); font: 600 27px/1 var(--font-display); font-variant-numeric: tabular-nums; cursor: pointer; box-shadow: inset 0 0 0 2px var(--pop-sky-edge), 0 4px 0 var(--pop-sky-edge); -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.calc__key .icon { width: 28px; height: 28px; }
.calc__key:active, .calc__key.is-pressed { transform: translateY(3px); box-shadow: inset 0 0 0 2px var(--pop-sky-edge), 0 1px 0 var(--pop-sky-edge); }
.calc__key:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.calc__key--clear { background: var(--pop-rose); color: var(--pop-rose-ink); box-shadow: inset 0 0 0 2px var(--pop-rose-edge), 0 4px 0 var(--pop-rose-edge); }
.calc__key--clear:active, .calc__key--clear.is-pressed { box-shadow: inset 0 0 0 2px var(--pop-rose-edge), 0 1px 0 var(--pop-rose-edge); }
.calc__key--back { background: var(--pop-peach); color: var(--pop-peach-ink); box-shadow: inset 0 0 0 2px var(--pop-peach-edge), 0 4px 0 var(--pop-peach-edge); }
.calc__key--back:active, .calc__key--back.is-pressed { box-shadow: inset 0 0 0 2px var(--pop-peach-edge), 0 1px 0 var(--pop-peach-edge); }
.calc__key--side { background: var(--sky); color: var(--sky-ink); }
.calc__key--equals { grid-column: 4; grid-row: span 2; align-content: center; gap: 6px; background: var(--pop-lemon); color: var(--pop-lemon-ink); box-shadow: inset 0 0 0 2px var(--pop-lemon-edge), 0 4px 0 var(--pop-lemon-edge); }
.calc__key--equals:active, .calc__key--equals.is-pressed { box-shadow: inset 0 0 0 2px var(--pop-lemon-edge), 0 1px 0 var(--pop-lemon-edge); }
.calc__eq { font: 700 40px/1 var(--font-display); }
.calc__lock { font: 700 12px/1.1 var(--font-body); text-align: center; padding: 0 4px; }
.calc.is-locked .calc__key { cursor: default; }
.calc__pass { display: flex; justify-content: center; margin-top: var(--space-3); }
@media (hover: hover) { .calc__key:hover { filter: brightness(1.04); } }
@media (max-width: 359px) { .calc__key { font-size: 24px; } .calc__entry { font-size: 38px; } }
/* A short phone screen: smaller keys, so the whole calculator fits under the timer. */
@media (max-height: 760px) { .calc__key { min-height: 46px; } .calc__keys { gap: 8px; margin-top: 10px; } .calc__top { padding-bottom: 6px; } }
@media (max-height: 640px) { .calc__top { display: none; } .calc__body { padding-top: 12px; } .calc__key { min-height: 42px; } .calc__entry { font-size: 36px; } }
.typed__actions [data-pass] { min-height: 58px; }
.typed__actions [data-pass].is-armed { background: color-mix(in srgb, var(--warning) 26%, var(--surface-raised)); color: var(--text); }
.typed__actions .btn[disabled] { opacity: .5; cursor: not-allowed; }
.typed.is-locked .typed__actions .btn { opacity: .55; pointer-events: none; }
.typed.is-locked .typed__actions .btn.is-chosen { opacity: 1; }
.typed [data-lock] { background: var(--fc); color: #0D0A1A; }
@media (hover: hover) { .typed [data-lock]:hover { background: color-mix(in srgb, var(--fc) 85%, #FFFFFF); } }
.shake { animation: shake .4s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* Picture stage: a square frame under six pride-coloured shutter slats. Fixed by aspect-ratio, so nothing jumps when it loads. */
:root { --rainbow-edge: linear-gradient(135deg, var(--danger), var(--orange) 25%, #FFD23F 40%, var(--success) 55%, var(--accent) 75%, var(--accent) 90%, var(--accent)); --rec: var(--danger); }
.stage-wrap, .deck-wrap { margin: 0 auto var(--space-3); padding: 3px; border-radius: 26px; background: color-mix(in srgb, var(--fc) 30%, var(--border)); transition: box-shadow .3s; }
.stage-wrap { width: min(100%, 60svh); }
.stage-wrap.is-live, .deck-wrap.is-live { background: var(--rainbow-edge); background-size: 300% 300%; animation: rb-shift 4s ease infinite; box-shadow: 0 0 40px rgba(63, 115, 221, 0.25); }
@keyframes rb-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.stage { position: relative; aspect-ratio: 1; border-radius: 23px; overflow: hidden; background: var(--bg); isolation: isolate; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.stage.is-open .stage__img { opacity: 1; }
.stage.is-revealing .stage__img { animation: settle .85s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.shutter-form { position: absolute; inset: 0; z-index: 3; margin: 0; }
.shutter { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--bg); color: var(--text); font: inherit; cursor: pointer; overflow: hidden; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.shutter:focus-visible { outline: 3px solid #FFFFFF; outline-offset: -8px; }
.shutter__slat { position: absolute; left: 0; width: 100%; height: calc(100% / 6 + 1px); top: calc(var(--i) * 100% / 6); background: linear-gradient(180deg, var(--c1), var(--c2)); box-shadow: inset 0 -2px 0 rgba(16, 24, 40, 0.14), inset 0 1px 0 rgba(51, 54, 61, 0.09); }
.shutter__slat:nth-child(1) { --i: 0; --c1: var(--danger); --c2: var(--danger); }
.shutter__slat:nth-child(2) { --i: 1; --c1: var(--orange); --c2: var(--orange); }
.shutter__slat:nth-child(3) { --i: 2; --c1: #F2C62F; --c2: #C99D12; }
.shutter__slat:nth-child(4) { --i: 3; --c1: var(--success); --c2: var(--success); }
.shutter__slat:nth-child(5) { --i: 4; --c1: var(--accent); --c2: var(--accent); }
.shutter__slat:nth-child(6) { --i: 5; --c1: var(--accent); --c2: var(--accent); }
.shutter::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(16, 24, 40, 0.026) 0 2px, transparent 2px 7px), radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.45) 100%); }
.shutter__plate, .record__plate { position: absolute; left: 50%; top: 50%; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 80%; padding: 16px 24px; transform: translate(-50%, -50%); border: 1.5px solid rgba(16, 24, 40, 0.188); border-radius: 22px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(16, 24, 40, 0.18); text-align: center; transition: opacity .2s, transform .2s cubic-bezier(.34, 1.4, .64, 1); }
@media (hover: hover) { .shutter:not(:disabled):hover .shutter__plate, .record:not(:disabled):hover .record__plate { transform: translate(-50%, -50%) scale(1.04); } }
.shutter:not(:disabled):active .shutter__plate, .record:not(:disabled):active .record__plate { transform: translate(-50%, -50%) scale(.96); }
.shutter__icon, .record__icon { width: 34px; height: 34px; color: var(--fc); }
.shutter__text, .record__text { font: 650 clamp(24px, 7vw, 32px)/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.shutter__sub, .record__sub { font-size: 13px; font-weight: 650; color: rgba(51, 54, 61, 0.75); line-height: 1.35; }
.record__sub:empty { display: none; }
.shutter:disabled { cursor: progress; }
.shutter:disabled .shutter__icon { animation: pulse-icon 1.2s ease-in-out infinite; }
@keyframes pulse-icon { 50% { opacity: .4; } }
.stage.is-revealing .shutter { background: transparent; pointer-events: none; }
.stage.is-revealing .shutter::after { opacity: 0; transition: opacity .15s; }
.stage.is-revealing .shutter__plate { opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .12s, transform .12s; }
.stage.is-revealing .shutter__slat { animation: slat-l .46s cubic-bezier(.7, 0, .25, 1) both; animation-delay: calc(var(--i) * 26ms); }
.stage.is-revealing .shutter__slat:nth-child(even) { animation-name: slat-r; }
@keyframes slat-l { to { transform: translateX(-104%); } }
@keyframes slat-r { to { transform: translateX(104%); } }
.stage.is-open:not(.is-revealing) .shutter-form { display: none; }
.stage__vf { position: absolute; inset: 0; z-index: 5; pointer-events: none; --vf-inset: 14px; --vf-size: 26px; }
.stage__vf i { position: absolute; width: var(--vf-size); height: var(--vf-size); border: 0 solid rgba(16, 24, 40, 0.66); filter: drop-shadow(0 1px 2px rgba(16, 24, 40, 0.18)); }
.stage__vf i:nth-child(1) { top: var(--vf-inset); left: var(--vf-inset); border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; }
.stage__vf i:nth-child(2) { top: var(--vf-inset); right: var(--vf-inset); border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 6px; }
.stage__vf i:nth-child(3) { bottom: var(--vf-inset); left: var(--vf-inset); border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 6px; }
.stage__vf i:nth-child(4) { bottom: var(--vf-inset); right: var(--vf-inset); border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 6px; }
/* The stopwatch sits top left, where the first corner bracket would be, so it never covers a face. */
.stage .stage__vf i:nth-child(1) { display: none; }

/* The stopwatch chip: a recording light and the time so far, always top left. */
.rec { position: absolute; z-index: 7; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
.rec.is-shown { opacity: 1; transform: none; }
.rec.is-hidden { display: none; }
.rec__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 8px var(--rec); animation: rec-blink 1s steps(1) infinite; }
.rec.is-stopped .rec__dot { background: var(--success); box-shadow: 0 0 8px var(--success); animation: none; }
@keyframes rec-blink { 50% { opacity: .2; } }

/* Sound deck: a spinning record with a rainbow ring that fills as the clip plays. */
.deck-wrap { width: min(100%, 520px); }
.deck { position: relative; display: flex; flex-direction: column; align-items: center; padding: 56px 18px 16px; border-radius: 23px; overflow: hidden; background: radial-gradient(ellipse 90% 70% at 50% 40%, color-mix(in srgb, var(--fc) 22%, #FFFFFF) 0%, var(--bg) 60%, var(--bg) 100%); }
.turntable { position: relative; width: min(64vw, 270px); aspect-ratio: 1; }
.turntable__ring { position: absolute; left: -12px; top: -12px; width: calc(100% + 24px); height: calc(100% + 24px); overflow: visible; pointer-events: none; transform: rotate(-90deg); }
.turntable__ring circle { fill: none; stroke-width: 2.4; }
.turntable__track { stroke: rgba(51, 54, 61, 0.1); }
.turntable__progress { stroke: url(#ring-rainbow); stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.record { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 50%; background: var(--bg); color: var(--text); font: inherit; cursor: pointer; overflow: hidden; box-shadow: 0 14px 40px rgba(16, 24, 40, 0.18), 0 0 0 2px rgba(51, 54, 61, 0.035); touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.record:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 5px; }
.record:disabled { cursor: default; }
.record__disc { position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, rgba(16, 24, 40, 0.038) 0 1px, transparent 1px 3.4px), radial-gradient(circle at 50% 50%, #FFFFFF 0 35%, var(--bg) 35.5% 100%); animation: spin 1.8s linear infinite paused; }
.deck.is-playing .record__disc { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.record__label { position: absolute; left: 32%; top: 32%; width: 36%; height: 36%; border-radius: 50%; background: linear-gradient(180deg, var(--danger) 0 16.6%, var(--orange) 16.6% 33.3%, #F2C62F 33.3% 50%, var(--success) 50% 66.6%, var(--accent) 66.6% 83.3%, var(--accent) 83.3%); box-shadow: inset 0 0 0 2px rgba(16, 24, 40, 0.12), 0 0 0 5px rgba(16, 24, 40, 0.14); }
.record__label::after { content: ""; position: absolute; left: 45%; top: 45%; width: 10%; height: 10%; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px rgba(51, 54, 61, 0.175); }
.record__sheen { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; background: conic-gradient(from 20deg, transparent 0deg, rgba(16, 24, 40, 0.083) 30deg, transparent 70deg, transparent 180deg, rgba(16, 24, 40, 0.06) 210deg, transparent 250deg); }
.record__plate { padding: 14px 20px; }
.deck.is-playing .record__plate { opacity: 0; transform: translate(-50%, -50%) scale(.85); }
.deck__clip { margin: 24px 0 0; color: var(--text-muted); font-weight: 650; font-size: 13px; font-variant-numeric: tabular-nums; }
.deck__clip b { color: var(--text); }
.deck__fair { margin: 6px 0 0; color: var(--danger-ink); font-size: 13px; font-weight: 650; }
.deck__fallback { width: 100%; }
.deck__fallback audio { width: 100%; margin-top: var(--space-2); }
.deck:not(.is-enhanced) .turntable, .deck:not(.is-enhanced) .deck__clip { display: none; }
.deck.is-enhanced .deck__fallback { display: none; }

/* Answer boxes for sound: artist first, each with its own Don't know. */
.slot { margin: 0 0 var(--space-3); padding: 14px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.slot--artist { --accent: var(--accent); }
.slot--title { --accent: var(--accent); }
.slot__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: 10px; }
.slot__label { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; }
.slot__tag { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #0D0A1A; }
.slot__tag .icon { width: 18px; height: 18px; }
.slot input { width: 100%; min-height: 54px; font-size: 16px; }
.slot__dunno { min-height: 40px; padding: 6px 14px; border: 1.5px dashed color-mix(in srgb, var(--warning) 60%, transparent); border-radius: 999px; background: transparent; color: var(--text-secondary); font: 650 13px var(--font-body); cursor: pointer; }
.slot__dunno[aria-pressed="true"] { border-style: solid; background: color-mix(in srgb, var(--warning) 22%, transparent); color: var(--text); }
.slot.is-dunno input { opacity: .45; }

/* Numbered progress: a film strip for pictures, record dots for sound. */
.frames { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 5px; margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.frames li { display: grid; place-items: center; aspect-ratio: 1; width: 100%; max-width: 96px; justify-self: center; border-radius: 50%; background: rgba(16, 24, 40, 0.045); color: var(--text-muted); font: 650 13px var(--font-display); border: 1px solid var(--border); }
.frames li.is-done { background: color-mix(in srgb, var(--fc) 28%, transparent); color: var(--text); border-color: transparent; }
.frames li.is-now { background: #FFFFFF; color: #1A0024; box-shadow: 0 0 12px color-mix(in srgb, var(--fc) 70%, transparent); border-color: transparent; }
.frames--picture { padding: 12px 8px; border-radius: 10px; background-color: var(--bg); background-image: radial-gradient(circle, rgba(16, 24, 40, 0.165) 0 1.6px, transparent 2.2px), radial-gradient(circle, rgba(16, 24, 40, 0.165) 0 1.6px, transparent 2.2px); background-size: 12px 6px; background-position: 3px 2px, 3px calc(100% - 2px); background-repeat: repeat-x; }
.frames--picture li { aspect-ratio: 4 / 3; border-radius: 3px; border: 0; max-width: 100px; }

/* The moment after locking in, on the next screen. */
.toast { position: fixed; z-index: 40; bottom: calc(var(--nav-height) + 28px + env(safe-area-inset-bottom) - var(--vv-shift, 0px)); left: 50%; translate: -50% 0; display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; max-width: calc(100vw - 32px); margin: 0; box-shadow: 0 10px 30px rgba(16, 24, 40, 0.18); pointer-events: none; padding: 8px 16px; border-radius: 999px; background: color-mix(in srgb, var(--success) 18%, var(--surface)); color: var(--text); font-weight: 650; animation: toast 2.6s var(--ease) both; }
.toast .icon { width: 18px; height: 18px; color: var(--success); }
.toast--pass { background: color-mix(in srgb, var(--warning) 18%, var(--surface)); }
@keyframes toast { 0% { opacity: 0; transform: translateY(-6px); } 10%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; visibility: hidden; } }

.stage__credit { margin: 0 auto var(--space-3); width: min(100%, 60svh); font-size: 12px; color: var(--text-muted); text-align: right; }
@media (prefers-reduced-motion: reduce) {
  .stage-wrap.is-live, .deck-wrap.is-live, .record__disc, .rec__dot, .toast { animation: none !important; }
  .stage.is-revealing .shutter__slat, .stage.is-revealing .stage__img { animation-duration: .01s !important; }
}
@view-transition { navigation: auto; }

/* Picture questions, typed or multiple choice (Stuart, 2 Nov 2026). No more Tap to reveal: the picture loads on its
   own behind the rainbow slats, which part the moment it's there. play.js sizes it (--pic-room) so the answers, or
   the box and Lock it in, fit above the bottom bar, and on a phone the typing deck sits above the keyboard. */
.play--pic .stage-wrap { position: relative; width: min(100%, var(--pic-room, 42svh)); }
.play--multiple_choice.play--pic .stage-wrap { width: min(100%, var(--pic-room, 34svh)); margin-bottom: var(--space-3); }
.play--pic .stage__credit { width: min(100%, var(--pic-room, 42svh)); margin-top: calc(var(--space-2) * -1); }
.curtain { position: absolute; inset: 0; z-index: 3; overflow: hidden; background: var(--bg); pointer-events: none; }
.curtain::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(16, 24, 40, 0.026) 0 2px, transparent 2px 7px), radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.45) 100%); }
.stage.is-revealing .curtain { background: transparent; }
.stage.is-revealing .curtain::after { opacity: 0; transition: opacity .15s; }
.stage.is-open:not(.is-revealing) .curtain { display: none; }
.stage__img--plain { z-index: 4; opacity: 1; }
.stage__retry { position: absolute; left: 12px; right: 12px; top: 50%; z-index: 8; margin: 0; transform: translateY(-50%); text-align: center; }
/* The countdown across the bottom of a multiple-choice picture. */
.timer--pic { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; gap: 10px; margin: 0; padding: 28px 14px 12px; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.65) 40%, rgba(255, 255, 255, 0.98)); }
.timer--pic .timer__clock { width: 44px; height: 44px; margin-top: 4px; }
.timer--pic .timer__clock::before { top: -6px; width: 12px; height: 7px; margin-left: -6px; }
.timer--pic .timer__num { font-size: 18px; }
.timer--pic .timer__num.is-long { font-size: 13px; }
.timer--pic .timer__mood { margin-bottom: 5px; font-size: 14px; }
.timer--pic .timer__track { height: 10px; background: rgba(16, 24, 40, 0.105); }
.timer--pic .timer__spark { right: -9px; width: 20px; height: 20px; margin-top: -10px; }
/* On a short phone the quiz name goes off the top (play.js), so tapping Tip of my tongue mustn't scroll it back. */
html:has(.play--pic) { scroll-padding-top: 12px; }
/* On a small picture (a short phone), the countdown slims down so it covers less of it. */
.play--pic .stage-wrap { container-type: inline-size; }
@container (max-width: 260px) {
  .timer--pic { gap: 8px; padding: 16px 10px 8px; }
  .timer--pic .timer__clock { width: 34px; height: 34px; margin-top: 2px; }
  .timer--pic .timer__clock::before { top: -5px; width: 10px; height: 6px; margin-left: -5px; }
  .timer--pic .timer__num { font-size: 15px; }
  .timer--pic .timer__num.is-long { font-size: 11px; }
  .timer--pic .timer__mood { display: none; }
  .timer--pic .timer__track { height: 8px; }
  .timer--pic .timer__spark { right: -7px; width: 16px; height: 16px; margin-top: -8px; }
}
.play--multiple_choice .stage__vf i:nth-child(3), .play--multiple_choice .stage__vf i:nth-child(4) { display: none; }
.play--multiple_choice .stage .stage__vf i:nth-child(1) { display: block; }
/* The question with Tip of my tongue beside it, and four answers a little slimmer, so it all fits. */
.pic-ask { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2) var(--space-3); margin: 0 0 var(--space-3); }
.pic-ask .play__question { flex: 1 1 5em; margin: 0; }
.pic-ask .tongue-form, .pic-ask .tongue-done { flex: none; margin: 0; }
.pic-ask .tongue { min-height: 42px; gap: 8px; padding: 4px 14px 4px 10px; }
.pic-ask .tongue .icon { width: 22px; height: 22px; }
.pic-ask .tongue__text small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pic-ask .tongue-done { flex: 0 1 13em; min-width: 0; min-height: 42px; justify-content: flex-end; font-size: 13px; line-height: 1.3; text-align: right; }
@media (max-width: 359px) { .pic-ask .tongue { gap: 6px; padding: 4px 12px 4px 8px; } .pic-ask .tongue__text strong { font-size: 14px; } }
.play--pic .answers { gap: var(--space-2); }
.play--pic .answer { min-height: 52px; padding: 7px var(--space-3); border-radius: 16px; }
.play--pic .answer__letter { width: 32px; height: 32px; border-radius: 10px; }
@media (max-height: 619px) { .play--pic .answer { min-height: 48px; padding-block: 5px; } }
.answer[data-waiting]:disabled { opacity: .55; cursor: progress; }
.play--pic .answer { transition: transform .12s var(--ease), border-color .15s var(--ease), background .15s var(--ease), opacity .25s var(--ease); }
/* Right or wrong goes on the picture, where the eyes are (and where it's still in view with the keyboard up). */
.stage-wrap > .verdict { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 9; margin: 0; padding: 10px 14px; border-radius: 16px; background: #FFFFFF; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(16, 24, 40, 0.18); font-size: 17px; }
.stage-wrap > .verdict .verdict__answer { margin-top: 4px; font-size: 15px; }
/* Typing on a phone: with the keyboard up, the question, picture, box and Lock it in fill the screen above it. */
.play.is-keyboard .pic-deck { position: fixed; z-index: 45; left: 0; right: 0; top: var(--deck-top, 0px); height: var(--deck-h, 100%); max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; padding: 10px var(--space-3) 8px; overflow: hidden; background: var(--bg); }
.play.is-keyboard .pic-deck .play__question { flex: none; margin: 0 0 var(--space-2); font-size: 17px; }
.play.is-keyboard .pic-deck .stage-wrap { flex: none; margin-bottom: var(--space-2); }
.play.is-keyboard .pic-deck .stage__credit { margin: -4px auto 6px; }
.play.is-keyboard .pic-deck .typed .field input { min-height: 50px; }
.play.is-keyboard .pic-deck .typed__actions [data-lock], .play.is-keyboard .pic-deck .typed__actions [data-pass] { min-height: 50px; }
.play.is-keyboard .pic-deck .field { margin-bottom: var(--space-2); }
.keep-keyboard { position: fixed; z-index: -1; margin: 0; padding: 0; border: 0; opacity: 0; font-size: 16px; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .play--pic .answer { transition: none; } }

.map { margin: 0 0 var(--space-4); --map-land: var(--accent); --map-edge: var(--bg); --map-sea: #FFFFFF; }
.map__frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-card); overflow: hidden; border: 2px solid color-mix(in srgb, var(--fc) 45%, var(--border)); background: var(--map-sea); }
.map__svg { display: block; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.map__frame.is-panning .map__svg { cursor: grabbing; }
.map--select .map__svg, .play--map_select .map__svg { cursor: crosshair; }
.map__sea { fill: var(--map-sea); }
.map__land { fill: var(--map-land); stroke: var(--map-edge); stroke-width: .8; }
.map__target { fill: var(--fc); stroke: var(--text); stroke-width: 1.5; animation: target-glow 1.8s ease-in-out infinite; }
@keyframes target-glow { 50% { stroke-opacity: .35; } }
.map__halo circle { fill: var(--fc); stroke: var(--fc); }
.map__halo circle:first-child { fill: none; animation: halo 1.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes halo { from { opacity: 1; } to { opacity: .35; } }
.map__pin { display: none; fill: var(--rose-ink); stroke: var(--text); stroke-width: 1.5; }
.map__pin circle { fill: var(--text); stroke: none; }
.map__pin.is-shown { display: inline; }
.map__controls { position: absolute; right: 10px; top: 10px; display: grid; gap: 6px; }
.map__btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, 0.92); color: var(--text); font: 600 21px/1 var(--font-body); cursor: pointer; }
@media (hover: hover) { .map__btn:hover { background: var(--surface-raised); } }
.map__btn .icon { width: 20px; height: 20px; }
.map:not(.is-enhanced) .map__controls { display: none; }
.map__help { margin: var(--space-2) 0 0; text-align: center; }
.map:not(.is-enhanced) .map__help { display: none; }
.map__list { margin-top: var(--space-4); }
.map__list summary { cursor: pointer; color: var(--text-secondary); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.map__list select { width: 100%; min-height: 52px; border-radius: var(--radius-field); border: 2px solid var(--border); background: var(--surface); color: var(--text); font: inherit; padding: 0 var(--space-3); }

/* The UK pin map (Stuart, 2 Nov 2026). pinmap.js frames the pins and puts each one's tip on its place, so
   until it has, the pins stay hidden rather than appear somewhere wrong. Nothing here flashes or blinks. */
.pinmap { --pm-sea: #FFFFFF; --pm-land: var(--accent); --pm-edge: var(--accent); --pm-near: var(--surface-raised); position: relative; height: clamp(280px, calc(100svh - 322px), 520px); margin: 0 0 var(--space-3); border-radius: var(--radius-card); overflow: hidden; background: var(--pm-sea); border: 2px solid color-mix(in srgb, var(--format-map) 40%, var(--border)); touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.pinmap--names { height: clamp(240px, 62vw, 340px); }
.pinmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pinmap__sea { fill: var(--pm-sea); }
.pinmap__near { fill: var(--pm-near); stroke: var(--accent-ink); stroke-width: 1; }
.pinmap__land { fill: var(--pm-land); stroke: var(--pm-edge); stroke-width: 1.1; stroke-linejoin: round; }
.pinmap__borders { fill: none; stroke: var(--accent-ink); stroke-width: 1; stroke-dasharray: 4 3; opacity: .7; }
.pinmap__inset { fill: var(--pm-land); stroke: var(--pm-edge); stroke-width: 1; }
.pinmap__marks { display: none; }
.pinmap__marks path { fill: var(--text); stroke: #0D0A1A; stroke-width: 1.5; }
.pinmap__marks text { fill: #0D0A1A; font: 800 13px/1 var(--font-body); }
.pinmap__pins { position: absolute; inset: 0; pointer-events: none; }
.pinmap:not(.is-live) .pinmap__pins { visibility: hidden; }
.pinmap .pin { position: absolute; left: 0; top: 0; z-index: 1; width: 44px; height: 54px; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; transform: translate(-50%, -100%); display: grid; place-items: end center; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pinmap .pin--still { cursor: default; pointer-events: none; }
.pin__shape { width: 30px; height: 41px; margin-bottom: -1px; overflow: visible; filter: drop-shadow(0 3px 4px rgba(16, 24, 40, 0.18)); transform-origin: 50% 100%; transition: transform .2s var(--pop); }
.pin__ground { fill: rgba(0, 0, 0, 0.55); }
.pin__body { fill: var(--text); stroke: #0D0A1A; stroke-width: 1.5; transition: fill .2s var(--ease); }
.pin__dot { fill: #0D0A1A; }
.pin__num { display: none; }
.pinmap .pin:focus-visible .pin__shape { transform: scale(1.12); }
@media (hover: hover) { .pinmap .pin:hover .pin__shape { transform: scale(1.12); } }
.pinmap .pin:focus-visible { outline: none; }
.pinmap .pin:focus-visible .pin__body { stroke: var(--accent); stroke-width: 3; }
.pinmap.is-locked .pin, form.is-locked .pin { pointer-events: none; }
.pinmap .pin.is-chosen .pin__shape { transform: scale(1.18); }
.pinmap .pin.is-chosen .pin__body { fill: var(--accent-ink); }
.pinmap .pin.is-right .pin__body, .pinmap .pin.is-answer .pin__body { fill: var(--success); }
.pinmap .pin.is-wrong .pin__body { fill: var(--danger); }
.pinmap .pin.is-right, .pinmap .pin.is-answer, .pinmap .pin.is-wrong { z-index: 2; }
.pin__label { position: absolute; left: 50%; bottom: calc(100% + 2px); transform: translateX(-50%); padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.98); color: var(--text); font: 600 12px/1.3 var(--font-body); white-space: nowrap; pointer-events: none; }
.pinmap .pin.is-right .pin__label { background: var(--success); color: #062316; }
.pinmap .pin.is-wrong .pin__label { background: var(--danger); color: #2A0509; }
.pin__label.is-below { bottom: auto; top: calc(100% + 3px); }
.pin__label.is-left { bottom: auto; top: 6px; left: auto; right: calc(50% + 16px); transform: none; }
.pin__label.is-right { bottom: auto; top: 6px; left: calc(50% + 16px); transform: none; }
.pinmap__zoom { position: absolute; left: 8px; top: 8px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 13px 0 10px; border-radius: var(--radius-pill); border: 1px solid rgba(16, 24, 40, 0.165); background: rgba(255, 255, 255, 0.94); color: var(--text); font: 650 13.5px/1 var(--font-body); cursor: pointer; }
.pinmap__zoom .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pinmap.is-wide .pin { pointer-events: none; }
.pinmap.is-wide { cursor: zoom-in; }
.pinmap__mini { position: absolute; right: 8px; bottom: 8px; width: 52px; padding: 3px; border-radius: 8px; background: #FFFFFF; border: 1px solid rgba(16, 24, 40, 0.12); pointer-events: none; }
.pinmap__mini svg { display: block; width: 100%; height: auto; fill: var(--accent-ink); }
.pinmap__mini-frame { fill: rgba(63, 115, 221, 0.25); stroke: var(--accent-ink); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pinmap.is-wide .pinmap__mini { visibility: hidden; }
.pinplay { margin: 0; }
.play--map_pin .play__question { margin-bottom: var(--space-1); }
.pinplay__note { margin: 0 0 var(--space-3); }
.pinplay .verdict { margin-top: 0; }
.pin-check { margin: var(--space-2) 0 0; }
.review__pins { margin: var(--space-2) 0 var(--space-3); }
.review__pins .pinmap { margin: 0; }
.pin-check .pinmap { margin-bottom: var(--space-2); }
/* Without JavaScript: numbered marks on the map and numbered buttons under it. */
@media (scripting: none) {
  .pinmap { overflow: visible; margin-bottom: 76px; }
  .pinmap__marks { display: inline; }
  .pinmap__pins, .pinmap:not(.is-live) .pinmap__pins { visibility: visible; position: absolute; inset: auto 0 -68px; display: flex; justify-content: center; gap: var(--space-2); }
  .pinmap .pin { position: static; transform: none; width: 52px; height: 52px; place-items: center; border-radius: 14px; border: 2px solid var(--border); background: var(--surface); }
  .pin__shape { display: none; }
  .pin__num { display: block; font: 800 20px/1 var(--font-display); }
  .pinmap .pin--still { display: none; }
}

.review__img { display: block; width: 120px; height: 120px; object-fit: cover; border-radius: 12px; margin: 0 0 var(--space-2); background: #000000; }
.review__removed { margin: 0 0 var(--space-2); }
.review__audio { display: block; width: 100%; height: 40px; margin: 0 0 var(--space-2); }
.card--warning { border-color: color-mix(in srgb, var(--warning) 45%, var(--border)); }
@media (prefers-reduced-motion: reduce) {
  .stage__img, .map__target, .map__halo circle:first-child, .deck.is-playing .deck__icon, .shake { animation: none; }
}
.admin-pictures { list-style: none; padding: 0; margin: var(--space-3) 0; display: grid; gap: var(--space-4); }
.admin-pictures > li { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-3); align-items: start; padding-top: var(--space-3); border-top: 1px solid var(--border); }
.admin-pictures img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; background: #000000; }
.admin-pictures__gone { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 12px; border: 1px dashed var(--border); text-align: center; padding: var(--space-2); }
.admin-pictures .field input[type="file"] { color: var(--text-secondary); font: inherit; }
.review__credit { margin: 0 0 var(--space-2); font-size: 12px; color: var(--text-muted); }
.review__credit a { color: var(--text-secondary); }
/* Format colours, after the base rules so they win. */
/* Format colours come after every base rule that sets --fc to purple, or the base wins (Stuart, 13 Oct 2026: Mini quiz pages were purple). */
.play--mini, .result--mini, .quiz-hero--mini { --fc: var(--format-mini); }
.play--picture, .result--picture, .quiz-hero--picture { --fc: var(--format-picture); }
.play--sound, .result--sound, .quiz-hero--sound { --fc: var(--format-sound); }
.play--map, .result--map, .quiz-hero--map { --fc: var(--format-map); }
.play--video, .result--video, .quiz-hero--video { --fc: var(--format-video); }

/* ---------- Leaderboards (Phase 5) ---------- */
.segmented { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); margin-bottom: var(--space-3); }
.segmented a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: var(--radius-pill); color: var(--text-secondary); font-weight: 700; text-decoration: none; }
.segmented a[aria-current] { background: var(--accent); color: #FFFFFF; }
/* Three boards side by side on a phone (Badges joined, 14 Oct 2026): a little tighter there. */
@media (max-width: 480px) { .segmented:has(> :nth-child(3)) a { gap: 5px; font-size: 14px; } .segmented:has(> :nth-child(3)) .icon { width: 18px; height: 18px; } }
.filter-row { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: var(--space-2); scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (hover: hover) { .filter:hover { color: var(--text); border-color: rgba(16, 24, 40, 0.188); } }
.filter[aria-current] { background: var(--text); color: var(--text); border-color: var(--text); }
.filter--gk[aria-current] { background: var(--format-gk); border-color: var(--accent); }
.filter--mini[aria-current] { background: var(--format-mini); border-color: var(--format-mini); }
.filter--picture[aria-current] { background: var(--format-picture); border-color: var(--format-picture); }
.filter--sound[aria-current] { background: var(--format-sound); border-color: var(--format-sound); }
.filter--map[aria-current] { background: var(--format-map); border-color: var(--format-map); }
.filter--video[aria-current] { background: var(--format-video); border-color: var(--format-video); }

.board { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.board th { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; text-align: left; padding: 0 8px 8px; }
.board td { padding: 10px 8px; border-top: 1px solid var(--border); vertical-align: middle; }
.board .board__num { text-align: right; white-space: nowrap; }
.board__pos { width: 44px; }
.board__medal { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--surface-raised); font: 650 14px/1 var(--font-display); }
.is-top1 .board__medal { background: linear-gradient(135deg, #FFE27A, #F4B400); color: var(--text); }
.is-top2 .board__medal { background: linear-gradient(135deg, #F1F1F6, #B4B9C6); color: var(--text); }
.is-top3 .board__medal { background: linear-gradient(135deg, #F5B58A, #C97B45); color: var(--text); }
.board__who { width: 100%; max-width: 0; }
.board__whobox { display: flex; align-items: center; gap: 10px; min-width: 0; }
.board__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.board__who a { color: var(--text); text-decoration: none; }
@media (hover: hover) { .board__who a:hover { text-decoration: underline; } }
@media (max-width: 480px) { .board__quizzes { display: none; } }
@media (max-width: 420px) { .board td, .board th { padding-left: 5px; padding-right: 5px; } .board__avatar { width: 28px; height: 28px; font-size: 13px; } }
@media (max-width: 480px) { .board--quiz .board__score { display: none; } }
.board__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; padding: 2px; }
.board__avatar { flex: none; overflow: hidden; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: conic-gradient(from 200deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6), var(--rainbow-1)); color: var(--text); }
.board__verified { stroke: var(--format-sound); }
.board__value { font: 650 16px/1 var(--font-display); }
.board .board__medals { width: 1%; text-align: center; font: 650 15px/1 var(--font-display); }
.board th.board__medals { font-size: 16px; letter-spacing: 0; }
.board td.board__medals.muted { font-weight: 500; }
/* Three medal columns leave little room for names on the smallest phones, so the initial circle makes way. */
@media (max-width: 374px) { .board--medals .board__avatar { display: none; } }
/* Your own row is a rounded pill, so the divider lines stop either side of it rather than poking past its corners.
   Solid colour plus a 1px overlap so no seam shows between cells (Stuart, 13 Oct 2026). */
.board__row.is-me td { background: var(--surface-raised); border-top-color: transparent; }
.board__row.is-me td + td { box-shadow: -1px 0 0 var(--surface-raised); }
.board__row.is-me + tr td { border-top-color: transparent; }
.board__row.is-me td:first-child { border-radius: 12px 0 0 12px; }
.board__row.is-me td:last-child { border-radius: 0 12px 12px 0; }
.board__gap td { text-align: center; color: var(--text-muted); border-top: 0; padding: 4px; letter-spacing: .3em; }
/* The player boards fold to the top 25 until "Show all" (Stuart, 14 Oct 2026). */
.board--folded .board__row--more { display: none; }
.board:not(.board--folded) .board__gap--fold { display: none; }
.board-more { margin: var(--space-3) 0 0; }
.board-more__note { margin-top: var(--space-2); text-align: center; }
.board__flag { font-size: 20px; line-height: 1; width: 32px; text-align: center; flex-shrink: 0; }
.board__yours { flex-shrink: 0; }
/* A tap-through to the Regional Leaderboard, above the fold. */
.regional-callout { display: flex; align-items: center; gap: 12px; margin: calc(var(--space-2) * -1) 0 var(--space-4); padding: 12px 14px; border-radius: 16px; text-decoration: none; color: var(--text);
  background: linear-gradient(100deg, rgba(211, 63, 73, 0.16), rgba(255, 184, 0, 0.12) 40%, rgba(30, 138, 90, 0.12) 65%, rgba(63, 115, 221, 0.16));
  border: 1px solid rgba(16, 24, 40, 0.105); }
@media (hover: hover) { .regional-callout:hover { border-color: rgba(16, 24, 40, 0.225); } }
.regional-callout__flags { font-size: 20px; line-height: 1; letter-spacing: 2px; flex-shrink: 0; }
.regional-callout__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.regional-callout__text span { color: var(--text-secondary); font-size: 13px; }
.regional-callout__go { margin-left: auto; flex-shrink: 0; transform: rotate(180deg); stroke: var(--text-secondary); }
.regional { margin-top: var(--space-6); scroll-margin-top: 80px; }
.leader-heading { font-size: clamp(23px, 4.09vw, 32px); margin-bottom: var(--space-3); }
.regional-nudge p { margin-top: 0; }
.regional__mine { margin-top: calc(var(--space-2) * -1); }
.regional__sub { font-size: 14px; color: var(--text-secondary); margin: var(--space-4) 0 var(--space-2); }

/* Awards Cabinet */
.awards { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 720px) { .awards { grid-template-columns: repeat(3, 1fr); } .awards--compact { grid-template-columns: repeat(4, 1fr); } }
.award { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: var(--space-3); border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--border); }
.award__icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; background: var(--surface-raised); border: 2px dashed rgba(16, 24, 40, 0.12); }
.award__icon .icon { width: 30px; height: 30px; stroke: var(--text-muted); }
.award.is-won .award__icon { border: 0; background: conic-gradient(from 200deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6), var(--rainbow-1)); box-shadow: 0 0 24px rgba(63, 115, 221, 0.35); }
.award.is-won .award__icon .icon { stroke: var(--bg); stroke-width: 2.2; }
.award__flag { font-size: 28px; line-height: 1; }
.award:not(.is-won) .award__flag { filter: grayscale(1); opacity: .5; }
.award.is-won .award__icon:has(.award__flag) { background: radial-gradient(circle at 50% 40%, var(--accent), #FFFFFF 70%); box-shadow: 0 0 0 2px var(--rainbow-5), 0 0 24px rgba(63, 115, 221, 0.35); }
.awards--compact .award__flag { font-size: 23px; }
.award__name { font: 650 15px/1.2 var(--font-display); }
.award:not(.is-won) .award__name { color: var(--text-secondary); }
.award__desc { font-size: 13px; color: var(--text-secondary); }
.award__meta { font-size: 12px; color: var(--text-muted); margin-top: auto; padding-top: 4px; }
.awards--compact .award__desc { display: none; }
/* Flip cards: the badge turns over to show what it was for. A smooth turn, never a flash; instant with reduced motion. */
.award--flip { padding: 0; border: 0; background: none; perspective: 900px; }
.award__card { display: grid; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: center; cursor: pointer; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.3, .7, .3, 1); -webkit-tap-highlight-color: transparent; }
.award__card.is-flipped { transform: rotateY(180deg); }
.award__card:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: var(--radius-card); }
.award__face { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 100%; padding: var(--space-3); border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--border); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.award__face--back { transform: rotateY(180deg); gap: 6px; background: linear-gradient(160deg, rgba(63, 115, 221, 0.2), rgba(63, 115, 221, 0.12)), var(--surface); }
.award__hint { position: absolute; top: 10px; right: 10px; width: 16px; height: 16px; color: var(--text-muted); }
.award__back-name { font: 650 13px/1.2 var(--font-display); color: var(--text-secondary); }
.award__back-desc { font-size: 13px; line-height: 1.4; color: var(--text); }
.award__back-meta { font-size: 12px; color: var(--text-muted); }
.awards-count { display: inline-flex; align-items: center; margin-left: 6px; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--rainbow-3); color: #1A1030; font: 700 13px/1.4 var(--font-body); vertical-align: middle; }
.awards-flip-note { margin: calc(var(--space-2) * -1) 0 var(--space-3); }
@media (prefers-reduced-motion: reduce) { .award__card { transition: none; } }
.awards--compact .award__icon { width: 52px; height: 52px; }
.awards-jump { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--space-3) * -1) var(--space-4); padding: 2px var(--space-3) 6px; scrollbar-width: none; }
.awards-jump::-webkit-scrollbar { display: none; }
/* A mouse can't drag a swipe row (Stuart, 13 Oct 2026), so on computers and wider screens the buttons wrap instead. */
@media (min-width: 720px), (hover: hover) and (pointer: fine) { .awards-jump { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } }
.awards-jump .chip { flex-shrink: 0; height: 34px; padding: 0 14px; font-size: 13px; color: var(--text); text-decoration: none; }
.awards-group { scroll-margin-top: 88px; }
.awards-group + .awards-group { margin-top: var(--space-5); }
.awards-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); }
.awards-group__head .section-title { margin-bottom: 4px; }
.awards-group__tally { flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--text-secondary); }
.awards-group__blurb { margin: 0 0 var(--space-3); }
/* Themed specials stand out with a soft rainbow edge (steady, nothing moves). */
.awards-group--themed .award { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--rainbow-1), var(--rainbow-3), var(--rainbow-5), var(--rainbow-6)) border-box; }
.awards-group--themed .award:not(.is-won) { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, rgba(211, 63, 73, 0.45), rgba(255, 210, 63, 0.45), rgba(63, 115, 221, 0.45), rgba(63, 115, 221, 0.45)) border-box; }
.unlocked { text-align: center; }
.unlocked .awards { grid-template-columns: repeat(auto-fit, minmax(140px, 180px)); justify-content: center; }
.unlocked .award.is-won .award__icon { animation: pop-in .6s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pop-in { from { transform: scale(.4) rotate(-20deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* Profile */
.ranks td, .ranks th { vertical-align: middle; }
.ranks a { color: var(--text); text-decoration: none; }
.format-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.format-bars__row { display: grid; grid-template-columns: 112px 1fr; gap: 4px 12px; align-items: center; }
.format-bars__name { font-weight: 700; font-size: 13px; }
.format-bars__track { width: 100%; height: 10px; border-radius: var(--radius-pill); background: var(--surface-raised); overflow: hidden; display: block; }
.format-bars__value { grid-column: 2; font: 650 15px/1.2 var(--font-display); }
.format-bars__value .small { font-family: var(--font-body); font-weight: 500; }
.format-bars__row--gk .format-bars__fill { fill: var(--format-gk); }
.format-bars__row--mini .format-bars__fill { fill: var(--format-mini); }
.format-bars__row--picture .format-bars__fill { fill: var(--format-picture); }
.format-bars__row--sound .format-bars__fill { fill: var(--format-sound); }
.format-bars__row--map .format-bars__fill { fill: var(--format-map); }
.format-bars__row--video .format-bars__fill { fill: var(--format-video); }
.trend { width: 100%; max-height: 160px; display: block; }
.trend__base { stroke: var(--border); stroke-width: 1; }
.trend__bar { fill: var(--accent); }
.trend__bar--gk { fill: var(--format-gk); } .trend__bar--mini { fill: var(--format-mini); } .trend__bar--picture { fill: var(--format-picture); }
.trend__bar--sound { fill: var(--format-sound); } .trend__bar--map { fill: var(--format-map); } .trend__bar--video { fill: var(--format-video); }

/* Quiz history */
.history { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-3); }
/* No coloured stripe down the left: Stuart doesn't like the side-bar look (13 Oct, again 18 Oct 2026). */
.history__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: var(--space-3); }
.history__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.history__title { font: 650 16px/1.25 var(--font-display); color: var(--text); text-decoration: none; }
@media (hover: hover) { .history__title:hover { text-decoration: underline; } }
.history__item > p { margin: 4px 0 0; }
.history__facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0 0; }
.history__facts dt { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.history__facts dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Sharing a result */
.share__text { margin: 0 0 var(--space-3); padding: 12px 16px; border-radius: 16px 16px 16px 4px; background: var(--surface-raised); border: 1px solid var(--border); font-weight: 600; line-height: 1.4; }
.share__actions { display: grid; gap: var(--space-2); margin-bottom: var(--space-3); }
@media (min-width: 560px) { .share__actions { grid-template-columns: 1fr 1fr; } }
.share__status:empty { display: none; }

/* Podium: gold, silver and bronze (Stuart, 12 Oct 2026) */
.podium { list-style: none; margin: 0 0 var(--space-4); padding: var(--space-3) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.podium__step { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.podium__step--1 { order: 2; } .podium__step--2 { order: 1; } .podium__step--3 { order: 3; }
.podium__who { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding-bottom: 10px; min-width: 0; }
.podium__name { display: flex; flex-direction: column; align-items: center; gap: 3px; font-weight: 700; font-size: 13px; line-height: 1.3; max-width: 100%; min-width: 0; }
.podium__label { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.podium__tags { display: flex; gap: 4px; }
.podium__name a { color: var(--text); text-decoration: none; }
@media (hover: hover) { .podium__name a:hover { text-decoration: underline; } }
.podium__more, .podium__empty { font-size: 12px; color: var(--text-muted); }
.podium__points { font: 650 14px/1.2 var(--font-display); margin-top: 2px; }
.podium__step--1 .podium__points { color: var(--gold-ink); } .podium__step--2 .podium__points { color: var(--text-secondary); } .podium__step--3 .podium__points { color: var(--orange-ink); }
.podium__medal { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 650 16px/1 var(--font-display); color: var(--text); background: linear-gradient(135deg, #FFE27A, #F4B400); box-shadow: 0 0 0 3px rgba(51, 54, 61, 0.06); margin-bottom: 6px; flex: none; }
.podium__step--2 .podium__medal, .podium__medal--2 { background: linear-gradient(135deg, #F1F1F6, #B4B9C6); }
.podium__step--3 .podium__medal, .podium__medal--3 { background: linear-gradient(135deg, #F5B58A, #C97B45); }
.podium__block { display: grid; place-items: center; border-radius: 12px 12px 4px 4px; font: 650 30px/1 var(--font-display); color: rgba(13, 10, 26, 0.85); }
.podium__step--1 .podium__block { height: 120px; background: linear-gradient(180deg, #FFE27A, #F4B400); font-size: 41px; box-shadow: 0 0 32px rgba(255, 200, 46, 0.35); }
.podium__step--2 .podium__block { height: 88px; background: linear-gradient(180deg, #F1F1F6, #B4B9C6); }
.podium__step--3 .podium__block { height: 64px; background: linear-gradient(180deg, #F5B58A, #C97B45); }
.medals { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: var(--space-3); }
.medals__label { color: var(--text-muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; width: 100%; }
.medals__item { display: inline-flex; align-items: center; gap: 8px; font: 650 18px/1 var(--font-display); }
.medals__item .podium__medal { margin: 0; width: 30px; height: 30px; font-size: 14px; }
.podium-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: var(--space-3) 0 0; font-size: 15px; }
.podium-note .podium__medal { margin: 0; }

/* Stacking badges and medal colours */
.award__icon { position: relative; }
.award__times { position: absolute; right: -10px; bottom: -6px; min-width: 30px; height: 24px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--text); color: var(--text); font: 700 13px/24px var(--font-body); text-align: center; box-shadow: 0 0 0 3px var(--surface); }
.award { position: relative; }
.award__stack { margin-top: 2px; font-size: 11px; }
.award__stack > summary { display: inline-flex; align-items: center; gap: 4px; min-height: 24px; padding: 1px 8px; border-radius: var(--radius-pill); border: 1px solid var(--border); font-weight: 700; color: var(--text-muted); cursor: pointer; list-style: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.award__stack > summary::-webkit-details-marker { display: none; }
.award__stack > summary .icon { width: 13px; height: 13px; }
.award__stack[open] > summary { color: var(--text); border-color: var(--text-muted); }
@media (hover: hover) { .award__stack > summary:hover { color: var(--text); border-color: var(--text-muted); } }
.award__stack > summary:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.award__tip { position: absolute; z-index: 5; left: 8px; right: 8px; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--surface-raised); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(16, 24, 40, 0.18); color: var(--text); font-size: 13px; line-height: 1.45; text-align: left; }
.award--gold.is-won .award__icon { background: linear-gradient(135deg, #FFE27A, #F4B400); box-shadow: 0 0 24px rgba(255, 200, 46, 0.4); }
.award--silver.is-won .award__icon { background: linear-gradient(135deg, #F1F1F6, #B4B9C6); box-shadow: 0 0 24px rgba(51, 54, 61, 0.175); }
.award--bronze.is-won .award__icon { background: linear-gradient(135deg, #F5B58A, #C97B45); box-shadow: 0 0 24px rgba(226, 112, 58, 0.35); }
.award--gold:not(.is-won) .award__icon .icon { stroke: var(--gold-ink); } .award--silver:not(.is-won) .award__icon .icon { stroke: var(--text-muted); } .award--bronze:not(.is-won) .award__icon .icon { stroke: var(--orange-ink); }

/* ---------- Quiz Studio (admin) ---------- */
.studio-actions { margin-top: var(--space-3); }
.studio-actions form { margin: 0; }
.card--draft { border-color: color-mix(in srgb, var(--format-gk) 55%, var(--border)); }
.problems { margin: 0 0 var(--space-3); padding-left: 1.2em; color: var(--warning); }
.admin-questions--edit > li { padding-bottom: var(--space-3); border-bottom: 1px solid var(--border); }
.studio-q { display: flex; gap: var(--space-3); align-items: flex-start; }
.studio-q__thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; background: #000000; }
.studio-q__body { min-width: 0; flex: 1; }
.studio-q__body > p { margin: 0 0 4px; font-weight: 600; }
.studio-q__actions { margin-top: var(--space-2); }
.studio-q__actions form { margin: 0; }
.studio-sub { font-size: 15px; margin: var(--space-4) 0 var(--space-2); }
.studio-note { margin-top: var(--space-2); }
.studio-thumb, .studio-preview { display: block; width: 160px; height: auto; max-height: 240px; object-fit: contain; border-radius: 12px; background: #000000; margin-bottom: var(--space-2); }
.studio-preview { width: 240px; }
.studio-audio { display: block; width: 100%; max-width: 360px; margin-bottom: var(--space-2); }
.format-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-2); }
.format-picker__option { display: flex; align-items: center; gap: var(--space-2); min-height: 52px; padding: var(--space-2) var(--space-3); border-radius: 14px; border: 2px solid var(--border); background: var(--surface); font-weight: 600; cursor: pointer; }
.format-picker__option:has(input:checked) { border-color: var(--fc, var(--format-gk)); background: color-mix(in srgb, var(--fc, var(--format-gk)) 16%, var(--surface)); }
.format-picker__option--gk { --fc: var(--format-gk); } .format-picker__option--mini { --fc: var(--format-mini); } .format-picker__option--picture { --fc: var(--format-picture); }
.format-picker__option--sound { --fc: var(--format-sound); } .format-picker__option--map { --fc: var(--format-map); }
.option-row { display: grid; grid-template-columns: 28px 28px 1fr; gap: var(--space-2); align-items: center; margin-top: var(--space-2); }
.option-row input[type="radio"] { width: 22px; height: 22px; accent-color: var(--success); }
.option-row__letter { font-weight: 700; color: var(--text-secondary); text-align: center; }
.field textarea { width: 100%; padding: var(--space-3); border: 1.5px solid rgba(16, 24, 40, 0.105); border-radius: var(--radius-field); background: var(--surface-raised); color: var(--text); font: 16px/1.45 var(--font-body); resize: vertical; }
.field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(63, 115, 221, 0.35); }
.field--invalid textarea { border-color: var(--danger); }
.field input[type="file"] { padding: 12px var(--space-3) !important; color: var(--text-secondary); }
.page-head-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.page-head-row h1 { margin: 0; }

/* Returning player's home: their profile and stats up front (Stuart, 12 Oct). */
.me-hero__top { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; justify-content: space-between; margin-bottom: var(--space-3); }
.me-hero__rank { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 14px; border-radius: var(--radius-pill); background: rgba(255, 200, 46, 0.14); color: var(--gold-ink); text-decoration: none; font-size: 14px; }
.me-hero__rank strong { font: 700 16px var(--font-display); }
.me-hero__rank span { color: var(--text-secondary); font-size: 13px; }
.me-hero__stats { margin-bottom: var(--space-3); }
.me-hero__facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: 0 0 var(--space-3); color: var(--text-secondary); }
.me-hero__facts > span { display: inline-flex; align-items: center; gap: 8px; }
.me-hero__medal { width: 24px; height: 24px; font-size: 12px; margin: 0; }
.me-hero__cta { margin-top: var(--space-2); }
.me-hero__secondary { display: block; text-align: center; margin-top: var(--space-3); }

/* Admin dashboard */
.filter-row--admin { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); font-weight: 600; font-size: 13px; text-decoration: none; }
@media (hover: hover) { .chip-link:hover { border-color: var(--accent); color: var(--text); } }
.chip-link[aria-current] { background: var(--format-gk); border-color: var(--accent); color: #120A1F; }

/* Admin quiz list: format filter, search, sortable columns and pages (Stuart, 20 Oct 2026) */
.quiz-finder { display: grid; gap: var(--space-3); }
.quiz-finder .row { margin: 0; }
.quiz-finder .row .search { flex-basis: 140px; min-width: 0; }
.quiz-finder__formats { margin: 0; padding: 0; gap: 8px; }
@media (max-width: 599px) { .quiz-finder__formats .chip-link { min-height: 34px; padding: 0 11px; font-size: 13px; } }
.quiz-finder__result { margin: 0; }
.chip-link__n { margin-left: 6px; color: var(--text-muted); font-weight: 700; font-size: 12px; }
.chip-link[aria-current] .chip-link__n { color: inherit; }
.chip-link--mini[aria-current] { background: var(--format-mini); border-color: var(--format-mini); }
.chip-link--picture[aria-current] { background: var(--format-picture); border-color: var(--format-picture); }
.chip-link--sound[aria-current] { background: var(--format-sound); border-color: var(--format-sound); }
.chip-link--map[aria-current] { background: var(--format-map); border-color: var(--format-map); }
.chip-link--video[aria-current] { background: var(--format-video); border-color: var(--format-video); }
.table--sortable th { padding: 0; }
.sort-link { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 10px 12px; color: inherit; text-decoration: none; white-space: nowrap; }
.sort-link.is-sorted { color: var(--text); }
@media (hover: hover) { .sort-link:hover { color: var(--text); } }
.sort-link__arrow { width: 14px; height: 14px; opacity: 0; transition: transform .2s; }
@media (hover: hover) { .sort-link:hover .sort-link__arrow { opacity: .5; } }
.sort-link.is-sorted .sort-link__arrow { opacity: 1; color: var(--format-gk); }
.sort-link__arrow.is-down { transform: rotate(180deg); }
.table td.nowrap { white-space: nowrap; }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-3); margin-top: var(--space-3); }
.pager__count { margin: 0; }
.pager__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pager__page, .pager__step { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); color: var(--text-secondary); font-weight: 600; font-size: 13px; text-decoration: none; }
@media (hover: hover) { .pager__page:hover, .pager__step:hover { border-color: var(--accent); color: var(--text); } }
.pager__page[aria-current] { background: var(--format-gk); border-color: var(--accent); color: #120A1F; }
.pager__gap { color: var(--text-muted); padding: 0 2px; }

/* Quiz Studio's theme picker (Stuart, 20 Oct 2026) */
.field select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(63, 115, 221, 0.35); }
.theme-other { margin-top: var(--space-3); }
.theme-other__label { font-size: 14px; font-weight: 600; }
.daychart { display: block; width: 100%; height: 140px; }
.daychart__bar { fill: var(--format-gk); }
/* Engagement on the admin Dashboard (Stuart, 2 Nov 2026) */
.daychart__bar--guests { fill: var(--format-picture); opacity: .75; }
.stat dd.eng__sub { margin: 4px 0 0; color: var(--text-muted); font: 500 12px/1.35 var(--font-body); }
.eng__key { display: inline-block; width: 10px; height: 10px; margin: 0 4px 0 8px; border-radius: 3px; vertical-align: -1px; background: var(--format-gk); }
.eng__key--guests { background: var(--format-picture); opacity: .75; }
.eng__did th[scope="row"] { font-weight: 500; text-align: left; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--text); }
.daychart__axis { display: flex; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-2); }
.rank-list { margin: 0; padding-left: 1.4em; display: grid; gap: var(--space-2); }
.rank-list .small { display: block; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.bars__row { --fc: var(--format-gk); display: grid; grid-template-columns: 10em 1fr 3em; align-items: center; gap: var(--space-3); }
.bars__row--mini { --fc: var(--format-mini); } .bars__row--picture { --fc: var(--format-picture); }
.bars__row--sound { --fc: var(--format-sound); } .bars__row--map { --fc: var(--format-map); } .bars__row--video { --fc: var(--format-video); }
.bars__label { font-size: 13px; }
.bars__track { display: block; width: 100%; height: 10px; border-radius: 3px; background: var(--surface-raised); }
.bars__fill { fill: var(--fc); }
.bars__value { text-align: right; font-variant-numeric: tabular-nums; }

/* Site announcement banner. Every look is a solid colour band with its own icon and a darker edge underneath, like
   the pop tiles (Stuart, 21 Nov 2026: "+more style options"); never washed out, nothing moves. --an is the band,
   --an-edge its edge and the button's, --an-ink the words. The pop colours follow dark mode by themselves. */
.announcement { --an: var(--pop-sky); --an-edge: var(--pop-sky-edge); --an-ink: var(--pop-sky-ink); --an-btn: #FFFFFF; --an-btn-ink: var(--pop-sky-ink);
  position: relative; padding: 11px var(--space-4); text-align: center; font-size: 14px; line-height: 1.45; font-weight: 600; color: var(--an-ink); background: var(--an); box-shadow: inset 0 -3px 0 var(--an-edge); }
.announcement[hidden] { display: none; }
.announcement p { margin: 0 auto; max-width: 64ch; }
.announcement__icon { width: 17px; height: 17px; margin: -3px 7px 0 0; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2.2; }
.announcement a:not(.announcement__btn) { color: inherit; font-weight: 700; }
.announcement__btn { display: inline-flex; align-items: center; gap: 2px; margin: 4px 0 2px 8px; padding: 5px 9px 5px 13px; min-height: 32px; border-radius: var(--radius-pill); background: var(--an-btn); color: var(--an-btn-ink); font: 700 13.5px/1.1 var(--font-body); text-decoration: none; white-space: nowrap; vertical-align: middle; box-shadow: 0 2px 0 var(--an-edge); }
.announcement__btn .icon { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; }
@media (hover: hover) { .announcement__btn:hover { background-image: var(--veil-hover); } }
.announcement__btn:focus-visible, .announcement__close:focus-visible { outline: 3px solid var(--an-ink); outline-offset: 2px; }
.announcement--can-close { padding-right: 52px; padding-left: 52px; }
.announcement__close { position: absolute; top: 50%; right: 6px; width: 40px; height: 40px; margin-top: -21px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--an-ink); cursor: pointer; }
.announcement__close[hidden] { display: none; }
@media (hover: hover) { .announcement__close:hover { background: rgba(255, 255, 255, .35); } }
.announcement__close .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; }
@media (max-width: 599px) {
  .announcement { padding: 10px var(--space-3); text-align: left; }
  .announcement--can-close { padding-right: 46px; padding-left: var(--space-3); }
  .announcement__close { right: 2px; }
}
.announcement--celebrate { --an: var(--pop-lemon); --an-edge: var(--pop-lemon-edge); --an-ink: var(--pop-lemon-ink); --an-btn-ink: var(--pop-lemon-ink); }
.announcement--warning { --an: var(--pop-peach); --an-edge: var(--pop-peach-edge); --an-ink: var(--pop-peach-ink); --an-btn-ink: var(--pop-peach-ink); }
.announcement--new { --an: var(--pop-lilac); --an-edge: var(--pop-lilac-edge); --an-ink: var(--pop-lilac-ink); --an-btn-ink: var(--pop-lilac-ink); }
.announcement--quiz { --an: var(--pop-mint); --an-edge: var(--pop-mint-edge); --an-ink: var(--pop-mint-ink); --an-btn-ink: var(--pop-mint-ink); }
.announcement--love { --an: var(--pop-rose); --an-edge: var(--pop-rose-edge); --an-ink: var(--pop-rose-ink); --an-btn-ink: var(--pop-rose-ink); }
.announcement--rainbow { --an: #F2A3BD; --an-edge: #9A86E6; --an-ink: #2A2440; --an-btn: #2A2440; --an-btn-ink: #FFFFFF;
  background: linear-gradient(90deg, #F2A3BD, #F5B087, #EFD064, #8DD7B4, #9CBDF3, #B7A6F2); }
.announcement--christmas { --an: #C8323C; --an-edge: #8E1F28; --an-ink: #FFFFFF; --an-btn: #FFFFFF; --an-btn-ink: #A4232D; }
.announcement--christmas .announcement__icon { stroke: #9BE3B5; }
.announcement--spotlight { --an: #231E3D; --an-edge: #000000; --an-ink: #FFFFFF; --an-btn: var(--pop-lemon); --an-btn-ink: var(--pop-lemon-ink); }
.announcement--spotlight .announcement__icon { stroke: var(--pop-lemon); fill: var(--pop-lemon); }
@media (hover: hover) { .announcement--christmas .announcement__close:hover, .announcement--spotlight .announcement__close:hover { background: rgba(255, 255, 255, .16); } }
.announcement--christmas .announcement__btn, .announcement--spotlight .announcement__btn, .announcement--rainbow .announcement__btn { box-shadow: 0 2px 0 rgba(0, 0, 0, .28); }

/* The looks to pick from in the admin form: each one a little band in its own colours. */
.an-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 6px; }
.an-pick__opt { position: relative; display: block; cursor: pointer; }
.an-pick__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.an-pick__opt .announcement { display: block; padding: 10px 12px; border-radius: 12px; text-align: left; font-size: 13.5px; box-shadow: inset 0 -3px 0 var(--an-edge), 0 0 0 2px transparent; }
.an-pick__opt input:checked + .announcement { box-shadow: inset 0 -3px 0 var(--an-edge), 0 0 0 3px var(--surface), 0 0 0 5px var(--accent); }
.an-pick__opt input:focus-visible + .announcement { outline: 3px solid var(--accent); outline-offset: 4px; }

/* The quiz calendar on Play (Stuart, 21 Nov 2026): this month and next. On a phone the months sit in a row you flick
   along, one at a time; on a computer both show side by side. A filled dot is a quiz opening, in its format's colour;
   a ring is a results day. Nothing moves on its own. */
.qcal { margin-top: var(--space-5); }
.qcal__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; margin: 0 0 var(--space-2); }
.qcal__top .section-title { margin: 0; }
.qcal__tabs { display: flex; gap: 6px; }
.qcal__tabs[hidden] { display: none; }
.qcal__tab { min-height: 36px; padding: 0 14px; border: 0; border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--text-secondary); font: 700 14px/1 var(--font-body); cursor: pointer; }
.qcal__tab[aria-pressed="true"] { background: var(--pop-sky); color: var(--pop-sky-ink); box-shadow: inset 0 0 0 2px var(--pop-sky-edge); }
.qcal__key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px var(--space-3); margin: 0 0 var(--space-2); color: var(--text-secondary); font-weight: 600; }
.qcal__key > span { display: inline-flex; align-items: center; gap: 6px; }
/* Results days stay out of the way until the switch is on (Stuart, 21 Nov 2026: "looks busy with it on"). */
.qcal__switch { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; min-height: 36px; padding: 0 12px 0 6px; border: 0; border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--text-secondary); font: 700 13.5px/1 var(--font-body); cursor: pointer; }
.qcal__switch[hidden] { display: none; }
.qcal__knob { position: relative; width: 34px; height: 20px; border-radius: 10px; background: var(--border); transition: background-color .15s; }
.qcal__knob::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.qcal__switch[aria-checked="true"] { background: var(--pop-lemon); color: var(--pop-lemon-ink); box-shadow: inset 0 0 0 2px var(--pop-lemon-edge); }
.qcal__switch[aria-checked="true"] .qcal__knob { background: var(--pop-lemon-ink); }
.qcal__switch[aria-checked="true"] .qcal__knob::after { transform: translateX(14px); }
.qcal__switch:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .qcal__knob, .qcal__knob::after { transition: none; } }
.qcal:not(.is-results) :is(.qcal__key-results, .qcal__dots .qcal__dot--results, .qcal__item--results) { display: none; }
.qcal:not(.is-results) .qcal__day.only-results { background: transparent; cursor: default; }
.qcal__day:disabled { cursor: default; }
.qcal.is-results .qcal__dots i:nth-of-type(n+4) { display: none; }
.qcal__none { margin: 0; }
.qcal__months { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: var(--space-3); padding-bottom: 6px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.qcal__months::-webkit-scrollbar { display: none; }
.qcal__month { scroll-snap-align: start; padding: var(--space-3) 12px 12px; border-radius: var(--radius-card); background: var(--surface); border: 2px solid var(--pop-sky-edge); box-shadow: 0 4px 0 var(--pop-sky-edge); }
.qcal__name { margin: 0 0 10px; font: 700 19px/1.2 var(--font-display); text-align: center; color: var(--text); }
.qcal__week, .qcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.qcal__week { margin-bottom: 4px; }
.qcal__week span { text-align: center; font-size: 12px; font-weight: 800; color: var(--text-muted); }
.qcal__day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px; min-height: 44px; padding: 6px 0 4px; border: 0; border-radius: 12px; background: transparent; color: var(--text); font: 700 15px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.qcal__day--from2 { grid-column-start: 2; } .qcal__day--from3 { grid-column-start: 3; } .qcal__day--from4 { grid-column-start: 4; }
.qcal__day--from5 { grid-column-start: 5; } .qcal__day--from6 { grid-column-start: 6; } .qcal__day--from7 { grid-column-start: 7; }
.qcal__day.is-past { color: var(--text-muted); font-weight: 600; }
.qcal__day.has-things { background: var(--surface-raised); cursor: pointer; }
@media (hover: hover) { .qcal__day.has-things:hover { background-image: var(--veil-hover); } }
.qcal__day.is-today .qcal__n { display: grid; place-items: center; width: 26px; height: 26px; margin-top: -4px; border-radius: 50%; background: var(--accent); color: #FFFFFF; }
.qcal__day[aria-pressed="true"] { background: var(--pop-lemon); box-shadow: inset 0 0 0 2px var(--pop-lemon-edge), 0 2px 0 var(--pop-lemon-edge); color: var(--pop-lemon-ink); }
.qcal__day:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.qcal__dots { display: flex; align-items: center; gap: 3px; min-height: 8px; }
.qcal__dots b { font-size: 11px; line-height: 1; color: inherit; }
.qcal__dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; }
.qcal__dot--opens { background: var(--fp, var(--pop-sky)); box-shadow: inset 0 0 0 1.5px var(--fpe, var(--pop-sky-edge)); }
.qcal__dot--results { background: transparent; box-shadow: inset 0 0 0 2.5px var(--gold-ink); }
.qcal__list { margin-top: var(--space-3); }
.qcal__dayname { margin: 0 0 var(--space-2); font: 700 17px/1.2 var(--font-display); color: var(--text); }
.qcal__daylist[hidden] { display: none; }
.qcal__daylist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qcal__item a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 2px solid var(--fpe, var(--border)); box-shadow: 0 3px 0 var(--fpe, var(--border)); color: var(--text); text-decoration: none; }
@media (hover: hover) { .qcal__item a:hover { background-image: var(--veil-hover); } }
.qcal__when { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; min-width: 50px; padding: 6px 4px; border-radius: 10px; background: var(--fp, var(--surface-raised)); color: var(--fpi, var(--text)); font: 700 14px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.qcal__item--results .qcal__when { background: var(--pop-lemon); color: var(--pop-lemon-ink); }
.qcal__when .qcal__dot--opens { background: var(--fpi, var(--text)); box-shadow: none; }
.qcal__when .qcal__dot--results { box-shadow: inset 0 0 0 2.5px var(--pop-lemon-ink); }
.qcal__what { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.qcal__what strong { font-size: 15px; line-height: 1.3; }
.qcal__what span { font-size: 13px; color: var(--text-secondary); }
.qcal__go { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--text-muted); stroke-width: 2.4; }
@media (min-width: 760px) {
  .qcal__months { grid-auto-columns: calc(50% - var(--space-3) / 2); overflow: visible; }
  .qcal__day { min-height: 52px; }
}

/* Play: nothing open */
.quiz-wait { position: relative; overflow: hidden; text-align: center; padding: var(--space-5) var(--space-4); background: radial-gradient(120% 90% at 50% 0%, rgba(63, 115, 221, 0.22), transparent 65%), var(--surface); }
.quiz-wait::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)); }
.quiz-wait__icon { width: 40px; height: 40px; stroke: var(--gold-ink); margin-bottom: var(--space-2); }
.quiz-wait__title { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.2; margin: 0 0 var(--space-2); color: var(--text); }
.quiz-wait__text { color: var(--text-secondary); max-width: 38ch; margin: 0 auto var(--space-4); }
.quiz-wait__btn { display: inline-flex; align-items: center; gap: 8px; }
.quiz-wait__btn .icon { width: 20px; height: 20px; }

/* Awards: tally */
.awards-tally { display: flex; align-items: center; gap: var(--space-3); margin: var(--space-3) 0 0; padding: var(--space-3) var(--space-4); border-radius: 18px; background: linear-gradient(135deg, rgba(63, 115, 221, 0.28), rgba(63, 115, 221, 0.2)); border: 1px solid rgba(63, 115, 221, 0.5); }
.awards-tally__count { flex-shrink: 0; display: grid; place-items: center; min-width: 56px; height: 56px; padding: 0 10px; border-radius: 16px; background: var(--rainbow-3); color: #1A1030; font-family: var(--font-display); font-size: 27px; font-weight: 700; }
.awards-tally__text { color: var(--text); font-size: 15px; }
.awards-tally__text strong { display: block; font-size: 16px; }
.check--indent { margin-left: 36px; }
.quiz-wait .card__title { text-align: left; margin-bottom: var(--space-4); }

/* Chat: the group chat cards and the Chat page. */
.chat-card__head { display: flex; gap: var(--space-3); align-items: center; margin-bottom: var(--space-3); }
.chat-card__head .card__title { margin-bottom: var(--space-1); }
.chat-card__head p { margin: 0; }
.chat-card__badge { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; display: block; }
.chat-card__head picture { flex-shrink: 0; display: block; }
.chat-card__buttons { display: grid; grid-template-columns: 1fr; gap: var(--space-2); }
@media (min-width: 520px) { .chat-card__buttons:has(> :nth-child(2)) { grid-template-columns: 1fr 1fr; } }
/* The notifications card is hidden until site.js shows it, so look past it too. */
.stack-section + .card, .stack-section + [hidden] + .card { margin-top: var(--space-4); }
.chat-card__buttons .btn { justify-content: center; padding-left: var(--space-2); padding-right: var(--space-2); }

/* Profile: room above the Instagram link, and personal bests with the chip on its own line. */
.profile-links { margin-top: var(--space-3); }
.profile-links:empty { display: none; }
.profile-home { display: inline-flex; align-items: center; gap: 8px; margin: var(--space-3) 0 0; padding: 5px 12px 5px 8px; border-radius: var(--radius-pill); background: rgba(16, 24, 40, 0.045); border: 1px solid var(--border); font-weight: 650; font-size: 14px; }
.profile-home__flag { font-size: 18px; line-height: 1; }
.profile-bio { margin: var(--space-3) 0 0; font-size: 15px; line-height: 1.5; color: var(--text); overflow-wrap: anywhere; white-space: normal; }
.profile-nudge { margin: var(--space-3) 0 0; }
.profile-message .icon { width: 18px; height: 18px; }
.home-now { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.home-now__flag { font-size: 25px; line-height: 1; }
.bio-count { text-align: right; }
.best { align-items: center; }
.best__what { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }

/* Notifications */
/* The header bell's pop-up (Stuart, 14 Oct 2026). Padding sits on the card, so a tap on the dialog itself is a tap outside. */
@media (hover: hover) { .site-header__instagram:hover { background: linear-gradient(45deg, var(--accent), var(--accent) 60%, var(--accent)); } }
.push-card__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }
.push-card__message:empty { display: none; }
.push-card__message { margin: var(--space-3) 0 0; }
.push-nudge { margin: 0 0 var(--space-4); text-align: center; }
.push-nudge__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 var(--space-2); background: none; border: 0; color: var(--text-secondary); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); cursor: pointer; list-style: none; }
.push-nudge__link::-webkit-details-marker { display: none; }
.push-nudge__link:focus-visible { color: var(--text); }
@media (hover: hover) { .push-nudge__link:hover { color: var(--text); } }
.push-nudge__link .icon, .push-nudge__done .icon { width: 18px; height: 18px; flex-shrink: 0; }
.push-nudge__done { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--text-secondary); }
.push-nudge details[open] { text-align: left; padding: var(--space-3) var(--space-4) var(--space-2); border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.push-nudge [data-push-state="on"]:not([hidden]) ~ .push-card__message { display: none; }
.push-nudge details[open] > summary { margin-bottom: var(--space-2); }

/* How much they hear from us (Stuart, 17 Oct 2026): four big choices, Low marked Suggested. */
.levels { border: 0; margin: 0 0 var(--space-3); padding: 0; min-width: 0; display: grid; gap: var(--space-2); }
.level { border: 1.5px solid var(--border); border-radius: 16px; background: var(--surface-raised); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.level:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(63, 115, 221, 0.2); }
.level__pick { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3) var(--space-3) 6px; cursor: pointer; }
.level__pick input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.level__text { display: grid; gap: 2px; min-width: 0; }
.level__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.level__name { font-size: 16px; }
.level__tag { background: rgba(255, 210, 63, 0.16); color: var(--gold-ink); }
.level__line { color: var(--text-secondary); font-size: 14px; }
.level__expect { color: var(--text-muted); font-size: 13px; font-weight: 600; }
.level__more { padding: 0 var(--space-3) var(--space-2) calc(var(--space-3) + 22px + var(--space-3)); }
.level__more > summary { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-secondary); font-size: 13px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); cursor: pointer; }
.level__more > summary:focus-visible { color: var(--text); }
@media (hover: hover) { .level__more > summary:hover { color: var(--text); } }
.level__more ul { margin: 4px 0 var(--space-2); padding-left: 18px; color: var(--text-secondary); font-size: 13px; line-height: 1.5; }
.level__more li + li { margin-top: 4px; }
.levels__day { margin-bottom: var(--space-3); }
.levels__day[hidden] { display: none; }
.levels__nudge { padding: 10px 12px; border-radius: 12px; background: rgba(255, 210, 63, 0.08); border: 1px solid rgba(255, 210, 63, 0.25); }

/* The app's picker after a quiz: the whole screen, scrolling if it needs to. */
html.has-sheet { overflow: hidden; }
.levels-sheet { position: fixed; inset: 0; z-index: 96; overflow-y: auto; overscroll-behavior: contain; background: radial-gradient(120% 60% at 50% 0%, rgba(63, 115, 221, 0.2), transparent 60%), var(--bg); padding: calc(var(--space-4) + env(safe-area-inset-top)) var(--space-3) calc(var(--space-4) + env(safe-area-inset-bottom)); animation: tour-in .3s var(--ease); }
.levels-sheet[hidden] { display: none; }
.levels-sheet__panel { width: min(520px, 100%); margin: 0 auto; }
.levels-sheet__panel[hidden] { display: none; }
.levels-sheet__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto var(--space-3); border-radius: 50%; background: linear-gradient(135deg, var(--rainbow-1), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)); color: #120E24; }
.levels-sheet__icon .icon { width: 26px; height: 26px; }
.levels-sheet__title { margin: 0 0 var(--space-2); font-size: 23px; line-height: 1.2; text-align: center; }
.levels-sheet__title:focus { outline: none; }
.levels-sheet__intro { margin: 0 0 var(--space-4); text-align: center; }
.levels-sheet__actions { display: grid; gap: var(--space-2); }
.levels-sheet__done { padding-top: 12vh; text-align: center; }
.levels-sheet__done:focus { outline: none; }
.levels-sheet__done p { margin: 0 0 var(--space-4); }
@media (prefers-reduced-motion: reduce) { .levels-sheet { animation: none; } }

/* Pick a PIN at the end of a quiz (Stuart, 21 Nov 2026): a guest's results page slides this up from the bottom over
   their score, on a phone and a computer. It slides once and holds still; nothing flashes. */
.join-sheet { position: fixed; inset: 0; z-index: 96; display: flex; align-items: flex-end; justify-content: center; overflow-y: auto; overscroll-behavior: contain; background: rgba(28, 24, 48, .46); padding-top: calc(var(--space-4) + env(safe-area-inset-top)); }
.join-sheet[hidden] { display: none; }
.join-sheet__panel { position: relative; width: min(520px, 100%); margin: auto auto 0; padding: 20px var(--space-3) calc(12px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--surface); box-shadow: 0 -6px 30px rgba(28, 24, 48, .18); animation: join-sheet-up .32s var(--ease); }
.join-sheet__panel::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: var(--border); }
@keyframes join-sheet-up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.join-sheet__x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--surface-raised); color: var(--text-secondary); cursor: pointer; }
.join-sheet__x .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.join-sheet__icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 15px; background: var(--pop-lemon); box-shadow: inset 0 0 0 2px var(--pop-lemon-edge), inset 0 3px 0 rgba(255, 255, 255, .45), 0 4px 0 var(--pop-lemon-edge); color: var(--pop-lemon-ink); }
.join-sheet__icon .icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.join-sheet__title { margin: 0 0 4px; font: 700 22px/1.2 var(--font-display); text-align: center; color: var(--text); }
.join-sheet__title:focus { outline: none; }
.join-sheet__intro { margin: 0 auto 14px; max-width: 38ch; font-size: 15px; line-height: 1.4; text-align: center; color: var(--text-secondary); }
.join-sheet .field { margin-bottom: 10px; }
.join-sheet .field__hint { font-size: 13px; }
.join-sheet .check { margin-top: 4px; }
.join-sheet__actions { display: grid; gap: var(--space-2); margin-top: 14px; }
.join-sheet__actions .btn--join .icon { fill: none; stroke: currentColor; stroke-width: 2.6; }
.join-sheet__login { margin: 12px 0 0; }
@media (min-width: 700px) {
  .join-sheet { align-items: center; padding: var(--space-4); }
  .join-sheet__panel { margin: auto; padding: var(--space-5) var(--space-4) var(--space-4); border-radius: 26px; }
  .join-sheet__panel::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .join-sheet__panel { animation: none; } }
.push-steps { margin: var(--space-2) 0 var(--space-3); padding-left: 1.25rem; display: grid; gap: var(--space-2); }
.push-steps .icon { width: 1.1em; height: 1.1em; vertical-align: -0.2em; }
.push-settings { scroll-margin-top: 90px; }
.copy-code--long .key { white-space: normal; word-break: break-all; font-size: 13px; }

/*
  Get the app (Stuart, 17 and 18 Oct 2026). Drawn only once it's on in admin, and shown only once site.js
  has said where it is: get-app-android or get-app-ios on a phone whose store has a link, get-app-computer
  on a computer. A phone sees its own store button, a computer sees both. Never in the app.
*/
.app-card, .app-nudge > * { display: none; }
.get-app-android .app-card, .get-app-ios .app-card, .get-app-computer .app-card:not(.app-card--account) { display: block; }
.get-app-android .app-nudge__phone--android, .get-app-ios .app-nudge__phone--ios { display: inline-flex; }
.get-app-computer .app-nudge__computer { display: flex; }
.app-card__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.app-card__icon { flex: none; width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 6px 18px rgba(16, 24, 40, 0.14); }
.app-card__title { margin-bottom: 4px; }
.app-card__text { margin: 0; }
/* On a computer it's a small note: the app's on your phone too. */
.get-app-computer .app-card { padding-top: var(--space-3); padding-bottom: var(--space-3); }
.get-app-computer .app-card__head { margin-bottom: var(--space-2); }
.get-app-computer .app-card__icon { width: 40px; height: 40px; border-radius: 10px; }
.get-app-computer .app-card__title { font-size: 16px; }
.get-app-computer .app-card__text { font-size: 13px; }
.app-stores { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.app-store { display: none; align-items: center; gap: 10px; min-height: 48px; padding: 6px 18px 6px 14px; border: 1px solid rgba(16, 24, 40, 0.21); border-radius: 12px; background: #000000; color: var(--text); text-decoration: none; line-height: 1.1; }
.app-store .icon { flex: none; width: 22px; height: 22px; }
.app-store__text { display: flex; flex-direction: column; font-size: 16px; font-weight: 700; }
.app-store__small { font-size: 11px; font-weight: 600; letter-spacing: .02em; color: rgba(51, 54, 61, 0.8); }
.app-store:focus-visible { border-color: rgba(16, 24, 40, 0.45); }
@media (hover: hover) { .app-store:hover { border-color: rgba(16, 24, 40, 0.45); } }
.get-app-android .app-store--android, .get-app-ios .app-store--ios, .get-app-computer .app-store { display: inline-flex; }
/* The header button: phones only, black like the store buttons so it stands out. */
.site-header__app { display: none; background: #000000; box-shadow: inset 0 0 0 1px rgba(51, 54, 61, 0.15); }
@media (hover: hover) { .site-header__app:hover { background: #000000; box-shadow: inset 0 0 0 1px rgba(51, 54, 61, 0.3); } }
.get-app-android .app-header--android, .get-app-ios .app-header--ios { display: inline-flex; }
/* On phones Instagram makes way for it (it's still in the footer), so the header fits next to the wider wordmark. */
@media (max-width: 440px) { .get-app-android .site-header__instagram, .get-app-ios .site-header__instagram { display: none; } }
.app-stores--big { justify-content: center; margin-bottom: var(--space-2); }
.app-stores--big .app-store { width: 100%; justify-content: center; min-height: 56px; }
.app-nudge { margin: calc(-1 * var(--space-3)) 0 var(--space-4); text-align: center; }
.app-nudge__computer { align-items: center; justify-content: center; gap: 8px; margin: 0; color: var(--text-secondary); font-size: 14px; }
.app-nudge__computer .icon { flex: none; width: 18px; height: 18px; }
.app-nudge__computer a { color: var(--text); font-weight: 600; }
/* The full-screen page, once a fortnight on a phone. */
.app-sheet { position: fixed; inset: 0; z-index: 96; overflow-y: auto; overscroll-behavior: contain; background: radial-gradient(120% 60% at 50% 0%, rgba(63, 115, 221, 0.22), transparent 60%), var(--bg); padding: calc(var(--space-4) + env(safe-area-inset-top)) var(--space-3) calc(var(--space-4) + env(safe-area-inset-bottom)); animation: tour-in .3s var(--ease); }
.app-sheet__panel { position: relative; width: min(440px, 100%); margin: 0 auto; padding-top: var(--space-4); text-align: center; }
.app-sheet__close { position: absolute; top: -8px; right: -4px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface-raised); color: var(--text-secondary); cursor: pointer; }
.app-sheet__close .icon { width: 20px; height: 20px; }
.app-sheet__icon { display: block; width: 88px; height: 88px; margin: 0 auto var(--space-3); border-radius: 22px; box-shadow: 0 10px 30px rgba(16, 24, 40, 0.18); }
.app-sheet__title { margin: 0 0 var(--space-4); font-size: 25px; line-height: 1.2; }
.app-sheet__title:focus { outline: none; }
.app-sheet__perks { display: grid; gap: var(--space-3); margin: 0 0 var(--space-4); padding: 0; list-style: none; text-align: left; }
.app-sheet__perks li { display: flex; align-items: flex-start; gap: var(--space-3); color: var(--text-secondary); font-size: 15px; line-height: 1.45; }
.app-sheet__perks strong { color: var(--text); }
.app-sheet__perk-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(63, 115, 221, 0.16); color: var(--lilac-ink); }
.app-sheet__perk-icon .icon { width: 20px; height: 20px; }
.app-sheet__note { margin: 0 0 var(--space-3); }
/* ---------- Android early access (Stuart, 4 Nov 2026) ----------
   The full-screen offer and the get-your-code cards, for Android visitors on the website only. Google Play green
   with a touch of Gaymes purple. Nothing flashes and nothing has a stripe down the side. */
.droid-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(30, 138, 90, 0.14); color: var(--success-ink); font: 800 12px/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.droid-kicker .icon { width: 14px; height: 14px; }
.droid-kicker--centre { margin-bottom: var(--space-2); }
.droid-sheet__title { margin-bottom: var(--space-2); }
.droid-sheet__pitch { margin: 0 0 var(--space-4); color: var(--text-secondary); font-size: 16px; line-height: 1.5; }
.droid-sheet__perks { margin-bottom: var(--space-4); }
.droid-sheet__later { margin-top: var(--space-3); }
.droid-card { border-color: rgba(30, 138, 90, 0.35); background: radial-gradient(90% 120% at 100% 0%, rgba(30, 138, 90, 0.14), transparent 60%), radial-gradient(80% 100% at 0% 100%, rgba(63, 115, 221, 0.16), transparent 60%), var(--surface); }
.droid-card__head { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-3); }
.droid-card__icon { flex: none; width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 6px 18px rgba(16, 24, 40, 0.14); }
.droid-card__title { margin: 0 0 4px; font-size: 19px; line-height: 1.25; }
.droid-card__text { margin: 0; }
.droid-get { display: grid; gap: var(--space-3); text-align: left; }
.droid-get__error { margin: 0; color: var(--danger); font-size: 14px; font-weight: 600; }
.droid-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.droid-how li { display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--text-secondary); font-size: 13px; line-height: 1.3; }
.droid-how__num, .droid-steps li::before { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--success), var(--accent)); color: #062316; font: 800 15px/1 var(--font-display); }
.droid-code { display: grid; gap: var(--space-3); padding: var(--space-3); border: 1.5px dashed rgba(30, 138, 90, 0.55); border-radius: var(--radius-card); background: rgba(30, 138, 90, 0.06); }
.droid-code__label { margin: 0; color: var(--success-ink); font: 800 12px/1.2 var(--font-body); letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.droid-code__value { margin: 0; color: var(--text); font: 700 clamp(15px, 4.6vw, 22px)/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; text-align: center; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.droid-code__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.droid-code__actions .btn { width: 100%; justify-content: center; text-align: center; }
.droid-code__note { margin: 0; text-align: center; }
.droid-steps-box { padding-top: var(--space-3); border-top: 1px solid var(--border); }
.droid-steps__title { margin: 0 0 var(--space-3); font-size: 17px; }
.droid-steps { counter-reset: droid; display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.droid-steps li { counter-increment: droid; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; color: var(--text-secondary); font-size: 15px; line-height: 1.45; }
.droid-steps li::before { content: counter(droid); }
.droid-steps strong { color: var(--text); }
@media (max-width: 359px) { .droid-code__actions { grid-template-columns: 1fr; } }
/* The Google Play badge says Early access, and on Android it opens the offer. */
.droid-offer [data-droid-open] { cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .app-sheet { animation: none; } }

/* "Welcome back" nudge towards quizzes they haven't played yet (Stuart, 13 Oct 2026). Rainbow edge, no movement. */
.welcome-cta { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-2); min-height: 48px; padding: 10px var(--space-3); border-radius: var(--radius-pill); border: 2px solid transparent; background: linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box, linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)) border-box; color: var(--text); text-decoration: none; font-size: 14px; line-height: 1.35; }
.welcome-cta .icon { width: 22px; height: 22px; flex-shrink: 0; stroke: var(--gold-ink); }
.welcome-cta strong { font-weight: 700; }
@media (hover: hover) { .welcome-cta:hover strong, .welcome-cta:hover span { text-decoration: underline; text-underline-offset: 3px; } }
/* The rainbow border drifts slowly round the bar to draw the eye (Stuart, 13 Oct 2026). A smooth slide, never a flash. */
.welcome-cta:not(.welcome-cta--done) { background: linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box, linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6), var(--rainbow-1)) 0 0 / 200% 100% border-box; animation: welcome-cta-drift 8s linear infinite; }
@keyframes welcome-cta-drift { to { background-position: 0 0, -200% 0; } }
@media (prefers-reduced-motion: reduce) { .welcome-cta:not(.welcome-cta--done) { animation: none; } }
.welcome-cta--done { background: var(--surface-raised); border-color: var(--border); color: var(--text-secondary); }
.welcome-cta--done .icon { stroke: var(--text-secondary); }
/* Arrow on the right so the bar reads as tappable (Stuart, 13 Oct 2026). */
.welcome-cta > span { flex: 1; }
.welcome-cta .welcome-cta__arrow { width: 20px; height: 20px; stroke: var(--text); transition: transform .2s ease; }
.welcome-cta--done .welcome-cta__arrow { stroke: var(--text-secondary); }
@media (hover: hover) { .welcome-cta:hover .welcome-cta__arrow { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .welcome-cta .welcome-cta__arrow { transition: none; } }


/* Answer review (redesigned for Stuart, 13 Oct 2026): outcome-tinted cards, filled number, outcome pill, answer rows with a tick or cross. */
.review { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-3); }
.review__item { --tone: 255, 77, 94; --tone-solid: var(--format-video); position: relative; overflow: hidden; padding: var(--space-4); border-radius: var(--radius-card); border: 1px solid rgba(var(--tone), .35); background: linear-gradient(160deg, rgba(var(--tone), .10), rgba(var(--tone), 0) 55%), var(--surface); }
.review__item--correct { --tone: 54, 217, 138; --tone-solid: var(--success); }
.review__item--partial { --tone: 255, 184, 107; --tone-solid: var(--warning); }
.review__item--timeout, .review__item--passed { --tone: 160, 150, 190; --tone-solid: var(--text-secondary); }
.review__head { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-3); font-size: 13px; font-weight: 700; }
.review__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tone-solid); color: #120D24; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.review__outcome { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill); background: rgba(var(--tone), .14); color: var(--tone-solid); font-size: 13px; }
.review__outcome .icon { width: 15px; height: 15px; }
.review__points { margin-left: auto; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--text); font-size: 13px; font-variant-numeric: tabular-nums; }
.review__prompt { margin: 0 0 var(--space-3); font-weight: 700; font-size: 16px; line-height: 1.35; }
.review__options { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.review__options li { --row: 255, 77, 94; --row-solid: var(--format-video); display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; row-gap: 2px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(var(--row), .08); border: 1px solid rgba(var(--row), .28); font-size: 15px; }
.review__options li.is-correct { --row: 54, 217, 138; --row-solid: var(--success); }
.review__options li:not(.is-correct):not(.is-chosen) { --row: 160, 150, 190; --row-solid: var(--text-secondary); }
.review__mark { grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; background: rgba(var(--row), .18); position: relative; }
.review__mark::after { content: ""; position: absolute; inset: 7px; background: var(--row-solid); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / contain no-repeat; }
.is-correct > .review__mark::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.review__answer { font-weight: 600; overflow-wrap: anywhere; }
.review__tag { grid-column: 2; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--row-solid); }
.review__explain { margin: var(--space-3) 0 0; padding-top: var(--space-2); border-top: 1px solid var(--border); color: var(--text-secondary); }

/* Logged-out hero: free and ad-free up front (Stuart, 13 Oct 2026). */
.hero__lede { color: var(--text-secondary); font-size: 16px; line-height: 1.5; max-width: 34ch; margin: var(--space-2) auto 0; }
.hero__promise { list-style: none; padding: var(--space-3) 0 0; margin: var(--space-3) auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-2) var(--space-5); max-width: 420px; border-top: 1px solid var(--border); }
.hero__promise li { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-family: var(--font-display); font-size: 21px; font-weight: 650; }
.hero__promise .icon { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: rgba(30, 138, 90, 0.16); box-sizing: content-box; stroke: var(--success); stroke-width: 3; }

/* New-player tour of the main menu. Dims the page around one menu item at a time; fades gently, never flashes. */
.tour-spot { position: fixed; z-index: 90; border-radius: 16px; box-shadow: 0 0 0 3px var(--rainbow-3), 0 0 0 9999px rgba(16, 24, 40, 0.18); pointer-events: auto; transition: left .3s var(--ease), top .3s var(--ease), width .3s var(--ease), height .3s var(--ease); animation: tour-in .3s var(--ease); }
.tour-tip { position: fixed; z-index: 91; padding: var(--space-4); border-radius: var(--radius-card); background: var(--surface-raised); border: 1px solid var(--border); box-shadow: 0 16px 48px rgba(16, 24, 40, 0.18); animation: tour-in .3s var(--ease); }
.tour-tip__count { margin: 0 0 var(--space-1); color: var(--text-muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tour-tip__title { margin: 0 0 var(--space-2); font-size: 21px; }
.tour-tip__text { margin: 0 0 var(--space-3); color: var(--text-secondary); }
.tour-tip__actions { display: flex; justify-content: space-between; gap: var(--space-2); }
@keyframes tour-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tour-spot, .tour-tip { transition: none; animation: none; } }

/* Podium celebration on results. */
.celebrate { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: var(--space-4); background: rgba(255, 255, 255, 0.9); animation: tour-in .3s var(--ease); }
.celebrate[hidden] { display: none; }
.celebrate__confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.celebrate__panel { position: relative; width: min(400px, 100%); padding: var(--space-5) var(--space-4) var(--space-4); border-radius: var(--radius-card); text-align: center; border: 2px solid transparent; background: linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box, linear-gradient(135deg, #FFE27A, #F4B400) border-box; box-shadow: 0 24px 64px rgba(16, 24, 40, 0.18); }
.celebrate--2 .celebrate__panel { background: linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box, linear-gradient(135deg, #F1F1F6, #B4B9C6) border-box; }
.celebrate--3 .celebrate__panel { background: linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box, linear-gradient(135deg, #F5B58A, #C97B45) border-box; }
.celebrate__medal.podium__medal { width: 88px; height: 88px; font-size: 36px; margin: 0 auto var(--space-3); box-shadow: 0 0 0 6px rgba(51, 54, 61, 0.05), 0 12px 32px rgba(16, 24, 40, 0.16); }
.celebrate__kicker { margin: 0 0 var(--space-1); color: var(--text-muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.celebrate__title { margin: 0 0 var(--space-2); font-size: 25px; }
.celebrate__text { margin: 0 0 var(--space-4); color: var(--text-secondary); }
.celebrate__actions { display: grid; gap: var(--space-2); }
@media (prefers-reduced-motion: reduce) { .celebrate { animation: none; } }
.celebrate__panel:focus { outline: none; }
.recent-list__what { display: grid; gap: 4px; justify-items: start; min-width: 0; }
.recent-list__what a { overflow-wrap: anywhere; }
.celebrate-replay { margin: var(--space-3) 0 0; text-align: center; }
.rules-card > summary { font: 650 18px/1.2 var(--font-display); min-height: 44px; }
.rules-card__hint { display: block; margin-top: 4px; font: 400 13px/1.4 var(--font-body); color: var(--text-muted); }

/* Guest play: score waiting to be claimed (Stuart, 13 Oct 2026). */
.claim-banner { display: flex; gap: var(--space-2); align-items: flex-start; margin: 0 0 var(--space-4); padding: var(--space-3); border-radius: 14px; border: 2px solid transparent; background: linear-gradient(var(--surface-raised), var(--surface-raised)) padding-box, linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)) border-box; }
.claim-banner .icon { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; stroke: var(--gold-ink); }
.claim-done--ok { border-color: rgba(30, 138, 90, 0.5); }
.claim__ring { position: relative; width: 150px; height: 150px; margin: 0 auto var(--space-3); }
.claim__ring svg { width: 100%; height: 100%; }
.claim__lock { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 2px; }
.claim__lock .icon { width: 30px; height: 30px; stroke: var(--text); }
.claim__blur { font: 650 30px/1 var(--font-display); color: var(--text-secondary); filter: blur(5px); user-select: none; }
.claim__lede { font-size: 16px; color: var(--text-secondary); margin: 0 auto var(--space-4); max-width: 34ch; }
.claim__quick { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto var(--space-3); padding: 6px 14px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--success) 16%, transparent); color: var(--text); font-weight: 700; }
.claim__quick .icon { width: 18px; height: 18px; stroke: var(--success); }
.claim__perks { list-style: none; padding: 0; margin: 0 auto var(--space-4); display: grid; gap: var(--space-2); max-width: 360px; text-align: left; }
.claim__perks li { display: flex; gap: var(--space-2); align-items: flex-start; }
.claim__perks .icon { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; stroke: var(--success); stroke-width: 3; }
.claim__actions { display: grid; gap: var(--space-2); max-width: 420px; margin: 0 auto; }
.claim__note { margin: var(--space-3) auto 0; max-width: 40ch; }
/* Sits close under the header (Stuart, 13 Oct 2026): 16px gap instead of the page and hero padding. */
.hero:has(> .hero__waiting) { padding-top: 0; }
.hero__waiting { margin: calc(-1 * var(--space-3)) auto var(--space-4); max-width: 480px; text-align: left; }

/* Usernames and guest players (Stuart, 13 Oct 2026). */
.chip--guest { height: 18px; padding: 0 7px; font-size: 11px; background: transparent; border-color: rgba(16, 24, 40, 0.135); color: var(--text-muted); font-weight: 650; }
.members-toggle { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 var(--space-3); padding: 4px 0; color: var(--text-secondary); font-size: 13px; text-decoration: none; }
@media (hover: hover) { .members-toggle:hover { color: var(--text); } }
.members-toggle__box { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--text-muted); }
.members-toggle[aria-checked="true"] .members-toggle__box { background: var(--success); border-color: var(--success); }
.members-toggle__box .icon { width: 13px; height: 13px; stroke: #120D24; stroke-width: 3; }
.hero__play { margin-top: var(--space-4); }
.hero__play .btn { min-width: min(100%, 300px); gap: 10px; }
.hero__play .btn .icon { width: 22px; height: 22px; }
.hero__play-note { margin: var(--space-2) auto 4px; max-width: 360px; color: var(--text-secondary); }
.quick-join form { margin-top: var(--space-3); }
.quick-join .claim__quick { display: flex; width: max-content; max-width: 100%; margin: var(--space-2) 0 0; }
.review-locked { display: flex; gap: var(--space-3); align-items: center; margin-bottom: var(--space-4); }
.review-locked .icon { width: 26px; height: 26px; flex-shrink: 0; stroke: var(--gold-ink); }
.review-locked p { margin: 0; }
.pin-row { display: flex; gap: var(--space-2); align-items: center; }
.pin-row .pin { flex: 1; min-width: 0; }

/* Results: Up next (Stuart, 13 Oct 2026: keep them playing, like the next video lining up). */
.up-next { border: 1px solid color-mix(in srgb, var(--fc) 45%, var(--border)); background: radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--fc) 26%, transparent), transparent 65%), var(--surface); }
.up-next__kicker { display: flex; align-items: center; gap: 6px; margin: 0 0 var(--space-3); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.up-next__kicker .icon { width: 16px; height: 16px; color: var(--fc); }
.up-next__more { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--text-muted); }
.up-next__quiz { display: flex; align-items: center; gap: var(--space-3); }
.up-next__title { margin: 2px 0; font-size: 20px; line-height: 1.15; }
.up-next__pitch { margin: var(--space-3) 0; color: var(--text-secondary); }
.join__keep { display: inline-block; margin-top: 6px; text-align: left; }

/* ---------- Updates and comments, "the tea" (Stuart, 29 Oct 2026) ----------
   Chat went; Updates is the cards, and every quiz, board, game, badge and profile has comments of its own.
   Nothing here flashes: stickers slap on and settle, the crown drops once, a new comment drops into place,
   and with reduced motion they all simply appear. No coloured stripes down the side of anything. */
.format-gk { --fmt: var(--format-gk); } .format-mini { --fmt: var(--format-mini); } .format-picture { --fmt: var(--format-picture); }
.format-sound { --fmt: var(--format-sound); } .format-map { --fmt: var(--format-map); } .format-video { --fmt: var(--format-video); }
@media (max-width: 899px) {
  /* A quiz's questions and the Arcade's games have bars of their own, so the logo bar steps aside (27 Oct 2026). */
  html:has(.page--app) { --site-header-height: 0px; }
  html:has(.page--app) .site-header { display: none; }
}

/* Updates */
.updates { display: grid; gap: var(--space-4); }
.updates__group, .updates__cards { display: grid; gap: 14px; }
.updates__day { display: flex; align-items: center; gap: 6px; margin: 0 2px -4px; color: var(--text-muted); font: 700 12px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.updates__day .icon { width: 14px; height: 14px; }
.updates__empty { margin: 0; padding: var(--space-5) var(--space-3); border: 1px dashed var(--border); border-radius: var(--radius-card); text-align: center; color: var(--text-muted); }
.updates__earlier { margin: var(--space-4) 0 0; text-align: center; }
.updates-head .chat-rules { margin-top: var(--space-3); }
/* "Wanna chat?" (Stuart, 6 Nov 2026): the same shape as House rules, in OMGay!'s pink. */
.omgay-chat { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-top: var(--space-2); padding: 0 14px; border: 1px solid rgba(63, 115, 221, 0.45); border-radius: var(--radius-field); background: linear-gradient(135deg, rgba(63, 115, 221, 0.16), rgba(63, 115, 221, 0.14)); color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.3; }
.omgay-chat > .icon:first-child { flex: none; color: var(--accent-ink); }
.omgay-chat > span:not(.visually-hidden) { flex: 1 1 auto; padding: 10px 0; }
.omgay-chat strong { color: var(--accent-ink); }
.omgay-chat__go { flex: none; margin-left: auto; color: var(--text-secondary); }
.omgay-chat:focus-visible { border-color: rgba(63, 115, 221, 0.8); }
@media (hover: hover) { .omgay-chat:hover { border-color: rgba(63, 115, 221, 0.8); } }
/* Something new while they're reading: a button above the bottom bar, never a jump. */
.updates-new { position: fixed; left: 50%; bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 14px - var(--vv-shift, 0px)); z-index: 35; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px 0 14px; border: 0; border-radius: var(--radius-pill); background: var(--accent); color: #FFFFFF; font: 700 14px/1 var(--font-body); box-shadow: 0 10px 28px rgba(16, 24, 40, 0.18); transform: translateX(-50%); cursor: pointer; }
.updates-new .icon { width: 16px; height: 16px; transform: rotate(-90deg); }
@media (min-width: 900px) { .updates-new { bottom: calc(24px - var(--vv-shift, 0px)); } }

/* A card */
.u-card { --fc: var(--fmt, var(--rainbow-6)); position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 12px; padding: 16px; border: 1px solid color-mix(in srgb, var(--fc) 26%, var(--border)); border-radius: var(--radius-card); background: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--fc) 13%, transparent), transparent 60%), var(--surface); transition: transform .15s var(--ease); }
.u-card:has(.u-card__link:active) { transform: scale(.985); }
.u-card:has(.u-card__link:focus-visible) { outline: 3px solid var(--fc); outline-offset: 2px; }
.u-card.is-pinned { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--format-picture) 45%, transparent); }
.u-card__top { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: start; }
.u-card__text { min-width: 0; }
.u-tile { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--fc) 14%, #FFFFFF); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 50%, transparent); color: var(--fc); font: 700 17px/1 var(--font-display); }
.u-tile .icon { width: 24px; height: 24px; }
.u-tile .award__flag { font-size: 22px; }
.u-tile img { display: block; width: 46px; height: 46px; border-radius: 12px; }
.u-tile picture { display: block; }
.u-card--get_app .u-tile, .u-card--omgay .u-tile { background: none; box-shadow: none; }
.u-tile__face { position: absolute; right: -7px; bottom: -7px; display: flex; }
.u-tile__face .tea-face { width: 24px; height: 24px; font-size: 11px; box-shadow: 0 0 0 2px var(--surface); }
.u-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 3px; color: var(--fc); font: 700 11.5px/1.35 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.u-kicker time { margin-left: auto; color: var(--text-muted); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.u-kicker .season-tag { margin-left: 0; letter-spacing: .02em; text-transform: none; }
.u-pinned { display: inline-flex; align-items: center; gap: 3px; color: var(--format-picture); }
.u-pinned .icon { width: 13px; height: 13px; }
.u-card__title { margin: 0; color: var(--text); font: 650 18px/1.22 var(--font-display); text-wrap: balance; overflow-wrap: anywhere; }
.u-card__link { color: inherit; text-decoration: none; }
/* The whole card opens it; the buttons sit on top. */
.u-card__link::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.u-card__link:focus-visible { outline: none; }
.u-sub { margin: 4px 0 0; color: var(--text-secondary); font-size: 13.5px; line-height: 1.4; }
.u-sub--body { color: var(--text); font-size: 14px; line-height: 1.5; }
/* Admin's preview fills in as they type, so its line breaks come from the text itself. */
.u-sub--preview { white-space: pre-line; }
.u-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.u-who { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; color: var(--text-secondary); font-size: 13px; }
.u-actions, .u-card .app-stores { position: relative; z-index: 1; }
.u-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.u-actions form { display: contents; }
.u-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 15px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: rgba(16, 24, 40, 0.045); color: var(--text); font: 650 14px/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
@media (hover: hover) { .u-btn:hover { background: rgba(16, 24, 40, 0.075); } }
.u-btn .icon { width: 17px; height: 17px; }
.u-btn__n { display: inline-block; font-variant-numeric: tabular-nums; }
.u-btn__n:empty { display: none; }
.u-btn--cheer[aria-pressed="true"] { border-color: var(--gold); background: var(--gold); color: #1A1030; }
.u-btn--cheer[aria-pressed="true"] .icon { fill: currentColor; }
.u-btn[aria-busy="true"] { cursor: wait; }
.u-btn--go { border-color: transparent; background: var(--accent); color: #FFFFFF; }
@media (hover: hover) { .u-btn--go:hover { background: var(--accent-hover); } }
.u-btn--go .icon { width: 15px; height: 15px; }
/* A quiz you've played on an Updates card: sealed till results day, counting down (Stuart, 2 Nov 2026) */
.u-sealed { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; border: 1px solid rgba(63, 115, 221, 0.45); border-radius: var(--radius-pill); background: rgba(63, 115, 221, 0.16); color: var(--accent-ink); font: 600 13.5px/1.25 var(--font-body); }
.u-sealed .icon { flex: none; width: 16px; height: 16px; }
.u-sealed b { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.u-btn--still { cursor: default; color: var(--text-secondary); }
@media (hover: hover) { .u-btn--still:hover { background: rgba(16, 24, 40, 0.045); } }
.u-btn--quiet { min-height: 40px; padding: 0 12px; border-color: transparent; background: none; color: var(--text-muted); font-size: 13px; }
.u-btn.bump .u-btn__n { animation: u-bump .35s var(--pop); }
@keyframes u-bump { 50% { transform: scale(1.35); } }
.u-confetti { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 2px; pointer-events: none; animation: u-rise .7s var(--ease) forwards; }
@keyframes u-rise { from { transform: translate(-50%, -50%) rotate(0); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) rotate(160deg); opacity: 0; } }
.u-toast { position: relative; z-index: 1; margin: -4px 0 0; color: var(--danger); font-size: 13px; }
/* "Up for a game?" (Stuart, 2 Nov 2026): who's asking, and a button for each game. Sits above the card's own link. */
.u-card--game_finder { --fc: var(--rainbow-5); }
.finder { position: relative; z-index: 1; display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.finder__row { display: grid; gap: 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 14px; background: rgba(16, 24, 40, 0.03); }
.finder__row.is-mine { border-color: color-mix(in srgb, var(--fc) 45%, var(--border)); }
.finder__who { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; }
.finder__name { overflow: hidden; color: var(--text); font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) { a.finder__name:hover { text-decoration: underline; } }
.finder__games { display: flex; flex-wrap: wrap; gap: 6px; }
.finder__games form { display: contents; }
.finder__game { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 13px; border: 1px solid color-mix(in srgb, var(--fc) 55%, var(--border)); border-radius: var(--radius-pill); background: color-mix(in srgb, var(--fc) 18%, transparent); color: var(--text); font: 650 13.5px/1 var(--font-body); cursor: pointer; }
@media (hover: hover) { .finder__game:hover { background: color-mix(in srgb, var(--fc) 30%, transparent); } }
.finder__game .icon { width: 16px; height: 16px; color: var(--fc); }
.finder__game--still { border-color: var(--border); background: none; color: var(--text-secondary); cursor: default; }
@media (hover: hover) { .finder__game--still:hover { background: none; } }
.finder__off { min-height: 40px; padding: 0 10px; border: 0; background: none; color: var(--text-muted); font: 600 13px/1 var(--font-body); text-decoration: underline; cursor: pointer; }
.finder__more { position: relative; z-index: 1; margin: 0; font-size: 13.5px; }
.finder-pick { display: grid; gap: 12px; }
.finder-pick__games { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.finder-pick__game { position: relative; display: inline-flex; }
.finder-pick__game input { position: absolute; opacity: 0; pointer-events: none; }
.finder-pick__game span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: rgba(16, 24, 40, 0.038); color: var(--text-secondary); font: 650 14px/1 var(--font-body); cursor: pointer; }
.finder-pick__game span .icon { width: 17px; height: 17px; }
.finder-pick__game input:checked + span { border-color: var(--rainbow-5); background: color-mix(in srgb, var(--rainbow-5) 22%, transparent); color: var(--text); }
.finder-pick__game input:focus-visible + span { outline: 3px solid var(--rainbow-5); outline-offset: 2px; }
.u-card .chat-podium { margin: 0; }
/* A themed quiz's card wears its look (the colours come from .quiz-card--{look} with the quiz cards'). */
.u-card.quiz-card--season > .season-deco { right: 0; }
.u-card > .season-deco--scene { inset: 0 0 auto auto; width: 58%; height: 130px; background-size: cover; background-position: right top; -webkit-mask-image: linear-gradient(200deg, #000 25%, transparent 78%); mask-image: linear-gradient(200deg, #000 25%, transparent 78%); }
.u-card:has(.season-deco--scene) .u-card__title, .u-card:has(.season-deco--scene) .u-sub { text-shadow: 0 1px 3px rgba(16, 24, 40, 0.18), 0 0 14px rgba(16, 24, 40, 0.18); }
/* Cards from the Gaymes team: the rainbow one gets a rainbow edge all the way round (Stuart, 14 Oct 2026). */
.u-card--admin:not([class*=" format-"]) { --fc: var(--accent); border-color: transparent; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 18%, var(--surface)), var(--surface) 70%) padding-box, linear-gradient(120deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)) border-box; }
.u-card--board { --fc: var(--gold); border-color: rgba(255, 210, 63, 0.35); background: radial-gradient(90% 130% at 100% 0%, rgba(255, 210, 63, 0.2), transparent 60%), var(--surface); }
/* The monthly Get the app card: phones on the website only (Stuart, 18 Oct 2026). */
html:not(.get-app-android):not(.get-app-ios) .u-card--get_app { display: none; }
.u-card--get_app .app-stores { margin: 0; }
/* The OMGay! tease (Stuart, 28 Oct 2026). */
.u-card--omgay { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.35); background: radial-gradient(90% 120% at 100% 100%, rgba(63, 115, 221, 0.3), transparent 60%), linear-gradient(150deg, #FFFFFF, var(--bg) 60%, #FFFFFF); }
.u-card--omgay .u-tile img { border-radius: 50%; }
.u-card--omgay .u-btn--go { background: linear-gradient(90deg, var(--accent), var(--accent)); }
@media (hover: hover) { .u-card--omgay .u-btn--go:hover { background: linear-gradient(90deg, var(--accent), var(--accent)); } }
.chat-podium { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0; padding: 0; }
.chat-podium__step { display: grid; justify-items: center; gap: 4px; min-width: 0; padding: 8px 4px; border-radius: 12px; background: var(--surface-raised); text-align: center; }
.chat-podium__step--1 { order: 2; } .chat-podium__step--2 { order: 1; } .chat-podium__step--3 { order: 3; }
.chat-podium__step--1 { padding-top: 4px; transform: translateY(-4px); }
.chat-podium__medal { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #1C1500; font: 700 13px/1 var(--font-display); }
.chat-podium__step--1 .chat-podium__medal { background: #FFD23F; }
.chat-podium__step--2 .chat-podium__medal { background: #FFFFFF; }
.chat-podium__step--3 .chat-podium__medal { background: var(--orange); }
.chat-podium__faces { display: inline-flex; }
.chat-podium__faces > * + * { margin-left: -10px; }
.chat-podium__name { max-width: 100%; overflow: hidden; color: var(--text); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.chat-podium__score { color: var(--text-muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }

/* For you: what's waiting for them, at the top of Updates */
.fy-list { display: grid; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.fy { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; color: var(--text); text-decoration: none; }
.fy + .fy { border-top: 1px solid var(--border); }
@media (hover: hover) { .fy:hover { background: rgba(16, 24, 40, 0.03); } }
.fy:focus-visible { outline: 3px solid var(--rainbow-6); outline-offset: -3px; }
.fy__tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--fmt, var(--rainbow-6)) 14%, #FFFFFF); color: var(--fmt, var(--rainbow-6)); font: 700 14px/1 var(--font-display); }
.fy__tile .icon { width: 22px; height: 22px; }
.fy__tile--cheer { --fmt: var(--gold); }
.fy__tile--cheer .icon { fill: currentColor; }
.fy--radio .fy__tile { --fmt: var(--cyan); }
.fy__text { display: grid; gap: 2px; min-width: 0; }
.fy__text strong { font: 650 15px/1.25 var(--font-display); overflow-wrap: anywhere; }
.fy__place { color: var(--text-muted); font-weight: 500; }
.fy__sub { overflow: hidden; color: var(--text-secondary); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.fy__text .tea-private { justify-self: start; margin-top: 4px; }
.fy__end { display: flex; align-items: center; gap: 8px; }
.fy__new { width: 10px; height: 10px; border-radius: 50%; background: var(--format-mini); }
.tea-face--fy { width: 40px; height: 40px; font-size: 17px; }

/* Faces: their picture, or their first letter on a colour of their own */
.tea-face { position: relative; flex: none; display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: var(--c, var(--accent)); color: #1A1030; font: 700 16px/1 var(--font-display); text-decoration: none; }
.tea-face img { width: 100%; height: 100%; object-fit: cover; }
.tea-face--1 { --c: var(--danger); } .tea-face--2 { --c: var(--orange); } .tea-face--3 { --c: #FFE07A; }
.tea-face--4 { --c: var(--success); } .tea-face--5 { --c: var(--accent); } .tea-face--6 { --c: var(--accent); }
.tea-face--mini, .tea-face--podium { width: 26px; height: 26px; font-size: 12px; box-shadow: 0 0 0 2px var(--surface); }
.tea-face--podium { width: 30px; height: 30px; font-size: 13px; }
.tea-face--reply { width: 30px; height: 30px; font-size: 13px; }
.tea-faces { display: inline-flex; flex: none; }
.tea-faces > * + * { margin-left: -8px; }

/* How busy it is: Lukewarm to Scorching, a steady bar */
.tea-heat { display: inline-flex; align-items: center; gap: 7px; color: var(--text-secondary); font: 650 12.5px/1 var(--font-body); }
.tea-heat .icon { width: 16px; height: 16px; stroke: none; fill: var(--hc, var(--text-muted)); }
.tea-heat__bar { display: flex; gap: 3px; }
.tea-heat__bar i { width: 14px; height: 6px; border-radius: 3px; background: rgba(16, 24, 40, 0.09); }
.tea-heat[data-level="1"] { --hc: var(--rainbow-3); } .tea-heat[data-level="2"] { --hc: var(--rainbow-2); }
.tea-heat[data-level="3"] { --hc: var(--rainbow-1); } .tea-heat[data-level="4"] { --hc: var(--accent); }
.tea-heat .tea-heat__bar i:nth-child(1) { background: var(--rainbow-3); }
.tea-heat[data-level="2"] i:nth-child(2), .tea-heat[data-level="3"] i:nth-child(2), .tea-heat[data-level="4"] i:nth-child(2) { background: var(--rainbow-2); }
.tea-heat[data-level="3"] i:nth-child(3), .tea-heat[data-level="4"] i:nth-child(3) { background: var(--rainbow-1); }
.tea-heat[data-level="4"] i:nth-child(4) { background: var(--accent); }
.tea-heat__label { color: var(--hc); }

/* A place's comments */
.tea-section { scroll-margin-top: 80px; }
.tea-section__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.tea-section__title { display: flex; align-items: center; gap: 8px; margin: 0; font: 650 20px/1.2 var(--font-display); }
.tea-section__title .icon { width: 22px; height: 22px; color: var(--fmt, var(--rainbow-6)); }
.tea-section__count { padding: 3px 9px; border-radius: var(--radius-pill); background: rgba(16, 24, 40, 0.053); color: var(--text-muted); font: 700 13px/1.2 var(--font-body); }
.tea-section__count:empty { display: none; }
.tea-section:not(.tea-section--docked) .tea-label--all { display: none; }
.tea-private { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--radius-pill); background: rgba(30, 138, 90, 0.12); color: var(--cyan); font: 600 12px/1.3 var(--font-body); white-space: nowrap; }
.tea-private .icon { width: 13px; height: 13px; }
.tea-private--small { padding: 2px 7px; font-size: 11px; }
.tea-label { display: flex; align-items: center; gap: 8px; margin: 18px 2px 12px; color: var(--text-muted); font: 700 12px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.tea-label svg { flex: none; width: 22px; height: 18px; }
.tea-label--top { color: var(--gold-ink); }
.tea-list > :first-child { margin-top: 6px; }
.tea-top { padding: 16px 12px 18px; border-radius: 22px; background: radial-gradient(100% 120% at 0% 0%, rgba(255, 210, 63, 0.14), transparent 60%), rgba(16, 24, 40, 0.023); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.35); }
.tea-thread { display: grid; gap: 14px; }
.tea-thread:empty { display: none; }
.tea-empty { margin: 0; padding: var(--space-4) var(--space-3); border: 1px dashed var(--border); border-radius: 16px; text-align: center; color: var(--text-muted); }
.tea-more { margin: var(--space-4) 0 0; text-align: center; }

/* One comment */
.tea { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: start; }
.tea__side { position: relative; }
.tea.is-you > .tea__side .tea-face { box-shadow: 0 0 0 2px var(--gold); }
.tea__crown { position: absolute; left: -7px; top: -17px; width: 30px; height: 24px; transform: rotate(-18deg); filter: drop-shadow(0 2px 3px rgba(16, 24, 40, 0.18)); pointer-events: none; }
.tea__crown svg, .tea-label svg { display: block; }
.tea__crown svg { width: 30px; height: 24px; }
.tea__crown.drop { animation: tea-crown-drop .9s var(--ease) both; }
@keyframes tea-crown-drop {
  0% { transform: translate(18px, -70px) rotate(25deg); opacity: 0; }
  45% { transform: translate(0, 2px) rotate(-22deg); opacity: 1; }
  65% { transform: translate(0, -9px) rotate(-14deg); }
  82% { transform: translate(0, 1px) rotate(-19deg); }
  100% { transform: rotate(-18deg); }
}
.tea__main { min-width: 0; }
.tea__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 5px; }
.tea__name { color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) { a.tea__name:hover { text-decoration: underline; } }
.tea.is-you > .tea__main > .tea__head .tea__name { color: var(--gold-ink); }
.tea__tag { padding: 1px 7px; border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--text-muted); font-size: 11px; font-weight: 600; }
.tea__verified { width: 16px; height: 16px; color: var(--format-sound); }
.tea__reply-mark { width: 14px; height: 14px; color: var(--text-muted); }
.tea__when { color: var(--text-muted); font-size: 12px; }
.tea__to { margin: -2px 0 5px; color: var(--text-muted); font-size: 12px; }
/* Chat admins get a rainbow label (Stuart, 14 Oct 2026). */
.chat-admin { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: var(--radius-pill); background: linear-gradient(100deg, var(--danger), var(--orange) 20%, #8A6C00 38%, var(--success) 56%, var(--accent) 76%, var(--accent)); color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.tea__bubble { position: relative; display: inline-block; max-width: 100%; min-width: 120px; padding: 10px 14px 12px; border: 1px solid var(--border); border-radius: 4px 18px 18px 18px; background: var(--surface-raised); overflow-wrap: anywhere; }
.tea__bubble p { margin: 0; }
.tea__bubble a { color: var(--accent-ink); }
.tea--stamp .tea__bubble { min-width: 0; padding: 4px 6px 12px 0; border: 0; background: none; }
/* A tap-to-say line lands as a stamp, in a colour of its own (Stuart, 29 Oct 2026). */
.tea-stamp { --sc: var(--accent); display: inline-block; padding: 5px 14px 6px; border: 2.5px solid var(--sc); border-radius: 10px; background: color-mix(in srgb, var(--sc) 12%, transparent); color: var(--sc); font: 700 21px/1.1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; transform: rotate(-3deg); }
.tea-stamp--1 { --sc: var(--danger); } .tea-stamp--2 { --sc: var(--orange); } .tea-stamp--3 { --sc: #FFD23F; } .tea-stamp--4 { --sc: var(--success); }
.tea-stamp--5 { --sc: var(--accent); } .tea-stamp--6 { --sc: var(--accent); } .tea-stamp--7 { --sc: var(--accent); }
.tea.is-to-me:not(.tea--stamp) > .tea__main > .tea__bubble { box-shadow: inset 0 0 0 1.5px var(--format-mini); }
.tea.is-pending > .tea__main > .tea__bubble { border: 1px dashed rgba(226, 112, 58, 0.6); }
.tea.is-deleted > .tea__main > .tea__bubble { border: 1px dashed var(--border); background: transparent; color: var(--text-muted); font-style: italic; }
.tea__note { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; color: var(--warning); font-size: 12px; }
.tea__note .icon { flex: none; width: 14px; height: 14px; }
.tea__toast { margin: 6px 0 0; color: var(--danger); font-size: 13px; }
.chat-mention { color: var(--accent-ink); font-weight: 700; text-decoration: none; }
@media (hover: hover) { .chat-mention:hover { text-decoration: underline; } }
.chat-mention--me { padding: 0 3px; border-radius: 5px; background: rgba(63, 115, 221, 0.22); color: var(--accent-ink); }
/* Receipts: their result when they said it */
.tea-receipt { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--radius-pill); background: rgba(16, 24, 40, 0.06); color: var(--text-secondary); font: 650 11.5px/1.2 var(--font-body); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tea-receipt .icon { width: 11px; height: 11px; fill: currentColor; }
.tea-receipt--perfect { background: rgba(255, 210, 63, 0.16); color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.45); }
.tea-receipt--top { background: var(--gold); color: #1A1030; box-shadow: none; }
/* Stickers, slapped on the corner at an angle */
.tea-stickers { position: absolute; right: -8px; bottom: -20px; display: flex; align-items: center; }
.tea__bubble:has(.tea-stickers) { margin-bottom: 14px; padding-bottom: 20px; }
.tea--stamp .tea__bubble:has(.tea-stickers) { padding-bottom: 22px; }
.tea-sticker { position: relative; display: grid; place-items: center; width: 32px; height: 32px; margin-left: -4px; padding: 0; border: 0; border-radius: 50%; background: #FFFFFF; box-shadow: 0 3px 8px rgba(16, 24, 40, 0.18), inset 0 0 0 1px rgba(16, 24, 40, 0.024); font-size: 18px; line-height: 1; transform: rotate(var(--rot, 0deg)); cursor: pointer; }
.tea-sticker:disabled { cursor: default; }
/* The angle each sticker was slapped on at, from the page (no style attributes: the site's security rules refuse them). */
.tea-sticker[data-rot="0"] { --rot: -16deg; } .tea-sticker[data-rot="1"] { --rot: -11deg; } .tea-sticker[data-rot="2"] { --rot: -6deg; } .tea-sticker[data-rot="3"] { --rot: -2deg; }
.tea-sticker[data-rot="4"] { --rot: 3deg; } .tea-sticker[data-rot="5"] { --rot: 8deg; } .tea-sticker[data-rot="6"] { --rot: 12deg; } .tea-sticker[data-rot="7"] { --rot: 17deg; }
.tea-sticker.is-mine { box-shadow: 0 3px 8px rgba(16, 24, 40, 0.18), 0 0 0 2px var(--gold); }
.tea-sticker b { position: absolute; left: -7px; top: -6px; display: grid; place-items: center; min-width: 18px; height: 16px; padding: 0 4px; border-radius: var(--radius-pill); background: #FFFFFF; color: var(--text); font: 700 10px/1 var(--font-body); box-shadow: 0 0 0 1.5px rgba(51, 54, 61, 0.5); }
.tea-sticker.slap { animation: tea-slap .45s var(--pop) both; }
@keyframes tea-slap { 0% { transform: scale(1.9) rotate(calc(var(--rot, 0deg) - 30deg)); opacity: 0; } 60% { opacity: 1; } 100% { transform: scale(1) rotate(var(--rot, 0deg)); } }
.tea__actions { position: relative; display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.tea__actions > button, .tea-tray > summary { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 10px; border: 0; border-radius: var(--radius-pill); background: none; color: var(--text-muted); font: 650 12.5px/1 var(--font-body); list-style: none; cursor: pointer; }
.tea-tray > summary::-webkit-details-marker { display: none; }
.tea-tray[open] > summary { background: rgba(16, 24, 40, 0.045); color: var(--text); }
@media (hover: hover) { .tea__actions > button:hover, .tea-tray > summary:hover { background: rgba(16, 24, 40, 0.045); color: var(--text); } }
.tea__actions .icon { width: 17px; height: 17px; }
.tea__more { width: 36px; margin-left: auto; padding: 0 !important; justify-content: center; }
.tea-tray { position: relative; }
.tea-tray__pick { position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 5; display: flex; gap: 2px; padding: 5px; border-radius: var(--radius-pill); background: var(--surface-raised); box-shadow: 0 10px 30px rgba(16, 24, 40, 0.18), inset 0 0 0 1px rgba(51, 54, 61, 0.05); }
.tea-tray__pick form { display: contents; }
.tea-tray__pick button { width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: none; font-size: 22px; line-height: 1; cursor: pointer; transition: transform .15s var(--pop); }
.tea-tray__pick button:focus-visible { background: rgba(16, 24, 40, 0.045); transform: scale(1.2); }
@media (hover: hover) { .tea-tray__pick button:hover { background: rgba(16, 24, 40, 0.045); transform: scale(1.2); } }
.tea__replies { display: grid; gap: 16px; margin-top: 14px; }
.tea--reply { grid-template-columns: 30px minmax(0, 1fr); }
.tea.drop-in, .u-card.drop-in { animation: tea-drop-in .6s var(--pop) both; }
@keyframes tea-drop-in { 0% { transform: translateY(-36px) scale(.94); opacity: 0; } 55% { opacity: 1; } 100% { transform: none; } }
/* Taken to a comment: one slow glow, never a blink. */
.tea.is-found > .tea__main > .tea__bubble { animation: tea-found 1.6s ease-in-out; }
@keyframes tea-found { 30% { box-shadow: 0 0 0 4px rgba(63, 115, 221, 0.45); } }

/* The spoiler lock: you can see the tea piling up, but it only sharpens once you've played (Stuart, 29 Oct 2026). */
.tea.is-locked > .tea__main > .tea__bubble { min-width: 180px; }
.tea__ghost { display: grid; gap: 7px; margin: 0; padding: 3px 0; }
.tea__ghost span { display: block; height: 10px; border-radius: 5px; background: rgba(16, 24, 40, 0.338); filter: blur(4px); }
.tea__ghost [data-w="30"] { width: 30%; } .tea__ghost [data-w="35"] { width: 35%; } .tea__ghost [data-w="40"] { width: 40%; } .tea__ghost [data-w="45"] { width: 45%; }
.tea__ghost [data-w="50"] { width: 50%; } .tea__ghost [data-w="55"] { width: 55%; } .tea__ghost [data-w="60"] { width: 60%; } .tea__ghost [data-w="65"] { width: 65%; }
.tea__ghost [data-w="70"] { width: 70%; } .tea__ghost [data-w="75"] { width: 75%; } .tea__ghost [data-w="80"] { width: 80%; } .tea__ghost [data-w="85"] { width: 85%; }
.tea__ghost [data-w="90"] { width: 90%; } .tea__ghost [data-w="95"] { width: 95%; }
.tea-lock { margin: 6px 0 18px; padding: 18px; border-radius: var(--radius-card); background: radial-gradient(90% 120% at 50% 0%, color-mix(in srgb, var(--fmt, var(--orange)) 18%, transparent), transparent 65%), #FFFFFF; box-shadow: 0 16px 40px rgba(16, 24, 40, 0.18), inset 0 0 0 1px color-mix(in srgb, var(--fmt, var(--orange)) 50%, transparent); text-align: center; }
.tea-lock > .icon { width: 28px; height: 28px; color: color-mix(in srgb, var(--fmt, var(--orange-ink)) 70%, var(--text)); }
.tea-lock h3 { margin: 6px 0 4px; font: 650 19px/1.2 var(--font-display); }
.tea-lock p { margin: 0 0 14px; color: var(--text-secondary); font-size: 14px; }
.tea-list.sharpen .tea__bubble, .tea-list.sharpen .tea-receipt { animation: tea-sharpen .9s var(--ease) both; }
@keyframes tea-sharpen { from { filter: blur(6px); } to { filter: blur(0); } }

/* The box to write in, the tap-to-say lines and the buzzer */
.tea-compose { margin-top: 18px; }
.tea-compose--docked { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) - var(--vv-shift, 0px)); z-index: 40; margin: 0; padding: 10px var(--space-3) 12px; border-top: 1px solid var(--border); background: var(--bg); }
.tea-compose--docked > * { max-width: calc(640px - 2 * var(--space-3)); margin-left: auto; margin-right: auto; }
/* The page leaves room for it (tea.js measures it). */
body:has(.tea-compose--docked) .page { padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + var(--compose-height, 140px) + var(--space-4)); }
@media (min-width: 900px) {
  .tea-compose--docked { bottom: calc(0px - var(--vv-shift, 0px)); }
  body:has(.tea-compose--docked) .page { padding-bottom: calc(var(--compose-height, 140px) + var(--space-4)); }
}
.tea-lines { display: flex; gap: 8px; margin: 0 -2px; padding: 2px 2px 10px; overflow-x: auto; scrollbar-width: none; }
.tea-lines::-webkit-scrollbar { display: none; }
.tea-line { flex: none; min-height: 36px; padding: 0 13px; border: 1.5px dashed rgba(16, 24, 40, 0.21); border-radius: var(--radius-pill); background: none; color: var(--text); font: 600 13.5px/1 var(--font-display); letter-spacing: .02em; cursor: pointer; transition: transform .15s var(--pop), border-color .2s var(--ease); }
.tea-line:focus-visible { border-color: var(--gold); transform: rotate(-2deg) scale(1.04); }
@media (hover: hover) { .tea-line:hover { border-color: var(--gold); transform: rotate(-2deg) scale(1.04); } }
.tea-say__row { display: flex; align-items: flex-end; gap: 10px; }
.tea-say textarea { flex: 1; min-width: 0; min-height: 48px; max-height: 140px; padding: 13px 16px; border: 1px solid rgba(16, 24, 40, 0.105); border-radius: 24px; background: var(--surface); color: var(--text); font: 16px/1.35 var(--font-body); resize: none; }
.tea-say textarea::placeholder { color: var(--text-muted); }
.tea-say textarea:focus { outline: none; border-color: color-mix(in srgb, var(--fmt, var(--rainbow-6)) 70%, transparent); }
/* "Buzz in": a proper buzzer that presses down (Stuart, 29 Oct 2026). */
.tea-buzzer { flex: none; height: 48px; margin-top: 3px; padding: 0 18px; border: 0; border-radius: var(--radius-pill); background: radial-gradient(120% 100% at 50% 0%, var(--danger), var(--danger) 60%, var(--danger)); color: #FFFFFF; font: 700 15px/1 var(--font-display); letter-spacing: .03em; box-shadow: 0 5px 0 var(--danger), 0 8px 14px rgba(16, 24, 40, 0.16), inset 0 2px 0 rgba(51, 54, 61, 0.175); transform: translateY(-3px); cursor: pointer; transition: transform .08s ease, box-shadow .08s ease; }
.tea-buzzer:active, .tea-buzzer.is-pressed { box-shadow: 0 0 0 var(--danger), 0 2px 4px rgba(16, 24, 40, 0.16), inset 0 2px 0 rgba(51, 54, 61, 0.125); transform: translateY(2px); }
.tea-buzzer--radio { background: radial-gradient(120% 100% at 50% 0%, var(--success), var(--accent) 60%, var(--accent)); color: #03202B; box-shadow: 0 5px 0 rgba(16, 24, 40, 0.18), 0 8px 14px rgba(16, 24, 40, 0.16), inset 0 2px 0 rgba(51, 54, 61, 0.225); }
.tea-buzzer--radio:active, .tea-buzzer--radio.is-pressed { box-shadow: 0 0 0 rgba(16, 24, 40, 0.18), 0 2px 4px rgba(16, 24, 40, 0.16); }
.tea-say[aria-busy="true"] .tea-buzzer { cursor: wait; }
.tea-say__note { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 2px 2px 2px 12px; border-radius: 12px; background: var(--surface-raised); color: var(--text-secondary); font-size: 13px; }
.tea-say__note > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tea-say__note .icon { flex: none; width: 16px; height: 16px; color: var(--text-muted); }
.tea-say__note button { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--text-secondary); font-size: 22px; line-height: 1; cursor: pointer; }
.tea-say__guest { margin: 8px 4px 0; color: var(--text-muted); font-size: 12px; }
.tea-say__guest a { color: var(--text-secondary); }
.tea-say__status { margin: 8px 4px 0; color: var(--danger); font-size: 13px; }
.tea-say__status:empty { display: none; }
.tea-compose__locked { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; min-height: 48px; }
.tea-compose__locked p { flex: 1 1 200px; display: flex; align-items: center; gap: 8px; margin: 0; color: var(--text-secondary); font-size: 14px; font-weight: 600; }
.tea-compose__locked .icon { flex: none; width: 18px; height: 18px; }

/* Comments wear the look of where they are: Halloween, Eurovision, the board's gold, and Pride Armada's ship's radio. */
.tea-look--halloween .tea__bubble { border-color: rgba(226, 112, 58, 0.35); background: linear-gradient(135deg, rgba(226, 112, 58, 0.16), rgba(63, 115, 221, 0.22)), #FFFFFF; }
.tea-look--halloween .tea-receipt { background: rgba(226, 112, 58, 0.16); color: var(--orange-ink); box-shadow: inset 0 0 0 1px rgba(226, 112, 58, 0.45); }
.tea-look--eurovision .tea__bubble { border-color: rgba(63, 115, 221, 0.35); background: linear-gradient(135deg, rgba(63, 115, 221, 0.16), rgba(63, 115, 221, 0.16)), #FFFFFF; }
.tea-look--eurovision .tea-receipt { border-radius: 6px; background: var(--bg); color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(63, 115, 221, 0.6); font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.tea-look--board .tea-section__title .icon { color: var(--gold-ink); }
.tea-look--radio { --fmt: var(--cyan); }
.tea-look--radio .tea__bubble { border-color: rgba(30, 138, 90, 0.4); border-radius: 4px 14px 14px 14px; background: repeating-linear-gradient(0deg, rgba(30, 138, 90, 0.06) 0 1px, transparent 1px 4px), #FFFFFF; }
.tea-look--radio .tea__name { color: var(--cyan); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.tea-look--radio .tea-receipt { border-radius: 4px; background: rgba(30, 138, 90, 0.08); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(30, 138, 90, 0.4); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.tea-look--radio .tea-label, .tea-look--radio .tea-section__count { color: var(--cyan); font-family: var(--font-mono); }
.tea-look--radio.card { border-color: rgba(30, 138, 90, 0.3); background: repeating-linear-gradient(0deg, rgba(30, 138, 90, 0.035) 0 1px, transparent 1px 4px), var(--bg); }
.tea-look--halloween .tea--stamp .tea__bubble, .tea-look--eurovision .tea--stamp .tea__bubble, .tea-look--radio .tea--stamp .tea__bubble { border: 0; background: none; }
.tea-page--halloween .tea-compose--docked, .tea-section--docked.tea-look--radio .tea-compose--docked { background: var(--bg); }
body:has(.tea-page--halloween) { background: radial-gradient(120% 60% at 100% 0%, rgba(226, 112, 58, 0.12), transparent 60%) no-repeat, radial-gradient(120% 60% at 0% 30%, rgba(63, 115, 221, 0.16), transparent 60%) no-repeat, var(--bg); background-size: 100% 100vh; }
body:has(.tea-page--eurovision) { background: radial-gradient(120% 60% at 100% 0%, rgba(63, 115, 221, 0.12), transparent 60%) no-repeat, radial-gradient(120% 60% at 0% 30%, rgba(63, 115, 221, 0.1), transparent 60%) no-repeat, var(--bg); background-size: 100% 100vh; }

/* A place's own page: its quiz, or its card, then the tea */
.tea-hero { padding: var(--space-4); }
.tea-hero h1 { margin: 0 0 4px; font-size: 26px; line-height: 1.15; }
.tea-hero h1 a { color: inherit; text-decoration: none; }
.tea-hero > .secondary { margin: 0; font-size: 14px; }
.tea-hero__you { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--text-secondary); font-size: 13px; }
.tea-card-hero { margin-bottom: var(--space-3); }
.page--thread .tea-section--docked .tea-list > :first-child { margin-top: 0; }

/* A quiz's comments at a glance, on its page and its results */
.tea-summary__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tea-summary__row p { flex: 1 1 160px; margin: 0; }
.tea-summary .btn { margin-top: var(--space-3); }
.tea-summary > .secondary, .tea-summary .muted { margin: var(--space-2) 0 0; }
.tea-summary__fact { display: flex; align-items: center; gap: 8px; margin: var(--space-2) 0 0; }
.tea-summary__fact .icon { flex: none; width: 16px; height: 16px; }

/* House rules, the admins' queue and the sheet */
.chat-rules { margin-top: var(--space-2); border: 1px solid var(--border); border-radius: var(--radius-field); background: var(--surface); }
.chat-rules summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; color: var(--text-secondary); font-weight: 600; cursor: pointer; }
.chat-rules ul { margin: 0; padding: 0 var(--space-3) var(--space-3) calc(var(--space-3) + 18px); color: var(--text-secondary); font-size: 14px; }
.chat-rules li + li { margin-top: 6px; }
.chat-rules li .icon { width: 16px; height: 16px; }
.chat-rules > p { margin: 0; padding: 0 var(--space-3) var(--space-3); }
.chat-review__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.chat-review__list p { margin: 0; }
.chat-review blockquote { margin: 6px 0 10px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--warning) 45%, transparent); border-radius: 8px; background: var(--surface-raised); overflow-wrap: anywhere; }
/* The sheet that slides up from a comment's ••• button (and the idea box's join pop-up). */
.chat-sheet { top: var(--vv-shift, 0px); bottom: calc(0px - var(--vv-shift, 0px)); width: min(480px, 100vw); max-width: 100vw; max-height: 88dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--surface); color: var(--text); box-shadow: 0 -12px 40px rgba(16, 24, 40, 0.18); }
@media (min-width: 600px) { .chat-sheet { margin: auto; border-radius: 22px; } }
.chat-sheet::backdrop { background: rgba(255, 255, 255, 0.82); }
.chat-sheet[open] { animation: chat-sheet-in .26s cubic-bezier(.2, .7, .2, 1); }
@keyframes chat-sheet-in { from { transform: translateY(28px); opacity: 0; } to { transform: none; opacity: 1; } }
.chat-sheet__inner { display: grid; gap: 12px; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
.chat-sheet__title { display: -webkit-box; margin: 0; overflow: hidden; color: var(--text-secondary); font-size: 13px; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.chat-sheet__title:empty { display: none; }
.chat-sheet__who p { margin: 0 0 8px; color: var(--text-secondary); font-size: 13px; }
.chat-sheet__who-emoji { font-size: 16px; }
.chat-sheet__join { display: grid; gap: 8px; }
.chat-sheet__join p { margin: 0 0 4px; color: var(--text-secondary); }
.chat-sheet__actions { display: grid; gap: 2px; }
.chat-sheet__actions button { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border: 0; border-radius: 12px; background: transparent; color: var(--text); font: 600 15px/1.2 var(--font-body); text-align: left; cursor: pointer; }
.chat-sheet__actions button:focus-visible { background: var(--surface-raised); }
@media (hover: hover) { .chat-sheet__actions button:hover { background: var(--surface-raised); } }
.chat-sheet__actions .icon { width: 20px; height: 20px; color: var(--text-secondary); }
.chat-sheet__actions .is-danger, .chat-sheet__actions .is-danger .icon { color: var(--danger); }
.chat-sheet__actions .is-confirming { background: rgba(211, 63, 73, 0.16); }
.chat-sheet__status { margin: 0; color: var(--text-secondary); font-size: 13px; }
.chat-sheet__status:empty { display: none; }

/* Admin: the cards they write for Updates, and the comments waiting for a look */
.card-colours { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.card-colour { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; cursor: pointer; }
.card-colour input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }
.card-colour__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--format-gk); }
.card-colour__dot--rainbow { background: conic-gradient(var(--danger), #FFB800, var(--success), var(--accent), var(--accent), var(--danger)); }
.card-colour__dot--mini { background: var(--format-mini); }
.card-colour__dot--picture { background: var(--format-picture); }
.card-colour__dot--sound { background: var(--format-sound); }
.card-colour__dot--map { background: var(--format-map); }
.card-colour__dot--video { background: var(--format-video); }
.chat-cards-admin { display: grid; gap: var(--space-4); align-items: start; }
@media (min-width: 960px) { .chat-cards-admin { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } .chat-cards-admin__preview { position: sticky; top: 90px; } }
.admin-bio { overflow-wrap: anywhere; max-width: 46ch; }
.admin-chat-queue blockquote { margin: 6px 0 10px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--warning) 45%, transparent); border-radius: 8px; background: var(--surface-raised); overflow-wrap: anywhere; }

/* With reduced motion it all simply appears: no slaps, drops, confetti, glows or sharpening. */
@media (prefers-reduced-motion: reduce) {
  .u-card, .u-btn, .tea-line, .tea-tray__pick button, .tea-buzzer { transition: none; }
  .u-card:has(.u-card__link:active), .tea-line:focus-visible, .tea-tray__pick button:focus-visible { transform: none; }
@media (hover: hover) { .tea-line:hover, .tea-tray__pick button:hover { transform: none; } }
  .u-btn.bump .u-btn__n, .u-confetti, .tea__crown.drop, .tea-sticker.slap, .tea.drop-in, .u-card.drop-in,
  .tea.is-found > .tea__main > .tea__bubble, .tea-list.sharpen .tea__bubble, .tea-list.sharpen .tea-receipt, .chat-sheet[open] { animation: none; }
  .u-confetti { display: none; }
}

/* ---------- Rate this quiz (Stuart, 14 Oct 2026) ----------
   Tap a star and they pop up one after another with a little burst (site.js). Everything moves once and
   fades out smoothly; nothing blinks or flashes, and nothing moves at all with reduced motion. */
.rate { text-align: center; }
.rate .card__title { justify-content: center; }
.rate .card__title .icon { stroke: #F4B400; }
.rate__stars { border: 0; padding: 0; margin: 0; min-width: 0; }
.rate__ask { padding: 0; margin: 0 auto var(--space-2); color: var(--text-secondary); font-size: 14px; }
.rate__row { display: flex; justify-content: center; gap: 4px; }
.rate__star { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.rate__star svg { width: 42px; height: 42px; fill: rgba(51, 54, 61, 0.1); stroke: rgba(51, 54, 61, 0.3); stroke-width: 1.2; transition: fill .2s var(--ease), stroke .2s var(--ease), filter .2s var(--ease); }
.rate__input:focus-visible + .rate__star { outline: 3px solid var(--accent); outline-offset: 2px; }
/* Lit up to the one picked (the picked one alone where :has isn't supported). */
.rate__input:checked + .rate__star svg,
.rate__row:has(#rate-2:checked) .rate__star:nth-of-type(-n+2) svg,
.rate__row:has(#rate-3:checked) .rate__star:nth-of-type(-n+3) svg,
.rate__row:has(#rate-4:checked) .rate__star:nth-of-type(-n+4) svg,
/* Bright gold, as before the light look (Stuart, 12 Nov 2026: "they should be the nice fun gold stars we had before"). */
.rate__row:has(#rate-5:checked) .rate__star:nth-of-type(-n+5) svg { fill: #FFC83D; stroke: #F4B400; filter: drop-shadow(0 0 8px rgba(255, 200, 61, 0.45)); }
@media (hover: hover) {
  .rate__row:has(.rate__star:nth-of-type(1):hover) .rate__star:nth-of-type(-n+1) svg,
  .rate__row:has(.rate__star:nth-of-type(2):hover) .rate__star:nth-of-type(-n+2) svg,
  .rate__row:has(.rate__star:nth-of-type(3):hover) .rate__star:nth-of-type(-n+3) svg,
  .rate__row:has(.rate__star:nth-of-type(4):hover) .rate__star:nth-of-type(-n+4) svg,
  .rate__row:has(.rate__star:nth-of-type(5):hover) .rate__star:nth-of-type(-n+5) svg { stroke: #F4B400; }
}
.rate__reaction { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; margin: var(--space-2) 0 0; font-weight: 700; font-size: 16px; }
.rate__reaction:empty { min-height: 0; margin: 0; }
.rate__emoji { display: inline-block; font-size: 25px; line-height: 1; }
.rate__why { margin-top: var(--space-3); text-align: left; }
.rate__why-label { display: block; margin-bottom: var(--space-2); font-weight: 700; }
.rate__why textarea { display: block; width: 100%; min-height: 96px; padding: var(--space-3); border: 1.5px solid rgba(16, 24, 40, 0.105); border-radius: var(--radius-field); background: var(--surface-raised); color: var(--text); font: 16px/1.45 var(--font-body); resize: vertical; }
.rate__why textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(63, 115, 221, 0.35); }
.rate__why .btn { margin-top: var(--space-2); }
.rate__why p { margin: var(--space-2) 0 0; }
.rate__save { margin-top: var(--space-3); }
.rate__average { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin: var(--space-3) 0 0; padding-top: var(--space-3); border-top: 1px solid var(--border); font-size: 13px; color: var(--text-secondary); }
.rate__average .stars { width: 80px; }
.rate__average strong { color: var(--text); }
.rate__burst { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 60; }
.rate__bit { position: absolute; left: 0; top: 0; font-size: 16px; line-height: 1; will-change: transform, opacity; }

/* Admin: reading the ratings. */
.rating-totals { grid-template-columns: repeat(3, 1fr); margin-bottom: var(--space-4); }
.rating-stars { color: rgba(51, 54, 61, 0.2); letter-spacing: 1px; white-space: nowrap; }
.rating-stars .is-on { color: #F4B400; }
.rating-item p { margin: 0; }
.rating-item__why { margin: var(--space-2) 0 0; padding: var(--space-2) var(--space-3); border-radius: 10px; background: rgba(16, 24, 40, 0.03); color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.rating-split { white-space: nowrap; }

/* Our own dropdown arrow, centred with room to breathe (Stuart, 15 Oct 2026: the browser's sat off-centre against the edge). */
.field select, .row select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C9BFEA' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 14px 14px; padding-right: 44px; text-overflow: ellipsis; }
.field select::-ms-expand { display: none; }

/* Top three in their region (Stuart, 15 Oct 2026): a gold, silver or bronze shout-out, steady, no shimmer. */
.region-star { display: flex; align-items: center; gap: 12px; margin: var(--space-3) 0 0; padding: 10px 14px; border-radius: 16px; color: var(--text); text-decoration: none; background: linear-gradient(100deg, rgba(255, 196, 0, 0.16), rgba(16, 24, 40, 0.03)); border: 1px solid rgba(255, 196, 0, 0.45); }
.region-star--2 { background: linear-gradient(100deg, rgba(16, 24, 40, 0.12), rgba(16, 24, 40, 0.03)); border-color: rgba(16, 24, 40, 0.338); }
.region-star--3 { background: linear-gradient(100deg, rgba(226, 112, 58, 0.18), rgba(16, 24, 40, 0.03)); border-color: rgba(226, 112, 58, 0.5); }
@media (hover: hover) { .region-star:hover { border-color: var(--text-muted); } }
.region-star__medal { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; color: #2A1C00; background: linear-gradient(145deg, #FFE27A, #F5B700); box-shadow: inset 0 -2px 0 rgba(16, 24, 40, 0.072); }
.region-star--2 .region-star__medal { color: #1F2633; background: linear-gradient(145deg, #F1F1F6, #B4B9C6); }
.region-star--3 .region-star__medal { color: #2E1606; background: linear-gradient(145deg, #F5B58A, #C97B45); }
.region-star__text { display: flex; flex-direction: column; min-width: 0; }
.region-star__text strong { font-size: 15px; }
.region-star__text > span { font-size: 13px; color: var(--text-secondary, var(--text-muted)); }

.me-hero .region-star { margin: var(--space-3) 0; }

/* Closing soon countdown on a quiz page (Stuart, 15 Oct 2026). Steady amber, red in the last hour; numbers tick, nothing blinks. */
.countdown { --cd: var(--orange); margin: var(--space-4) 0 0; padding: var(--space-3); border-radius: 18px; background: linear-gradient(135deg, rgba(226, 112, 58, 0.16), rgba(16, 24, 40, 0.023)); border: 1px solid rgba(226, 112, 58, 0.5); }
.countdown--final { --cd: var(--danger); background: linear-gradient(135deg, rgba(211, 63, 73, 0.18), rgba(16, 24, 40, 0.023)); border-color: rgba(211, 63, 73, 0.55); }
.countdown__label { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--space-3); color: var(--cd); font-weight: 700; font-size: 14px; }
.countdown__label .icon { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--cd); }
.countdown__units { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.countdown__unit { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; background: var(--surface-raised); }
.countdown__unit strong { font: 700 25px/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--text); }
.countdown__unit span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); }
.countdown__when { margin: var(--space-2) 0 0; font-size: 13px; color: var(--text-secondary); text-align: center; }

/* ---------- Friends (Stuart, 15 Oct 2026) ---------- */
.friend-face { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: conic-gradient(from 200deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6), var(--rainbow-1)); color: var(--text); font: 700 14px/1 var(--font-body); }
.friend-face img { width: 100%; height: 100%; object-fit: cover; }
.friend-face--big { width: 56px; height: 56px; font-size: 20px; }
.friend-face--hero { width: 96px; height: 96px; font-size: 36px; box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--rainbow-3); }
.friend-form { display: inline; margin: 0; }
.friend-add .icon, .chip--friends .icon, .chip--mutual .icon { width: 16px; height: 16px; }
.chip--friends { gap: 4px; background: rgba(63, 115, 221, 0.14); border-color: rgba(63, 115, 221, 0.45); color: var(--accent-ink); }
.chip--mutual { gap: 4px; background: rgba(63, 115, 221, 0.14); border-color: rgba(63, 115, 221, 0.45); color: var(--accent-ink); text-decoration: none; }
.chip--mutual .icon { stroke: currentColor; }
.profile-friend { height: 32px; padding: 0 12px; font-size: 13px; gap: 6px; text-decoration: none; }
.profile-friend .icon { width: 16px; height: 16px; stroke: currentColor; }
.profile-friend-note { display: flex; align-items: center; gap: 6px; margin: var(--space-3) 0 0; color: var(--text-secondary); }
.profile-friend-note .icon { width: 18px; height: 18px; stroke: var(--format-sound); }

.friend-notes { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: var(--space-2); }
.friend-note { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: linear-gradient(100deg, rgba(63, 115, 221, 0.14), rgba(16, 24, 40, 0.023)); border: 1px solid rgba(63, 115, 221, 0.4); }
.friend-note--back { background: linear-gradient(100deg, rgba(63, 115, 221, 0.16), rgba(16, 24, 40, 0.023)); border-color: rgba(63, 115, 221, 0.45); }
.friend-note__text { margin: 0; }
.friend-note__text a { color: var(--text); font-weight: 700; }
.friend-note__actions { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.friend-search { display: flex; gap: var(--space-2); margin: 0 0 var(--space-3); }
.friend-search input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border-radius: var(--radius-field); border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; }
.friend-list { list-style: none; margin: 0 0 var(--space-3); padding: 0; }
.friend-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.friend-row:first-child { border-top: 0; }
.friend-row__who { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--text); font-weight: 650; text-decoration: none; }
.friend-row__who > span:not(.friend-face):not(.chip) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.friend-row__who .chip { flex: none; }
.friend-row form { margin: 0; flex: none; }

.friend-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: var(--space-3) var(--space-2); }
.friend-people__item { display: grid; justify-items: center; gap: 6px; color: var(--text-secondary); text-decoration: none; font-size: 13px; text-align: center; }
.friend-people__name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Friends who've done a quiz, on its page while the board's sealed (Stuart, 8 Nov 2026). */
.friends-done { margin: var(--space-3) 0; }
.friends-done__more { margin: var(--space-2) 0 0; }

.friends-card__period { margin: calc(var(--space-2) * -1) 0 var(--space-3); color: var(--text-muted); font-size: 13px; }
.friends-card__more { margin: var(--space-3) 0 0; }
.friends-waiting { margin: var(--space-3) 0 0; }

.invite-card { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)) border-box; }
.invite-card__link { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin: var(--space-3) 0; padding: 8px 8px 8px 14px; border-radius: var(--radius-field); background: var(--bg); border: 1px dashed rgba(16, 24, 40, 0.15); font-weight: 650; font-size: 14px; }
.invite-card__link span { min-width: 0; overflow-wrap: anywhere; }
.invite-card__buttons { display: grid; gap: var(--space-2); }
.invite-card__tally { margin: var(--space-3) 0 0; color: var(--text-secondary); }

.invite-hero { text-align: center; display: grid; justify-items: center; gap: var(--space-2); }
.invite-hero__face { margin-bottom: var(--space-2); }
.invite-hero__title { margin: 0; font-size: clamp(21px, 5.7vw, 30px); line-height: 1.2; }
.invite-hero__name { background: linear-gradient(90deg, var(--rainbow-3), var(--rainbow-2), var(--format-mini)); -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere; }
.invite-hero__sub { margin: 0; color: var(--text-secondary); }
.invite-hero__usps { list-style: none; margin: 0 0 var(--space-2); padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.invite-hero__usps li { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--surface-raised); border: 1px solid var(--border); font: 700 13px/1.4 var(--font-body); color: var(--text-secondary); }
.invite-hero .btn { margin-top: var(--space-2); }
.claim-banner--invite .icon { stroke: var(--format-sound); }
.friend-made .card__title .icon { stroke: var(--format-mini); }

/* Four boards side by side on a phone once Friends joined (15 Oct 2026). */
@media (max-width: 480px) { .segmented:has(> :nth-child(4)) a { gap: 4px; font-size: 13px; } .segmented:has(> :nth-child(4)) .icon { width: 16px; height: 16px; } }
@media (max-width: 380px) { .segmented:has(> :nth-child(4)) .icon { display: none; } }

/* Friend notes count on the Me button, and "Dismiss all" (Stuart, 15 Oct 2026). */
.site-header__me { position: relative; }
.site-header__count { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--radius-pill); display: grid; place-items: center; background: var(--danger); color: #FFFFFF; font: 700 11px/1 var(--font-body); box-shadow: 0 0 0 2px var(--bg, rgba(16, 24, 40, 0.18)); }
.friend-notes-wrap { margin: 0 0 var(--space-3); }
.friend-notes-wrap .friend-notes { margin-bottom: 0; }
.friend-notes__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 var(--space-2); }
.friend-notes__title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1rem; }
.friend-notes__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-pill); display: inline-grid; place-items: center; background: var(--danger); color: #FFFFFF; font: 700 12px/1 var(--font-body); }
.friend-notes__more { margin: var(--space-2) 0 0; text-align: center; }

/* Invite plug on the Regional Leaderboard (Stuart, 15 Oct 2026). */
.empty .regional__invite { margin-top: var(--space-3); }
.empty .regional__invite .icon { width: 20px; height: 20px; stroke: currentColor; margin: 0; }
.regional__short { margin: var(--space-3) 0 var(--space-2); text-align: center; color: var(--text-secondary); }
.regional__invite + .small { margin-top: var(--space-3); }

/* The final podium pop-up on a closed quiz's results (Stuart, 15 Oct 2026). */
.celebrate--final .celebrate__panel { width: min(440px, 100%); padding-top: var(--space-4); }
.celebrate__quiz { margin: 0 0 var(--space-3); color: var(--text-secondary); font-weight: 600; }
.final-podium { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 8px; margin: 0 0 var(--space-3); padding: 0; }
.final-podium__step { display: grid; justify-items: center; align-content: start; gap: 4px; min-width: 0; padding: 10px 4px 12px; border-radius: 14px; background: rgba(16, 24, 40, 0.038); border: 1px solid var(--border); }
.final-podium__step--1 { order: 2; padding-top: 4px; padding-bottom: 22px; background: rgba(255, 210, 63, 0.1); border-color: rgba(255, 210, 63, 0.35); }
.final-podium__step--2 { order: 1; }
.final-podium__step--3 { order: 3; }
.final-podium__step.is-me { box-shadow: 0 0 0 2px var(--success); }
.final-podium__medal.podium__medal { margin: 0; width: 28px; height: 28px; font-size: 13px; }
.final-podium__step--2 .podium__medal, .final-podium__step--3 .podium__medal { box-shadow: none; }
.final-podium__face { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--danger), #FFD23F, var(--success), var(--accent), var(--accent)); color: #120E24; font: 650 20px/1 var(--font-display); }
.final-podium__step--1 .final-podium__face { width: 68px; height: 68px; }
.final-podium__face img { width: 100%; height: 100%; object-fit: cover; }
.final-podium__name { max-width: 100%; overflow: hidden; color: var(--text); font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.final-podium__more { color: var(--text-muted); font-size: 12px; }
.final-podium__points { color: var(--text-secondary); font-size: 12px; font-weight: 600; }
.final-podium__step .chip { height: 18px; padding: 0 6px; font-size: 11px; }
.waiting-list__more { margin-top: var(--space-3); }

/* ---------- Quiz page start button (Stuart, 15 Oct 2026) ----------
   A chunky arcade-style green "go" button: a darker base underneath so it looks pressable, a gentle bob and a soft
   ring easing outwards to invite a tap, and a proper press-down when tapped. No flashing: the colours never change,
   and with reduced motion it keeps still. */
.start-btn { --go: var(--success); --go-2: var(--success); --go-base: var(--success); position: relative; display: block; width: 100%; margin: 0 0 6px; padding: 0; border: 0; border-radius: 22px; background: var(--go-base); color: #06241A; font: inherit; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; box-shadow: 0 14px 34px -10px rgba(30, 138, 90, 0.55); }
.start-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--go); opacity: 0; pointer-events: none; }
.start-btn__face { position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 20px 12px 14px; border-radius: inherit; background: linear-gradient(180deg, var(--go) 0%, var(--go-2) 100%); box-shadow: inset 0 2px 0 rgba(51, 54, 61, 0.225), inset 0 -3px 0 rgba(16, 24, 40, 0.048); transform: translateY(-7px); transition: transform .12s var(--ease); }
.start-btn__icon { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 3px rgba(51, 54, 61, 0.175); }
.start-btn__icon svg { width: 26px; height: 26px; margin-left: 3px; fill: var(--go); }
.start-btn__text { display: grid; gap: 2px; min-width: 0; text-align: left; }
.start-btn__label { font: 700 23px/1.1 var(--font-display); letter-spacing: .01em; white-space: nowrap; }
.start-btn__sub { font-size: 13px; font-weight: 600; line-height: 1.3; opacity: .78; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) { .start-btn:hover .start-btn__face { transform: translateY(-9px); } }
.start-btn:active .start-btn__face, .is-locked .start-btn__face { transform: translateY(-1px); }
.start-btn:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.is-locked .start-btn { cursor: progress; }
@media (prefers-reduced-motion: no-preference) {
  .start-btn { animation: start-bob 2.8s ease-in-out infinite; }
  .start-btn::after { animation: start-ring 2.8s ease-out infinite; }
  .start-btn__icon svg { animation: start-nudge 2.8s ease-in-out infinite; }
  .start-btn:active, .is-locked .start-btn, .is-locked .start-btn::after { animation: none; }
  .is-locked .start-btn__icon svg { animation: start-go .5s var(--ease) forwards; }
}
@keyframes start-bob { 0%, 60%, 100% { transform: none; } 75% { transform: translateY(-3px) scale(1.015); } 88% { transform: translateY(0) scale(1.005); } }
@keyframes start-ring { 0%, 55% { opacity: 0; transform: scale(1); } 62% { opacity: .5; } 100% { opacity: 0; transform: scale(1.06, 1.18); } }
@keyframes start-nudge { 0%, 60%, 100% { transform: none; } 72% { transform: translateX(4px); } 84% { transform: translateX(-1px); } }
@keyframes start-go { to { transform: translateX(6px) scale(1.15); } }
@media (max-width: 360px) { .start-btn__label { font-size: 20px; } .start-btn__icon { width: 44px; height: 44px; } }

/* ---------- Suggest a quiz theme (Stuart, 15 Oct 2026) ---------- */
.suggest__form { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.suggest__input { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-raised); color: var(--text); font: inherit; font-size: 16px; }
.suggest__input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.suggest__thanks { display: flex; align-items: center; gap: 10px; margin: var(--space-3) 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(255, 210, 63, 0.1); border: 1px solid rgba(255, 210, 63, 0.35); font-weight: 600; }
.suggest__thanks[hidden] { display: none; }
.suggest__emoji { font-size: 21px; line-height: 1; }
.suggest__again { margin-top: var(--space-2); }
/* Admin: quiz ideas */
.ideas__all { display: flex; align-items: center; gap: 8px; margin-bottom: var(--space-2); font-weight: 600; }
.idea { display: flex; align-items: flex-start; gap: var(--space-3); }
.idea__pick { padding-top: 4px; }
.idea__pick input, .ideas__all input { width: 20px; height: 20px; }
.idea__body { flex: 1; min-width: 0; }
.idea__text { margin: 0 0 4px; font-weight: 650; overflow-wrap: anywhere; }
.idea__body .small { margin: 0; }
.ideas__actions { margin-top: var(--space-3); }
.ideas__clear { margin-top: var(--space-3); }
/* Admin: 60 Seconds of Fame's question bank (Stuart, 2 Nov 2026) */
.fame-bank { margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.fame-bank__item { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.fame-bank__item:last-child { border-bottom: 0; }
.fame-bank__item.is-off .fame-bank__body { opacity: .6; }
.fame-bank__body { flex: 1; min-width: 0; }
.fame-bank__question { margin: 0 0 6px; font-weight: 650; overflow-wrap: anywhere; }
.fame-bank__number { display: inline-block; min-width: 3.2em; margin-right: 4px; padding: 1px 6px; border-radius: 8px; background: var(--surface-raised); color: var(--text-secondary); font-size: 13px; font-variant-numeric: tabular-nums; text-align: center; }
.fame-bank__options { display: grid; gap: 2px 14px; margin: 0; padding: 0; list-style: none; color: var(--text-secondary); font-size: 14px; }
@media (min-width: 700px) { .fame-bank__options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fame-bank__options b { display: inline-block; width: 1.3em; color: var(--text-muted); }
.fame-bank__options .is-right { color: var(--success); font-weight: 650; }
.fame-bank__options .is-right b { color: var(--success); }
.fame-bank__item form { flex: none; }

/* ---------- Halloween and Christmas specials (Stuart, 15 Oct 2026) ----------
   A quiz themed (or titled) Halloween or Christmas gets its own look on its cards and its page, picked by
   Gaymes\Quiz\Seasons with the same words as its badges. Cobwebs and bats, or snow and holly. Movement is slow drifting only:
   nothing flashes, and with reduced motion it all keeps still. */
.quiz-card--season, .quiz-hero--season { position: relative; overflow: hidden; isolation: isolate; }
.season-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-repeat: no-repeat; }
.season-tag { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 2px 8px; border-radius: var(--radius-pill); font-size: 11px; letter-spacing: .04em; white-space: nowrap; vertical-align: 1px; }
.quiz-hero__format .season-tag { margin-left: 0; font-size: 12px; }
.quiz-card--halloween, .quiz-hero--halloween, .arcade-card.quiz-card--halloween, .arcade-shelf__game.quiz-card--halloween, .land-arcade__game.quiz-card--halloween { --fc: var(--orange); border-color: rgba(226, 112, 58, 0.6); background: radial-gradient(90% 130% at 100% 0%, rgba(226, 112, 58, 0.34), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(63, 115, 221, 0.45), transparent 70%), var(--bg); }
.quiz-card--halloween .season-tag, .quiz-hero--halloween .season-tag { background: rgba(226, 112, 58, 0.16); color: var(--orange-ink); box-shadow: inset 0 0 0 1px rgba(226, 112, 58, 0.45); }
.quiz-card--halloween .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='white' stroke-opacity='.32' stroke-width='1.1'%3E%3Cpath d='M100 0L0.0 0.0M100 0L7.6 38.3M100 0L29.3 70.7M100 0L61.7 92.4M100 0L100.0 100.0M72.0 0.0Q76.3 4.7 74.1 10.7Q79.9 13.4 80.2 19.8Q86.6 20.1 89.3 25.9Q95.3 23.7 100.0 28.0M48.0 0.0Q56.0 8.8 52.0 19.9Q62.7 24.9 63.2 36.8Q75.1 37.3 80.1 48.0Q91.2 44.0 100.0 52.0M22.0 0.0Q34.0 13.1 27.9 29.8Q44.0 37.4 44.8 55.2Q62.6 56.0 70.2 72.1Q86.9 66.0 100.0 78.0'/%3E%3C/svg%3E"); background-size: 74px 74px; background-position: top right; }
.quiz-hero--halloween .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='white' stroke-opacity='.32' stroke-width='1.1'%3E%3Cpath d='M100 0L0.0 0.0M100 0L7.6 38.3M100 0L29.3 70.7M100 0L61.7 92.4M100 0L100.0 100.0M72.0 0.0Q76.3 4.7 74.1 10.7Q79.9 13.4 80.2 19.8Q86.6 20.1 89.3 25.9Q95.3 23.7 100.0 28.0M48.0 0.0Q56.0 8.8 52.0 19.9Q62.7 24.9 63.2 36.8Q75.1 37.3 80.1 48.0Q91.2 44.0 100.0 52.0M22.0 0.0Q34.0 13.1 27.9 29.8Q44.0 37.4 44.8 55.2Q62.6 56.0 70.2 72.1Q86.9 66.0 100.0 78.0'/%3E%3C/svg%3E"); background-size: 150px 150px; background-position: top right; }
.season-bat { position: absolute; width: 40px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 18'%3E%3Cpath fill='%23120818' d='M20 5c1-2 1.6-3 2.2-3.6.1 1 .2 1.8.6 2.6 3-2.8 9-4.8 17.2-2.5-3.4.7-5.6 2.6-6.2 5.4-1.8-1.2-4-1.3-5.6.2-1.1-1.3-2.9-1.5-4.4-.6-.9.8-1.4 2-1.8 3.5h-4c-.4-1.5-.9-2.7-1.8-3.5-1.5-.9-3.3-.7-4.4.6C10 5.8 7.8 5.9 6 7.1 5.4 4.3 3.2 2.4-.2 1.7 8 -.6 14 1.4 17 4.2c.4-.8.5-1.6.6-2.6C18.2 2.2 18.8 3 20 5z'/%3E%3Cpath fill='%23FF7A1A' d='M18.6 7.2h.9v.9h-.9zM20.5 7.2h.9v.9h-.9z'/%3E%3C/svg%3E") no-repeat center / contain; filter: drop-shadow(0 0 6px rgba(226, 112, 58, 0.35)); }
.season-bat:nth-child(1) { top: 66px; right: 36px; }
.season-bat:nth-child(2) { top: 78px; right: 128px; transform: scale(.7); }
.season-bat:nth-child(3) { top: 28px; right: 176px; transform: scale(.55); }
.quiz-card--christmas, .quiz-hero--christmas, .arcade-card.quiz-card--christmas, .arcade-shelf__game.quiz-card--christmas, .land-arcade__game.quiz-card--christmas { --fc: #FFD25E; border-color: rgba(244, 197, 66, 0.6); background: radial-gradient(90% 130% at 100% 0%, rgba(211, 63, 73, 0.38), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(30, 138, 90, 0.42), transparent 70%), var(--bg); }
.quiz-card--christmas .season-tag, .quiz-hero--christmas .season-tag { background: rgba(211, 63, 73, 0.2); color: var(--danger-ink); box-shadow: inset 0 0 0 1px rgba(211, 63, 73, 0.5); }
.quiz-card--christmas .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%231F9D55' d='M30 22C24 14 14 12 4 16c4 1 5 4 3 6 4-1 6 1 6 4 3-2 6-2 8 0 1-3 4-4 9-4z'/%3E%3Cpath fill='%2316804A' d='M30 22c6-8 16-10 26-6-4 1-5 4-3 6-4-1-6 1-6 4-3-2-6-2-8 0-1-3-4-4-9-4z'/%3E%3Ccircle cx='27' cy='22' r='3.2' fill='%23E63946'/%3E%3Ccircle cx='33' cy='21' r='3.2' fill='%23E63946'/%3E%3Ccircle cx='30' cy='26' r='3.2' fill='%23D62839'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='white'%3E%3Ccircle cx='12' cy='18' r='0.96' opacity='0.52'/%3E%3Ccircle cx='54' cy='8' r='0.66' opacity='0.38'/%3E%3Ccircle cx='88' cy='30' r='1.20' opacity='0.45'/%3E%3Ccircle cx='30' cy='62' r='0.72' opacity='0.34'/%3E%3Ccircle cx='70' cy='74' r='1.02' opacity='0.49'/%3E%3Ccircle cx='108' cy='88' r='0.72' opacity='0.38'/%3E%3Ccircle cx='18' cy='104' r='1.20' opacity='0.41'/%3E%3Ccircle cx='58' cy='112' r='0.60' opacity='0.30'/%3E%3Ccircle cx='100' cy='54' r='0.60' opacity='0.30'/%3E%3C/svg%3E"); background-size: 54px 36px, 120px 120px; background-position: top 4px right 6px, 0 0; background-repeat: no-repeat, repeat; }
.quiz-hero--christmas .season-deco { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 30%, transparent 85%); mask-image: linear-gradient(to bottom, #000 0, #000 30%, transparent 85%); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cpath fill='%231F9D55' d='M30 22C24 14 14 12 4 16c4 1 5 4 3 6 4-1 6 1 6 4 3-2 6-2 8 0 1-3 4-4 9-4z'/%3E%3Cpath fill='%2316804A' d='M30 22c6-8 16-10 26-6-4 1-5 4-3 6-4-1-6 1-6 4-3-2-6-2-8 0-1-3-4-4-9-4z'/%3E%3Ccircle cx='27' cy='22' r='3.2' fill='%23E63946'/%3E%3Ccircle cx='33' cy='21' r='3.2' fill='%23E63946'/%3E%3Ccircle cx='30' cy='26' r='3.2' fill='%23D62839'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='white'%3E%3Ccircle cx='12' cy='18' r='0.96' opacity='0.52'/%3E%3Ccircle cx='54' cy='8' r='0.66' opacity='0.38'/%3E%3Ccircle cx='88' cy='30' r='1.20' opacity='0.45'/%3E%3Ccircle cx='30' cy='62' r='0.72' opacity='0.34'/%3E%3Ccircle cx='70' cy='74' r='1.02' opacity='0.49'/%3E%3Ccircle cx='108' cy='88' r='0.72' opacity='0.38'/%3E%3Ccircle cx='18' cy='104' r='1.20' opacity='0.41'/%3E%3Ccircle cx='58' cy='112' r='0.60' opacity='0.30'/%3E%3Ccircle cx='100' cy='54' r='0.60' opacity='0.30'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='white'%3E%3Ccircle cx='12' cy='18' r='0.96' opacity='0.52'/%3E%3Ccircle cx='54' cy='8' r='0.66' opacity='0.38'/%3E%3Ccircle cx='88' cy='30' r='1.20' opacity='0.45'/%3E%3Ccircle cx='30' cy='62' r='0.72' opacity='0.34'/%3E%3Ccircle cx='70' cy='74' r='1.02' opacity='0.49'/%3E%3Ccircle cx='108' cy='88' r='0.72' opacity='0.38'/%3E%3Ccircle cx='18' cy='104' r='1.20' opacity='0.41'/%3E%3Ccircle cx='58' cy='112' r='0.60' opacity='0.30'/%3E%3Ccircle cx='100' cy='54' r='0.60' opacity='0.30'/%3E%3C/svg%3E"); background-size: 96px 64px, 120px 120px, 200px 200px; background-position: top 10px right 12px, 0 0, 40px 60px; background-repeat: no-repeat, repeat, repeat; }
.quiz-card--season .quiz-card__icon { background: color-mix(in srgb, var(--fc) 14%, #FFFFFF); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 45%, transparent); }
.quiz-hero--season .quiz-hero__icon { background: color-mix(in srgb, var(--fc) 14%, #FFFFFF); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 50%, transparent); }
.quiz-stack__top.quiz-card--season { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .quiz-hero--christmas .season-deco { animation: season-snow 14s linear infinite; }
  .season-bat { animation: season-bat 7s ease-in-out infinite; }
  .season-bat:nth-child(2) { animation-duration: 9s; animation-delay: -3s; }
  .season-bat:nth-child(3) { animation-duration: 11s; animation-delay: -6s; }
}
@keyframes season-snow { from { background-position: top 10px right 12px, 0 0, 40px 60px; } to { background-position: top 10px right 12px, 0 120px, 40px 260px; } }
@keyframes season-bat { 0%, 100% { translate: 0 0; rotate: -4deg; } 50% { translate: -14px -10px; rotate: 5deg; } }

/* ---------- The rest of the themed looks (Stuart, 17 Oct 2026) ----------
   Valentine's Day, Easter, Bonfire Night, St Patrick's Day, Pride Month, Trans Awareness Week, Eurovision,
   LGBTQ+ History Month, Black History Month, World AIDS Day and Awards Season, picked by Gaymes\Quiz\Seasons.
   Same rules as Halloween and Christmas: slow drifting only, nothing flashes, and still with reduced motion.
   World AIDS Day, Trans Awareness Week and the history months don't move at all. */
.quiz-card--valentines, .quiz-hero--valentines, .arcade-card.quiz-card--valentines, .arcade-shelf__game.quiz-card--valentines, .land-arcade__game.quiz-card--valentines { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.6); background: radial-gradient(90% 130% at 100% 0%, rgba(63, 115, 221, 0.36), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(63, 115, 221, 0.42), transparent 70%), var(--bg); }
.quiz-card--valentines .season-tag, .quiz-hero--valentines .season-tag { background: rgba(63, 115, 221, 0.16); color: var(--accent-ink); box-shadow: inset 0 0 0 1px rgba(63, 115, 221, 0.45); }
.quiz-card--valentines .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60'%3E%3Cpath d='M0 .8C-.1.7-1 .15-1-.35-1-.75-.55-.95-.25-.85-.1-.8 0-.65 0-.55 0-.65.1-.8.25-.85.55-.95 1-.75 1-.35 1 .15.1.7 0 .8Z' transform='translate(58 18) rotate(12) scale(11)' fill='%23FF4D8D' opacity='0.6'/%3E%3Cpath d='M0 .8C-.1.7-1 .15-1-.35-1-.75-.55-.95-.25-.85-.1-.8 0-.65 0-.55 0-.65.1-.8.25-.85.55-.95 1-.75 1-.35 1 .15.1.7 0 .8Z' transform='translate(36 12) rotate(-14) scale(5)' fill='%23FFB3CB' opacity='0.55'/%3E%3Cpath d='M0 .8C-.1.7-1 .15-1-.35-1-.75-.55-.95-.25-.85-.1-.8 0-.65 0-.55 0-.65.1-.8.25-.85.55-.95 1-.75 1-.35 1 .15.1.7 0 .8Z' transform='translate(70 42) rotate(20) scale(4.5)' fill='%23FF8FB4' opacity='0.5'/%3E%3Cpath d='M0 .8C-.1.7-1 .15-1-.35-1-.75-.55-.95-.25-.85-.1-.8 0-.65 0-.55 0-.65.1-.8.25-.85.55-.95 1-.75 1-.35 1 .15.1.7 0 .8Z' transform='translate(44 34) rotate(-8) scale(3)' fill='%23FFFFFF' opacity='0.3'/%3E%3C/svg%3E"); background-size: 80px 60px; background-position: top 2px right 4px; }
.quiz-hero--valentines .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 120'%3E%3Cpath d='M0 .8C-.1.7-1 .15-1-.35-1-.75-.55-.95-.25-.85-.1-.8 0-.65 0-.55 0-.65.1-.8.25-.85.55-.95 1-.75 1-.35 1 .15.1.7 0 .8Z' transform='translate(118 36) rotate(12) scale(22)' fill='%23FF4D8D' opacity='0.55'/%3E%3Cpath d='M0 .8C-.1.7-1 .15-1-.35-1-.75-.55-.95-.25-.85-.1-.8 0-.65 0-.55 0-.65.1-.8.25-.85.55-.95 1-.75 1-.35 1 .15.1.7 0 .8Z' transform='translate(72 22) rotate(-14) scale(10)' fill='%23FFB3CB' opacity='0.5'/%3E%3Cpath d='M0 .8C-.1.7-1 .15-1-.35-1-.75-.55-.95-.25-.85-.1-.8 0-.65 0-.55 0-.65.1-.8.25-.85.55-.95 1-.75 1-.35 1 .15.1.7 0 .8Z' transform='translate(142 84) rotate(20) scale(9)' fill='%23FF8FB4' opacity='0.45'/%3E%3Cpath d='M0 .8C-.1.7-1 .15-1-.35-1-.75-.55-.95-.25-.85-.1-.8 0-.65 0-.55 0-.65.1-.8.25-.85.55-.95 1-.75 1-.35 1 .15.1.7 0 .8Z' transform='translate(88 64) rotate(-8) scale(6)' fill='%23FFFFFF' opacity='0.28'/%3E%3Cpath d='M0 .8C-.1.7-1 .15-1-.35-1-.75-.55-.95-.25-.85-.1-.8 0-.65 0-.55 0-.65.1-.8.25-.85.55-.95 1-.75 1-.35 1 .15.1.7 0 .8Z' transform='translate(40 14) rotate(10) scale(4)' fill='%23FF8FB4' opacity='0.35'/%3E%3C/svg%3E"); background-size: 160px 120px; background-position: top 6px right 8px; }
.season-heart { position: absolute; bottom: -24px; width: 18px; height: 18px; opacity: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M0 .8C-.1.7-1 .15-1-.35-1-.75-.55-.95-.25-.85-.1-.8 0-.65 0-.55 0-.65.1-.8.25-.85.55-.95 1-.75 1-.35 1 .15.1.7 0 .8Z' transform='translate(10 10) rotate(0) scale(8)' fill='%23FF6B9A' opacity='1'/%3E%3C/svg%3E") no-repeat center / contain; }
.season-heart:nth-child(1) { right: 48px; }
.season-heart:nth-child(2) { right: 120px; width: 12px; height: 12px; }
.season-heart:nth-child(3) { right: 22px; width: 10px; height: 10px; }
.season-heart:nth-child(4) { right: 170px; width: 14px; height: 14px; }

.quiz-card--easter, .quiz-hero--easter, .arcade-card.quiz-card--easter, .arcade-shelf__game.quiz-card--easter, .land-arcade__game.quiz-card--easter { --fc: #FFE27A; border-color: rgba(63, 115, 221, 0.55); background: radial-gradient(90% 130% at 100% 0%, rgba(255, 214, 102, 0.26), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(30, 138, 90, 0.26), transparent 70%), radial-gradient(60% 80% at 45% 0%, rgba(63, 115, 221, 0.2), transparent 70%), #FFFFFF; }
.quiz-card--easter .season-tag, .quiz-hero--easter .season-tag { background: rgba(255, 226, 122, 0.16); color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(255, 226, 122, 0.45); }
.quiz-card--easter .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60'%3E%3Cg transform='translate(60 26) rotate(14) scale(15)' opacity='0.7'%3E%3Cpath d='M0-1C.55-1 .8-.2.8.25.8.7.45 1 0 1-.45 1-.8.7-.8.25-.8-.2-.55-1 0-1Z' fill='%23C9B2FF'/%3E%3Cpath d='M-0.7 .12 L-0.5 -.08 L-0.2 .12 L0 -.08 L0.2 .12 L0.5 -.08 L0.7 .12' fill='none' stroke='%23FFFFFF' stroke-width='.12' stroke-linejoin='round'/%3E%3Ccircle cx='-.3' cy='-.45' r='.08' fill='%23FFFFFF'/%3E%3Ccircle cx='.25' cy='-.5' r='.08' fill='%23FFFFFF'/%3E%3Ccircle cx='0' cy='.55' r='.09' fill='%23FFFFFF'/%3E%3C/g%3E%3Cg transform='translate(38 30) rotate(-12) scale(11)' opacity='0.65'%3E%3Cpath d='M0-1C.55-1 .8-.2.8.25.8.7.45 1 0 1-.45 1-.8.7-.8.25-.8-.2-.55-1 0-1Z' fill='%239FE8C2'/%3E%3Cpath d='M-0.7 .12 L-0.5 -.08 L-0.2 .12 L0 -.08 L0.2 .12 L0.5 -.08 L0.7 .12' fill='none' stroke='%23FFF3B0' stroke-width='.12' stroke-linejoin='round'/%3E%3Ccircle cx='-.3' cy='-.45' r='.08' fill='%23FFF3B0'/%3E%3Ccircle cx='.25' cy='-.5' r='.08' fill='%23FFF3B0'/%3E%3Ccircle cx='0' cy='.55' r='.09' fill='%23FFF3B0'/%3E%3C/g%3E%3Cg transform='translate(72 48) rotate(24) scale(7)' opacity='0.65'%3E%3Cpath d='M0-1C.55-1 .8-.2.8.25.8.7.45 1 0 1-.45 1-.8.7-.8.25-.8-.2-.55-1 0-1Z' fill='%23FFE27A'/%3E%3Cpath d='M-0.7 .12 L-0.5 -.08 L-0.2 .12 L0 -.08 L0.2 .12 L0.5 -.08 L0.7 .12' fill='none' stroke='%23FF9EC4' stroke-width='.12' stroke-linejoin='round'/%3E%3Ccircle cx='-.3' cy='-.45' r='.08' fill='%23FF9EC4'/%3E%3Ccircle cx='.25' cy='-.5' r='.08' fill='%23FF9EC4'/%3E%3Ccircle cx='0' cy='.55' r='.09' fill='%23FF9EC4'/%3E%3C/g%3E%3C/svg%3E"); background-size: 80px 60px; background-position: top 2px right 4px; }
.quiz-hero--easter .season-deco { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 35%, transparent 90%); mask-image: linear-gradient(to bottom, #000 0, #000 35%, transparent 90%); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 120'%3E%3Cg transform='translate(118 50) rotate(14) scale(30)' opacity='0.65'%3E%3Cpath d='M0-1C.55-1 .8-.2.8.25.8.7.45 1 0 1-.45 1-.8.7-.8.25-.8-.2-.55-1 0-1Z' fill='%23C9B2FF'/%3E%3Cpath d='M-0.7 .12 L-0.5 -.08 L-0.2 .12 L0 -.08 L0.2 .12 L0.5 -.08 L0.7 .12' fill='none' stroke='%23FFFFFF' stroke-width='.12' stroke-linejoin='round'/%3E%3Ccircle cx='-.3' cy='-.45' r='.08' fill='%23FFFFFF'/%3E%3Ccircle cx='.25' cy='-.5' r='.08' fill='%23FFFFFF'/%3E%3Ccircle cx='0' cy='.55' r='.09' fill='%23FFFFFF'/%3E%3C/g%3E%3Cg transform='translate(74 58) rotate(-12) scale(22)' opacity='0.6'%3E%3Cpath d='M0-1C.55-1 .8-.2.8.25.8.7.45 1 0 1-.45 1-.8.7-.8.25-.8-.2-.55-1 0-1Z' fill='%239FE8C2'/%3E%3Cpath d='M-0.7 .12 L-0.5 -.08 L-0.2 .12 L0 -.08 L0.2 .12 L0.5 -.08 L0.7 .12' fill='none' stroke='%23FFF3B0' stroke-width='.12' stroke-linejoin='round'/%3E%3Ccircle cx='-.3' cy='-.45' r='.08' fill='%23FFF3B0'/%3E%3Ccircle cx='.25' cy='-.5' r='.08' fill='%23FFF3B0'/%3E%3Ccircle cx='0' cy='.55' r='.09' fill='%23FFF3B0'/%3E%3C/g%3E%3Cg transform='translate(142 94) rotate(24) scale(14)' opacity='0.6'%3E%3Cpath d='M0-1C.55-1 .8-.2.8.25.8.7.45 1 0 1-.45 1-.8.7-.8.25-.8-.2-.55-1 0-1Z' fill='%23FFE27A'/%3E%3Cpath d='M-0.7 .12 L-0.5 -.08 L-0.2 .12 L0 -.08 L0.2 .12 L0.5 -.08 L0.7 .12' fill='none' stroke='%23FF9EC4' stroke-width='.12' stroke-linejoin='round'/%3E%3Ccircle cx='-.3' cy='-.45' r='.08' fill='%23FF9EC4'/%3E%3Ccircle cx='.25' cy='-.5' r='.08' fill='%23FF9EC4'/%3E%3Ccircle cx='0' cy='.55' r='.09' fill='%23FF9EC4'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cellipse cx='14' cy='20' rx='1.8' ry='1.08' fill='%23FFC7E0' opacity='0.55' transform='rotate(30 14 20)'/%3E%3Cellipse cx='60' cy='10' rx='1.4' ry='0.84' fill='%23FFF3B0' opacity='0.5' transform='rotate(-20 60 10)'/%3E%3Cellipse cx='92' cy='34' rx='2' ry='1.2' fill='%23C9B2FF' opacity='0.5' transform='rotate(60 92 34)'/%3E%3Cellipse cx='32' cy='66' rx='1.5' ry='0.8999999999999999' fill='%239FE8C2' opacity='0.45' transform='rotate(10 32 66)'/%3E%3Cellipse cx='76' cy='78' rx='1.9' ry='1.14' fill='%23FFC7E0' opacity='0.5' transform='rotate(-40 76 78)'/%3E%3Cellipse cx='108' cy='96' rx='1.4' ry='0.84' fill='%23FFF3B0' opacity='0.45' transform='rotate(20 108 96)'/%3E%3Cellipse cx='20' cy='104' rx='1.7' ry='1.02' fill='%23C9B2FF' opacity='0.45' transform='rotate(-10 20 104)'/%3E%3C/svg%3E"); background-size: 160px 120px, 120px 120px; background-position: top 6px right 8px, 0 0; background-repeat: no-repeat, repeat; }

.quiz-card--bonfire, .quiz-hero--bonfire, .arcade-card.quiz-card--bonfire, .arcade-shelf__game.quiz-card--bonfire, .land-arcade__game.quiz-card--bonfire { --fc: var(--orange); border-color: rgba(226, 112, 58, 0.55); background: radial-gradient(80% 110% at 0% 100%, rgba(226, 112, 58, 0.4), transparent 65%), radial-gradient(90% 120% at 100% 0%, rgba(63, 115, 221, 0.38), transparent 62%), var(--bg); }
.quiz-card--bonfire .season-tag, .quiz-hero--bonfire .season-tag { background: rgba(226, 112, 58, 0.16); color: var(--orange-ink); box-shadow: inset 0 0 0 1px rgba(226, 112, 58, 0.45); }
.quiz-card--bonfire .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60'%3E%3Cg opacity='0.75'%3E%3Cpath d='M61 22L69 22M60.3 24.5L67.3 28.5M58.5 26.3L62.5 33.3M56 27L56 35M53.5 26.3L49.5 33.3M51.7 24.5L44.7 28.5M51 22L43 22M51.7 19.5L44.7 15.5M53.5 17.7L49.5 10.7M56 17L56 9M58.5 17.7L62.5 10.7M60.3 19.5L67.3 15.5' stroke='%23FFC75A' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='71.2' cy='22' r='0.9' fill='%23FFC75A'/%3E%3Ccircle cx='69.2' cy='29.6' r='0.9' fill='%23FFC75A'/%3E%3Ccircle cx='63.6' cy='35.2' r='0.9' fill='%23FFC75A'/%3E%3Ccircle cx='56' cy='37.2' r='0.9' fill='%23FFC75A'/%3E%3Ccircle cx='48.4' cy='35.2' r='0.9' fill='%23FFC75A'/%3E%3Ccircle cx='42.8' cy='29.6' r='0.9' fill='%23FFC75A'/%3E%3Ccircle cx='40.8' cy='22' r='0.9' fill='%23FFC75A'/%3E%3Ccircle cx='42.8' cy='14.4' r='0.9' fill='%23FFC75A'/%3E%3Ccircle cx='48.4' cy='8.8' r='0.9' fill='%23FFC75A'/%3E%3Ccircle cx='56' cy='6.8' r='0.9' fill='%23FFC75A'/%3E%3Ccircle cx='63.6' cy='8.8' r='0.9' fill='%23FFC75A'/%3E%3Ccircle cx='69.2' cy='14.4' r='0.9' fill='%23FFC75A'/%3E%3C/g%3E%3Cg opacity='0.6'%3E%3Cpath d='M33 14L37 14M32.4 15.8L35.7 18.1M30.9 16.9L32.2 20.7M29.1 16.9L27.8 20.7M27.6 15.8L24.3 18.1M27 14L23 14M27.6 12.2L24.3 9.9M29.1 11.1L27.8 7.3M30.9 11.1L32.2 7.3M32.4 12.2L35.7 9.9' stroke='%23FF7AB8' stroke-width='1' stroke-linecap='round'/%3E%3Ccircle cx='39.2' cy='14' r='0.7' fill='%23FF7AB8'/%3E%3Ccircle cx='37.4' cy='19.4' r='0.7' fill='%23FF7AB8'/%3E%3Ccircle cx='32.8' cy='22.7' r='0.7' fill='%23FF7AB8'/%3E%3Ccircle cx='27.2' cy='22.7' r='0.7' fill='%23FF7AB8'/%3E%3Ccircle cx='22.6' cy='19.4' r='0.7' fill='%23FF7AB8'/%3E%3Ccircle cx='20.8' cy='14' r='0.7' fill='%23FF7AB8'/%3E%3Ccircle cx='22.6' cy='8.6' r='0.7' fill='%23FF7AB8'/%3E%3Ccircle cx='27.2' cy='5.3' r='0.7' fill='%23FF7AB8'/%3E%3Ccircle cx='32.8' cy='5.3' r='0.7' fill='%23FF7AB8'/%3E%3Ccircle cx='37.4' cy='8.6' r='0.7' fill='%23FF7AB8'/%3E%3C/g%3E%3Cg opacity='0.55'%3E%3Cpath d='M74.5 46L78 46M73.8 47.8L76.2 50.2M72 48.5L72 52M70.2 47.8L67.8 50.2M69.5 46L66 46M70.2 44.2L67.8 41.8M72 43.5L72 40M73.8 44.2L76.2 41.8' stroke='%236FE3FF' stroke-width='1' stroke-linecap='round'/%3E%3Ccircle cx='80.2' cy='46' r='0.6' fill='%236FE3FF'/%3E%3Ccircle cx='77.8' cy='51.8' r='0.6' fill='%236FE3FF'/%3E%3Ccircle cx='72' cy='54.2' r='0.6' fill='%236FE3FF'/%3E%3Ccircle cx='66.2' cy='51.8' r='0.6' fill='%236FE3FF'/%3E%3Ccircle cx='63.8' cy='46' r='0.6' fill='%236FE3FF'/%3E%3Ccircle cx='66.2' cy='40.2' r='0.6' fill='%236FE3FF'/%3E%3Ccircle cx='72' cy='37.8' r='0.6' fill='%236FE3FF'/%3E%3Ccircle cx='77.8' cy='40.2' r='0.6' fill='%236FE3FF'/%3E%3C/g%3E%3C/svg%3E"); background-size: 80px 60px; background-position: top 2px right 4px; }
.quiz-hero--bonfire .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 120'%3E%3Cg opacity='0.7'%3E%3Cpath d='M121 40L138 40M120.1 43.9L135.4 51.3M117.6 47L128.2 60.3M114 48.8L117.8 65.3M110 48.8L106.2 65.3M106.4 47L95.8 60.3M103.9 43.9L88.6 51.3M103 40L86 40M103.9 36.1L88.6 28.7M106.4 33L95.8 19.7M110 31.2L106.2 14.7M114 31.2L117.8 14.7M117.6 33L128.2 19.7M120.1 36.1L135.4 28.7' stroke='%23FFC75A' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='140.2' cy='40' r='1.4' fill='%23FFC75A'/%3E%3Ccircle cx='137.4' cy='52.2' r='1.4' fill='%23FFC75A'/%3E%3Ccircle cx='129.6' cy='62' r='1.4' fill='%23FFC75A'/%3E%3Ccircle cx='118.3' cy='67.5' r='1.4' fill='%23FFC75A'/%3E%3Ccircle cx='105.7' cy='67.5' r='1.4' fill='%23FFC75A'/%3E%3Ccircle cx='94.4' cy='62' r='1.4' fill='%23FFC75A'/%3E%3Ccircle cx='86.6' cy='52.2' r='1.4' fill='%23FFC75A'/%3E%3Ccircle cx='83.8' cy='40' r='1.4' fill='%23FFC75A'/%3E%3Ccircle cx='86.6' cy='27.8' r='1.4' fill='%23FFC75A'/%3E%3Ccircle cx='94.4' cy='18' r='1.4' fill='%23FFC75A'/%3E%3Ccircle cx='105.7' cy='12.5' r='1.4' fill='%23FFC75A'/%3E%3Ccircle cx='118.3' cy='12.5' r='1.4' fill='%23FFC75A'/%3E%3Ccircle cx='129.6' cy='18' r='1.4' fill='%23FFC75A'/%3E%3Ccircle cx='137.4' cy='27.8' r='1.4' fill='%23FFC75A'/%3E%3C/g%3E%3Cg opacity='0.55'%3E%3Cpath d='M63 26L72 26M62.3 28.5L70.1 33M60.5 30.3L65 38.1M58 31L58 40M55.5 30.3L51 38.1M53.7 28.5L45.9 33M53 26L44 26M53.7 23.5L45.9 19M55.5 21.7L51 13.9M58 21L58 12M60.5 21.7L65 13.9M62.3 23.5L70.1 19' stroke='%23FF7AB8' stroke-width='1.4' stroke-linecap='round'/%3E%3Ccircle cx='74.2' cy='26' r='1.1' fill='%23FF7AB8'/%3E%3Ccircle cx='72' cy='34.1' r='1.1' fill='%23FF7AB8'/%3E%3Ccircle cx='66.1' cy='40' r='1.1' fill='%23FF7AB8'/%3E%3Ccircle cx='58' cy='42.2' r='1.1' fill='%23FF7AB8'/%3E%3Ccircle cx='49.9' cy='40' r='1.1' fill='%23FF7AB8'/%3E%3Ccircle cx='44' cy='34.1' r='1.1' fill='%23FF7AB8'/%3E%3Ccircle cx='41.8' cy='26' r='1.1' fill='%23FF7AB8'/%3E%3Ccircle cx='44' cy='17.9' r='1.1' fill='%23FF7AB8'/%3E%3Ccircle cx='49.9' cy='12' r='1.1' fill='%23FF7AB8'/%3E%3Ccircle cx='58' cy='9.8' r='1.1' fill='%23FF7AB8'/%3E%3Ccircle cx='66.1' cy='12' r='1.1' fill='%23FF7AB8'/%3E%3Ccircle cx='72' cy='17.9' r='1.1' fill='%23FF7AB8'/%3E%3C/g%3E%3Cg opacity='0.5'%3E%3Cpath d='M148 88L155 88M147.2 90.4L152.9 94.5M145.2 91.8L147.4 98.5M142.8 91.8L140.6 98.5M140.8 90.4L135.1 94.5M140 88L133 88M140.8 85.6L135.1 81.5M142.8 84.2L140.6 77.5M145.2 84.2L147.4 77.5M147.2 85.6L152.9 81.5' stroke='%236FE3FF' stroke-width='1.3' stroke-linecap='round'/%3E%3Ccircle cx='157.2' cy='88' r='1' fill='%236FE3FF'/%3E%3Ccircle cx='154.7' cy='95.8' r='1' fill='%236FE3FF'/%3E%3Ccircle cx='148.1' cy='100.6' r='1' fill='%236FE3FF'/%3E%3Ccircle cx='139.9' cy='100.6' r='1' fill='%236FE3FF'/%3E%3Ccircle cx='133.3' cy='95.8' r='1' fill='%236FE3FF'/%3E%3Ccircle cx='130.8' cy='88' r='1' fill='%236FE3FF'/%3E%3Ccircle cx='133.3' cy='80.2' r='1' fill='%236FE3FF'/%3E%3Ccircle cx='139.9' cy='75.4' r='1' fill='%236FE3FF'/%3E%3Ccircle cx='148.1' cy='75.4' r='1' fill='%236FE3FF'/%3E%3Ccircle cx='154.7' cy='80.2' r='1' fill='%236FE3FF'/%3E%3C/g%3E%3Cg opacity='0.35'%3E%3Cpath d='M31 64L36 64M30.1 66.1L33.7 69.7M28 67L28 72M25.9 66.1L22.3 69.7M25 64L20 64M25.9 61.9L22.3 58.3M28 61L28 56M30.1 61.9L33.7 58.3' stroke='%23FFE9A8' stroke-width='1.1' stroke-linecap='round'/%3E%3Ccircle cx='38.2' cy='64' r='0.8' fill='%23FFE9A8'/%3E%3Ccircle cx='35.2' cy='71.2' r='0.8' fill='%23FFE9A8'/%3E%3Ccircle cx='28' cy='74.2' r='0.8' fill='%23FFE9A8'/%3E%3Ccircle cx='20.8' cy='71.2' r='0.8' fill='%23FFE9A8'/%3E%3Ccircle cx='17.8' cy='64' r='0.8' fill='%23FFE9A8'/%3E%3Ccircle cx='20.8' cy='56.8' r='0.8' fill='%23FFE9A8'/%3E%3Ccircle cx='28' cy='53.8' r='0.8' fill='%23FFE9A8'/%3E%3Ccircle cx='35.2' cy='56.8' r='0.8' fill='%23FFE9A8'/%3E%3C/g%3E%3C/svg%3E"); background-size: 160px 120px; background-position: top 6px right 8px; }
.season-embers { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='%23FF9A3D'%3E%3Ccircle cx='12' cy='18' r='1.1' opacity='0.7'/%3E%3Ccircle cx='54' cy='8' r='0.8' opacity='0.55'/%3E%3Ccircle cx='88' cy='30' r='1.3' opacity='0.6'/%3E%3Ccircle cx='30' cy='62' r='0.9' opacity='0.5'/%3E%3Ccircle cx='70' cy='74' r='1.2' opacity='0.65'/%3E%3Ccircle cx='108' cy='88' r='0.8' opacity='0.5'/%3E%3Ccircle cx='18' cy='104' r='1.2' opacity='0.55'/%3E%3Ccircle cx='58' cy='112' r='0.7' opacity='0.45'/%3E%3Ccircle cx='100' cy='54' r='0.7' opacity='0.45'/%3E%3C/svg%3E") 0 0 / 120px 120px repeat; -webkit-mask-image: linear-gradient(to top, #000 0, #000 25%, transparent 80%); mask-image: linear-gradient(to top, #000 0, #000 25%, transparent 80%); }

.quiz-card--st-patricks, .quiz-hero--st-patricks, .arcade-card.quiz-card--st-patricks, .arcade-shelf__game.quiz-card--st-patricks, .land-arcade__game.quiz-card--st-patricks { --fc: var(--success); border-color: rgba(30, 138, 90, 0.5); background: radial-gradient(90% 130% at 100% 0%, rgba(30, 138, 90, 0.34), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(240, 190, 60, 0.22), transparent 70%), var(--bg); }
.quiz-card--st-patricks .season-tag, .quiz-hero--st-patricks .season-tag { background: rgba(30, 138, 90, 0.16); color: var(--success-ink); box-shadow: inset 0 0 0 1px rgba(30, 138, 90, 0.45); }
.quiz-card--st-patricks .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60'%3E%3Cdefs%3E%3Cpath id='l' d='M0 0C-2.6-1.6-4-3.2-4-4.9A2 2 0 0 1 0-5.5 2 2 0 0 1 4-4.9C4-3.2 2.6-1.6 0 0Z'/%3E%3C/defs%3E%3Cg transform='translate(58 22) rotate(18) scale(1.9)' opacity='0.7'%3E%3Cuse href='%23l' transform='rotate(0)' fill='%232ECC71'/%3E%3Cuse href='%23l' transform='rotate(120)' fill='%232ECC71'/%3E%3Cuse href='%23l' transform='rotate(240)' fill='%232ECC71'/%3E%3Cpath d='M0 0C.4 3.6 1.4 6.8 3.5 10' fill='none' stroke='%232ECC71' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(34 14) rotate(-20) scale(1.1)' opacity='0.55'%3E%3Cuse href='%23l' transform='rotate(0)' fill='%237BE5A6'/%3E%3Cuse href='%23l' transform='rotate(120)' fill='%237BE5A6'/%3E%3Cuse href='%23l' transform='rotate(240)' fill='%237BE5A6'/%3E%3Cpath d='M0 0C.4 3.6 1.4 6.8 3.5 10' fill='none' stroke='%237BE5A6' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(72 46) rotate(40) scale(0.9)' opacity='0.6'%3E%3Cuse href='%23l' transform='rotate(0)' fill='%231FAF5E'/%3E%3Cuse href='%23l' transform='rotate(120)' fill='%231FAF5E'/%3E%3Cuse href='%23l' transform='rotate(240)' fill='%231FAF5E'/%3E%3Cpath d='M0 0C.4 3.6 1.4 6.8 3.5 10' fill='none' stroke='%231FAF5E' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(44 40) scale(2.2)' fill='%23F7D46B' opacity='0.6'/%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(22 30) scale(1.6)' fill='%23F7D46B' opacity='0.45'/%3E%3C/svg%3E"); background-size: 80px 60px; background-position: top 2px right 4px; }
.quiz-hero--st-patricks .season-deco { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 35%, transparent 90%); mask-image: linear-gradient(to bottom, #000 0, #000 35%, transparent 90%); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 120'%3E%3Cdefs%3E%3Cpath id='l' d='M0 0C-2.6-1.6-4-3.2-4-4.9A2 2 0 0 1 0-5.5 2 2 0 0 1 4-4.9C4-3.2 2.6-1.6 0 0Z'/%3E%3C/defs%3E%3Cg transform='translate(116 44) rotate(18) scale(3.8)' opacity='0.65'%3E%3Cuse href='%23l' transform='rotate(0)' fill='%232ECC71'/%3E%3Cuse href='%23l' transform='rotate(120)' fill='%232ECC71'/%3E%3Cuse href='%23l' transform='rotate(240)' fill='%232ECC71'/%3E%3Cpath d='M0 0C.4 3.6 1.4 6.8 3.5 10' fill='none' stroke='%232ECC71' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(68 26) rotate(-20) scale(2.2)' opacity='0.5'%3E%3Cuse href='%23l' transform='rotate(0)' fill='%237BE5A6'/%3E%3Cuse href='%23l' transform='rotate(120)' fill='%237BE5A6'/%3E%3Cuse href='%23l' transform='rotate(240)' fill='%237BE5A6'/%3E%3Cpath d='M0 0C.4 3.6 1.4 6.8 3.5 10' fill='none' stroke='%237BE5A6' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(144 92) rotate(40) scale(1.8)' opacity='0.55'%3E%3Cuse href='%23l' transform='rotate(0)' fill='%231FAF5E'/%3E%3Cuse href='%23l' transform='rotate(120)' fill='%231FAF5E'/%3E%3Cuse href='%23l' transform='rotate(240)' fill='%231FAF5E'/%3E%3Cpath d='M0 0C.4 3.6 1.4 6.8 3.5 10' fill='none' stroke='%231FAF5E' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(88 80) scale(4)' fill='%23F7D46B' opacity='0.55'/%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(44 58) scale(3)' fill='%23F7D46B' opacity='0.4'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 140'%3E%3Cdefs%3E%3Cpath id='l' d='M0 0C-2.6-1.6-4-3.2-4-4.9A2 2 0 0 1 0-5.5 2 2 0 0 1 4-4.9C4-3.2 2.6-1.6 0 0Z'/%3E%3C/defs%3E%3Cg transform='translate(20 24) rotate(10) scale(0.8)' opacity='0.45'%3E%3Cuse href='%23l' transform='rotate(0)' fill='%237BE5A6'/%3E%3Cuse href='%23l' transform='rotate(120)' fill='%237BE5A6'/%3E%3Cuse href='%23l' transform='rotate(240)' fill='%237BE5A6'/%3E%3Cpath d='M0 0C.4 3.6 1.4 6.8 3.5 10' fill='none' stroke='%237BE5A6' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(96 16) rotate(-30) scale(0.6)' opacity='0.4'%3E%3Cuse href='%23l' transform='rotate(0)' fill='%232ECC71'/%3E%3Cuse href='%23l' transform='rotate(120)' fill='%232ECC71'/%3E%3Cuse href='%23l' transform='rotate(240)' fill='%232ECC71'/%3E%3Cpath d='M0 0C.4 3.6 1.4 6.8 3.5 10' fill='none' stroke='%232ECC71' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(64 76) rotate(50) scale(0.7)' opacity='0.38'%3E%3Cuse href='%23l' transform='rotate(0)' fill='%237BE5A6'/%3E%3Cuse href='%23l' transform='rotate(120)' fill='%237BE5A6'/%3E%3Cuse href='%23l' transform='rotate(240)' fill='%237BE5A6'/%3E%3Cpath d='M0 0C.4 3.6 1.4 6.8 3.5 10' fill='none' stroke='%237BE5A6' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(118 102) rotate(20) scale(0.55)' opacity='0.35'%3E%3Cuse href='%23l' transform='rotate(0)' fill='%232ECC71'/%3E%3Cuse href='%23l' transform='rotate(120)' fill='%232ECC71'/%3E%3Cuse href='%23l' transform='rotate(240)' fill='%232ECC71'/%3E%3Cpath d='M0 0C.4 3.6 1.4 6.8 3.5 10' fill='none' stroke='%232ECC71' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(26 116) rotate(-10) scale(0.6)' opacity='0.35'%3E%3Cuse href='%23l' transform='rotate(0)' fill='%237BE5A6'/%3E%3Cuse href='%23l' transform='rotate(120)' fill='%237BE5A6'/%3E%3Cuse href='%23l' transform='rotate(240)' fill='%237BE5A6'/%3E%3Cpath d='M0 0C.4 3.6 1.4 6.8 3.5 10' fill='none' stroke='%237BE5A6' stroke-width='1.3' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E"); background-size: 160px 120px, 140px 140px; background-position: top 6px right 8px, 0 0; background-repeat: no-repeat, repeat; }

.quiz-card--pride, .quiz-hero--pride, .arcade-card.quiz-card--pride, .arcade-shelf__game.quiz-card--pride, .land-arcade__game.quiz-card--pride { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.5); background: radial-gradient(90% 130% at 100% 0%, rgba(63, 115, 221, 0.24), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(63, 115, 221, 0.28), transparent 70%), var(--bg); }
.quiz-card--pride .season-tag, .quiz-hero--pride .season-tag { background: linear-gradient(90deg, rgba(211, 63, 73, 0.32), rgba(226, 112, 58, 0.32), rgba(255, 237, 0, 0.28), rgba(30, 138, 90, 0.32), rgba(63, 115, 221, 0.4), rgba(63, 115, 221, 0.4)); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(51, 54, 61, 0.14); }
.quiz-card--pride .season-deco, .quiz-hero--pride .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg opacity='0.62'%3E%3Cpath d='M100 0H94L100 6V0Z' fill='%23FFFFFF'/%3E%3Cpath d='M94 0H88L100 12V6Z' fill='%23F5A9B8'/%3E%3Cpath d='M88 0H82L100 18V12Z' fill='%235BCEFA'/%3E%3Cpath d='M82 0H76L100 24V18Z' fill='%237B4A1E'/%3E%3Cpath d='M76 0H70L100 30V24Z' fill='%23000000'/%3E%3Cpath d='M70 0H64L100 36V30Z' fill='%23E40303'/%3E%3Cpath d='M64 0H58L100 42V36Z' fill='%23FF8C00'/%3E%3Cpath d='M58 0H52L100 48V42Z' fill='%23FFED00'/%3E%3Cpath d='M52 0H46L100 54V48Z' fill='%23008026'/%3E%3Cpath d='M46 0H40L100 60V54Z' fill='%2324408E'/%3E%3Cpath d='M40 0H34L100 66V60Z' fill='%23732982'/%3E%3C/g%3E%3C/svg%3E"); }
.quiz-card--pride .season-deco { background-size: 74px 74px; background-position: top right; }
.quiz-hero--pride .season-deco { background-size: 170px 170px; background-position: top right; }

.quiz-card--trans, .quiz-hero--trans, .arcade-card.quiz-card--trans, .arcade-shelf__game.quiz-card--trans, .land-arcade__game.quiz-card--trans { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.5); background: radial-gradient(90% 130% at 100% 0%, rgba(63, 115, 221, 0.28), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(211, 63, 73, 0.3), transparent 70%), var(--bg); }
.quiz-card--trans .season-tag, .quiz-hero--trans .season-tag { background: rgba(63, 115, 221, 0.14); color: var(--accent-ink); box-shadow: inset 0 0 0 1px rgba(51, 54, 61, 0.275); }
.quiz-card--trans .season-deco, .quiz-hero--trans .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg opacity='0.5'%3E%3Cpath d='M73 0A27 27 0 0 0 100 27V18A18 18 0 0 1 82 0Z' fill='%235BCEFA'/%3E%3Cpath d='M64 0A36 36 0 0 0 100 36V27A27 27 0 0 1 73 0Z' fill='%23F5A9B8'/%3E%3Cpath d='M55 0A45 45 0 0 0 100 45V36A36 36 0 0 1 64 0Z' fill='%23FFFFFF'/%3E%3Cpath d='M46 0A54 54 0 0 0 100 54V45A45 45 0 0 1 55 0Z' fill='%23F5A9B8'/%3E%3Cpath d='M37 0A63 63 0 0 0 100 63V54A54 54 0 0 1 46 0Z' fill='%235BCEFA'/%3E%3C/g%3E%3C/svg%3E"); }
.quiz-card--trans .season-deco { background-size: 76px 76px; background-position: top right; }
.quiz-hero--trans .season-deco { background-size: 170px 170px; background-position: top right; }

.quiz-card--eurovision, .quiz-hero--eurovision, .arcade-card.quiz-card--eurovision, .arcade-shelf__game.quiz-card--eurovision, .land-arcade__game.quiz-card--eurovision { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.55); background: radial-gradient(90% 130% at 100% 0%, rgba(63, 115, 221, 0.32), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(63, 115, 221, 0.38), transparent 70%), var(--bg); }
.quiz-card--eurovision .season-tag, .quiz-hero--eurovision .season-tag { background: rgba(63, 115, 221, 0.16); color: var(--accent-ink); box-shadow: inset 0 0 0 1px rgba(63, 115, 221, 0.45); }
.quiz-card--eurovision .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60'%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(58 20) scale(7)' fill='%23FFFFFF' opacity='0.75'/%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(40 10) scale(3.5)' fill='%23FF8AD8' opacity='0.7'/%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(70 40) scale(4)' fill='%238FB2FF' opacity='0.7'/%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(46 36) scale(2.2)' fill='%23FFFFFF' opacity='0.5'/%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(26 24) scale(2)' fill='%23FFD36B' opacity='0.5'/%3E%3C/svg%3E"); background-size: 80px 60px; background-position: top 2px right 4px; }
.quiz-hero--eurovision .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 120'%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(116 38) scale(12)' fill='%23FFFFFF' opacity='0.7'/%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(80 18) scale(6)' fill='%23FF8AD8' opacity='0.65'/%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(142 78) scale(7)' fill='%238FB2FF' opacity='0.65'/%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(92 70) scale(4)' fill='%23FFFFFF' opacity='0.45'/%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(50 46) scale(3.5)' fill='%23FFD36B' opacity='0.45'/%3E%3Cpath d='M0-1Q.14-.14 1 0 .14.14 0 1-.14.14-1 0-.14-.14 0-1Z' transform='translate(24 16) scale(2.5)' fill='%23FFFFFF' opacity='0.4'/%3E%3C/svg%3E"); background-size: 160px 120px; background-position: top 6px right 8px; }
.season-beam { --a: 0deg; position: absolute; top: -10px; width: 110px; height: 130%; transform-origin: 50% 0; rotate: var(--a); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); }
.quiz-hero--eurovision .season-beam { background: linear-gradient(to bottom, rgba(63, 115, 221, 0.3), transparent 75%); }
.quiz-hero--eurovision .season-beam:nth-child(1) { --a: 14deg; right: 20px; }
.quiz-hero--eurovision .season-beam:nth-child(2) { --a: -10deg; right: 150px; background: linear-gradient(to bottom, rgba(63, 115, 221, 0.3), transparent 75%); }
.quiz-hero--eurovision .season-beam:nth-child(3) { --a: 4deg; right: 280px; background: linear-gradient(to bottom, rgba(255, 211, 107, 0.22), transparent 70%); }

.quiz-card--lgbt-history, .quiz-hero--lgbt-history, .arcade-card.quiz-card--lgbt-history, .arcade-shelf__game.quiz-card--lgbt-history, .land-arcade__game.quiz-card--lgbt-history { --fc: var(--orange); border-color: rgba(226, 112, 58, 0.45); background: radial-gradient(90% 130% at 100% 0%, rgba(226, 112, 58, 0.24), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(63, 115, 221, 0.3), transparent 70%), var(--bg); }
.quiz-card--lgbt-history .season-tag, .quiz-hero--lgbt-history .season-tag { background: rgba(226, 112, 58, 0.16); color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(226, 112, 58, 0.45); }
.quiz-card--lgbt-history .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60'%3E%3Cg opacity='0.6'%3E%3Cg%3E%3Crect x='30' y='14' width='6' height='30' rx='1' fill='%23E8574C'/%3E%3Cpath d='M31.5 18H34.5M31.5 39H34.5' stroke='%2316110F' stroke-opacity='.45' stroke-width='1'/%3E%3C/g%3E%3Cg%3E%3Crect x='37' y='8' width='7' height='36' rx='1' fill='%23F0A04B'/%3E%3Cpath d='M38.5 12H42.5M38.5 39H42.5' stroke='%2316110F' stroke-opacity='.45' stroke-width='1'/%3E%3C/g%3E%3Cg%3E%3Crect x='45' y='16' width='5' height='28' rx='1' fill='%23F2D35B'/%3E%3Cpath d='M46.5 20H48.5M46.5 39H48.5' stroke='%2316110F' stroke-opacity='.45' stroke-width='1'/%3E%3C/g%3E%3Cg%3E%3Crect x='51' y='10' width='7' height='34' rx='1' fill='%235CC679'/%3E%3Cpath d='M52.5 14H56.5M52.5 39H56.5' stroke='%2316110F' stroke-opacity='.45' stroke-width='1'/%3E%3C/g%3E%3Cg%3E%3Crect x='59' y='13' width='6' height='31' rx='1' fill='%234E8FE0'/%3E%3Cpath d='M60.5 17H63.5M60.5 39H63.5' stroke='%2316110F' stroke-opacity='.45' stroke-width='1'/%3E%3C/g%3E%3Cg transform='rotate(-16 73 44)'%3E%3Crect x='66' y='18' width='7' height='26' rx='1' fill='%239B6BD3'/%3E%3Cpath d='M67.5 22H71.5M67.5 39H71.5' stroke='%2316110F' stroke-opacity='.45' stroke-width='1'/%3E%3C/g%3E%3C/g%3E%3Cpath d='M26 44.5H78' stroke='%23E9C37A' stroke-opacity='.5' stroke-width='1.2'/%3E%3C/svg%3E"); background-size: 80px 60px; background-position: top 2px right 4px; }
.quiz-hero--lgbt-history .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 60'%3E%3Cg opacity='0.55'%3E%3Cg%3E%3Crect x='30' y='14' width='6' height='30' rx='1' fill='%23E8574C'/%3E%3Cpath d='M31.5 18H34.5M31.5 39H34.5' stroke='%2316110F' stroke-opacity='.45' stroke-width='1'/%3E%3C/g%3E%3Cg%3E%3Crect x='37' y='8' width='7' height='36' rx='1' fill='%23F0A04B'/%3E%3Cpath d='M38.5 12H42.5M38.5 39H42.5' stroke='%2316110F' stroke-opacity='.45' stroke-width='1'/%3E%3C/g%3E%3Cg%3E%3Crect x='45' y='16' width='5' height='28' rx='1' fill='%23F2D35B'/%3E%3Cpath d='M46.5 20H48.5M46.5 39H48.5' stroke='%2316110F' stroke-opacity='.45' stroke-width='1'/%3E%3C/g%3E%3Cg%3E%3Crect x='51' y='10' width='7' height='34' rx='1' fill='%235CC679'/%3E%3Cpath d='M52.5 14H56.5M52.5 39H56.5' stroke='%2316110F' stroke-opacity='.45' stroke-width='1'/%3E%3C/g%3E%3Cg%3E%3Crect x='59' y='13' width='6' height='31' rx='1' fill='%234E8FE0'/%3E%3Cpath d='M60.5 17H63.5M60.5 39H63.5' stroke='%2316110F' stroke-opacity='.45' stroke-width='1'/%3E%3C/g%3E%3Cg transform='rotate(-16 73 44)'%3E%3Crect x='66' y='18' width='7' height='26' rx='1' fill='%239B6BD3'/%3E%3Cpath d='M67.5 22H71.5M67.5 39H71.5' stroke='%2316110F' stroke-opacity='.45' stroke-width='1'/%3E%3C/g%3E%3C/g%3E%3Cpath d='M26 44.5H78' stroke='%23E9C37A' stroke-opacity='.5' stroke-width='1'/%3E%3C/svg%3E"); background-size: 176px 132px; background-position: top 0 right 6px; }

.quiz-card--black-history, .quiz-hero--black-history, .arcade-card.quiz-card--black-history, .arcade-shelf__game.quiz-card--black-history, .land-arcade__game.quiz-card--black-history { --fc: #F5C542; border-color: rgba(245, 197, 66, 0.5); background: radial-gradient(90% 130% at 100% 0%, rgba(245, 197, 66, 0.22), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(30, 138, 90, 0.28), transparent 70%), radial-gradient(50% 70% at 60% 115%, rgba(211, 63, 73, 0.2), transparent 70%), var(--bg); }
.quiz-card--black-history .season-tag, .quiz-hero--black-history .season-tag { background: rgba(245, 197, 66, 0.16); color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(245, 197, 66, 0.45); }
.quiz-card--black-history .season-deco, .quiz-hero--black-history .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 32'%3E%3Cg opacity='1'%3E%3Crect x='0' y='0' width='8' height='4.0' fill='%23F5C542'/%3E%3Crect x='0' y='4.0' width='8' height='4.0' fill='%230B8A4A'/%3E%3Crect x='8' y='0' width='4.0' height='8' fill='%230B8A4A'/%3E%3Crect x='12.0' y='0' width='4.0' height='8' fill='%230E0B07'/%3E%3Crect x='0' y='8' width='4.0' height='8' fill='%23C8262E'/%3E%3Crect x='4.0' y='8' width='4.0' height='8' fill='%230E0B07'/%3E%3Crect x='8' y='8' width='4.0' height='8' fill='%230E0B07'/%3E%3Crect x='12.0' y='8' width='4.0' height='8' fill='%23F5C542'/%3E%3Crect x='0' y='16' width='4.0' height='8' fill='%230B8A4A'/%3E%3Crect x='4.0' y='16' width='4.0' height='8' fill='%23F5C542'/%3E%3Crect x='8' y='16' width='8' height='4.0' fill='%23C8262E'/%3E%3Crect x='8' y='20.0' width='8' height='4.0' fill='%23F5C542'/%3E%3Crect x='0' y='24' width='8' height='4.0' fill='%230E0B07'/%3E%3Crect x='0' y='28.0' width='8' height='4.0' fill='%23F5C542'/%3E%3Crect x='8' y='24' width='4.0' height='8' fill='%23F5C542'/%3E%3Crect x='12.0' y='24' width='4.0' height='8' fill='%23C8262E'/%3E%3C/g%3E%3C/svg%3E"); }
.quiz-card--black-history .season-deco { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 35%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 35%, transparent 100%); opacity: .55; background-size: 14px 28px; background-repeat: repeat-y; background-position: top right 4px; }
.quiz-hero--black-history .season-deco { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 30%, transparent 85%); mask-image: linear-gradient(to bottom, #000 0, #000 30%, transparent 85%); opacity: .5; background-size: 22px 44px; background-repeat: repeat-y; background-position: top right 8px; }

.quiz-card--aids-day, .quiz-hero--aids-day, .arcade-card.quiz-card--aids-day, .arcade-shelf__game.quiz-card--aids-day, .land-arcade__game.quiz-card--aids-day { --fc: var(--danger); border-color: rgba(211, 63, 73, 0.5); background: radial-gradient(90% 130% at 100% 0%, rgba(211, 63, 73, 0.22), transparent 62%), var(--bg); }
.quiz-card--aids-day .season-tag, .quiz-hero--aids-day .season-tag { background: rgba(211, 63, 73, 0.16); color: var(--danger-ink); box-shadow: inset 0 0 0 1px rgba(211, 63, 73, 0.45); }
.quiz-card--aids-day .season-deco, .quiz-hero--aids-day .season-deco { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.5 21 9.6 11.2C8.4 9.5 8 8.2 8 7a4 4 0 0 1 8 0c0 1.2-.4 2.5-1.6 4.2L7.5 21' fill='none' stroke='%23D7263D' stroke-width='2.8' stroke-linejoin='round'/%3E%3Cpath d='M16.5 21 9.6 11.2' fill='none' stroke='%23A51C2E' stroke-width='2.8' stroke-opacity='.55'/%3E%3C/svg%3E"); }
.quiz-card--aids-day .season-deco { background-size: 56px 56px; background-position: top 4px right 6px; }
.quiz-hero--aids-day .season-deco { background-size: 110px 110px; background-position: top 4px right 6px; }
.season-tag .icon { width: 13px; height: 13px; }
.quiz-card--aids-day .season-tag .icon, .quiz-hero--aids-day .season-tag .icon { stroke: var(--danger-ink); stroke-width: 2.6; }

.quiz-card--awards, .quiz-hero--awards, .arcade-card.quiz-card--awards, .arcade-shelf__game.quiz-card--awards, .land-arcade__game.quiz-card--awards { --fc: #F4C542; border-color: rgba(244, 197, 66, 0.55); background: linear-gradient(to top, rgba(211, 63, 73, 0.55) 0, rgba(211, 63, 73, 0.55) 6px, rgba(244, 197, 66, 0.55) 6px, rgba(244, 197, 66, 0.55) 7px, transparent 7px), radial-gradient(90% 130% at 100% 0%, rgba(244, 197, 66, 0.2), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(211, 63, 73, 0.4), transparent 70%), var(--bg); }
.quiz-card--awards .season-tag, .quiz-hero--awards .season-tag { background: rgba(244, 197, 66, 0.16); color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(244, 197, 66, 0.45); }
.quiz-card--awards .season-deco { background-image: radial-gradient(40px 60px at calc(100% - 26px) 100%, rgba(255, 236, 170, .2), transparent 70%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 40'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FFE9A3'/%3E%3Cstop offset='.55' stop-color='%23E8B53A'/%3E%3Cstop offset='1' stop-color='%23A8781E'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='12' cy='4' r='2.6' fill='url(%23g)'/%3E%3Cpath d='M9.6 7.4C8.6 10 9 12.4 10.1 14.6 9.3 18 9.2 21.4 9.8 25h4.4c.6-3.6.5-7-.3-10.4 1.1-2.2 1.5-4.6.5-7.2z' fill='url(%23g)'/%3E%3Cpath d='M7 25.5h10l1.4 8H5.6z' fill='url(%23g)'/%3E%3Cpath d='M4 34h16v3H4z' fill='%23B8862A'/%3E%3C/svg%3E"); background-size: auto, 22px 36px; background-position: 0 0, bottom 12px right 16px; }
.quiz-hero--awards .season-deco { background-image: linear-gradient(to top, rgba(170, 18, 40, .55) 0, rgba(170, 18, 40, .55) 12px, rgba(244, 197, 66, .55) 12px, rgba(244, 197, 66, .55) 13px, transparent 13px), radial-gradient(90px 120px at calc(100% - 58px) 132px, rgba(255, 236, 170, .22), transparent 70%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 40'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23FFE9A3'/%3E%3Cstop offset='.55' stop-color='%23E8B53A'/%3E%3Cstop offset='1' stop-color='%23A8781E'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='12' cy='4' r='2.6' fill='url(%23g)'/%3E%3Cpath d='M9.6 7.4C8.6 10 9 12.4 10.1 14.6 9.3 18 9.2 21.4 9.8 25h4.4c.6-3.6.5-7-.3-10.4 1.1-2.2 1.5-4.6.5-7.2z' fill='url(%23g)'/%3E%3Cpath d='M7 25.5h10l1.4 8H5.6z' fill='url(%23g)'/%3E%3Cpath d='M4 34h16v3H4z' fill='%23B8862A'/%3E%3C/svg%3E"); background-size: auto, auto, 48px 80px; background-position: 0 0, 0 0, top 46px right 34px; }
.quiz-hero--awards .season-beam { background: linear-gradient(to bottom, rgba(255, 236, 170, 0.26), transparent 70%); height: 150px; }
.quiz-hero--awards .season-beam:nth-child(1) { --a: 24deg; right: 8px; }
.quiz-hero--awards .season-beam:nth-child(2) { --a: -24deg; right: 78px; }

/* ---------- The regular themes (Stuart, 20 Oct 2026) ----------
   Science & Nature, Politics, Sports, Marvel, Disney, Pokémon, RuPaul's Drag Race, Pop Idols and Divas, Maths,
   Gay Icons, Big Brother, The Traitors, EastEnders, Coronation Street, Emmerdale, TV, Movies and History.
   Then twelve more the same day: Kylie Minogue, Lady Gaga, Britney Spears, Motorsport, Food, Technology,
   Geography, English Literature, Languages, Celebrity, Animals and Football. Then Friends, James Bond and
   the Royal Family (24 Oct 2026).
   Redrawn the same day after Stuart's feedback: each one is a proper scene of things you'd recognise (the
   shield and hammer, Big Ben, the Diary Room chair, a terrace with the cat on the roof), with its own label
   style and mark. Our own drawings, never a show's logo, and none of them moves.
   The scene sits on the right of a card, fading out towards the quiz's name, and across the top right of a
   quiz page. The scenes are files in /assets/img/looks/, so a page only fetches the ones it shows. Each is
   240 x 100 and keeps what matters in its right-hand half for narrow phone cards. */
.quiz-card .season-deco--scene { left: auto; width: 54%; background-size: cover; background-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .3) 30%, #000 62%); mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .3) 30%, #000 62%); }
@media (min-width: 600px) { .quiz-card .season-deco--scene { width: 330px; background-size: auto 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 90%, transparent); } }
.quiz-hero .season-deco--scene { inset: 0 0 auto auto; width: min(78%, 400px); aspect-ratio: 12 / 5; background-size: 100% auto; background-position: right top; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.quiz-card:has(.season-deco--scene) .quiz-card__title, .quiz-card:has(.season-deco--scene) .quiz-card__meta { text-shadow: 0 1px 3px rgba(16, 24, 40, 0.18), 0 0 14px rgba(16, 24, 40, 0.18); }
.quiz-card:has(.season-deco--scene) .quiz-card__go { border-radius: 50%; background: rgba(255, 255, 255, 0.72); stroke: var(--text); box-shadow: 0 0 0 3px rgba(16, 24, 40, 0.12); }
.quiz-hero:has(.season-deco--scene) h1 { text-shadow: 0 2px 14px rgba(16, 24, 40, 0.18); }
.season-tag--scene::before { content: ""; flex: none; width: 14px; height: 14px; margin-left: -2px; background-position: center; background-repeat: no-repeat; background-size: contain; }
.quiz-card--science, .quiz-hero--science, .arcade-card.quiz-card--science, .arcade-shelf__game.quiz-card--science, .land-arcade__game.quiz-card--science { --fc: var(--success); border-color: rgba(30, 138, 90, 0.55); background: radial-gradient(70% 140% at 100% 40%, rgba(30, 138, 90, 0.28), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(30, 138, 90, 0.3), transparent 70%), linear-gradient(120deg, var(--bg), var(--bg)); }
.quiz-card--science .season-tag, .quiz-hero--science .season-tag { background: linear-gradient(90deg, rgba(30, 138, 90, 0.22), rgba(30, 138, 90, 0.24)); color: var(--success-ink); box-shadow: inset 0 0 0 1px rgba(30, 138, 90, 0.55); }
.quiz-card--science .season-tag::before, .quiz-hero--science .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 2V6.6L2.4 12.6A1.3 1.3 0 0 0 3.6 14.4H12.4A1.3 1.3 0 0 0 13.6 12.6L10 6.6V2Z' fill='%230E9F8E' fill-opacity='.35' stroke='%23C5FBE6' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M3.6 11H12.4L13.4 12.8A1 1 0 0 1 12.4 14.4H3.6A1 1 0 0 1 2.6 12.8Z' fill='%235EF0B8'/%3E%3Cpath d='M5.2 2H10.8' stroke='%23C5FBE6' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M8 6C8 4 9.6 2.6 11.6 2.8 11.6 4.8 10 6.2 8 6Z' fill='%234ADE80'/%3E%3C/svg%3E"); }
.quiz-card--science .season-deco, .quiz-hero--science .season-deco { background-image: url("../img/looks/science.svg"); }
.quiz-card--politics, .quiz-hero--politics, .arcade-card.quiz-card--politics, .arcade-shelf__game.quiz-card--politics, .land-arcade__game.quiz-card--politics { --fc: #E9C46A; border-color: rgba(233, 196, 106, 0.5); background: radial-gradient(circle, rgba(0, 0, 0, 0.35) 1.2px, transparent 1.8px) 0 0 / 11px 11px, radial-gradient(circle, rgba(16, 24, 40, 0.038) 1.2px, transparent 1.8px) 5.5px 5.5px / 11px 11px, radial-gradient(70% 140% at 100% 30%, rgba(226, 112, 58, 0.25), transparent 65%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--politics .season-tag, .quiz-hero--politics .season-tag { background: var(--surface-raised); color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(233, 196, 106, 0.7); font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: .08em; }
.quiz-card--politics .season-tag::before, .quiz-hero--politics .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2.5' y='2.5' width='11' height='11' rx='1.2' fill='%23FBFAF4'/%3E%3Cpath d='M5.2 5.2l5.6 5.6M10.8 5.2l-5.6 5.6' stroke='%230E5A3A' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.quiz-card--politics .season-deco, .quiz-hero--politics .season-deco { background-image: url("../img/looks/politics.svg"); }
.quiz-card--sports, .quiz-hero--sports, .arcade-card.quiz-card--sports, .arcade-shelf__game.quiz-card--sports, .land-arcade__game.quiz-card--sports { --fc: var(--success); border-color: rgba(30, 138, 90, 0.5); background: repeating-linear-gradient(90deg, rgba(16, 24, 40, 0.026) 0 26px, transparent 26px 52px), radial-gradient(70% 140% at 100% 20%, rgba(16, 24, 40, 0.12), transparent 65%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--sports .season-tag, .quiz-hero--sports .season-tag { background: var(--bg); color: var(--orange-ink); box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.18); border-radius: 3px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .1em; text-shadow: 0 0 4px rgba(226, 112, 58, 0.55); }
.quiz-card--sports .season-tag::before, .quiz-hero--sports .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.4' fill='%23FFFFFF'/%3E%3Cpolygon points='8,5.2 10.66,7.13 9.65,10.27 6.35,10.27 5.34,7.13' fill='%23111'/%3E%3Cpath d='M8 5.2V1.8M10.66 7.13l3.2-1.1M9.65 10.27l2 2.7M6.35 10.27l-2 2.7M5.34 7.13l-3.2-1.1' stroke='%23111' stroke-width='.9'/%3E%3Ccircle cx='8' cy='8' r='6.4' fill='none' stroke='%239AA3B5' stroke-width='.6'/%3E%3C/svg%3E"); }
.quiz-card--sports .season-deco, .quiz-hero--sports .season-deco { background-image: url("../img/looks/sports.svg"); }
.quiz-card--marvel, .quiz-hero--marvel, .arcade-card.quiz-card--marvel, .arcade-shelf__game.quiz-card--marvel, .land-arcade__game.quiz-card--marvel { --fc: var(--danger); border-color: rgba(211, 63, 73, 0.65); background: radial-gradient(circle, rgba(211, 63, 73, 0.13) 1px, transparent 1.6px) 0 0 / 7px 7px, radial-gradient(70% 140% at 100% 50%, rgba(211, 63, 73, 0.5), transparent 70%), linear-gradient(120deg, var(--bg), var(--bg)); }
.quiz-card--marvel .season-tag, .quiz-hero--marvel .season-tag { background: #FFD23F; color: var(--danger-ink); box-shadow: 2px 2px 0 rgba(16, 24, 40, 0.18); border-radius: 3px; transform: skewX(-8deg); font-family: var(--font-display); font-weight: 700; letter-spacing: .05em; }
.quiz-card--marvel .season-tag::before, .quiz-hero--marvel .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23B0101E'/%3E%3Ccircle cx='8' cy='8' r='5.3' fill='%23FFFFFF'/%3E%3Ccircle cx='8' cy='8' r='3.7' fill='%23B0101E'/%3E%3Ccircle cx='8' cy='8' r='2.3' fill='%231F4FA0'/%3E%3Cpolygon points='8.00,6.00 8.54,7.45 10.09,7.52 8.88,8.49 9.29,9.98 8.00,9.12 6.71,9.98 7.12,8.49 5.91,7.52 7.46,7.45' fill='%23FFFFFF'/%3E%3C/svg%3E"); }
.quiz-card--marvel .season-deco, .quiz-hero--marvel .season-deco { background-image: url("../img/looks/marvel.svg"); }
.quiz-card--disney, .quiz-hero--disney, .arcade-card.quiz-card--disney, .arcade-shelf__game.quiz-card--disney, .land-arcade__game.quiz-card--disney { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.5); background: radial-gradient(circle, rgba(16, 24, 40, 0.375) .6px, transparent 1px) 0 0 / 23px 19px, radial-gradient(circle, rgba(16, 24, 40, 0.225) .5px, transparent .9px) 11px 9px / 31px 27px, radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.35), transparent 65%), linear-gradient(120deg, var(--surface-raised), var(--bg) 70%); }
.quiz-card--disney .season-tag, .quiz-hero--disney .season-tag { background: linear-gradient(180deg, var(--accent), var(--surface-raised)); color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(244, 197, 66, 0.75); font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; }
.quiz-card--disney .season-tag::before, .quiz-hero--disney .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M0-1Q.16-.16 1 0 .16.16 0 1-.16.16-1 0-.16-.16 0-1Z' transform='translate(8 8) scale(7)' fill='%23F7DC8B' opacity='1'/%3E%3Cpath d='M0-1Q.16-.16 1 0 .16.16 0 1-.16.16-1 0-.16-.16 0-1Z' transform='translate(13.4 3) scale(2.2)' fill='%23FFFFFF' opacity='1'/%3E%3C/svg%3E"); }
.quiz-card--disney .season-deco, .quiz-hero--disney .season-deco { background-image: url("../img/looks/disney.svg"); }
.quiz-card--pokemon, .quiz-hero--pokemon, .arcade-card.quiz-card--pokemon, .arcade-shelf__game.quiz-card--pokemon, .land-arcade__game.quiz-card--pokemon { --fc: #FFD33D; border-color: rgba(255, 211, 61, 0.6); background: radial-gradient(70% 140% at 100% 40%, rgba(255, 203, 5, 0.3), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(63, 115, 221, 0.45), transparent 70%), linear-gradient(120deg, #FFFFFF, var(--bg)); }
.quiz-card--pokemon .season-tag, .quiz-hero--pokemon .season-tag { background: #FFCB05; color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--accent); font-family: var(--font-display); font-weight: 700; letter-spacing: .05em; }
.quiz-card--pokemon .season-tag::before, .quiz-hero--pokemon .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.4 8A6.6 6.6 0 0 1 14.6 8Z' fill='%23E3141B'/%3E%3Cpath d='M1.4 8A6.6 6.6 0 0 0 14.6 8Z' fill='%23FFFFFF'/%3E%3Ccircle cx='8' cy='8' r='6.6' fill='none' stroke='%231F4FA0' stroke-width='1.2'/%3E%3Cpath d='M1.4 8H14.6' stroke='%231F4FA0' stroke-width='1.2'/%3E%3Ccircle cx='8' cy='8' r='2.2' fill='%23FFFFFF' stroke='%231F4FA0' stroke-width='1.2'/%3E%3C/svg%3E"); }
.quiz-card--pokemon .season-deco, .quiz-hero--pokemon .season-deco { background-image: url("../img/looks/pokemon.svg"); }
.quiz-card--drag-race, .quiz-hero--drag-race, .arcade-card.quiz-card--drag-race, .arcade-shelf__game.quiz-card--drag-race, .land-arcade__game.quiz-card--drag-race { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.55); background: radial-gradient(circle, rgba(63, 115, 221, 0.16) .8px, transparent 1.3px) 0 0 / 9px 9px, radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.35), transparent 65%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--drag-race .season-tag, .quiz-hero--drag-race .season-tag { background: linear-gradient(90deg, var(--accent), var(--orange), #FFD15C); color: #3A0828; box-shadow: 0 0 10px rgba(63, 115, 221, 0.45); font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; }
.quiz-card--drag-race .season-tag::before, .quiz-hero--drag-race .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 11.8C1.5 10.4 3 9.8 5 9.7 7 9.6 8.6 8.6 10 6.6 11 5.2 12 3.6 13.4 3.2L14.6 3.6C14.6 5 14.2 6 13.6 6.8L13.2 14H12.4L12 7.6C10.6 10.6 7.6 12.4 4.6 12.6 3 12.8 1.5 12.8 1.5 11.8Z' fill='%233A0828'/%3E%3C/svg%3E"); }
.quiz-card--drag-race .season-deco, .quiz-hero--drag-race .season-deco { background-image: url("../img/looks/drag-race.svg"); }
.quiz-card--pop-divas, .quiz-hero--pop-divas, .arcade-card.quiz-card--pop-divas, .arcade-shelf__game.quiz-card--pop-divas, .land-arcade__game.quiz-card--pop-divas { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.55); background: radial-gradient(circle, rgba(16, 24, 40, 0.075) .7px, transparent 1.2px) 0 0 / 14px 14px, radial-gradient(70% 140% at 100% 30%, rgba(63, 115, 221, 0.38), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(63, 115, 221, 0.22), transparent 70%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--pop-divas .season-tag, .quiz-hero--pop-divas .season-tag { background: linear-gradient(180deg, #FFFFFF, #FFFFFF 55%, rgba(16, 24, 40, 0.2)); color: var(--accent-ink); box-shadow: inset 0 -1px 0 rgba(16, 24, 40, 0.1), 0 0 8px rgba(51, 54, 61, 0.225); font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; }
.quiz-card--pop-divas .season-tag::before, .quiz-hero--pop-divas .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='9' r='5.8' fill='%233B1260'/%3E%3Cpath d='M2.4 7.2H13.6M2.2 10.6H13.8M8 3.2V14.8M4.6 4.4Q3.4 9 4.6 13.6M11.4 4.4Q12.6 9 11.4 13.6' stroke='%23C9A0FF' stroke-width='.6' fill='none'/%3E%3Cpath d='M8 0V3.2' stroke='%233B1260' stroke-width='.9'/%3E%3C/svg%3E"); }
.quiz-card--pop-divas .season-deco, .quiz-hero--pop-divas .season-deco { background-image: url("../img/looks/pop-divas.svg"); }
.quiz-card--maths, .quiz-hero--maths, .arcade-card.quiz-card--maths, .arcade-shelf__game.quiz-card--maths, .land-arcade__game.quiz-card--maths { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.45); background: linear-gradient(rgba(16, 24, 40, 0.03) 1px, transparent 1px) 0 0 / 12px 12px, linear-gradient(90deg, rgba(16, 24, 40, 0.03) 1px, transparent 1px) 0 0 / 12px 12px, radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.16), transparent 65%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--maths .season-tag, .quiz-hero--maths .season-tag { background: var(--surface-raised); color: var(--text-secondary); box-shadow: inset 0 0 0 1px rgba(51, 54, 61, 0.275); font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; }
.quiz-card--maths .season-tag::before, .quiz-hero--maths .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 5Q8 3.6 13.8 4.3M6 4.8Q5.8 9.6 4 13.4M10.4 4.6Q10 10.4 11.6 12.8Q12.6 13.8 13.8 12.4' fill='none' stroke='%23FFE38A' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.quiz-card--maths .season-deco, .quiz-hero--maths .season-deco { background-image: url("../img/looks/maths.svg"); }
.quiz-card--gay-icons, .quiz-hero--gay-icons, .arcade-card.quiz-card--gay-icons, .arcade-shelf__game.quiz-card--gay-icons, .land-arcade__game.quiz-card--gay-icons { --fc: #F7C948; border-color: rgba(247, 201, 72, 0.55); background: radial-gradient(circle, rgba(255, 230, 150, 0.14) .8px, transparent 1.3px) 0 0 / 12px 12px, radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.3), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(63, 115, 221, 0.4), transparent 70%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--gay-icons .season-tag, .quiz-hero--gay-icons .season-tag { background: linear-gradient(90deg, var(--danger), var(--orange), #9C8000, var(--surface-raised), var(--accent), var(--accent)); color: #FFFFFF; text-shadow: 0 1px 2px rgba(16, 24, 40, 0.18); box-shadow: inset 0 0 0 1px rgba(51, 54, 61, 0.225); font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; }
.quiz-card--gay-icons .season-tag::before, .quiz-hero--gay-icons .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 12.5H14.5L15.5 4 11 8 8 2.5 5 8 .5 4Z' fill='%23FFE08A' stroke='%237A4A00' stroke-width='.7' stroke-linejoin='round'/%3E%3Crect x='1.5' y='12' width='13' height='2.4' rx='.6' fill='%23F4C542'/%3E%3C/svg%3E"); }
.quiz-card--gay-icons .season-deco, .quiz-hero--gay-icons .season-deco { background-image: url("../img/looks/gay-icons.svg"); }
.quiz-card--big-brother, .quiz-hero--big-brother, .arcade-card.quiz-card--big-brother, .arcade-shelf__game.quiz-card--big-brother, .land-arcade__game.quiz-card--big-brother { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.45); background: repeating-linear-gradient(0deg, rgba(16, 24, 40, 0.026) 0 1px, transparent 1px 3px), radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.22), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(63, 115, 221, 0.22), transparent 70%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--big-brother .season-tag, .quiz-hero--big-brother .season-tag { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1px rgba(51, 54, 61, 0.2); border-radius: 3px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .1em; }
.quiz-card--big-brother .season-tag::before, .quiz-hero--big-brother .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='4.6' fill='%23FF2D2D'/%3E%3Ccircle cx='6.8' cy='6.8' r='1.4' fill='%23FFFFFF' opacity='.5'/%3E%3C/svg%3E"); }
.quiz-card--big-brother .season-deco, .quiz-hero--big-brother .season-deco { background-image: url("../img/looks/big-brother.svg"); }
.quiz-card--traitors, .quiz-hero--traitors, .arcade-card.quiz-card--traitors, .arcade-shelf__game.quiz-card--traitors, .land-arcade__game.quiz-card--traitors { --fc: var(--orange); border-color: rgba(226, 112, 58, 0.45); background: repeating-linear-gradient(90deg, rgba(211, 63, 73, 0.2) 0 6px, transparent 6px 18px, rgba(255, 255, 255, 0.28) 18px 22px, transparent 22px 36px), repeating-linear-gradient(0deg, rgba(211, 63, 73, 0.2) 0 6px, transparent 6px 18px, rgba(255, 255, 255, 0.28) 18px 22px, transparent 22px 36px), radial-gradient(70% 140% at 100% 20%, rgba(242, 220, 166, 0.16), transparent 60%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--traitors .season-tag, .quiz-hero--traitors .season-tag { background: var(--surface-raised); color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(226, 112, 58, 0.75); border-radius: 3px; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: .1em; }
.quiz-card--traitors .season-tag::before, .quiz-hero--traitors .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.2 9.4 3.4V10H6.6V3.4Z' fill='%23E5E7EB'/%3E%3Cpath d='M8 1.6V9.6' stroke='%239CA3AF' stroke-width='.5'/%3E%3Cpath d='M4 10H12' stroke='%23F2D08A' stroke-width='1.6' stroke-linecap='round'/%3E%3Crect x='7.1' y='10.6' width='1.8' height='3.2' fill='%238C5D10'/%3E%3Ccircle cx='8' cy='14.6' r='1.1' fill='%23F2D08A'/%3E%3C/svg%3E"); }
.quiz-card--traitors .season-deco, .quiz-hero--traitors .season-deco { background-image: url("../img/looks/traitors.svg"); }
.quiz-card--eastenders, .quiz-hero--eastenders, .arcade-card.quiz-card--eastenders, .arcade-shelf__game.quiz-card--eastenders, .land-arcade__game.quiz-card--eastenders { --fc: var(--orange); border-color: rgba(226, 112, 58, 0.45); background: linear-gradient(115deg, transparent 0 46%, rgba(16, 24, 40, 0.045) 46% 47%, transparent 47%) 0 0 / 60px 60px, linear-gradient(25deg, transparent 0 46%, rgba(16, 24, 40, 0.038) 46% 47%, transparent 47%) 0 0 / 44px 44px, radial-gradient(70% 140% at 100% 40%, rgba(226, 112, 58, 0.22), transparent 65%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--eastenders .season-tag, .quiz-hero--eastenders .season-tag { background: #FFFFFF; color: #111111; box-shadow: inset 0 0 0 1.5px rgba(16, 24, 40, 0.18), inset 0 -3px 0 var(--danger); border-radius: 3px; font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; }
.quiz-card--eastenders .season-tag::before, .quiz-hero--eastenders .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 3H12L11 14.2H5Z' fill='%23F2A93B'/%3E%3Cpath d='M4 3H12L11.7 6H4.3Z' fill='%23FFF6E0'/%3E%3Cpath d='M4 3H12L11 14.2H5Z' fill='none' stroke='%23111' stroke-width='.9' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.quiz-card--eastenders .season-deco, .quiz-hero--eastenders .season-deco { background-image: url("../img/looks/eastenders.svg"); }
.quiz-card--corrie, .quiz-hero--corrie, .arcade-card.quiz-card--corrie, .arcade-shelf__game.quiz-card--corrie, .land-arcade__game.quiz-card--corrie { --fc: var(--danger); border-color: rgba(211, 63, 73, 0.45); background: linear-gradient(rgba(0, 0, 0, 0.14) 1px, transparent 1px) 0 0 / 14px 7px, linear-gradient(90deg, rgba(0, 0, 0, 0.12) 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(90deg, rgba(0, 0, 0, 0.12) 1px, transparent 1px) 7px 7px / 14px 14px, radial-gradient(70% 140% at 100% 10%, rgba(226, 112, 58, 0.28), transparent 65%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--corrie .season-tag, .quiz-hero--corrie .season-tag { background: var(--danger); color: var(--gold-ink); box-shadow: inset 0 0 0 1px rgba(51, 54, 61, 0.275); border-radius: 3px; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: .08em; }
.quiz-card--corrie .season-tag::before, .quiz-hero--corrie .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 7.5 5 4.5 8.5 7.5 12 4.5 15.5 7.5V14.5H1.5Z' fill='%23C2643A'/%3E%3Cpath d='M1 7.8 5 4.4 8.5 7.4 12 4.4 16 7.8' fill='none' stroke='%23F5E6C8' stroke-width='1.1' stroke-linejoin='round'/%3E%3Cpath d='M3.6 14.5V10.5H6V14.5ZM10.4 14.5V10.5H12.8V14.5Z' fill='%23F5E6C8'/%3E%3C/svg%3E"); }
.quiz-card--corrie .season-deco, .quiz-hero--corrie .season-deco { background-image: url("../img/looks/corrie.svg"); }
.quiz-card--emmerdale, .quiz-hero--emmerdale, .arcade-card.quiz-card--emmerdale, .arcade-shelf__game.quiz-card--emmerdale, .land-arcade__game.quiz-card--emmerdale { --fc: var(--success); border-color: rgba(30, 138, 90, 0.45); background: radial-gradient(70% 140% at 100% 10%, rgba(226, 112, 58, 0.2), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(30, 138, 90, 0.35), transparent 70%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--emmerdale .season-tag, .quiz-hero--emmerdale .season-tag { background: var(--success); color: var(--text-secondary); box-shadow: inset 0 0 0 1px rgba(51, 54, 61, 0.275); border-radius: 3px; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: .08em; }
.quiz-card--emmerdale .season-tag::before, .quiz-hero--emmerdale .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='5' cy='8' r='2.6' fill='%23FFFFFF'/%3E%3Ccircle cx='7.6' cy='6.6' r='2.8' fill='%23FFFFFF'/%3E%3Ccircle cx='10' cy='8' r='2.6' fill='%23FFFFFF'/%3E%3Ccircle cx='7.4' cy='9.4' r='2.6' fill='%23FFFFFF'/%3E%3Cellipse cx='13.2' cy='7.4' rx='1.7' ry='2.2' fill='%231A1A1A'/%3E%3Cpath d='M5.4 11.4V14M9.8 11.4V14' stroke='%231A1A1A' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.quiz-card--emmerdale .season-deco, .quiz-hero--emmerdale .season-deco { background-image: url("../img/looks/emmerdale.svg"); }
.quiz-card--tv, .quiz-hero--tv, .arcade-card.quiz-card--tv, .arcade-shelf__game.quiz-card--tv, .land-arcade__game.quiz-card--tv { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.45); background: repeating-linear-gradient(0deg, rgba(16, 24, 40, 0.023) 0 1px, transparent 1px 3px), radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.26), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(63, 115, 221, 0.2), transparent 70%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--tv .season-tag, .quiz-hero--tv .season-tag { background: #FFFFFF linear-gradient(90deg, #FFFFFF 0 14.3%, #D9D200 0 28.6%, var(--success) 0 42.9%, var(--success) 0 57.1%, var(--accent) 0 71.4%, var(--danger) 0 85.7%, var(--accent) 0) bottom / 100% 3px no-repeat; color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(51, 54, 61, 0.15); border-radius: 4px; font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; }
.quiz-card--tv .season-tag::before, .quiz-hero--tv .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 3.6 3 1M11 3.6 13 1' stroke='%23C9CED8' stroke-width='.9' stroke-linecap='round'/%3E%3Crect x='1' y='3.6' width='14' height='10.4' rx='2.2' fill='%239A5A2A'/%3E%3Crect x='2.4' y='5' width='8.6' height='7.6' rx='1.6' fill='%237FD1FF'/%3E%3Ccircle cx='13' cy='7' r='.9' fill='%23F1E6CC'/%3E%3Ccircle cx='13' cy='10' r='.9' fill='%23F1E6CC'/%3E%3C/svg%3E"); }
.quiz-card--tv .season-deco, .quiz-hero--tv .season-deco { background-image: url("../img/looks/tv.svg"); }
.quiz-card--movies, .quiz-hero--movies, .arcade-card.quiz-card--movies, .arcade-shelf__game.quiz-card--movies, .land-arcade__game.quiz-card--movies { --fc: var(--danger); border-color: rgba(211, 63, 73, 0.45); background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 5px, rgba(16, 24, 40, 0.015) 9px, rgba(0, 0, 0, 0.18) 14px), radial-gradient(70% 140% at 100% 40%, rgba(211, 63, 73, 0.35), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--movies .season-tag, .quiz-hero--movies .season-tag { background: var(--bg); color: var(--gold-ink); box-shadow: inset 0 0 0 1px var(--orange), inset 0 0 0 2.5px rgba(16, 24, 40, 0.18), inset 0 0 0 3.5px rgba(226, 112, 58, 0.55); border-radius: 3px; font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; padding: 3px 9px; }
.quiz-card--movies .season-tag::before, .quiz-hero--movies .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1.5' y='6.4' width='13' height='8' rx='1' fill='%23FFD36B'/%3E%3Cpath d='M1.3 6.2 13.6 2.2 14.2 4.2 1.9 8.2Z' fill='%23FFD36B'/%3E%3Cpath d='M4.4 5.2 6 7.2M8.4 3.9 10 5.9M12.2 2.7 13.6 4.6' stroke='%23120A0A' stroke-width='1.1'/%3E%3Cpath d='M3 9.6H13' stroke='%23120A0A' stroke-width='.8'/%3E%3C/svg%3E"); }
.quiz-card--movies .season-deco, .quiz-hero--movies .season-deco { background-image: url("../img/looks/movies.svg"); }
.quiz-card--history, .quiz-hero--history, .arcade-card.quiz-card--history, .arcade-shelf__game.quiz-card--history, .land-arcade__game.quiz-card--history { --fc: var(--orange); border-color: rgba(226, 112, 58, 0.45); background: radial-gradient(70% 140% at 100% 30%, rgba(226, 112, 58, 0.22), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(226, 112, 58, 0.3), transparent 70%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--history .season-tag, .quiz-hero--history .season-tag { background: #FFFFFF; color: #4A3317; box-shadow: inset 0 0 0 1px var(--orange); border-radius: 3px; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: .08em; }
.quiz-card--history .season-tag::before, .quiz-hero--history .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2' y='13' width='12' height='2' fill='%234A3317'/%3E%3Crect x='2' y='1.4' width='12' height='2' fill='%234A3317'/%3E%3Cpath d='M4.4 3.4V13M8 3.4V13M11.6 3.4V13' stroke='%234A3317' stroke-width='1.6'/%3E%3C/svg%3E"); }
.quiz-card--history .season-deco, .quiz-hero--history .season-deco { background-image: url("../img/looks/history.svg"); }
.quiz-card--kylie, .quiz-hero--kylie, .arcade-card.quiz-card--kylie, .arcade-shelf__game.quiz-card--kylie, .land-arcade__game.quiz-card--kylie { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.55); background: radial-gradient(circle, rgba(255, 214, 120, 0.14) .8px, transparent 1.3px) 0 0 / 8px 8px, radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.38), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(247, 207, 87, 0.16), transparent 70%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--kylie .season-tag, .quiz-hero--kylie .season-tag { background: linear-gradient(135deg, #FFF3C4, #EDB63E 45%, #FFE48A 62%, var(--orange)); color: #4A0D2E; box-shadow: 0 0 0 1px rgba(255, 214, 102, 0.5), 0 0 10px rgba(255, 190, 60, 0.35); font-family: var(--font-display); font-style: italic; font-weight: 800; letter-spacing: .03em; }
.quiz-card--kylie .season-tag::before, .quiz-hero--kylie .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.2 2.4C1.6 7.4 3.2 13.4 8 13.6 12.8 13.4 14.4 7.4 12.8 2.4L10.2 2.8C11.2 6.6 10.4 10.4 8 10.5 5.6 10.4 4.8 6.6 5.8 2.8Z' fill='%23C2187A'/%3E%3Ccircle cx='4.2' cy='6' r='.6' fill='%23FFE48A'/%3E%3Ccircle cx='4.9' cy='9.6' r='.6' fill='%23FFE48A'/%3E%3Ccircle cx='11.8' cy='6' r='.6' fill='%23FFE48A'/%3E%3Ccircle cx='11.1' cy='9.6' r='.6' fill='%23FFE48A'/%3E%3C/svg%3E"); }
.quiz-card--kylie .season-deco, .quiz-hero--kylie .season-deco { background-image: url("../img/looks/kylie.svg"); }
.quiz-card--gaga, .quiz-hero--gaga, .arcade-card.quiz-card--gaga, .arcade-shelf__game.quiz-card--gaga, .land-arcade__game.quiz-card--gaga { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.55); background: linear-gradient(105deg, transparent 40%, rgba(16, 24, 40, 0.045) 55%, transparent 70%), radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.35), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(16, 24, 40, 0.09), transparent 70%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--gaga .season-tag, .quiz-hero--gaga .season-tag { background: linear-gradient(180deg, #FFFFFF, #FFFFFF 55%, rgba(16, 24, 40, 0.2)); color: #14101C; box-shadow: 0 0 0 1px var(--accent), 0 0 8px rgba(63, 115, 221, 0.45); border-radius: 2px; font-family: var(--font-display); font-weight: 800; letter-spacing: .14em; }
.quiz-card--gaga .season-tag::before, .quiz-hero--gaga .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1.6' y='3.2' width='8' height='11' rx='1.2' fill='%23FFFFFF' stroke='%2314101C' stroke-width='.8' transform='rotate(-12 5.6 8.7)'/%3E%3Crect x='6.4' y='2' width='8' height='11' rx='1.2' fill='%23FFFFFF' stroke='%2314101C' stroke-width='.8' transform='rotate(10 10.4 7.5)'/%3E%3Cpath d='M0 3.6C-1.6 2.2-4.2.4-4.2-1.6-4.2-3 -3.1-4-1.9-4-1-4-.3-3.4 0-2.7.3-3.4 1-4 1.9-4 3.1-4 4.2-3 4.2-1.6 4.2.4 1.6 2.2 0 3.6Z' transform='translate(10.6 7.6) scale(.7)' fill='%23E11D74'/%3E%3C/svg%3E"); }
.quiz-card--gaga .season-deco, .quiz-hero--gaga .season-deco { background-image: url("../img/looks/gaga.svg"); }
.quiz-card--britney, .quiz-hero--britney, .arcade-card.quiz-card--britney, .arcade-shelf__game.quiz-card--britney, .land-arcade__game.quiz-card--britney { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.55); background: repeating-linear-gradient(90deg, rgba(63, 115, 221, 0.07) 0 12px, transparent 12px 24px), radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.32), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(255, 210, 74, 0.14), transparent 70%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--britney .season-tag, .quiz-hero--britney .season-tag { background: #FFFFFF; color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--accent); outline: 1px dashed rgba(63, 115, 221, 0.8); outline-offset: -4px; border-radius: 2px; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: .08em; padding: 3px 9px; }
.quiz-card--britney .season-tag::before, .quiz-hero--britney .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.4 9.4C2.4 3.6 13.6 3.6 13.6 9.4' fill='none' stroke='%23C0136A' stroke-width='1.5' stroke-linecap='round'/%3E%3Crect x='1.2' y='8.2' width='3.2' height='5' rx='1.4' fill='%23C0136A'/%3E%3Cpath d='M2.6 12.6C2.8 14.4 5 15 8 14.6' fill='none' stroke='%23C0136A' stroke-width='1.1' stroke-linecap='round'/%3E%3Ccircle cx='8.8' cy='14.5' r='1.3' fill='%23C0136A'/%3E%3C/svg%3E"); }
.quiz-card--britney .season-deco, .quiz-hero--britney .season-deco { background-image: url("../img/looks/britney.svg"); }
.quiz-card--motorsport, .quiz-hero--motorsport, .arcade-card.quiz-card--motorsport, .arcade-shelf__game.quiz-card--motorsport, .land-arcade__game.quiz-card--motorsport { --fc: var(--danger); border-color: rgba(211, 63, 73, 0.5); background: repeating-linear-gradient(90deg, rgba(16, 24, 40, 0.023) 0 1px, transparent 1px 22px), radial-gradient(70% 140% at 100% 70%, rgba(211, 63, 73, 0.32), transparent 65%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--motorsport .season-tag, .quiz-hero--motorsport .season-tag { background: var(--danger); color: #FFFFFF; box-shadow: 3px 0 0 rgba(51, 54, 61, 0.5), 6px 0 0 rgba(16, 24, 40, 0.18); border-radius: 2px; transform: skewX(-12deg); font-family: var(--font-display); font-style: italic; font-weight: 800; letter-spacing: .06em; }
.quiz-card--motorsport .season-tag::before, .quiz-hero--motorsport .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 1.5V14.5' stroke='%23FFFFFF' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M3.2 2H14V10H3.2Z' fill='%23FFFFFF'/%3E%3Cpath d='M3.2 2H5.9V4.7H3.2ZM8.6 2H11.3V4.7H8.6ZM5.9 4.7H8.6V7.4H5.9ZM11.3 4.7H14V7.4H11.3ZM3.2 7.4H5.9V10H3.2ZM8.6 7.4H11.3V10H8.6Z' fill='%23111111'/%3E%3C/svg%3E"); }
.quiz-card--motorsport .season-deco, .quiz-hero--motorsport .season-deco { background-image: url("../img/looks/motorsport.svg"); }
.quiz-card--food, .quiz-hero--food, .arcade-card.quiz-card--food, .arcade-shelf__game.quiz-card--food, .land-arcade__game.quiz-card--food { --fc: var(--orange); border-color: rgba(226, 112, 58, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(226, 112, 58, 0.32), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(211, 63, 73, 0.2), transparent 70%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--food .season-tag, .quiz-hero--food .season-tag { background: #FFFFFF; color: var(--danger-ink); box-shadow: inset 0 -3px 0 rgba(211, 63, 73, 0.55), inset 0 0 0 1px rgba(211, 63, 73, 0.5); border-radius: 4px; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 700; letter-spacing: .03em; }
.quiz-card--food .season-tag::before, .quiz-hero--food .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 7.6C2.2 7.4 1.4 5.6 2.4 4.2 3 3.4 4 3.2 4.8 3.6 5.2 2.2 6.6 1.4 8 1.4 9.4 1.4 10.8 2.2 11.2 3.6 12 3.2 13 3.4 13.6 4.2 14.6 5.6 13.8 7.4 12 7.6V12.4H4Z' fill='%23FFFFFF' stroke='%23B3261E' stroke-width='1' stroke-linejoin='round'/%3E%3Cpath d='M4 10.4H12' stroke='%23B3261E' stroke-width='1'/%3E%3Cpath d='M3.6 12.4H12.4V14.4H3.6Z' fill='%23B3261E'/%3E%3C/svg%3E"); }
.quiz-card--food .season-deco, .quiz-hero--food .season-deco { background-image: url("../img/looks/food.svg"); }
.quiz-card--tech, .quiz-hero--tech, .arcade-card.quiz-card--tech, .arcade-shelf__game.quiz-card--tech, .land-arcade__game.quiz-card--tech { --fc: var(--success); border-color: rgba(30, 138, 90, 0.45); background: linear-gradient(rgba(63, 115, 221, 0.06) 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(90deg, rgba(63, 115, 221, 0.06) 1px, transparent 1px) 0 0 / 14px 14px, radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.32), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--tech .season-tag, .quiz-hero--tech .season-tag { background: var(--bg); color: var(--success-ink); box-shadow: inset 0 0 0 1px rgba(30, 138, 90, 0.6), 0 0 8px rgba(30, 138, 90, 0.3); border-radius: 6px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .02em; }
.quiz-card--tech .season-tag::before, .quiz-hero--tech .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='4' y='4' width='8' height='8' rx='1.2' fill='none' stroke='%235EEAD4' stroke-width='1.2'/%3E%3Crect x='6.2' y='6.2' width='3.6' height='3.6' rx='.6' fill='%235EEAD4'/%3E%3Cpath d='M6 4V1.8M10 4V1.8M6 12V14.2M10 12V14.2M4 6H1.8M4 10H1.8M12 6H14.2M12 10H14.2' stroke='%235EEAD4' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E"); }
.quiz-card--tech .season-deco, .quiz-hero--tech .season-deco { background-image: url("../img/looks/tech.svg"); }
.quiz-card--geography, .quiz-hero--geography, .arcade-card.quiz-card--geography, .arcade-shelf__game.quiz-card--geography, .land-arcade__game.quiz-card--geography { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.5); background: linear-gradient(rgba(63, 115, 221, 0.07) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(90deg, rgba(63, 115, 221, 0.07) 1px, transparent 1px) 0 0 / 18px 18px, radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.38), transparent 65%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--geography .season-tag, .quiz-hero--geography .season-tag { background: #F6EBCB; color: var(--accent-ink); box-shadow: inset 0 0 0 1px rgba(63, 115, 221, 0.45); border-radius: 3px; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-variant: small-caps; letter-spacing: .06em; }
.quiz-card--geography .season-tag::before, .quiz-hero--geography .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.4' fill='%231E7FD0'/%3E%3Cpath d='M5 4.2Q7 3.8 8 5.6 7 7.6 8.6 9.2 7.8 12 6.4 13.2 5.6 11 4.4 9.6 3 8.4 3.6 6Z' fill='%236CC25A'/%3E%3Cpath d='M10.4 3.6Q12.6 4.6 12.6 6.4 11 6.6 10.2 5.4Z' fill='%236CC25A'/%3E%3Ccircle cx='8' cy='8' r='6.4' fill='none' stroke='%230B3A78' stroke-width='1'/%3E%3C/svg%3E"); }
.quiz-card--geography .season-deco, .quiz-hero--geography .season-deco { background-image: url("../img/looks/geography.svg"); }
.quiz-card--literature, .quiz-hero--literature, .arcade-card.quiz-card--literature, .arcade-shelf__game.quiz-card--literature, .land-arcade__game.quiz-card--literature { --fc: #E9C46A; border-color: rgba(233, 196, 106, 0.45); background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 9px), radial-gradient(70% 140% at 100% 40%, rgba(226, 112, 58, 0.22), transparent 65%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--literature .season-tag, .quiz-hero--literature .season-tag { background: var(--danger); color: var(--gold-ink); box-shadow: inset 0 0 0 1px #C9A24A, inset 0 0 0 2.5px rgba(16, 24, 40, 0.18), inset 0 0 0 3.2px rgba(201, 162, 74, 0.6); border-radius: 2px; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 700; letter-spacing: .03em; padding: 3px 9px; }
.quiz-card--literature .season-tag::before, .quiz-hero--literature .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.6 1.6C9 2.4 5.4 6 4.2 11.2L5.8 11.6C7.6 7.6 10.4 4.6 13.6 1.6Z' fill='%23F5D98B'/%3E%3Cpath d='M4.2 11.2 2.6 14.6' stroke='%23F5D98B' stroke-width='1.2' stroke-linecap='round'/%3E%3Cpath d='M6.4 9Q9 8.6 10.6 6.8' fill='none' stroke='%235A1820' stroke-width='.6'/%3E%3C/svg%3E"); }
.quiz-card--literature .season-deco, .quiz-hero--literature .season-deco { background-image: url("../img/looks/literature.svg"); }
.quiz-card--languages, .quiz-hero--languages, .arcade-card.quiz-card--languages, .arcade-shelf__game.quiz-card--languages, .land-arcade__game.quiz-card--languages { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.32), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(30, 138, 90, 0.14), transparent 70%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--languages .season-tag, .quiz-hero--languages .season-tag { background: #FFFFFF; color: var(--accent-ink); border-radius: 10px 10px 10px 2px; box-shadow: 0 0 0 1px rgba(51, 54, 61, 0.35); font-family: var(--font-display); font-weight: 700; letter-spacing: .03em; }
.quiz-card--languages .season-tag::before, .quiz-hero--languages .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1' y='2' width='9' height='7' rx='2.6' fill='%233730A3'/%3E%3Cpath d='M3 9 2.6 11.2 5 9Z' fill='%233730A3'/%3E%3Crect x='6' y='6' width='9' height='7' rx='2.6' fill='%23F472B6'/%3E%3Cpath d='M13 13 13.4 15.2 11 13Z' fill='%23F472B6'/%3E%3Cpath d='M3.4 7 5.5 3.6 7.6 7M4.2 5.8H6.8' fill='none' stroke='%23FFFFFF' stroke-width='.8'/%3E%3C/svg%3E"); }
.quiz-card--languages .season-deco, .quiz-hero--languages .season-deco { background-image: url("../img/looks/languages.svg"); }
.quiz-card--celebrity, .quiz-hero--celebrity, .arcade-card.quiz-card--celebrity, .arcade-shelf__game.quiz-card--celebrity, .land-arcade__game.quiz-card--celebrity { --fc: var(--accent); border-color: rgba(63, 115, 221, 0.5); background: radial-gradient(circle, rgba(16, 24, 40, 0.075) .7px, transparent 1.2px) 0 0 / 10px 10px, radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.32), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(214, 166, 64, 0.14), transparent 70%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--celebrity .season-tag, .quiz-hero--celebrity .season-tag { background: linear-gradient(180deg, var(--accent), var(--accent)); color: #3A0E1E; box-shadow: inset 0 0 0 1.5px #D6A640, 0 0 8px rgba(51, 54, 61, 0.175); border-radius: 3px; font-family: var(--font-display); font-weight: 800; letter-spacing: .1em; }
.quiz-card--celebrity .season-tag::before, .quiz-hero--celebrity .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpolygon points='8,1.4 9.7,6 14.4,6.1 10.6,9 12,13.6 8,10.9 4,13.6 5.4,9 1.6,6.1 6.3,6' fill='%23FFB3C8' stroke='%238A6418' stroke-width='1' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='8.2' r='1.6' fill='%23D6A640'/%3E%3C/svg%3E"); }
.quiz-card--celebrity .season-deco, .quiz-hero--celebrity .season-deco { background-image: url("../img/looks/celebrity.svg"); }
.quiz-card--animals, .quiz-hero--animals, .arcade-card.quiz-card--animals, .arcade-shelf__game.quiz-card--animals, .land-arcade__game.quiz-card--animals { --fc: var(--orange); border-color: rgba(226, 112, 58, 0.5); background: radial-gradient(70% 140% at 100% 55%, rgba(226, 112, 58, 0.42), transparent 65%), radial-gradient(60% 120% at 0% 0%, rgba(63, 115, 221, 0.18), transparent 70%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--animals .season-tag, .quiz-hero--animals .season-tag { background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.42) 1.6px, transparent 2.2px) 0 0 / 9px 7px, radial-gradient(circle at 70% 75%, rgba(255, 255, 255, 0.42) 1.4px, transparent 2px) 0 0 / 9px 7px, var(--orange); color: #3B2208; box-shadow: inset 0 0 0 1px rgba(16, 24, 40, 0.18); font-family: var(--font-display); font-weight: 800; letter-spacing: .05em; }
.quiz-card--animals .season-tag::before, .quiz-hero--animals .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cellipse cx='8' cy='10.6' rx='3.6' ry='3' fill='%233B2208'/%3E%3Cellipse cx='3.4' cy='6.8' rx='1.5' ry='1.9' fill='%233B2208'/%3E%3Cellipse cx='6.2' cy='4' rx='1.5' ry='1.9' fill='%233B2208'/%3E%3Cellipse cx='9.8' cy='4' rx='1.5' ry='1.9' fill='%233B2208'/%3E%3Cellipse cx='12.6' cy='6.8' rx='1.5' ry='1.9' fill='%233B2208'/%3E%3C/svg%3E"); }
.quiz-card--animals .season-deco, .quiz-hero--animals .season-deco { background-image: url("../img/looks/animals.svg"); }
.quiz-card--football, .quiz-hero--football, .arcade-card.quiz-card--football, .arcade-shelf__game.quiz-card--football, .land-arcade__game.quiz-card--football { --fc: var(--success); border-color: rgba(30, 138, 90, 0.45); background: repeating-linear-gradient(90deg, rgba(16, 24, 40, 0.023) 0 20px, transparent 20px 40px), radial-gradient(70% 140% at 100% 20%, rgba(16, 24, 40, 0.15), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(30, 138, 90, 0.3), transparent 70%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--football .season-tag, .quiz-hero--football .season-tag { background: var(--danger); color: #FFFFFF; box-shadow: inset 0 2px 0 rgba(51, 54, 61, 0.5), inset 0 -2px 0 rgba(51, 54, 61, 0.5), inset 0 4px 0 var(--danger), inset 0 -4px 0 var(--danger), inset 0 5.5px 0 rgba(51, 54, 61, 0.45), inset 0 -5.5px 0 rgba(51, 54, 61, 0.45); border-radius: 2px; font-family: var(--font-display); font-weight: 800; letter-spacing: .1em; padding: 4px 9px; }
.quiz-card--football .season-tag::before, .quiz-hero--football .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 14V4H14V14' fill='none' stroke='%23FFFFFF' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M4 4V12M6 4V12M8 4V12M10 4V12M12 4V12M2.6 6H13.4M2.6 8H13.4M2.6 10H13.4' stroke='%23FFFFFF' stroke-width='.4' opacity='.7'/%3E%3Ccircle cx='8' cy='11.6' r='2.6' fill='%23FFFFFF'/%3E%3Cpath d='M8 10.4 9 11.2 8.6 12.4H7.4L7 11.2Z' fill='%23111'/%3E%3C/svg%3E"); }
.quiz-card--football .season-deco, .quiz-hero--football .season-deco { background-image: url("../img/looks/football.svg"); }
.quiz-card--friends, .quiz-hero--friends, .arcade-card.quiz-card--friends, .arcade-shelf__game.quiz-card--friends, .land-arcade__game.quiz-card--friends { --fc: var(--orange); border-color: rgba(226, 112, 58, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(226, 112, 58, 0.3), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(63, 115, 221, 0.32), transparent 70%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--friends .season-tag, .quiz-hero--friends .season-tag { background: var(--accent); color: var(--text-secondary); box-shadow: inset 0 0 0 2px #E8B63C; border-radius: 3px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.quiz-card--friends .season-tag::before, .quiz-hero--friends .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='3' y='1.6' width='10' height='12.8' rx='1' fill='%23E8B63C'/%3E%3Crect x='5' y='3.6' width='6' height='8.8' rx='.5' fill='%234E3484'/%3E%3Ccircle cx='8' cy='8' r='1.2' fill='%23FFE98F'/%3E%3C/svg%3E"); }
.quiz-card--friends .season-deco, .quiz-hero--friends .season-deco { background-image: url("../img/looks/friends.svg"); }
.quiz-card--bond, .quiz-hero--bond, .arcade-card.quiz-card--bond, .arcade-shelf__game.quiz-card--bond, .land-arcade__game.quiz-card--bond { --fc: #E3C16F; border-color: rgba(227, 193, 111, 0.5); background: repeating-radial-gradient(circle at 100% 40%, rgba(16, 24, 40, 0.03) 0 1.5px, transparent 1.5px 14px), radial-gradient(70% 140% at 100% 40%, rgba(227, 193, 111, 0.16), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--bond .season-tag, .quiz-hero--bond .season-tag { background: var(--bg); color: var(--text); box-shadow: inset 0 0 0 1px rgba(227, 193, 111, 0.75); border-radius: 999px; font-family: Futura, 'Century Gothic', 'Avenir Next', system-ui, sans-serif; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.quiz-card--bond .season-tag::before, .quiz-hero--bond .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 8 2 4.4Q1.2 8 2 11.6ZM8 8 14 4.4Q14.8 8 14 11.6Z' fill='%23E3C16F'/%3E%3Crect x='6.6' y='6.4' width='2.8' height='3.2' rx='.8' fill='%23FFF0B3'/%3E%3C/svg%3E"); }
.quiz-card--bond .season-deco, .quiz-hero--bond .season-deco { background-image: url("../img/looks/bond.svg"); }
.quiz-card--royals, .quiz-hero--royals, .arcade-card.quiz-card--royals, .arcade-shelf__game.quiz-card--royals, .land-arcade__game.quiz-card--royals { --fc: #F2CD5C; border-color: rgba(242, 205, 92, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(63, 115, 221, 0.3), transparent 65%), radial-gradient(60% 120% at 0% 100%, rgba(211, 63, 73, 0.24), transparent 70%), linear-gradient(120deg, #FFFFFF, var(--bg) 70%); }
.quiz-card--royals .season-tag, .quiz-hero--royals .season-tag { background: linear-gradient(180deg, var(--accent), var(--accent)); color: var(--gold-ink); box-shadow: inset 0 0 0 1px #E9BC42, inset 0 -2px 0 rgba(51, 54, 61, 0.425); border-radius: 3px; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: .05em; }
.quiz-card--royals .season-tag::before, .quiz-hero--royals .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.4 12.4 1.6 5.2 5 8 8 3.2 11 8 14.4 5.2 13.6 12.4Z' fill='%23E9BC42'/%3E%3Crect x='2.4' y='12' width='11.2' height='2.2' rx='.6' fill='%23FFF2B5'/%3E%3Ccircle cx='8' cy='2.6' r='1.1' fill='%23FFF2B5'/%3E%3Ccircle cx='1.6' cy='4.8' r='.9' fill='%23FFF2B5'/%3E%3Ccircle cx='14.4' cy='4.8' r='.9' fill='%23FFF2B5'/%3E%3C/svg%3E"); }
.quiz-card--royals .season-deco, .quiz-hero--royals .season-deco { background-image: url("../img/looks/royals.svg"); }
/* Sixteen more (16 Nov 2026): Gaming, Astronomy, Horoscopes, Fitness, Musicals, Reality TV, The 80s, The 90s, The 2000s,
   Travel, Cocktails, Fashion, Art, Mythology, Driving and Current Affairs. Scenes from looks-source/more9.py, light and cute like
   Science & Nature (Stuart, 19:44: the first go wasn't "lightweight enough"). */
.quiz-card--gaming, .quiz-hero--gaming, .arcade-card.quiz-card--gaming, .arcade-shelf__game.quiz-card--gaming, .land-arcade__game.quiz-card--gaming { border-color: rgba(169, 139, 255, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(169, 139, 255, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--gaming .season-tag, .quiz-hero--gaming .season-tag { background: #EDE7FF; color: #5B3FC4; box-shadow: inset 0 0 0 1.5px #C9B6FF; border-radius: 4px; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.quiz-card--gaming .season-tag::before, .quiz-hero--gaming .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 5h3V3h2v2h2V3h2v2h3v6h-2v2H11v-2H5v2H3v-2H2z' fill='%23A98BFF'/%3E%3Crect x='5' y='7' width='2' height='2' fill='%23FFFFFF'/%3E%3Crect x='10' y='7' width='2' height='2' fill='%23FFFFFF'/%3E%3C/svg%3E"); }
.quiz-card--gaming .season-deco, .quiz-hero--gaming .season-deco { background-image: url("../img/looks/gaming.svg"); }
.quiz-card--astronomy, .quiz-hero--astronomy, .arcade-card.quiz-card--astronomy, .arcade-shelf__game.quiz-card--astronomy, .land-arcade__game.quiz-card--astronomy { border-color: rgba(124, 196, 255, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(124, 196, 255, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--astronomy .season-tag, .quiz-hero--astronomy .season-tag { background: #E3F1FF; color: #2459B8; box-shadow: inset 0 0 0 1px #A9D4FF; border-radius: 999px; font-family: Futura, 'Century Gothic', 'Avenir Next', system-ui, sans-serif; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.quiz-card--astronomy .season-tag::before, .quiz-hero--astronomy .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='4.2' fill='%23FFB088'/%3E%3Cellipse cx='8' cy='8' rx='7.4' ry='2' transform='rotate(-18 8 8)' fill='none' stroke='%23A98BFF' stroke-width='1.2'/%3E%3C/svg%3E"); }
.quiz-card--astronomy .season-deco, .quiz-hero--astronomy .season-deco { background-image: url("../img/looks/astronomy.svg"); }
.quiz-card--horoscopes, .quiz-hero--horoscopes, .arcade-card.quiz-card--horoscopes, .arcade-shelf__game.quiz-card--horoscopes, .land-arcade__game.quiz-card--horoscopes { border-color: rgba(183, 156, 255, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(183, 156, 255, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--horoscopes .season-tag, .quiz-hero--horoscopes .season-tag { background: #F1EAFF; color: #6A3FC4; box-shadow: inset 0 0 0 1px #D8C4FF; border-radius: 999px; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 700; letter-spacing: .02em; }
.quiz-card--horoscopes .season-tag::before, .quiz-hero--horoscopes .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6A6.4 6.4 0 1 0 14.2 9.6 5 5 0 1 1 8 1.6Z' fill='%23F2C21A'/%3E%3Cpath d='M12 2l.6 1.4L14 4l-1.4.6L12 6l-.6-1.4L10 4l1.4-.6z' fill='%23A98BFF'/%3E%3C/svg%3E"); }
.quiz-card--horoscopes .season-deco, .quiz-hero--horoscopes .season-deco { background-image: url("../img/looks/horoscopes.svg"); }
.quiz-card--fitness, .quiz-hero--fitness, .arcade-card.quiz-card--fitness, .arcade-shelf__game.quiz-card--fitness, .land-arcade__game.quiz-card--fitness { border-color: rgba(255, 140, 115, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(255, 140, 115, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--fitness .season-tag, .quiz-hero--fitness .season-tag { background: #FFE9E3; color: #C8402A; box-shadow: inset 0 0 0 1.5px #FFB3A1; border-radius: 6px; font-family: 'Arial Black', 'Helvetica Neue', system-ui, sans-serif; font-style: italic; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; }
.quiz-card--fitness .season-tag::before, .quiz-hero--fitness .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1' y='4.6' width='3.2' height='6.8' rx='1.2' fill='%23F0765A'/%3E%3Crect x='11.8' y='4.6' width='3.2' height='6.8' rx='1.2' fill='%23F0765A'/%3E%3Crect x='4' y='7' width='8' height='2' rx='1' fill='%23A7B2C4'/%3E%3C/svg%3E"); }
.quiz-card--fitness .season-deco, .quiz-hero--fitness .season-deco { background-image: url("../img/looks/fitness.svg"); }
/* Music (21 Nov 2026): a record on the turntable. Its label is a dark "now playing" pill with a pink note. */
.quiz-card--music, .quiz-hero--music, .arcade-card.quiz-card--music, .arcade-shelf__game.quiz-card--music, .land-arcade__game.quiz-card--music { border-color: rgba(63, 167, 255, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(63, 167, 255, 0.24), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--music .season-tag, .quiz-hero--music .season-tag { background: #231E3D; color: #FFFFFF; box-shadow: inset 0 0 0 1.5px #3E3766; border-radius: 999px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.quiz-card--music .season-tag::before, .quiz-hero--music .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cellipse cx='5' cy='12' rx='3' ry='2.3' fill='%23FF6FA3'/%3E%3Cpath d='M7.6 11.6V2.4Q11.6 3.6 12.8 7' stroke='%23FF6FA3' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.quiz-card--music .season-deco, .quiz-hero--music .season-deco { background-image: url("../img/looks/music.svg"); }
.quiz-card--musicals, .quiz-hero--musicals, .arcade-card.quiz-card--musicals, .arcade-shelf__game.quiz-card--musicals, .land-arcade__game.quiz-card--musicals { border-color: rgba(255, 213, 74, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(255, 213, 74, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--musicals .season-tag, .quiz-hero--musicals .season-tag { background: #FFF6D6; color: #946400; box-shadow: inset 0 0 0 1.5px #FFD54A; border-radius: 4px; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.quiz-card--musicals .season-tag::before, .quiz-hero--musicals .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 3Q8 1 14 3Q14.4 10 8 14.6Q1.6 10 2 3Z' fill='%23FFCF3A'/%3E%3Cpath d='M4.6 6.4h2M9.4 6.4h2' stroke='%237A3A8A' stroke-width='1.1' stroke-linecap='round'/%3E%3Cpath d='M5 9.2Q8 12.6 11 9.2' stroke='%237A3A8A' stroke-width='1.1' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.quiz-card--musicals .season-deco, .quiz-hero--musicals .season-deco { background-image: url("../img/looks/musicals.svg"); }
.quiz-card--reality, .quiz-hero--reality, .arcade-card.quiz-card--reality, .arcade-shelf__game.quiz-card--reality, .land-arcade__game.quiz-card--reality { border-color: rgba(255, 143, 177, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(255, 143, 177, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--reality .season-tag, .quiz-hero--reality .season-tag { background: #FFE8F0; color: #C8306A; box-shadow: inset 0 0 0 1.5px #FF8FB1; border-radius: 999px; font-family: system-ui, sans-serif; font-weight: 900; letter-spacing: .01em; }
.quiz-card--reality .season-tag::before, .quiz-hero--reality .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='4' fill='%23FF3D5A'/%3E%3Ccircle cx='8' cy='8' r='6.6' fill='none' stroke='%23FF8FB1' stroke-width='1'/%3E%3C/svg%3E"); }
.quiz-card--reality .season-deco, .quiz-hero--reality .season-deco { background-image: url("../img/looks/reality.svg"); }
.quiz-card--eighties, .quiz-hero--eighties, .arcade-card.quiz-card--eighties, .arcade-shelf__game.quiz-card--eighties, .land-arcade__game.quiz-card--eighties { border-color: rgba(255, 143, 177, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(255, 143, 177, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--eighties .season-tag, .quiz-hero--eighties .season-tag { background: linear-gradient(90deg, #FFE3EE, #EDE7FF); color: #C8306A; box-shadow: 2px 2px 0 #7CC4FF; border-radius: 4px; font-family: system-ui, sans-serif; font-style: italic; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.quiz-card--eighties .season-tag::before, .quiz-hero--eighties .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1.6' y='3.6' width='12.8' height='8.8' rx='1.6' fill='%23F0628E'/%3E%3Crect x='3' y='5' width='10' height='3.6' rx='.8' fill='%23FFFFFF'/%3E%3Ccircle cx='5.6' cy='6.8' r='1.1' fill='%237A3A8A'/%3E%3Ccircle cx='10.4' cy='6.8' r='1.1' fill='%237A3A8A'/%3E%3C/svg%3E"); }
.quiz-card--eighties .season-deco, .quiz-hero--eighties .season-deco { background-image: url("../img/looks/eighties.svg"); }
.quiz-card--nineties, .quiz-hero--nineties, .arcade-card.quiz-card--nineties, .arcade-shelf__game.quiz-card--nineties, .land-arcade__game.quiz-card--nineties { border-color: rgba(110, 231, 183, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(110, 231, 183, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--nineties .season-tag, .quiz-hero--nineties .season-tag { background: #E0F7EF; color: #16805A; box-shadow: inset 0 0 0 1.5px #6EE7B7; border-radius: 999px; font-family: 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', cursive; font-weight: 700; letter-spacing: .01em; }
.quiz-card--nineties .season-tag::before, .quiz-hero--nineties .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.4' fill='%23FFE066'/%3E%3Ccircle cx='6' cy='6.6' r='.9' fill='%235A3A10'/%3E%3Ccircle cx='10' cy='6.6' r='.9' fill='%235A3A10'/%3E%3Cpath d='M5 9.4Q8 12.4 11 9.4' stroke='%235A3A10' stroke-width='1' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.quiz-card--nineties .season-deco, .quiz-hero--nineties .season-deco { background-image: url("../img/looks/nineties.svg"); }
.quiz-card--noughties, .quiz-hero--noughties, .arcade-card.quiz-card--noughties, .arcade-shelf__game.quiz-card--noughties, .land-arcade__game.quiz-card--noughties { border-color: rgba(255, 143, 184, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(255, 143, 184, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--noughties .season-tag, .quiz-hero--noughties .season-tag { background: #FFE3F0; color: #C8306A; box-shadow: inset 0 0 0 1px #FFFFFF, 0 0 0 1px #FF8FB8; border-radius: 999px; font-family: 'Trebuchet MS', system-ui, sans-serif; font-weight: 800; letter-spacing: .01em; }
.quiz-card--noughties .season-tag::before, .quiz-hero--noughties .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 8C5 2 0 3 2 8 0 12 5 13 8 9 11 13 16 12 14 8 16 3 11 2 8 8Z' fill='%23B79CFF'/%3E%3Cpath d='M8 5v7' stroke='%237A3A8A' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.quiz-card--noughties .season-deco, .quiz-hero--noughties .season-deco { background-image: url("../img/looks/noughties.svg"); }
.quiz-card--travel, .quiz-hero--travel, .arcade-card.quiz-card--travel, .arcade-shelf__game.quiz-card--travel, .land-arcade__game.quiz-card--travel { border-color: rgba(124, 196, 255, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(124, 196, 255, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--travel .season-tag, .quiz-hero--travel .season-tag { background: #E3F1FF; color: #2459B8; box-shadow: inset 0 0 0 1.5px #7CC4FF; border-radius: 4px; font-family: system-ui, sans-serif; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quiz-card--travel .season-tag::before, .quiz-hero--travel .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.6 9 14 5.6Q15.6 5.4 15 6.8L4 10.6Z' fill='%233F8AE0'/%3E%3Cpath d='M7 7.6 5 2.6H7L10 6.8ZM6 10 7.4 13.4H9L9 9.4Z' fill='%237CC4FF'/%3E%3C/svg%3E"); }
.quiz-card--travel .season-deco, .quiz-hero--travel .season-deco { background-image: url("../img/looks/travel.svg"); }
.quiz-card--cocktails, .quiz-hero--cocktails, .arcade-card.quiz-card--cocktails, .arcade-shelf__game.quiz-card--cocktails, .land-arcade__game.quiz-card--cocktails { border-color: rgba(110, 231, 183, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(110, 231, 183, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--cocktails .season-tag, .quiz-hero--cocktails .season-tag { background: #E0F7EF; color: #16805A; box-shadow: inset 0 0 0 1px #6EE7B7; border-radius: 999px; font-family: 'Brush Script MT', 'Snell Roundhand', cursive; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.quiz-card--cocktails .season-tag::before, .quiz-hero--cocktails .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 3h12L8 9.6Z' fill='%23FF8FB1'/%3E%3Cpath d='M8 9.6V14M5 14h6' stroke='%237CA8D8' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='11' cy='4.4' r='1.4' fill='%23F0455F'/%3E%3C/svg%3E"); }
.quiz-card--cocktails .season-deco, .quiz-hero--cocktails .season-deco { background-image: url("../img/looks/cocktails.svg"); }
.quiz-card--fashion, .quiz-hero--fashion, .arcade-card.quiz-card--fashion, .arcade-shelf__game.quiz-card--fashion, .land-arcade__game.quiz-card--fashion { border-color: rgba(255, 127, 166, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(255, 127, 166, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--fashion .season-tag, .quiz-hero--fashion .season-tag { background: #FFFFFF; color: #C8306A; box-shadow: inset 0 0 0 1px #FFD0DE, inset 0 -2px 0 #FF8FB1; border-radius: 2px; font-family: Didot, 'Bodoni 72', 'Playfair Display', Georgia, serif; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.quiz-card--fashion .season-tag::before, .quiz-hero--fashion .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.4a1.4 1.4 0 1 1 1.4 1.4c-.8 0-1.4.4-1.4 1.2L14.4 11H1.6L8 6' stroke='%23A98BFF' stroke-width='1.2' fill='none' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.quiz-card--fashion .season-deco, .quiz-hero--fashion .season-deco { background-image: url("../img/looks/fashion.svg"); }
.quiz-card--art, .quiz-hero--art, .arcade-card.quiz-card--art, .arcade-shelf__game.quiz-card--art, .land-arcade__game.quiz-card--art { border-color: rgba(255, 213, 74, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(255, 213, 74, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--art .season-tag, .quiz-hero--art .season-tag { background: #FFF6D6; color: #8A5A00; box-shadow: inset 0 0 0 2px #FFD54A; border-radius: 2px; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 700; letter-spacing: .02em; }
.quiz-card--art .season-tag::before, .quiz-hero--art .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.6C3.6 1.6 1 4.4 1 7.8S3.6 14.4 7 14.4c1.4 0 1.6-1 1-1.8-.6-.8 0-1.8 1.2-1.8H11c2.4 0 4-1.4 4-3.6 0-3-3-5.6-7-5.6Z' fill='%23F2D8B0'/%3E%3Ccircle cx='4.4' cy='7' r='1.2' fill='%23FF8FB1'/%3E%3Ccircle cx='7' cy='4.4' r='1.2' fill='%23F2C21A'/%3E%3Ccircle cx='10.6' cy='5' r='1.2' fill='%2322A775'/%3E%3Ccircle cx='12' cy='8.2' r='1.2' fill='%233F8AE0'/%3E%3C/svg%3E"); }
.quiz-card--art .season-deco, .quiz-hero--art .season-deco { background-image: url("../img/looks/art.svg"); }
.quiz-card--mythology, .quiz-hero--mythology, .arcade-card.quiz-card--mythology, .arcade-shelf__game.quiz-card--mythology, .land-arcade__game.quiz-card--mythology { border-color: rgba(255, 196, 120, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(255, 196, 120, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--mythology .season-tag, .quiz-hero--mythology .season-tag { background: #FFF6D6; color: #8A5A10; box-shadow: inset 0 0 0 1px #E8C060; border-radius: 2px; font-family: 'Trajan Pro', Optima, 'Palatino Linotype', Palatino, Georgia, serif; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.quiz-card--mythology .season-tag::before, .quiz-hero--mythology .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 15V8Q3 2 8 2T13 8V15L10.6 15.6V10H9V15H7V10H5.4V15.6Z' fill='%23F2B66A'/%3E%3Cpath d='M2 4Q6-1 14 2' stroke='%23F0455F' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
.quiz-card--mythology .season-deco, .quiz-hero--mythology .season-deco { background-image: url("../img/looks/mythology.svg"); }
.quiz-card--driving, .quiz-hero--driving, .arcade-card.quiz-card--driving, .arcade-shelf__game.quiz-card--driving, .land-arcade__game.quiz-card--driving { border-color: rgba(240, 69, 95, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(240, 69, 95, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--driving .season-tag, .quiz-hero--driving .season-tag { background: #FFFFFF; color: #3A3F4C; box-shadow: inset 0 0 0 2.5px #F0455F; border-radius: 999px; font-family: Arial, 'Helvetica Neue', system-ui, sans-serif; font-weight: 800; letter-spacing: .01em; }
.quiz-card--driving .season-tag::before, .quiz-hero--driving .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2' y='2' width='12' height='12' rx='1.4' fill='%23FFFFFF' stroke='%23C8D0DC' stroke-width='.8'/%3E%3Cpath d='M5.4 4V11.6H10.6' stroke='%23E8202A' stroke-width='2.2' fill='none'/%3E%3C/svg%3E"); }
.quiz-card--driving .season-deco, .quiz-hero--driving .season-deco { background-image: url("../img/looks/driving.svg"); }
.quiz-card--news, .quiz-hero--news, .arcade-card.quiz-card--news, .arcade-shelf__game.quiz-card--news, .land-arcade__game.quiz-card--news { border-color: rgba(124, 196, 255, 0.5); background: radial-gradient(70% 140% at 100% 40%, rgba(124, 196, 255, 0.26), transparent 65%), linear-gradient(120deg, var(--bg), var(--bg) 70%); }
.quiz-card--news .season-tag, .quiz-hero--news .season-tag { background: #FFE6EA; color: #C8243A; box-shadow: inset 0 0 0 1.5px #F0455F; border-radius: 4px; font-family: system-ui, Arial, sans-serif; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.quiz-card--news .season-tag::before, .quiz-hero--news .season-tag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1.6' y='3' width='12.8' height='10' rx='1.4' fill='%23FFFFFF' stroke='%23F0455F' stroke-width='.8'/%3E%3Crect x='3' y='4.6' width='10' height='2' rx='.6' fill='%23F0455F'/%3E%3Crect x='3' y='8' width='4' height='3.6' rx='.6' fill='%23A9D4FF'/%3E%3Cpath d='M8.4 8.6H13M8.4 10.6H13' stroke='%23A7B2C4' stroke-width='.8'/%3E%3C/svg%3E"); }
.quiz-card--news .season-deco, .quiz-hero--news .season-deco { background-image: url("../img/looks/news.svg"); }

/* Wider screens have one-line cards, so the picture sits just left of the play button rather than behind it. */
@media (min-width: 600px) { .quiz-card--valentines .season-deco, .quiz-card--easter .season-deco, .quiz-card--bonfire .season-deco, .quiz-card--st-patricks .season-deco, .quiz-card--eurovision .season-deco, .quiz-card--lgbt-history .season-deco, .quiz-card--aids-day .season-deco, .quiz-card--awards .season-deco, .quiz-card--science .season-deco, .quiz-card--politics .season-deco, .quiz-card--sports .season-deco, .quiz-card--marvel .season-deco, .quiz-card--disney .season-deco, .quiz-card--pokemon .season-deco, .quiz-card--drag-race .season-deco, .quiz-card--pop-divas .season-deco, .quiz-card--maths .season-deco, .quiz-card--gay-icons .season-deco, .quiz-card--big-brother .season-deco, .quiz-card--traitors .season-deco, .quiz-card--eastenders .season-deco, .quiz-card--corrie .season-deco, .quiz-card--emmerdale .season-deco, .quiz-card--tv .season-deco, .quiz-card--movies .season-deco, .quiz-card--history .season-deco, .quiz-card--kylie .season-deco, .quiz-card--gaga .season-deco, .quiz-card--britney .season-deco, .quiz-card--motorsport .season-deco, .quiz-card--food .season-deco, .quiz-card--tech .season-deco, .quiz-card--geography .season-deco, .quiz-card--literature .season-deco, .quiz-card--languages .season-deco, .quiz-card--celebrity .season-deco, .quiz-card--animals .season-deco, .quiz-card--football .season-deco, .quiz-card--friends .season-deco, .quiz-card--bond .season-deco, .quiz-card--royals .season-deco, .quiz-card--gaming .season-deco, .quiz-card--astronomy .season-deco, .quiz-card--horoscopes .season-deco, .quiz-card--fitness .season-deco, .quiz-card--musicals .season-deco, .quiz-card--reality .season-deco, .quiz-card--eighties .season-deco, .quiz-card--nineties .season-deco, .quiz-card--noughties .season-deco, .quiz-card--travel .season-deco, .quiz-card--cocktails .season-deco, .quiz-card--fashion .season-deco, .quiz-card--art .season-deco, .quiz-card--mythology .season-deco, .quiz-card--driving .season-deco, .quiz-card--news .season-deco, .quiz-card--music .season-deco { right: 56px; } }
@media (prefers-reduced-motion: no-preference) {
  .season-heart { animation: season-rise 15s linear infinite; }
  .season-heart:nth-child(2) { animation-duration: 18s; animation-delay: -6s; }
  .season-heart:nth-child(3) { animation-duration: 13s; animation-delay: -9s; }
  .season-heart:nth-child(4) { animation-duration: 20s; animation-delay: -3s; }
  .quiz-hero--easter .season-deco { animation: season-petals 22s linear infinite; }
  .quiz-hero--st-patricks .season-deco { animation: season-shamrocks 24s linear infinite; }
  .season-embers { animation: season-embers 16s linear infinite; }
  .season-beam { animation: season-beam 11s ease-in-out infinite alternate; }
  .season-beam:nth-child(2) { animation-duration: 13s; animation-delay: -4s; }
  .season-beam:nth-child(3) { animation-duration: 9s; animation-delay: -7s; }
}
@keyframes season-rise { 0% { translate: 0 0; opacity: 0; } 15% { opacity: .7; } 70% { opacity: .5; } 100% { translate: -16px -220px; opacity: 0; } }
@keyframes season-petals { from { background-position: top 6px right 8px, 0 0; } to { background-position: top 6px right 8px, 30px 120px; } }
@keyframes season-shamrocks { from { background-position: top 6px right 8px, 0 0; } to { background-position: top 6px right 8px, -20px 140px; } }
@keyframes season-embers { from { background-position: 0 0; } to { background-position: 12px -120px; } }
@keyframes season-beam { from { rotate: calc(var(--a) - 7deg); } to { rotate: calc(var(--a) + 7deg); } }

/* Members only and Only quizzes I've played sit side by side, wrapping on narrow phones (15 Oct 2026). */
.board-ticks { display: flex; flex-wrap: wrap; column-gap: var(--space-4); margin: 0 0 var(--space-3); padding: 0 4px; scroll-margin-top: 150px; }
.board-ticks .members-toggle { margin: 0; white-space: nowrap; }
.board-ticks__note { margin: calc(-1 * var(--space-1)) 0 var(--space-3); }
.chat-sheet__join .suggest-join__title { margin: 0; color: var(--text); font-family: var(--font-display); font-size: 18px; font-weight: 650; }
.suggest-page__play { margin-top: var(--space-4); }

/* ---------- The Arcade (Stuart, 15 Oct 2026) ---------- */
/* The game fills the screen between the header and the bottom bar, fixed in place like Chat. */
html:has(.page--game), html:has(.page--game) body { height: 100%; overflow: hidden; overscroll-behavior: none; }
.page--game { position: fixed; left: 0; right: 0; top: calc(var(--game-top, 73px) + var(--vv-shift, 0px)); bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) - var(--vv-shift, 0px)); display: flex; flex-direction: column; max-width: 640px; margin: 0 auto; padding: 8px var(--space-3) var(--space-4); }
@media (min-width: 900px) { .page--game { bottom: 0; padding-bottom: var(--space-4); } }
.arcade { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
.arcade-hud { display: flex; align-items: center; gap: var(--space-2); }
.arcade-hud__back { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-raised); color: var(--text); }
/* The name wraps onto two lines on narrow phones rather than being cut off. */
.arcade-hud__title { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; min-width: 0; margin: 0; font-size: 17px; line-height: 1.05; }
@media (max-width: 359px) { .arcade-hud__title { font-size: 16px; } .arcade-hud__title .icon { display: none; } }
.arcade-hud__title .icon { color: var(--mint-ink); }
.arcade-hud__stat { display: grid; justify-items: center; min-width: 54px; margin: 0; padding: 4px 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); line-height: 1.1; }
.arcade-hud__stat span { color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.arcade-hud__stat strong { font: 700 18px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.arcade-hud__stat--best strong { color: var(--gold-ink); }
/* Even gaps round the game (Stuart, 10 Nov 2026: "the gaps are disproportionate and too tight at the bottom"): the
   nudge line tucks into the gaps either side of it, so the space over the game matches the 24px under it. */
.arcade-nudge { min-height: 24px; margin: -6px 0; text-align: center; color: var(--gold-ink); font: 650 16px/24px var(--font-display); opacity: 0; }
.arcade-nudge.is-in { animation: nudge-in .45s var(--ease) forwards; }
@keyframes nudge-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.arcade-stage { position: relative; flex: 1 1 auto; min-height: 0; display: grid; place-items: center; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.arcade-board { display: block; border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(63, 115, 221, 0.55); }
.arcade-panel { position: absolute; inset: 0; z-index: 2; display: flex; border-radius: 18px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); touch-action: pan-y; }
.arcade-panel[hidden] { display: none; }
.arcade-panel__inner { width: 100%; max-width: 420px; margin: auto; max-height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: var(--space-3); text-align: center; outline: none; }
.arcade-panel__kicker, .arcade-over__kicker { margin: 0 0 2px; color: var(--mint-ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.arcade-panel__title { margin: 0 0 6px; font-size: 27px; }
.arcade-panel__text { margin: 0 0 10px; color: var(--text-secondary); font-size: 14px; }
.arcade-panel__how { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 var(--space-3); color: var(--text-muted); font-size: 13px; text-align: left; }
.arcade-how--keys { display: none; }
@media (hover: hover) and (pointer: fine) { .arcade-how--touch { display: none; } .arcade-how--keys { display: inline; } }
.arcade-panel .start-btn { margin-top: 10px; }
.arcade-challenge { margin: 0 0 var(--space-3); padding: 10px 14px; border-radius: 14px; background: rgba(255, 210, 63, 0.12); border: 1px solid rgba(255, 210, 63, 0.4); color: var(--text); }
.arcade-error { margin: 8px 0 0; color: var(--danger); font-weight: 600; }
.arcade-month { margin-top: var(--space-3); padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); text-align: left; }
.arcade-month__title { margin: 0 0 6px; color: var(--text-secondary); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.arcade-mini { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 4px; }
.arcade-mini li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.arcade-mini li.is-me { color: var(--gold-ink); }
.arcade-mini__pos { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-raised); font: 700 12px/1 var(--font-display); }
.arcade-mini li:nth-child(1) .arcade-mini__pos { background: #FFC82E; color: var(--text); }
.arcade-mini li:nth-child(2) .arcade-mini__pos { background: #FFFFFF; color: var(--text); }
.arcade-mini li:nth-child(3) .arcade-mini__pos { background: var(--orange); color: var(--text); }
.arcade-mini__name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arcade-mini strong { font: 700 15px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.arcade-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--text); font-weight: 600; white-space: nowrap; }
.arcade-over__ending { margin: 0 0 4px; color: var(--text-secondary); font-size: 14px; }
.arcade-over__score { display: grid; justify-items: center; margin: 0; line-height: 1; }
.arcade-over__score span { color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.arcade-over__score strong { font: 700 64px/1 var(--font-display); background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.arcade-over__headline { margin: 6px 0 2px; font-size: 23px; }
.arcade-over__line { margin: 0 0 8px; color: var(--text-secondary); }
.arcade-over__facts { margin: 0 0 6px; color: var(--text); font-weight: 600; }
.arcade-over__facts.is-top { color: var(--gold-ink); }
.arcade-over__badges { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; text-align: left; }
.arcade-over__badges li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 8px 12px; border-radius: 14px; background: var(--surface); border: 1px solid rgba(255, 210, 63, 0.35); }
.arcade-over__badges .icon { grid-row: span 2; color: var(--gold-ink); width: 24px; height: 24px; }
.arcade-over__badges span { color: var(--text-secondary); font-size: 13px; }
.arcade-over__join { margin: var(--space-3) 0; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.arcade-over__join p { margin: 0 0 10px; color: var(--text-secondary); font-size: 14px; }
.arcade-share { display: grid; gap: 8px; margin: var(--space-3) 0 0; }
.arcade-share .btn { white-space: nowrap; }
.arcade-share__status:empty { display: none; }
.is-locked .arcade-panel .start-btn { cursor: progress; }
/* Arcade cards on Play and the home page. */
.play-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 var(--space-4); padding: 4px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); }
.play-switch a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: var(--radius-pill); color: var(--text-secondary); font-weight: 700; text-decoration: none; white-space: nowrap; }
.play-switch a[aria-current="page"] { background: var(--accent); color: #FFFFFF; }
.arcade-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; margin-bottom: var(--space-4); padding: var(--space-3); border-radius: var(--radius-card); background: radial-gradient(120% 140% at 0% 0%, rgba(30, 138, 90, 0.22), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(63, 115, 221, 0.22), transparent 55%), var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; overflow: hidden; }
.arcade-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)); }
.arcade-card__art { grid-row: span 3; width: 84px; height: 84px; border-radius: 20px; background: #FFFFFF; display: grid; place-items: center; border: 1px solid var(--border); }
.arcade-card__art svg { width: 70px; height: 70px; }
.arcade-card__kicker { margin: 0; color: var(--mint-ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.arcade-card__title { margin: 0; font-size: 20px; }
.arcade-card__text { margin: 0; color: var(--text-secondary); font-size: 13px; }
.arcade-card__facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.arcade-card__facts li { padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface-raised); font-size: 13px; font-weight: 600; white-space: nowrap; }
/* The button's face sits 7px above its box, so it needs that much more room above it. */
.arcade-card .start-btn { grid-column: 1 / -1; margin-top: 18px; }
.arcade-soon { color: var(--text-muted); font-size: 13px; text-align: center; }
/* No games right now: the whole Arcade, or one game, switched off in admin (Stuart, 17 Oct 2026). */
.admin-switches { margin-bottom: 0; }
.arcade-closed { display: grid; justify-items: center; gap: var(--space-2); }
.arcade-closed > .icon { width: 44px; height: 44px; color: var(--mint-ink); }
.arcade-closed h1, .arcade-closed h2 { margin: 0; color: var(--text); font-size: 21px; }
.arcade-closed p { max-width: 420px; margin: 0 0 var(--space-2); }
.board--arcade .board__value { font-family: var(--font-display); }
.arcade-card .arcade-link { grid-column: 1 / -1; justify-self: center; }
.play-lead { margin: 0 0 var(--space-4); }
.arcade-board-link { display: flex; align-items: center; gap: 12px; margin-top: var(--space-4); padding: 14px 16px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; }
.arcade-board-link > .icon:first-child { width: 28px; height: 28px; color: var(--mint-ink); }
.arcade-board-link > span { flex: 1 1 auto; display: grid; gap: 2px; min-width: 0; }
.arcade-board-link > span span { color: var(--text-secondary); font-size: 13px; }

/* Even spacing between everything on the Arcade's intro and results screens (Stuart, 15 Oct 2026:
   a badge card sat right on top of Play again). Each part is its own block with a full gap. */
.arcade-panel__inner { display: flex; flex-direction: column; gap: var(--space-3); }
.arcade-panel__inner > * { flex-shrink: 0; }
.arcade-panel__inner > *:not(.start-btn) { margin: 0; }
.arcade-panel__inner > .start-btn { margin: 7px 0 0; }
.arcade-panel__inner > .arcade-link { align-self: center; }
.arcade-panel__intro, .arcade-over__summary { display: grid; gap: 6px; justify-items: center; }
.arcade-panel__intro > *, .arcade-over__summary > * { margin: 0; }
.arcade-over__closing { color: var(--mint-ink); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.arcade-over__detail { color: var(--text); font-weight: 600; }
.arcade-over__won { display: grid; gap: 8px; }
.arcade-over__won > * { margin: 0; }
.arcade-over__badges { gap: 8px; }
.arcade-share { margin: 0; }

/* ---------- Oral Exam (Stuart, 15 Oct 2026) ---------- */
/* The answer box sits high up so a phone's keyboard never covers it; the chain scrolls below. */
.arcade--oral .arcade-stage { display: block; touch-action: auto; -webkit-user-select: auto; user-select: auto; -webkit-touch-callout: default; }
.oral { position: absolute; inset: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.oral-turn { padding: 12px var(--space-3) var(--space-3); border-radius: 18px; background: var(--surface); border: 1px solid var(--border); text-align: center; box-shadow: 0 18px 40px -22px rgba(63, 115, 221, 0.55); }
.oral-turn__label { margin: 0; color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.oral-word { min-height: 1.1em; margin: 4px 0 12px; font: 700 clamp(30px, 9vw, 44px)/1.1 var(--font-display); letter-spacing: .03em; text-transform: uppercase; overflow-wrap: anywhere; }
.oral-last { color: var(--gold-ink); }
.oral-timer { height: 8px; border-radius: var(--radius-pill); background: var(--surface-raised); overflow: hidden; }
.oral-timer__bar { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rainbow-4), var(--rainbow-3)); transform-origin: left center; transform: scaleX(1); }
/* The last three seconds: the bar turns red once, smoothly. Nothing blinks. */
.oral-timer.is-low .oral-timer__bar { background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2)); }
.oral-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0; }
.oral-form__label { color: var(--text-secondary); font-size: 14px; }
.oral-form__letter { color: var(--gold-ink); font: 700 18px/1 var(--font-display); }
.oral-form__row { display: flex; gap: 8px; }
.oral-form__input { flex: 1 1 0; width: 100%; min-width: 0; min-height: 52px; padding: 0 var(--space-3); border: 2px solid rgba(16, 24, 40, 0.12); border-radius: var(--radius-field); background: #FFFFFF; color: var(--text); font: 600 16px var(--font-body); }
.oral-form__input:focus { border-color: var(--rainbow-4); outline: none; box-shadow: 0 0 0 3px rgba(30, 138, 90, 0.3); }
.oral-form__input::placeholder { color: var(--text-muted); font-weight: 500; }
.oral-form__send { flex: none; min-height: 52px; padding: 0 18px; white-space: nowrap; }
.oral-chain { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0 0 var(--space-2); overflow-y: auto; list-style: none; -webkit-overflow-scrolling: touch; }
.oral-chain__item { max-width: 80%; padding: 8px 14px; border-radius: 16px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; overflow-wrap: anywhere; animation: nudge-in .3s var(--ease); }
.oral-chain__item--computer { align-self: flex-start; background: var(--surface-raised); border-bottom-left-radius: 6px; }
.oral-chain__item--me { align-self: flex-end; background: rgba(30, 138, 90, 0.16); border: 1px solid rgba(30, 138, 90, 0.45); border-bottom-right-radius: 6px; }
.oral-chain__item.is-pending { opacity: .7; }
.oral-chain__item.is-wrong { background: rgba(211, 63, 73, 0.14); border-color: rgba(211, 63, 73, 0.55); text-decoration: line-through; }
@media (prefers-reduced-motion: reduce) { .oral-chain__item { animation: none; } }

/* ---------- 60 Seconds of Fame (Stuart, 2 Nov 2026) ---------- */
/* The quiz's own stopwatch and fuse, the question, and the four answers stacked like a normal quiz's
   (Stuart: not a 2x2 grid), squeezed a little so it all fits on a phone without scrolling. */
.arcade--fame .arcade-stage { display: block; touch-action: auto; }
.arcade--fame.is-playing .arcade-nudge { display: none; }
.fame { --fc: var(--format-gk); position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 2px 2px var(--space-2); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.fame-timer { position: relative; margin: 0; gap: 12px; }
.fame-timer .timer__clock { width: 54px; height: 54px; }
.fame-timer .timer__mood { margin-bottom: 6px; }
/* A wrong answer: "-3s" drops out of the stopwatch and fades. Movement and one fade only, nothing blinks. */
.fame-penalty { position: absolute; left: 34px; top: -4px; padding: 3px 8px; border-radius: var(--radius-pill); background: var(--danger); color: #FFFFFF; font: 800 13px/1 var(--font-display); opacity: 0; pointer-events: none; }
.fame-penalty.is-on { animation: fame-penalty 1s var(--ease) forwards; }
@keyframes fame-penalty { from { opacity: 1; transform: translateY(0) scale(1.15); } 60% { opacity: 1; transform: translateY(10px) scale(1); } to { opacity: 0; transform: translateY(16px); } }
.fame-num { display: flex; justify-content: space-between; gap: var(--space-2); margin: 0; color: var(--text-muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fame-num__wrong { color: color-mix(in srgb, var(--danger) 75%, var(--text)); }
.fame-question { margin: 0; font-size: clamp(19px, 4.8vw, 25px); overflow-wrap: anywhere; }
.fame-answers { gap: 9px; }
.fame-answers .answer { min-height: 56px; padding: 8px var(--space-3); }
.fame-answers .answer:disabled { cursor: default; }
/* On a phone, the answer that turns up under a finger mustn't look picked. */
@media (hover: none) { @media (hover: hover) { .fame-answers .answer:hover { border-color: var(--border); background: var(--surface); } } }
.fame-question:focus { outline: none; }
.fame-results { display: grid; gap: var(--space-2); }
.fame-results > * { margin: 0; }
/* This month's go, once it's had. */
.fame-done { display: grid; gap: 4px; justify-items: center; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.fame-done > * { margin: 0; }
.fame-done__kicker { color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.fame-done__score { font: 650 18px/1.2 var(--font-display); }
.fame-done__score strong { font-size: 40px; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.fame-done__next { color: var(--text-secondary); font-size: 14px; }
/* The results: the ones that got away, with their right answers. */
.fame-missed { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; text-align: left; }
.fame-missed li { display: grid; gap: 2px; padding: 8px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.fame-missed li > * { margin: 0; }
.fame-missed b { font-weight: 650; font-size: 14px; }
.fame-missed span { color: var(--success); font-size: 13px; font-weight: 600; }
.arcade-over__next { color: var(--text-secondary); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .fame-penalty.is-on { animation: none; opacity: 1; } }
@media (max-height: 640px) {
  .fame { gap: 7px; }
  .fame-answers .answer { min-height: 50px; padding: 6px 12px; }
  .fame-question { font-size: clamp(18px, 4.6vw, 22px); }
}
/* Results buttons stay on one line on the narrowest phones (links and buttons never split). */
.arcade-over__join { margin: 0; padding: 14px 12px; }
.arcade-over__join .btn, .arcade-share .btn { padding: 0 14px; white-space: nowrap; }
@media (max-width: 379px) {
  .arcade-panel__inner { padding: var(--space-3) 12px; }
  .arcade-over__join .btn, .arcade-share .btn { font-size: 14px; gap: 6px; }
}

/* Arcade cards: stacked on phones, side by side on wider screens (Stuart, 15 Oct 2026: one card
   with a full-width button looked broken on the desktop home page). */
.arcade-cards { display: grid; gap: var(--space-4); margin-bottom: var(--space-4); }
.arcade-cards > .arcade-card { margin-bottom: 0; }
@media (min-width: 900px) { .arcade-cards { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); } .arcade-cards > .arcade-card { align-content: start; } }
/* The Arcade leaderboard page: room above Play now (its face sits 7px high) and below it. */
.arcade-board-play { margin: calc(var(--space-4) + 7px) 0 calc(var(--space-4) + 6px); }
.arcade-board-foot { margin: var(--space-4) 0 0; text-align: center; }
#android code { overflow-wrap: anywhere; }

/* ---------- Shared by the newer Arcade games (Stuart, 16 Oct 2026) ---------- */
.arcade-bar { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.arcade-bar > p { margin: 0; }
.arcade-tools { display: flex; gap: 6px; margin-left: auto; }
.arcade-tool { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--surface-raised); color: var(--text); cursor: pointer; }
.arcade-tool .icon { width: 20px; height: 20px; }
.arcade-tool[aria-pressed="true"] { color: var(--gold-ink); border-color: rgba(255, 210, 63, 0.5); }
.arcade-tool:disabled { opacity: .45; cursor: default; }
.arcade-tool:focus-visible { outline: 2px solid var(--rainbow-4); outline-offset: 2px; }
.arcade-sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.arcade-stats { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.arcade-stats li { flex: 1 1 0; max-width: 160px; display: grid; gap: 2px; padding: 10px 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.arcade-stats strong { font: 700 20px/1.1 var(--font-display); overflow-wrap: anywhere; }
.arcade-stats span { color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.arcade-panel--pause { z-index: 3; }

/* ---------- Finger Blaster ---------- */
.arcade--blaster .arcade-stage, .arcade--words .arcade-stage, .arcade--unicorn .arcade-stage { display: block; }
.blaster { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; }
.blaster-lives { display: flex; gap: 4px; color: var(--accent-ink); }
.blaster-lives .icon { width: 22px; height: 22px; fill: currentColor; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.blaster-lives .icon.is-lost { opacity: .18; transform: scale(.8); }
.blaster-streak { display: flex; align-items: center; gap: 4px; color: var(--peach-ink); font: 650 14px/1 var(--font-display); white-space: nowrap; }
.blaster-streak .icon { width: 18px; height: 18px; }
.blaster-field { position: relative; flex: 1 1 auto; min-height: 120px; overflow: hidden; border-radius: 18px; border: 1px solid rgba(63, 115, 221, 0.35);
  background: linear-gradient(rgba(63, 115, 221, 0.07) 1px, transparent 1px) 0 0 / 100% 32px, radial-gradient(120% 70% at 50% 0%, rgba(63, 115, 221, 0.28), transparent 70%), var(--bg);
  box-shadow: inset 0 -26px 30px -24px rgba(211, 63, 73, 0.55); }
/* The floor: a rainbow line the words mustn't reach. */
.blaster-field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)); }
.is-paused .blaster-word { visibility: hidden; }
.blaster-word { --c: var(--rainbow-6); position: absolute; top: 0; left: 0; display: inline-flex; padding: 4px 10px; border-radius: 10px; border: 2px solid var(--c);
  background: rgba(255, 255, 255, 0.98); color: var(--text); font: 650 16px/1.2 var(--font-display); letter-spacing: .04em; white-space: nowrap; will-change: transform;
  box-shadow: 0 0 14px -4px var(--c); transition: opacity .35s var(--ease), border-color .2s, box-shadow .2s, scale .35s var(--ease); }
.blaster-word--0 { --c: var(--rainbow-1); } .blaster-word--1 { --c: var(--rainbow-2); } .blaster-word--2 { --c: var(--rainbow-3); }
.blaster-word--3 { --c: var(--rainbow-4); } .blaster-word--4 { --c: var(--rainbow-5); } .blaster-word--5 { --c: var(--rainbow-6); }
.blaster-word__done { color: var(--c); }
.blaster-word.is-target { z-index: 1; background: var(--surface-raised); box-shadow: 0 0 0 3px rgba(51, 54, 61, 0.07), 0 0 22px -2px var(--c); scale: 1.08; }
.blaster-word.is-blasted { opacity: 0; scale: 1.5; }
.blaster-word.is-blasted .blaster-word__done { color: var(--text); }
.blaster-word.is-missed { opacity: 0; border-color: var(--danger); }
.blaster-type { position: relative; display: flex; align-items: center; margin: 0; }
.blaster-type__icon { position: absolute; left: 14px; color: var(--mint-ink); pointer-events: none; }
.blaster-type__input { width: 100%; min-height: 50px; padding: 0 14px 0 44px; border: 2px solid rgba(16, 24, 40, 0.12); border-radius: var(--radius-field); background: #FFFFFF; color: var(--text); font: 650 18px var(--font-display); letter-spacing: .06em; }
.blaster-type__input:focus { border-color: var(--rainbow-4); outline: none; box-shadow: 0 0 0 3px rgba(30, 138, 90, 0.3); }
.blaster-type__input::placeholder { color: var(--text-muted); font-weight: 500; letter-spacing: 0; }
.blaster-type.is-wrong { animation: shake .3s; }
.blaster-type.is-wrong .blaster-type__input { border-color: var(--danger); }
/* With the phone keyboard up, the game shrinks to the space above it. */
.page--game:has(.arcade.is-keyboard) { bottom: var(--game-keyboard, 0px); padding-top: 4px; padding-bottom: 6px; }
.arcade.is-keyboard { gap: 4px; }
.arcade.is-keyboard .arcade-hud__back, .arcade.is-keyboard .arcade-hud__title .icon { display: none; }
.arcade.is-keyboard .arcade-hud__title { font-size: 15px; }
.arcade.is-keyboard .arcade-hud__stat { padding: 2px 8px; }
.arcade.is-keyboard .arcade-hud__stat strong { font-size: 16px; }
.arcade.is-keyboard .blaster { gap: 4px; }
.arcade.is-keyboard .arcade-bar { min-height: 34px; }
.arcade.is-keyboard .arcade-tool { width: 34px; height: 34px; }
.arcade.is-keyboard .blaster-word { font-size: 15px; padding: 2px 8px; }
.arcade.is-keyboard .blaster-type__input { min-height: 44px; }

/* ---------- Find Me Words ---------- */
.wordsg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.wordsg > * { width: 100%; }
.wordsg-clock { display: flex; align-items: center; gap: 6px; font: 700 20px/1 var(--font-display); font-variant-numeric: tabular-nums; transition: color .4s; }
.wordsg-clock .icon { width: 20px; height: 20px; color: var(--sky-ink); }
.wordsg-clock.is-low { color: var(--rose-ink); }
.wordsg-clock.is-low .icon { color: var(--rose-ink); }
.wordsg-count { color: var(--text-secondary); font-size: 14px; }
.wordsg-count strong { color: var(--text); font: 700 18px/1 var(--font-display); }
.wordsg-timer { height: 6px; border-radius: var(--radius-pill); background: var(--surface-raised); overflow: hidden; }
.wordsg-timer span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)); transform-origin: left center; }
.wordsg-current { min-height: 34px; margin: 0; text-align: center; font: 700 25px/34px var(--font-display); letter-spacing: .08em; overflow-wrap: anywhere; }
.wordsg-current.is-off { color: var(--text-muted); text-decoration: line-through; }
.wordsg-board { position: relative; flex: none; width: 280px; height: 280px; touch-action: none; }
.wordsg-grid { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); cursor: pointer; }
.wordsg-tile { --pick: var(--rainbow-6); display: grid; place-items: center; margin: 5px; border-radius: 16px; background: linear-gradient(160deg, var(--accent), #FFFFFF); border: 1px solid rgba(16, 24, 40, 0.075);
  box-shadow: 0 4px 0 rgba(16, 24, 40, 0.18), inset 0 1px 0 rgba(51, 54, 61, 0.04); color: var(--text); font: 700 clamp(26px, 8vw, 38px)/1 var(--font-display); text-transform: uppercase;
  transition: background-color .15s, transform .15s var(--ease), box-shadow .15s; -webkit-user-select: none; user-select: none; }
.wordsg-tile.is-picked { background: var(--pick); color: #120C26; transform: translateY(2px) scale(.96); box-shadow: 0 2px 0 rgba(16, 24, 40, 0.18), 0 0 18px -4px var(--pick); }
.wordsg-line { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.wordsg-board.is-good .wordsg-tile { box-shadow: 0 4px 0 rgba(16, 24, 40, 0.18), 0 0 16px -6px var(--rainbow-4); }
.wordsg-board.is-wrong, .wordsg-board.is-repeat { animation: shake .3s; }
.wordsg-actions { display: flex; justify-content: center; gap: 10px; }
.wordsg-actions[hidden] { display: none; }
.wordsg-actions .btn { min-width: 110px; white-space: nowrap; }
.wordsg-found { flex: 1 1 auto; min-height: 0; display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: center; gap: 6px; margin: 0; padding: 4px 0 8px; overflow-y: auto; list-style: none; }
.wordsg-word { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface-raised); font: 650 13px/1.3 var(--font-display); letter-spacing: .05em; animation: nudge-in .3s var(--ease); }
.wordsg-word span { color: var(--mint-ink); font-size: 12px; }
.wordsg-word--5, .wordsg-word--6 { background: rgba(63, 115, 221, 0.18); }
.wordsg-word--7, .wordsg-word--8 { background: rgba(255, 210, 63, 0.18); }
.wordsg-results { display: grid; gap: 10px; }
.wordsg-results > * { margin: 0; }
.wordsg-missed { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.wordsg-missed li { padding: 4px 10px; border-radius: var(--radius-pill); border: 1px dashed rgba(16, 24, 40, 0.188); color: var(--text-secondary); font: 650 13px/1.3 var(--font-display); letter-spacing: .05em; }

/* ---------- Unicorn Dash ---------- */
.unicorn { position: absolute; inset: 0; overflow: hidden; border-radius: 18px; background: var(--surface-raised); }
.unicorn-sky { display: block; width: 100%; height: 100%; image-rendering: pixelated; cursor: pointer; }
.arcade-bar--float { position: absolute; top: 8px; right: 8px; min-height: 0; }
/* ---------- Sleigh All Day (Stuart, 9 Nov 2026) ---------- */
.arcade--sleigh .arcade-stage { display: block; }
.sleigh { position: absolute; inset: 0; overflow: hidden; border-radius: 18px; background: #FFFFFF; }
.sleigh-sky { display: block; width: 100%; height: 100%; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: crosshair; }
/* While a run's on, the bottom bar goes (the iPhone app's own bar follows it, as in Snowball Fight) and the game takes its room. */
html.sl-playing, html.sl-playing body { overflow: hidden; overscroll-behavior: none; }
html.sl-playing .tab-bar { display: none !important; }
html.sl-playing .page--game { bottom: calc(env(safe-area-inset-bottom) - var(--vv-shift, 0px)); padding-bottom: 10px; }

.arcade-bar--float .arcade-tool { background: rgba(255, 255, 255, 0.8); border-color: rgba(16, 24, 40, 0.15); }
/* ---------- Boo Job (Stuart, 17 Oct 2026) ---------- */
.arcade--boojob .arcade-stage { display: block; }
.boojob { position: absolute; inset: 0; overflow: hidden; border-radius: 18px; background: var(--bg); touch-action: none; }
.boojob-night { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.boojob-night:active { cursor: grabbing; }
.boojob-card { position: absolute; left: 50%; top: 22%; z-index: 2; width: min(340px, calc(100% - 32px)); transform: translateX(-50%); padding: 16px 18px 14px; border-radius: 18px; border: 2px solid rgba(226, 112, 58, 0.55);
  background: radial-gradient(90% 130% at 100% 0%, rgba(226, 112, 58, 0.24), transparent 62%), #FFFFFF; box-shadow: 0 12px 30px -10px rgba(16, 24, 40, 0.18); text-align: center; pointer-events: none; }
.boojob-card[hidden] { display: none; }
.boojob-card.is-in { animation: boojob-card .45s var(--ease) both; }
@keyframes boojob-card { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
.boojob-card__kicker { margin: 0 0 4px; color: var(--orange-ink); font: 700 13px/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.boojob-card__title { margin: 0 0 6px; font-size: 23px; }
.boojob-card__text { margin: 0; color: var(--text-secondary); }
.boojob-card__tap { margin: 10px 0 0; color: var(--text-muted); font-size: 13px; }
.boojob-from { margin-top: var(--space-2); white-space: normal; }
/* A landscape game: wider on a desktop, and on a phone held sideways it takes the whole screen (the
   back arrow still leads out, and the game's own heading hides while a run is on). */
.page--game-wide { max-width: 1120px; }
.arcade--boojob .arcade-nudge { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 0; }
/* Ghosted keeps two lines for its longer nudges once a run is on; on its opening card the gaps match the other games. */
.arcade--boojob:has(.arcade-panel[data-intro]:not([hidden])) .arcade-nudge:empty { min-height: 24px; margin: -6px 0; }
@media (min-width: 700px) { .arcade--boojob .arcade-nudge { min-height: 24px; } }
.boojob-turn { display: none; }
@media (orientation: portrait) and (max-width: 600px) {
  .boojob-turn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 var(--space-3); color: var(--text-secondary); font-size: 13px; }
  .boojob-turn svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: var(--orange-ink); stroke-width: 1.8; stroke-linecap: round; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .is-boojob .site-header, .is-boojob .tab-bar, .is-boojob .announcement { display: none; }
  .is-boojob .page--game { bottom: env(safe-area-inset-bottom); max-width: none; padding: 4px max(10px, env(safe-area-inset-right)) 6px max(10px, env(safe-area-inset-left)); }
  .is-boojob-playing .arcade-hud { display: none; }
  .is-boojob-playing .arcade--boojob .arcade-nudge { min-height: 24px; }
}
.arcade-panel--pause [data-quit] { margin-top: var(--space-3); }
@media (prefers-reduced-motion: reduce) { .boojob-card.is-in { animation: none; } }

/* ---------- Let It Bowl (Stuart, 2 Nov 2026): the Christmas special ---------- */
/* The lane fills the stage: scorecard(s) and chips over the top, what to tap next along the bottom. */
.arcade--bowling .arcade-stage { display: block; }
.bowl { position: absolute; inset: 0; overflow: hidden; border-radius: 18px; background: var(--bg); touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: pointer; }
.bowl-lane { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.bowl-top { position: absolute; left: 0; right: 0; top: 0; z-index: 1; display: grid; gap: 4px; padding: 6px 6px 0; pointer-events: none; }
.bowl-top button { pointer-events: auto; }
.bowl-row { display: flex; align-items: stretch; gap: 4px; }
.bowl-row__who { display: none; }
.bowl--two .bowl-row__who { display: grid; align-content: center; justify-items: center; flex: 0 0 auto; width: 44px; margin: 0; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(16, 24, 40, 0.105); font-size: 10px; line-height: 1.15; color: var(--text-secondary); text-align: center; overflow: hidden; }
.bowl--two .bowl-row__who span { max-width: 40px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bowl--two .bowl-row__who strong { color: var(--text); font: 700 15px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.bowl-card { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)) minmax(0, 1.45fr); flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; list-style: none; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(16, 24, 40, 0.105); }
.bowl-frame { display: grid; grid-template-rows: auto auto auto; min-width: 0; box-shadow: inset 1px 0 0 rgba(51, 54, 61, 0.06); text-align: center; }
.bowl-frame:first-child { box-shadow: none; }
.bowl-frame__n { color: var(--text-muted); font-size: 9px; line-height: 12px; }
.bowl-frame__marks { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid rgba(16, 24, 40, 0.075); }
.bowl-frame__mark { min-height: 14px; color: var(--text); font: 700 11px/14px var(--font-display); }
.bowl-frame__mark + .bowl-frame__mark { box-shadow: inset 1px 0 0 rgba(51, 54, 61, 0.05); }
.bowl-frame__total { min-height: 16px; color: var(--gold-ink); font: 700 12px/16px var(--font-display); font-variant-numeric: tabular-nums; }
.bowl-frame.is-now { background: rgba(63, 115, 221, 0.28); }
.bowl-chips { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.bowl-chip { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; margin: 0; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(16, 24, 40, 0.12); color: var(--text); font-size: 12px; font-weight: 600; white-space: nowrap; }
.bowl-chip--ball { min-height: 32px; border-color: rgba(255, 210, 63, 0.55); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.bowl-chip--ball:disabled { cursor: default; opacity: .75; }
.bowl-dot { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--danger), var(--danger) 60%, var(--danger)); }
.bowl-dot--candy { background: repeating-linear-gradient(45deg, #FFFFFF 0 3px, var(--danger) 3px 6px); }
.bowl-dot--star { background: radial-gradient(circle at 35% 35%, #FFF3B0, #F5B82E 60%, var(--orange)); }
.bowl-banner { position: absolute; left: 50%; top: 55%; z-index: 1; width: min(320px, calc(100% - 32px)); transform: translate(-50%, 8px); text-align: center; opacity: 0; transition: opacity .25s var(--ease), transform .25s var(--ease); pointer-events: none; }
.bowl-banner.is-in { opacity: 1; transform: translate(-50%, 0); }
.bowl-banner__title { margin: 0; color: #fff; font: 700 30px/1.1 var(--font-display); text-shadow: 0 2px 0 rgba(0, 0, 0, .55), 0 0 18px rgba(11, 8, 36, .9); }
.bowl-banner__sub { margin: 2px 0 0; color: #F1EBFF; font-size: 14px; font-weight: 600; text-shadow: 0 1px 0 rgba(0, 0, 0, .6), 0 0 12px rgba(11, 8, 36, .9); }
.bowl-banner--strike .bowl-banner__title { color: var(--rainbow-3); }
.bowl-banner--spare .bowl-banner__title, .bowl-banner--sweet .bowl-banner__title { color: #7DF0B5; }
.bowl-banner--split .bowl-banner__title, .bowl-banner--over .bowl-banner__title { color: #FF8A9A; }
.bowl-banner--ball .bowl-banner__title, .bowl-banner--weak .bowl-banner__title { font-size: 22px; }
.bowl-prompt { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 6px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(16, 24, 40, 0.12); color: var(--text); font-size: 14px; font-weight: 600; text-align: center; pointer-events: none; }
.bowl-prompt[hidden] { display: none; }
.bowl-step { display: grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #3FA7FF; color: #0B0824; font: 700 14px/1 var(--font-display); }
.bowl-step[hidden] { display: none; }
.bowl-step--2 { background: #C9A2FF; }
.bowl-step--3 { background: #36D98A; }
@media (max-height: 640px) { .bowl-frame__n { display: none; } .bowl-banner__title { font-size: 26px; } }
@media (max-width: 400px) { .bowl-chips { flex-wrap: nowrap; gap: 3px; } .bowl-chip { gap: 3px; padding: 2px 7px; font-size: 11px; } .bowl-chip--ball { font-size: 11px; min-height: 30px; } }
@media (prefers-reduced-motion: reduce) { .bowl-banner { transition: none; } }
/* On a challenge, the lane sits on the page at a phone-friendly height. */
.match__bowl { display: grid; gap: var(--space-2); }
.match__bowl .bowl { position: relative; inset: auto; height: min(72vh, 600px); min-height: 420px; }
.match__watch { justify-self: center; }
@media (prefers-reduced-motion: reduce) { .wordsg-word, .blaster-type.is-wrong, .wordsg-board.is-wrong, .wordsg-board.is-repeat { animation: none; } .blaster-word { transition: none; } }
/* The home page's Arcade row (Stuart, 16 Oct 2026). */
.arcade-shelf__lead { margin: 0 0 var(--space-3); }
.arcade-shelf__list { display: grid; grid-auto-flow: column; grid-auto-columns: 118px; gap: 10px; margin: 0 calc(-1 * var(--space-3)); padding: 2px var(--space-3) 8px; overflow-x: auto; list-style: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--space-3); -webkit-overflow-scrolling: touch; }
.arcade-shelf__list li { scroll-snap-align: start; }
.arcade-shelf__game { display: grid; grid-template-rows: auto 1fr auto; justify-items: center; gap: 4px; height: 100%; padding: 12px 8px; border-radius: 16px; background: var(--surface-raised); border: 1px solid var(--border); color: var(--text); text-align: center; text-decoration: none; }
.arcade-shelf__game .arcade-card__art { width: 72px; height: 72px; border-radius: 18px; }
.arcade-shelf__game .arcade-card__art svg { width: 60px; height: 60px; }
.arcade-shelf__game strong { align-self: center; font: 650 14px/1.2 var(--font-display); }
.arcade-shelf__play { display: grid; place-items: center; width: 30px; height: 30px; margin-top: 2px; border-radius: 50%; background: linear-gradient(180deg, var(--success), var(--success)); color: #06241A; box-shadow: 0 6px 14px -6px rgba(30, 138, 90, 0.6); }
.arcade-shelf__play svg { width: 16px; height: 16px; margin-left: 2px; fill: currentColor; }
@media (hover: hover) { .arcade-shelf__game:hover { border-color: rgba(63, 115, 221, 0.5); } }
.arcade-shelf .arcade-link { margin-top: var(--space-2); }
/* On a desktop the whole shelf shows at once, four to a row, so a seventh game (Pride Armada) never sits on its own. */
@media (min-width: 900px) { .arcade-shelf__list { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; margin: 0; padding: 0; overflow: visible; } }

/* ---------- Fourplay (Stuart, 16 Oct 2026) ----------
   The board is drawn to fit: --cell is set by the page (fourplay.js on the game page; a width-based
   default elsewhere). Your counters are pink hearts, theirs yellow stars. Counters fall and settle
   once; the winning line lifts once; nothing flashes, and reduced motion keeps everything still. */
.fp-board { --cell: min(54px, calc((100vw - 72px) / var(--w, 7))); --pad: max(6px, calc(var(--cell) * .14)); position: relative; isolation: isolate; flex-shrink: 0; padding: var(--pad); border-radius: calc(var(--cell) * .4); background: linear-gradient(180deg, #3B2878 0%, #26194F 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .12), inset 0 -4px 0 rgba(0, 0, 0, .25), 0 18px 40px -18px rgba(164, 107, 255, .6); overflow: hidden; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.fp-grid { display: grid; grid-template-columns: repeat(var(--w, 7), var(--cell)); grid-auto-rows: var(--cell); }
.fp-cell { position: relative; }
.fp-cell::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: #0D0A1A; box-shadow: inset 0 3px 6px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .08); }
.fp-counter { position: absolute; inset: 9%; z-index: 1; display: grid; place-items: center; border-radius: 50%; }
.fp-counter--me { background: radial-gradient(circle at 35% 30%, #FF9ACF 0, #FF4FA8 48%, #C92A7F 100%); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .35); }
.fp-counter--them { background: radial-gradient(circle at 35% 30%, #FFF0A8 0, #FFD23F 48%, #D9A400 100%); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14), 0 2px 6px rgba(0, 0, 0, .35); }
.fp-counter__glyph { width: 48%; height: 48%; }
.fp-counter--me .fp-counter__glyph { fill: rgba(255, 255, 255, .92); }
.fp-counter--them .fp-counter__glyph { fill: rgba(110, 70, 0, .55); }
.fp-counter.is-moving { animation: fp-fall var(--t, .4s) cubic-bezier(.55, 0, 1, .45) both, fp-settle .18s ease-out var(--t, .4s); }
@keyframes fp-fall { from { transform: translateY(calc(var(--dy, -1) * var(--pitch, 46px))); } to { transform: none; } }
@keyframes fp-settle { 50% { transform: scale(1.06, .94); } }
.fp-counter.is-bombed { animation: fp-bomb .38s ease-in forwards; }
@keyframes fp-bomb { 40% { transform: scale(1.18); opacity: 1; } to { transform: scale(0); opacity: 0; } }
.fp-counter.is-winner { z-index: 2; animation: fp-win .7s var(--ease) both; box-shadow: 0 0 0 3px #fff, 0 0 18px 4px rgba(255, 255, 255, .45); }
@keyframes fp-win { from { transform: none; box-shadow: none; } 55% { transform: scale(1.12); } to { transform: scale(1.04); } }
.fp-board.is-over .fp-counter:not(.is-winner) { opacity: .4; transition: opacity .6s ease; }
.fp-cols { position: absolute; inset: var(--pad); z-index: 3; display: grid; grid-template-columns: repeat(var(--w, 7), var(--cell)); pointer-events: none; }
.fp-board:not([data-mode="drop"]) .fp-cols { display: none; }
.fp-col { pointer-events: auto; margin: 0; padding: 0; border: 0; border-radius: calc(var(--cell) * .3); background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.fp-col[hidden] { display: none; }
.fp-col:disabled { cursor: default; }
@media (hover: hover) { .fp-col:not(:disabled):hover { background: rgba(255, 255, 255, .08); } }
.fp-col:focus-visible { outline: 3px solid var(--rainbow-3); outline-offset: -3px; background: rgba(255, 255, 255, .08); }
.fp-cell.is-pickable { cursor: pointer; }
.fp-cell.is-pickable .fp-counter { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.fp-board[data-mode="bomb"] .fp-cell.is-pickable .fp-counter { box-shadow: 0 0 0 3px var(--rainbow-1); }
.fp-cell.is-picked .fp-counter { box-shadow: 0 0 0 4px #fff; transform: scale(.9); }
.fp-cell.is-pickable:focus-visible { outline: 3px solid var(--rainbow-3); outline-offset: -2px; border-radius: 50%; }
.fp-dot { display: inline-block; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; }
.fp-dot--me { background: radial-gradient(circle at 35% 30%, #FF9ACF, #FF4FA8 55%, #C92A7F); }
.fp-dot--them { background: radial-gradient(circle at 35% 30%, #FFF0A8, #FFD23F 55%, #D9A400); }
/* Around the board: who's who and whose turn, the twists, and the buttons underneath. */
.arcade--fourplay .arcade-stage { display: block; }
.fp-play { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; }
.fp-bar { display: grid; grid-template-columns: max-content minmax(0, 1fr) minmax(0, max-content); align-items: center; gap: 8px; }
.fp-bar > p { margin: 0; }
.fp-side { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 14px; transition: border-color .2s ease, box-shadow .2s ease; }
.fp-side--me { justify-self: start; }
.fp-side--them { justify-self: end; }
.fp-side__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-side--me.is-turn { border-color: #FF4FA8; box-shadow: 0 0 0 3px rgba(255, 79, 168, .2); }
.fp-side--them.is-turn { border-color: #FFD23F; box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.2); }
.fp-turn { color: var(--text-secondary); font-size: 13px; font-weight: 650; line-height: 1.15; text-align: center; }
.fp-twist { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.fp-twist[hidden], .fp-powers[hidden], .fp-gravity[hidden], .fp-clock[hidden], .fp-hint[hidden] { display: none; }
.fp-powers { display: flex; gap: 8px; }
.fp-power { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: var(--radius-pill); border: 1px solid rgba(63, 115, 221, 0.55); background: linear-gradient(90deg, rgba(211, 63, 73, 0.16), rgba(63, 115, 221, 0.16)); color: var(--text); font: inherit; font-size: 13px; font-weight: 650; white-space: nowrap; cursor: pointer; }
.fp-power .icon { width: 18px; height: 18px; color: var(--gold-ink); }
.fp-power[aria-pressed="true"] { background: var(--accent); border-color: #FFFFFF; }
.fp-power:disabled { opacity: .45; cursor: default; }
.fp-power.is-used { text-decoration: line-through; }
.fp-power:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.fp-gravity { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border-radius: var(--radius-pill); background: rgba(63, 115, 221, 0.12); border: 1px solid rgba(63, 115, 221, 0.4); font-size: 13px; font-weight: 600; }
.fp-gravity .icon { width: 18px; height: 18px; color: var(--sky-ink); transform: rotate(90deg); transition: transform .4s var(--ease); }
.fp-gravity.is-up .icon { transform: rotate(-90deg); }
.fp-clock { flex: 1 1 100%; height: 8px; border-radius: var(--radius-pill); background: var(--surface-raised); overflow: hidden; }
.fp-clock__bar { display: block; height: 100%; background: linear-gradient(90deg, var(--rainbow-4), var(--rainbow-3)); transform-origin: left center; }
.fp-clock.is-low .fp-clock__bar { background: var(--rainbow-1); }
.fp-hint { margin: 0; color: var(--gold-ink); font-size: 13px; font-weight: 600; text-align: center; }
.fp-wrap { position: relative; flex: 1 1 auto; min-height: 0; display: grid; place-items: center; }
.fp-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.fp-quit { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface-raised); color: var(--text-secondary); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.fp-quit .icon { width: 18px; height: 18px; }
.fp-quit.is-sure { color: var(--text); border-color: var(--danger); background: rgba(211, 63, 73, 0.18); }
.fp-quit:disabled { opacity: .45; cursor: default; }
.arcade--fourplay:not(.is-playing) .fp-quit { visibility: hidden; }
.fp-back-results { position: absolute; left: 50%; bottom: 0; z-index: 3; transform: translateX(-50%); min-height: 44px; padding: 10px 20px; border: 0; border-radius: var(--radius-pill); background: var(--accent); color: #FFFFFF; font: inherit; font-weight: 700; white-space: nowrap; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(63, 115, 221, 0.8); }
.fp-back-results[hidden] { display: none; }
/* The lobby: level and version, then the ways to play someone. */
.fp-choose { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fp-choose__title { margin: 0 0 8px; padding: 0; color: var(--text-secondary); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fp-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fp-level, .fp-variant { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fp-level input, .fp-variant input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fp-level { display: grid; gap: 2px; padding: 10px 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.fp-level__name { font: 700 16px/1.1 var(--font-display); }
.fp-level__note { color: var(--text-muted); font-size: 12px; font-weight: 600; }
.fp-level:has(input:checked) { border-color: var(--rainbow-3); background: rgba(255, 210, 63, 0.1); }
.fp-level:has(input:checked) .fp-level__note { color: var(--text-secondary); }
.fp-variants { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fp-variant { display: inline-flex; padding: 8px 12px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; white-space: nowrap; }
.fp-variant:has(input:checked) { background: var(--accent); border-color: transparent; color: #FFFFFF; }
.fp-level:has(input:focus-visible), .fp-variant:has(input:focus-visible) { outline: 3px solid var(--text); outline-offset: 2px; }
.fp-choose__blurb { margin: 0; color: var(--text-secondary); font-size: 13px; }
.fp-tagline { margin: 0; font: 650 19px/1.2 var(--font-display); }
.play-someone { display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); text-align: left; }
.play-someone > * { margin: 0; }
.play-someone__title { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.play-someone__title .icon { color: var(--accent-ink); }
.play-someone__text { color: var(--text-secondary); font-size: 13px; }
.play-someone__buttons { display: grid; gap: 8px; }
.play-someone__buttons form { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .fp-counter.is-moving, .fp-counter.is-bombed, .fp-counter.is-winner { animation: none; }
  .fp-board.is-over .fp-counter:not(.is-winner), .fp-gravity .icon, .fp-side { transition: none; }
}
/* ---------- Challenges between players (Stuart, 16 Oct 2026) ---------- */
.mback { margin: 0 0 var(--space-2); }
.mback a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary); font-weight: 600; text-decoration: none; }
.mback .icon { width: 18px; height: 18px; }
.mnew { display: grid; gap: var(--space-2); margin: 0 0 var(--space-4); }
.mempty__games { display: grid; gap: 8px; margin-top: var(--space-3); }
@media (min-width: 560px) { .mempty__games { grid-template-columns: 1fr 1fr; } }
.mrows { list-style: none; margin: 0; padding: 0; }
.mrow { border-top: 1px solid var(--border); }
.mrow:first-child { border-top: 0; }
.mrow__link { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--text); text-decoration: none; }
.mrow__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-raised); color: var(--gold-ink); }
.mrow__icon .icon { width: 18px; height: 18px; }
.mrow__body { flex: 1 1 auto; display: grid; gap: 2px; min-width: 0; }
.mrow__who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow__meta { display: flex; align-items: center; gap: 5px; color: var(--text-secondary); font-size: 13px; }
.mrow__meta .icon { flex: none; width: 16px; height: 16px; color: var(--accent-ink); }
.mrow__line { color: var(--text-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow--your_turn .mrow__time { color: var(--gold-ink); font-weight: 650; }
.mrow__go { flex: none; width: 18px; height: 18px; color: var(--text-muted); }
.mrow__actions { display: flex; gap: 8px; margin: -4px 0 12px 48px; }
.card .mrow__actions form { margin: 0; }
@media (hover: hover) { .mrow__link:hover .mrow__who { text-decoration: underline; text-underline-offset: 3px; } }
.mtag { flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--surface-raised); border: 1px solid var(--border); color: var(--text-secondary); font-size: 12px; font-weight: 700; white-space: nowrap; }
.mtag--go { background: rgba(255, 210, 63, 0.14); border-color: rgba(255, 210, 63, 0.5); color: var(--gold-ink); }
.mtag--won { background: rgba(30, 138, 90, 0.14); border-color: rgba(30, 138, 90, 0.45); color: var(--success); }
.mtag--lost { background: rgba(211, 63, 73, 0.12); border-color: rgba(211, 63, 73, 0.45); color: var(--danger-ink); }
.mtag--drew { background: rgba(63, 115, 221, 0.12); border-color: rgba(63, 115, 221, 0.45); color: var(--accent-ink); }
.mstats__game { display: flex; align-items: center; gap: 8px; margin: var(--space-3) 0 var(--space-2); font-size: 16px; }
.mstats__game:first-of-type { margin-top: 0; }
.mstats__game .icon { color: var(--accent-ink); }
.mstats__more { margin: var(--space-2) 0 0; text-align: center; }
.mpick { margin: 0; }
.mpick__variants { margin-top: var(--space-3); }
.mpick__variants .fp-variants { justify-content: flex-start; }
.mpick__blurbs { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.mpick__friends .friend-row.is-picked { margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 14px; background: rgba(63, 115, 221, 0.1); }
.mpick__friends .friend-row button { flex: none; }
.mshare { display: grid; gap: 10px; margin-top: var(--space-3); }
.mshare > p { margin: 0; }
.mshare__link { padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px dashed rgba(16, 24, 40, 0.188); font-family: ui-monospace, Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; }
.mshare__buttons { display: grid; gap: 8px; }
.mshare [data-share-status]:empty { display: none; }
.minvite { display: grid; justify-items: center; gap: 10px; text-align: center; }
.minvite > * { margin: 0; }
.minvite form { width: 100%; }
.minvite__kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--mint-ink); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.minvite__title { font-size: 25px; }
.minvite__more { display: grid; gap: 8px; width: 100%; }
.match__head { display: grid; gap: 10px; margin-bottom: var(--space-3); }
.match__title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; }
.match__title .icon { color: var(--accent-ink); }
.match__variant { padding: 2px 10px; border-radius: var(--radius-pill); background: var(--surface-raised); color: var(--text-secondary); font: 650 13px/1.6 var(--font-body); }
.match__players { display: grid; grid-template-columns: minmax(0, max-content) auto minmax(0, max-content); align-items: center; justify-content: space-between; gap: 8px; margin: 0; }
.mplayer { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); font-weight: 700; transition: border-color .2s ease, box-shadow .2s ease; }
.mplayer .friend-face { width: 26px; height: 26px; font-size: 13px; }
.mplayer__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mplayer--me.is-turn { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(63, 115, 221, 0.2); }
.mplayer--them.is-turn { border-color: #FFD23F; box-shadow: 0 0 0 3px rgba(255, 210, 63, 0.2); }
.match--oral .mplayer--me.is-turn { border-color: var(--rainbow-4); box-shadow: 0 0 0 3px rgba(30, 138, 90, 0.2); }
.match__vs { color: var(--text-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.match__status { margin: 0 0 var(--space-3); padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--text-secondary); font-weight: 650; text-align: center; }
.match__status.is-mine { color: var(--gold-ink); border-color: rgba(255, 210, 63, 0.45); background: rgba(255, 210, 63, 0.08); }
.match__game { display: grid; gap: 10px; margin-bottom: var(--space-3); }
.match__board { display: grid; place-items: center; }
.match__error { margin: 0; color: var(--danger); font-weight: 600; text-align: center; }
.match__actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-2); }
.match__actions form { margin: 0; margin-left: auto; }
.match__note { margin: 0 0 var(--space-4); }
.mcard > * { margin-bottom: 0; }
.mcard .secondary { margin-top: var(--space-2); }
.mcard form { margin-top: var(--space-3); }
.mcard__decline { display: grid; justify-items: center; gap: 10px; }
.mcard__quiet { text-align: center; }
/* Alerts for one game, each player's choice (Stuart, 17 Oct 2026). */
.malerts { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-4); padding: var(--space-3); border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.malerts.is-on { border-color: color-mix(in srgb, var(--success) 45%, var(--border)); }
.malerts__icon { flex: none; width: 22px; height: 22px; color: var(--text-muted); }
.malerts.is-on .malerts__icon { color: var(--success); }
.malerts__text { flex: 1; min-width: 0; margin: 0; display: grid; gap: 2px; }
.malerts .btn { flex: none; }
.mcard__accept .malerts__check { margin-bottom: var(--space-3); text-align: left; }
.mresult { display: grid; justify-items: center; gap: 8px; text-align: center; }
.mresult > * { margin: 0; }
.mresult__big { font: 700 36px/1.1 var(--font-display); }
.mresult--won .mresult__big { background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mresult__line { color: var(--text-secondary); font-size: 16px; }
.mresult__h2h { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mresult__h2h span { padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface-raised); font-size: 13px; }
.mresult__h2h strong { margin-left: 4px; font-family: var(--font-display); }
.mresult__buttons { display: grid; gap: 8px; width: 100%; margin-top: var(--space-2); }
.card .mresult__buttons form { margin: 0; }
.mresult__buttons .friend-form .btn { width: 100%; }
.moral__score { display: flex; justify-content: space-between; gap: 8px; margin: 0; }
.moral__score span { flex: 1 1 0; padding: 8px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--text-secondary); font-size: 13px; text-align: center; }
.moral__score strong { color: var(--text); font: 700 18px/1 var(--font-display); }
.moral__form[hidden] { display: none; }
.moral__chain { flex: none; overflow: visible; }
.oral-chain__item--them { align-self: flex-start; background: rgba(63, 115, 221, 0.14); border: 1px solid rgba(63, 115, 221, 0.4); border-bottom-left-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .mplayer { transition: none; } }


/* "Your games" on Home and Play while a challenge is on (Stuart, 16 Oct 2026). */
.games-now { border-color: rgba(63, 115, 221, 0.45); background: linear-gradient(160deg, rgba(63, 115, 221, 0.12), rgba(63, 115, 221, 0.1) 60%, var(--surface)); }
/* Compact (Stuart, 27 Oct 2026): a slim card, the title and Your Challenges on one line, tight rows. */
.card.games-now { padding: 10px 14px 4px; margin-bottom: var(--space-3); border-radius: 18px; }
.games-now__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.games-now__title { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 16px; }
.games-now__title .icon { width: 18px; height: 18px; }
.games-now__title .awards-count { margin-left: 2px; padding: 0 8px; font-size: 12px; }
.games-now .mrows { margin: 0; }
.games-now .mrow__link { gap: 10px; padding: 8px 0; }
.games-now .friend-face, .games-now .mrow__icon { width: 30px; height: 30px; font-size: 13px; }
.games-now .mrow__who { font-size: 14px; }
.games-now .mrow__meta { font-size: 13px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.games-now .mrow__meta .icon { display: inline-block; width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; }
.games-now .mrow__actions { margin: -2px 0 8px 40px; }
.games-now__all { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; color: var(--text-secondary); font-size: 13px; font-weight: 650; text-decoration: none; }
.games-now + .hero .hero__waiting { margin-top: 0; }
.games-now__all .icon { width: 16px; height: 16px; }
@media (hover: hover) { .games-now__all:hover { color: var(--text); } }

/* ---------- Explore (Stuart, 16 Oct 2026) ---------- */
/* "Your Challenges": in the Explore sheet and the Fourplay lobby. */
.challenges-row { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px 12px 16px; border-radius: 14px; background: var(--surface-raised); border: 1px solid rgba(16, 24, 40, 0.045); color: var(--text); text-decoration: none; }
.challenges-row__icon { width: 24px; height: 24px; color: var(--accent-ink); }
.challenges-row__text { flex: 1 1 auto; display: grid; gap: 2px; min-width: 0; }
.challenges-row__text strong { font: 650 16px/1.2 var(--font-display); }
.challenges-row__text span { color: var(--text-secondary); font-size: 13px; line-height: 1.35; }
.challenges-row__count { flex-shrink: 0; min-width: 26px; height: 26px; padding: 0 8px; border-radius: var(--radius-pill); background: rgba(211, 63, 73, 0.22); color: var(--danger-ink); font: 700 13px/26px var(--font-body); text-align: center; }
.challenges-row__go { width: 20px; height: 20px; color: var(--text-secondary); }
@media (hover: hover) { .challenges-row:hover { border-color: rgba(63, 115, 221, 0.45); } }

/* The sheet slides up from the bottom bar: dark purple, clear of the notch and home bar. */
.explore { --explore-bg: #FFFFFF; top: var(--vv-shift, 0px); bottom: calc(0px - var(--vv-shift, 0px)); width: min(560px, 100vw); max-width: 100vw; max-height: calc(100dvh - 24px - env(safe-area-inset-top)); margin: auto auto 0; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); border: 0; border-radius: 22px 22px 0 0; background: var(--explore-bg); color: var(--text); box-shadow: 0 -12px 40px rgba(16, 24, 40, 0.18); overflow-y: auto; overscroll-behavior: contain; }
.explore::backdrop { background: rgba(255, 255, 255, 0.82); }
.explore[open] { display: grid; gap: 12px; align-content: start; animation: explore-in .28s cubic-bezier(.2, .7, .2, 1); }
.explore.is-dragging { animation: none; }
@keyframes explore-in { from { transform: translateY(100%); } to { transform: none; } }
html.is-sheet-open, html.is-sheet-open body { overflow: hidden; }
.explore__grab { justify-self: center; width: 40px; height: 4px; margin: 2px 0 2px; border-radius: 2px; background: rgba(16, 24, 40, 0.165); }
.explore__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.explore__title { margin: 0; font-size: 20px; }
.explore__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: 50%; background: transparent; color: var(--text-secondary); cursor: pointer; }
.explore__close .icon { width: 22px; height: 22px; }
.explore__close:focus-visible { background: rgba(16, 24, 40, 0.06); color: var(--text); }
@media (hover: hover) { .explore__close:hover { background: rgba(16, 24, 40, 0.06); color: var(--text); } }
.explore__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.explore-tile { display: grid; align-content: space-between; gap: 14px; min-height: 104px; padding: 16px; border-radius: 14px; background: var(--surface-raised); border: 1px solid rgba(16, 24, 40, 0.045); color: var(--text); font: 600 15px/1.25 var(--font-body); text-decoration: none; }
.explore-tile .icon { width: 26px; height: 26px; }
.explore-tile small { display: block; margin-top: 2px; color: var(--text-secondary); font-size: 12px; font-weight: 500; }
.explore-tile--friends .icon { color: var(--format-sound); }
.explore-tile--invite .icon { color: var(--format-mini); }
.explore-tile--awards .icon { color: var(--gold-ink); }
.explore-tile--results .icon { color: var(--format-gk); }
@media (hover: hover) { .explore-tile:hover { border-color: rgba(16, 24, 40, 0.15); } }
.explore__links { display: grid; margin: 4px 0 0; padding: 8px 0 0; border-top: 1px solid rgba(16, 24, 40, 0.075); list-style: none; }
.explore__links a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 6px; border-radius: 12px; color: var(--text); font-size: 16px; text-decoration: none; }
.explore__links .icon { width: 22px; height: 22px; color: var(--text-secondary); }
.explore__links a:focus-visible { background: rgba(16, 24, 40, 0.045); }
@media (hover: hover) { .explore__links a:hover { background: rgba(16, 24, 40, 0.045); } }
/* The same thing as a page, for browsers without the sheet. */
.explore-page { display: grid; gap: 12px; max-width: 560px; padding: 16px; border-radius: var(--radius-card); background: #FFFFFF; }


/* ---------- Pride Armada (Stuart, 16 Oct 2026) ----------
   A neon sea at night. The ships are drawn here: a rainbow flagship, a cruiser in the trans flag's
   colours, and three escorts. Strikes drop, ripple and fade; the alert lamp glows gently and the radar
   turns slowly. Nothing flashes, reduced motion keeps everything still, and every sequence can be skipped. */
.page--armada { max-width: 980px; }

/* The ships. --n is how many squares long; in a sea they fill their squares, elsewhere they're sized by --u. */
.armada-hull { --n: 3; --u: 16px; position: relative; display: block; flex: none; width: calc(var(--n) * var(--u)); height: calc(var(--u) * .9); border-radius: 999px 7px 7px 999px; box-shadow: 0 0 0 1.5px rgba(13, 10, 26, .65), 0 4px 10px -3px rgba(0, 0, 0, .7), 0 0 14px -3px rgba(63, 224, 255, .45); }
.armada-hull--n2 { --n: 2; } .armada-hull--n3 { --n: 3; } .armada-hull--n4 { --n: 4; } .armada-hull--n5 { --n: 5; }
.armada-hull::before { content: ""; position: absolute; top: 24%; bottom: 24%; right: 14%; width: calc(60% / var(--n)); border-radius: 4px; background: rgba(13, 10, 26, .38); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.armada-hull::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 46%, rgba(0, 0, 0, .2)); }
.armada-hull--pride { background: linear-gradient(180deg, #FF4D5E 0 16.7%, #FF8A3D 0 33.3%, #FFD23F 0 50%, #36D98A 0 66.7%, #3FA7FF 0 83.3%, #A46BFF 0); }
.armada-hull--visibility { background: linear-gradient(180deg, #5BCEFA 0 20%, #F5A9B8 0 40%, #FFFFFF 0 60%, #F5A9B8 0 80%, #5BCEFA 0); }
.armada-hull--afterparty { background: linear-gradient(180deg, #FF8CC6 0, #FF4FA8 45%, #C92A7F 100%); }
.armada-hull--lavender { background: linear-gradient(180deg, #D9BFFF 0, #A97CF4 50%, #7B4FD6 100%); }
.armada-hull--plusone { background: linear-gradient(180deg, #8DF7E2 0, #2FD3B4 50%, #15997F 100%); }
.armada-hull.is-v { width: calc(var(--u) * .9); height: calc(var(--n) * var(--u)); border-radius: 999px 999px 7px 7px; }
.armada-hull.is-v::before { top: auto; bottom: 14%; left: 24%; right: 24%; width: auto; height: calc(60% / var(--n)); }
.armada-hull.is-v::after { background: linear-gradient(90deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 46%, rgba(0, 0, 0, .2)); }
.armada-hull--pride.is-v { background: linear-gradient(90deg, #FF4D5E 0 16.7%, #FF8A3D 0 33.3%, #FFD23F 0 50%, #36D98A 0 66.7%, #3FA7FF 0 83.3%, #A46BFF 0); }
.armada-hull--visibility.is-v { background: linear-gradient(90deg, #5BCEFA 0 20%, #F5A9B8 0 40%, #FFFFFF 0 60%, #F5A9B8 0 80%, #5BCEFA 0); }
.armada-hull--afterparty.is-v { background: linear-gradient(90deg, #FF8CC6 0, #FF4FA8 45%, #C92A7F 100%); }
.armada-hull--lavender.is-v { background: linear-gradient(90deg, #D9BFFF 0, #A97CF4 50%, #7B4FD6 100%); }
.armada-hull--plusone.is-v { background: linear-gradient(90deg, #8DF7E2 0, #2FD3B4 50%, #15997F 100%); }
/* In a sea a ship fills its squares, less a little water round the edge (a square is 10cqw). */
.armada-grid .armada-hull { z-index: 0; width: auto; height: auto; margin: 5px 3px; margin: 1.7cqw .45cqw; }
.armada-grid .armada-hull.is-v { margin: 3px 5px; margin: .45cqw 1.7cqw; }
.armada-hull.is-sel { box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(255, 255, 255, .22), 0 6px 14px -4px rgba(0, 0, 0, .7); }
/* A sunk ship (Stuart, 28 Oct 2026: "from red on fire to black and smouldering"): charred black with embers
   glowing in its cracks, so a whole ship gone is plain at a glance. */
.armada-hull.is-sunk, .armada-hull.is-sunk.is-v { background: repeating-linear-gradient(118deg, transparent 0 7px, rgba(255, 112, 48, .32) 7px 8px, transparent 8px 15px), radial-gradient(70% 90% at 50% 50%, rgba(255, 112, 48, .16), rgba(255, 112, 48, 0) 70%), linear-gradient(180deg, #3A3440 0, #1D1A23 52%, #0C0B10 100%); box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .75), 0 4px 10px -3px rgba(0, 0, 0, .8), 0 0 12px -2px rgba(255, 112, 48, .4); }
.armada-hull.is-sunk.is-v { background: repeating-linear-gradient(28deg, transparent 0 7px, rgba(255, 112, 48, .32) 7px 8px, transparent 8px 15px), radial-gradient(90% 70% at 50% 50%, rgba(255, 112, 48, .16), rgba(255, 112, 48, 0) 70%), linear-gradient(90deg, #3A3440 0, #1D1A23 52%, #0C0B10 100%); }
.armada-hull.is-sunk::before { background: rgba(0, 0, 0, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.armada-hull.is-sunk::after { opacity: .3; }
.armada-hull.is-revealed { opacity: .6; outline: 2px dashed rgba(255, 255, 255, .55); outline-offset: 1px; box-shadow: none; }

/* The seas: letters along the top, numbers down the side, ten by ten. */
.armada-frame { --lab: 18px; display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); grid-template-rows: var(--lab) auto; width: 100%; max-width: 440px; margin: 0 auto; }
.armada-frame__cols { grid-area: 1 / 2; display: grid; grid-template-columns: repeat(10, 1fr); }
.armada-frame__rows { grid-area: 2 / 1; display: grid; grid-template-rows: repeat(10, 1fr); }
.armada-frame__cols span, .armada-frame__rows span { display: grid; place-items: center; color: var(--text-muted); font: 700 11px/1 var(--font-display); }
.armada-grid { --line: rgba(63, 224, 255, .17); grid-area: 2 / 2; position: relative; isolation: isolate; container-type: inline-size; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: repeat(10, minmax(0, 1fr)); aspect-ratio: 1; border-radius: 12px; overflow: hidden; touch-action: manipulation; -webkit-user-select: none; user-select: none;
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 10% 10%, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 10% 10%, radial-gradient(120% 90% at 30% 8%, #1D3678 0, #0F1C4A 55%, #0A1030 100%);
  box-shadow: inset 0 0 0 1px rgba(63, 224, 255, .3), 0 14px 34px -16px rgba(63, 224, 255, .5); }
.armada-grid--target { --line: rgba(255, 79, 168, .17); background-color: #170C3D; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 10% 10%, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 10% 10%, radial-gradient(120% 90% at 70% 8%, #301A6B 0, #1A0F45 55%, #0F0828 100%); box-shadow: inset 0 0 0 1px rgba(255, 79, 168, .32), 0 14px 34px -16px rgba(255, 79, 168, .5); }
.armada-cell { position: relative; z-index: 1; display: block; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; cursor: default; -webkit-tap-highlight-color: transparent; }
.armada-cell:focus-visible { z-index: 2; outline: 3px solid var(--rainbow-3); outline-offset: -3px; border-radius: 4px; }
.armada.is-placing .armada-grid--home .armada-cell { cursor: pointer; }
.armada-cell.is-sel { background: rgba(255, 255, 255, .07); }
.armada-grid.is-live .armada-cell[aria-disabled="false"] { cursor: crosshair; }
@media (hover: hover) { .armada-grid.is-live .armada-cell[aria-disabled="false"]:hover { background: rgba(63, 115, 221, 0.16); } }
/* A hit is a burning marker; a miss is a ring in the water. */
.armada-cell.is-hit::after { content: ""; position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle, #FFF7D6 0 20%, #FFD23F 21% 42%, #FF4D5E 43% 100%); box-shadow: 0 0 0 2px rgba(13, 10, 26, .7), 0 0 12px 2px rgba(255, 77, 94, .65); }
.armada-grid--target .armada-cell.is-hit { background: rgba(255, 77, 94, .16); }
/* On a sunk ship the fires are out: a charred mark with an ember in it, and smoke drifting up. */
.armada-cell.is-hit.is-sunk::after { background: radial-gradient(circle, #FF9A4D 0 13%, #8A3416 14% 27%, #2E2933 28% 100%); box-shadow: 0 0 0 2px rgba(0, 0, 0, .7), 0 0 9px 1px rgba(255, 112, 48, .3); }
.armada-grid--target .armada-cell.is-hit.is-sunk { background: rgba(6, 4, 12, .35); }
.armada-cell.is-hit.is-sunk::before { content: ""; position: absolute; left: 18%; bottom: 46%; width: 64%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(158, 152, 170, .5), rgba(158, 152, 170, 0) 68%); opacity: .45; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .armada-cell.is-hit.is-sunk::before { opacity: 0; animation: armada-smoke 3.6s ease-out infinite; }
  .armada-cell.is-hit.is-sunk:nth-child(3n + 1)::before { animation-delay: -1.2s; }
  .armada-cell.is-hit.is-sunk:nth-child(3n + 2)::before { animation-delay: -2.4s; }
}
@keyframes armada-smoke { 0% { transform: translateY(30%) scale(.55); opacity: 0; } 30% { opacity: .5; } 100% { transform: translateY(-85%) scale(1.45); opacity: 0; } }
.armada-cell.is-miss::after { content: ""; position: absolute; inset: 37%; border-radius: 50%; background: rgba(214, 236, 255, .6); box-shadow: 0 0 0 3px rgba(63, 224, 255, .18); }
.armada-cell.is-aim { background: rgba(255, 79, 168, .22); }
.armada-cell.is-aim::before { content: ""; position: absolute; inset: 8%; border: 2px solid #FF4FA8; border-radius: 50%; box-shadow: 0 0 10px rgba(255, 79, 168, .7); }
.armada-cell.is-aim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#FF4FA8, #FF4FA8) center / 2px 30% no-repeat, linear-gradient(#FF4FA8, #FF4FA8) center / 30% 2px no-repeat; }
/* The strike itself, drawn over the sea and gone once it lands. */
.armada-fx { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.armada-missile { position: absolute; width: 6%; height: 15%; transform: translate(-50%, -100%); border-radius: 50% 50% 45% 45% / 25% 25% 75% 75%; background: linear-gradient(180deg, rgba(255, 79, 168, 0), rgba(255, 79, 168, .55) 45%, #FFF 82%, #FFD23F 100%); filter: drop-shadow(0 0 6px rgba(255, 79, 168, .85)); }
.armada-ripple { position: absolute; width: 10%; aspect-ratio: 1; border: 2px solid #8BEFFF; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; }
.armada-ripple.is-hit { border-color: #FF4FA8; box-shadow: 0 0 14px rgba(255, 79, 168, .8); }
.armada-spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; }
/* A ship going down: fireballs rolling along it, a glow its whole length, smoke and wreckage (28 Oct 2026). */
.armada-blast { position: absolute; width: 24%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; background: radial-gradient(circle, #FFE2A0 0, #FFB347 18%, #FF6A3D 36%, rgba(214, 40, 70, .6) 54%, rgba(120, 30, 60, .25) 64%, rgba(120, 30, 60, 0) 72%); }
.armada-blaze { position: absolute; border-radius: 999px; opacity: 0; background: radial-gradient(closest-side, rgba(255, 160, 80, .6), rgba(255, 77, 94, .3) 70%, rgba(255, 77, 94, 0)); box-shadow: 0 0 30px 12px rgba(255, 106, 61, .45); }
.armada-shock { position: absolute; border: 3px solid rgba(255, 176, 96, .85); border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; box-shadow: 0 0 14px rgba(255, 106, 61, .6), inset 0 0 10px rgba(255, 106, 61, .4); }
.armada-puff { position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); opacity: 0; background: radial-gradient(circle, rgba(96, 90, 108, .9), rgba(58, 52, 68, .55) 45%, rgba(58, 52, 68, 0) 70%); }
.armada-ember { position: absolute; width: 6px; height: 6px; border-radius: 1px; transform: translate(-50%, -50%); opacity: 0; }

/* Around the seas: the tabs (phones), notes, deploying, and the Fire button. */
.armada { gap: 12px; }
.armada > * { margin: 0; }
.armada-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); }
.armada-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 44px; padding: 0 10px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--text-secondary); font: 650 14px/1.1 var(--font-body); white-space: nowrap; cursor: pointer; }
.armada-tab[aria-selected="true"] { background: var(--accent); color: #FFFFFF; }
.armada-tab:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.armada-n { display: inline-block; padding: 2px 8px; border-radius: var(--radius-pill); background: rgba(16, 24, 40, 0.075); font: 600 13px/1.3 var(--font-body); }
.armada-n strong { font-weight: 800; }
.armada-toast { display: grid; justify-items: center; gap: 2px; padding: 10px 14px; border-radius: 14px; background: linear-gradient(90deg, rgba(63, 115, 221, 0.14), rgba(63, 115, 221, 0.14)); border: 1px solid rgba(16, 24, 40, 0.09); text-align: center; }
.armada-toast strong { font: 700 15px/1.2 var(--font-display); letter-spacing: .06em; }
.armada-toast span { color: var(--text-secondary); font-size: 13px; }
.armada-wait { padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--text-secondary); font-size: 14px; text-align: center; }
.armada-setup { display: grid; gap: 12px; }
.armada-setup > * { margin: 0; }
.armada-setup__text { color: var(--text-secondary); font-size: 14px; }
.armada-tray { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.armada-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 12px 4px 10px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); color: var(--text); font: 600 13px/1.1 var(--font-body); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.armada-chip[aria-pressed="true"] { border-color: #FFFFFF; background: var(--surface-raised); box-shadow: 0 0 0 3px rgba(51, 54, 61, 0.07); }
.armada-chip:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.armada-chip .armada-hull { --u: 9px; }
.armada-setup__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.armada-seas { display: grid; gap: 16px; }
.armada-sea { display: grid; gap: 8px; min-width: 0; }
.armada-sea__title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; font-size: 16px; }
.armada-sea__n { color: var(--text-secondary); font: 600 13px/1 var(--font-body); }
.armada-fire { position: sticky; bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 10px - var(--vv-shift, 0px)); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 18px; background: #FFFFFF; border: 1px solid rgba(63, 115, 221, 0.4); box-shadow: 0 12px 30px -12px rgba(16, 24, 40, 0.18); }
.armada-fire__aim { margin: 0; min-width: 0; color: var(--text-secondary); font-size: 13px; font-weight: 650; }
.armada-fire__btn { flex: none; background: linear-gradient(135deg, var(--accent), var(--danger)); color: #FFFFFF; }
.armada-fire__btn:disabled { background: var(--surface-raised); color: var(--text-muted); }
@media (max-width: 759px) {
  .armada-seas.show-target .armada-sea--home, .armada-seas.show-home .armada-sea--target, .armada-seas.show-home ~ .armada-fire { display: none; }
  /* Room for as much of the sea as a phone can show: the way back, the title and who you're playing
     share one line (the back link keeps its words for screen readers). */
  .page--armada { padding-top: 12px; }
  .match--armada .mback { float: left; margin: 0 2px 0 -10px; }
  .match--armada .mback a { justify-content: center; width: 44px; height: 44px; font-size: 0; }
  .match--armada .mback .icon { width: 22px; height: 22px; }
  .match--armada .match__head { grid-template-columns: max-content minmax(0, 1fr); align-items: center; gap: 10px; min-height: 44px; margin-bottom: 10px; }
  .match--armada .match__title { flex-wrap: nowrap; font-size: 21px; white-space: nowrap; }
  .match--armada .match__title .icon { display: none; }
  .match--armada .match__players { grid-template-columns: minmax(0, max-content); justify-content: end; }
  .match--armada .mplayer--me, .match--armada .match__vs { display: none; }
  .match--armada .mplayer { padding: 4px 10px 4px 4px; font-size: 13px; }
  .match--armada .match__status { margin-bottom: 12px; padding: 8px 12px; }
  .armada-tab { min-height: 40px; }
  .armada-frame { --lab: 16px; }
  .armada-fire { padding: 6px 6px 6px 14px; }
  .armada.is-battle .armada-sea__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 760px) {
  .armada-tabs { display: none !important; }
  .armada.is-battle .armada-seas { grid-template-columns: 1fr 1fr; gap: 28px; }
  .armada.is-placing { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: repeat(4, auto) 1fr; column-gap: 28px; align-items: start; }
  .armada.is-placing > * { grid-column: 1; }
  .armada.is-placing > .armada-seas { grid-column: 2; grid-row: 1 / span 5; }
}
@media (min-width: 900px) { .armada-fire, .armada-lock { bottom: 12px; } }

/* The alert when their strike comes in, and the other big moments. */
.armada-alert { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: calc(64px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom)); background: #080612 radial-gradient(110% 80% at 50% 40%, #142456, #080612); color: var(--text); opacity: 0; transition: opacity .3s ease; overflow: hidden; }
.armada-alert.is-open { opacity: 1; }
.armada-alert__radar { position: absolute; left: 50%; top: 45%; width: min(150vw, 900px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: repeating-radial-gradient(circle, rgba(63, 224, 255, .1) 0 1px, transparent 1px 11%); }
.armada-alert__radar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(63, 224, 255, .3), rgba(63, 224, 255, 0) 24%, transparent); animation: armada-sweep 4s linear infinite; transition: background .6s ease; }
.armada-alert[data-step="alert"] .armada-alert__radar::after, .armada-alert[data-step="count"] .armada-alert__radar::after { background: conic-gradient(from 0deg, rgba(255, 77, 94, .32), rgba(255, 77, 94, 0) 24%, transparent); }
@keyframes armada-sweep { to { transform: rotate(360deg); } }
.armada-alert__skip { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; z-index: 1; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--radius-pill); background: rgba(255, 255, 255, .08); color: #fff; font: 650 14px/1 var(--font-body); cursor: pointer; }
.armada-alert__skip:focus-visible { outline: 2px solid rgba(255, 255, 255, .7); outline-offset: 2px; }
.armada-alert__panel { position: relative; display: grid; justify-items: center; gap: 12px; width: min(440px, 100%); text-align: center; }
.armada-alert__panel > * { margin: 0; }
.armada-alert__lamp { width: 64px; height: 16px; border-radius: 10px 10px 4px 4px; background: radial-gradient(60% 120% at 50% 100%, #FFB3BB 0, #FF4D5E 55%, #B3122A 100%); box-shadow: 0 0 22px 6px rgba(255, 77, 94, .5); animation: armada-glow 2.4s ease-in-out infinite alternate; }
.armada-alert[data-step="impact"] .armada-alert__lamp, .armada-alert[data-step="result"] .armada-alert__lamp { animation: none; background: radial-gradient(60% 120% at 50% 100%, #FFF3C4 0, #FFD23F 55%, #B98A00 100%); box-shadow: 0 0 22px 6px rgba(255, 210, 63, .45); }
.armada-alert[data-step="turn"] .armada-alert__lamp { animation: none; background: radial-gradient(60% 120% at 50% 100%, #C9FFE4 0, #36D98A 55%, #128A52 100%); box-shadow: 0 0 22px 6px rgba(54, 217, 138, .45); }
@keyframes armada-glow { from { opacity: .78; } to { opacity: 1; } }
.armada-alert__kicker { color: #8BEFFF; font: 700 12px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; }
.armada-alert__title { margin: 0; font: 700 clamp(30px, 8.5vw, 46px)/1.05 var(--font-display); letter-spacing: .03em; text-shadow: 0 0 22px rgba(255, 77, 94, .5); overflow-wrap: anywhere; }
.armada-alert[data-step="result"] .armada-alert__title { text-shadow: 0 0 22px rgba(255, 210, 63, .45); }
.armada-alert[data-step="turn"] .armada-alert__title { background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.armada-alert__line { color: var(--text-secondary); font-size: 16px; }
.armada-alert__line:empty, .armada-alert__count:empty, .armada-alert__sea:empty { display: none; }
.armada-alert__count { color: var(--rainbow-3); font: 700 100px/1 var(--font-display); text-shadow: 0 0 30px rgba(255, 210, 63, .5); }
.armada-alert__count.is-tick { animation: armada-tick .45s var(--ease); }
@keyframes armada-tick { from { transform: scale(1.3); opacity: .6; } to { transform: none; opacity: 1; } }
.armada-alert__sea { width: min(300px, 76vw); }
.armada-frame--mini { display: block; max-width: none; }

/* Pride Armada's Arcade page. */
.armada-lobby { display: grid; gap: var(--space-4); }
.armada-lobby > * { margin: 0; }
.armada-lobby > .mback { margin-bottom: calc(-1 * var(--space-2)); }
.armada-hero { position: relative; display: grid; justify-items: center; gap: 8px; padding: 24px 18px; border-radius: var(--radius-card); background: radial-gradient(120% 100% at 50% 0%, var(--accent) 0%, var(--surface-raised) 55%, #FFFFFF 100%); border: 1px solid rgba(30, 138, 90, 0.24); text-align: center; overflow: hidden; }
.armada-hero > * { margin: 0; }
.armada-hero__scope { width: 128px; margin-bottom: 4px; }
.armada-scope { display: block; width: 100%; height: auto; }
.armada-scope__sweep { transform-origin: 100px 100px; animation: armada-sweep 6s linear infinite; }
.armada-hero__kicker { color: var(--success-ink); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.armada-hero__title { font-size: clamp(32px, 8.01vw, 44px); background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.armada-hero__tag { font: 650 18px/1.25 var(--font-display); }
.armada-hero__text { max-width: 440px; color: var(--text-secondary); }
.armada-lobby .card { margin: 0; }
.armada-fleet__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.armada-fleet__ship { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 14px; }
.armada-fleet__hull { display: flex; align-items: center; }
.armada-fleet__hull .armada-hull { --u: 19px; }
.armada-fleet__name { display: grid; gap: 1px; min-width: 0; }
.armada-fleet__name span { color: var(--text-muted); font-size: 13px; }
.armada-orders { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: var(--text-secondary); }
.armada-orders strong { color: var(--text); }
/* Beat the bot on Pride Armada's page (Stuart, 16 Oct 2026), and the battle itself, which is laid
   out like a challenge's. */
.armada-bot, .armada-resume { display: grid; gap: var(--space-3); }
.armada-bot > *, .armada-resume > * { margin: 0; }
.armada-bot > .start-btn { margin-top: 7px; }
.armada-solo__score { display: flex; gap: 18px; margin: 0; color: var(--text-secondary); font-size: 13px; font-weight: 650; }
.armada-solo__score strong { margin-left: 4px; color: var(--text); font: 700 16px/1 var(--font-display); font-variant-numeric: tabular-nums; }
/* A line only when there's something to say, so the sea stays as high up the screen as it can. */
.armada-solo__nudge { margin: -4px 0 12px; }
.armada-solo__nudge:empty { display: none; }
.armada-over { margin: 0 0 var(--space-4); }
.armada-over .arcade-panel__inner { max-width: 460px; padding: 0; }
.armada-solo .match__actions { margin-top: var(--space-3); }
/* On a phone the fire bar, the tabs and the strike messages already say whose shot it is, so the
   status line is kept for screen readers only and the sea sits higher up. */
@media (max-width: 759px) {
  .armada-solo .match__status { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
/* On a wider screen the title and who's playing share a line, to keep both seas above the fire bar. */
@media (min-width: 760px) {
  .armada-solo .match__head { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  /* A second-level heading (the page's own is in the lobby above it), the size of a title. */
  .armada-solo .match__title { font-size: clamp(25px, 4.45vw, 36px); margin: 0; }
  .armada-solo .match__players { gap: 12px; }
}
/* The bot's shot scrolls into view if it lands off screen, clear of the header and the tab bar. */
.armada-solo .armada-grid--home .armada-cell { scroll-margin: 90px 0 calc(var(--nav-height) + env(safe-area-inset-bottom) + 24px); }
@media (prefers-reduced-motion: reduce) {
  .armada-alert, .armada-alert__radar::after { transition: none; }
  .armada-alert__radar::after, .armada-scope__sweep, .armada-alert__lamp, .armada-alert__count.is-tick { animation: none; }
}

/* ===== The visitor homepage, OMGay!'s sister (Stuart, 26 Oct 2026: "the same buzz and energy") ===== */
.page--landing { max-width: 1120px; }
.page--landing > .card, .land-insta > .card { max-width: 640px; margin-left: auto; margin-right: auto; }
.kicker { margin: 0 0 var(--space-2); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--format-mini); }
.rainbow-text { background: linear-gradient(90deg, var(--rainbow-1), var(--rainbow-2), var(--rainbow-3), var(--rainbow-4), var(--rainbow-5), var(--rainbow-6)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.land-link { margin: var(--space-3) 0 0; }
.land-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 700; text-decoration: none; }
@media (hover: hover) { .land-link a:hover { text-decoration: underline; } }
.land-link .icon { width: 18px; height: 18px; }
.land-lead { font-size: 16px; margin: 0; }

/* Hero */
.land-hero { position: relative; padding: var(--space-4) 0 var(--space-5); text-align: center; }
.land-hero::before { content: ""; position: absolute; inset: -40px -16px auto; height: 460px; z-index: -1; background: radial-gradient(60% 70% at 50% 30%, rgba(63, 115, 221, 0.38), transparent 70%), radial-gradient(40% 50% at 18% 62%, rgba(63, 115, 221, 0.22), transparent 70%), radial-gradient(40% 50% at 82% 62%, rgba(63, 115, 221, 0.18), transparent 70%); pointer-events: none; }
/* "7 quizzes open right now" is a solid lemon sticker with a rose number tile, not a pale pill with a status dot
   (Stuart, 13 Nov 2026: the old one "gives AI"). Nothing on it moves or blinks. */
.land-hero__live { display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--space-4); padding: 6px 14px 6px 6px; border-radius: var(--radius-pill); border: 2px solid var(--pop-lemon-edge); background: var(--pop-lemon); box-shadow: 0 4px 0 var(--pop-lemon-edge); color: var(--pop-lemon-ink); font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.1; text-decoration: none; transform: rotate(-2deg); }
.land-hero__count { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; box-sizing: border-box; border-radius: 999px; background: var(--pop-rose); border: 2px solid var(--pop-rose-edge); color: var(--pop-rose-ink); font-size: 19px; font-weight: 700; }
.land-hero__live strong { font-weight: 700; }
.land-hero__live .icon { width: 20px; height: 20px; stroke-width: 2.6; }
@media (hover: hover) { .land-hero__live:hover { background: var(--pop-lemon-edge); } }
.land-hero__title { margin: 0 auto var(--space-3); max-width: 12ch; font-size: clamp(43px, 11.57vw, 82px); line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.land-hero__lede { margin: 0 auto var(--space-5); max-width: 36ch; font-size: clamp(16px, 4.09vw, 19px); line-height: 1.5; color: var(--text-secondary); }
.land-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
.land-hero__actions .btn { min-width: 240px; gap: 10px; }
.land-hero__actions .btn .icon, .land-final .btn .icon, .taster__end .btn .icon { width: 22px; height: 22px; }
.land-hero__note { margin: var(--space-3) 0 0; font-size: 14px; color: var(--text-muted); }
.land-hero__note a { color: var(--text); font-weight: 600; }
.land-hero__promise { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-4); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
/* Green ticks, as on the old homepage (Stuart, 26 Oct 2026: he preferred them to emoji). */
.land-hero__promise li { display: inline-flex; align-items: center; gap: 8px; padding: 0 var(--space-2); color: var(--text); font-family: var(--font-display); font-size: 20px; font-weight: 650; }
.land-hero__promise .icon { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: rgba(30, 138, 90, 0.16); box-sizing: content-box; stroke: var(--success); stroke-width: 3; }
/* On phones the two buttons stack, with room round them rather than running edge to edge (Stuart, 26 Oct 2026). */
@media (max-width: 560px) {
  .land-hero__actions { flex-direction: column; align-items: center; gap: 12px; padding: 0 var(--space-3); }
  .land-hero__actions .btn { width: 100%; max-width: 320px; min-width: 0; }
  .land-hero__promise { gap: var(--space-2) var(--space-3); }
  .land-hero__promise li { padding: 0; gap: 6px; font-size: 16px; }
  .land-hero__promise .icon { width: 18px; height: 18px; }
}

/* Sections */
.land-section { padding: var(--space-6) 0; }
.land-section h2 { margin: 0 0 var(--space-3); max-width: 20ch; font-size: clamp(27px, 6.59vw, 41px); line-height: 1.08; text-wrap: balance; }
.land-section .secondary { font-size: 16px; }
.land-split { display: grid; gap: var(--space-4); align-items: center; }
.land-split__text .secondary { max-width: 38ch; }
@media (min-width: 900px) {
  .land-split { grid-template-columns: 5fr 6fr; gap: var(--space-6); }
  .land-split--flip .land-split__text { order: 2; }
}

/* Have a go: a three-question taster */
.taster { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 900px) { .taster { grid-template-columns: 5fr 6fr; gap: var(--space-6); } }
.taster__card { position: relative; padding: var(--space-4); border-radius: 28px; border: 1.5px solid rgba(16, 24, 40, 0.09); background: radial-gradient(120% 80% at 100% 0%, rgba(63, 115, 221, 0.28), transparent 60%), linear-gradient(180deg, #FFFFFF, var(--bg)); box-shadow: 0 30px 80px -30px rgba(63, 115, 221, 0.6); }
.taster__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-3); }
.taster__score { font-size: 13px; font-weight: 700; color: var(--text-secondary); }
.taster__pips { display: flex; gap: 6px; }
.taster__pips i { width: 26px; height: 8px; border-radius: 99px; background: rgba(16, 24, 40, 0.09); transition: background .3s; }
.taster__pips i.is-right { background: var(--success); }
.taster__pips i.is-wrong { background: var(--danger); }
.taster__q { --qc: var(--format-gk); }
.taster__q--mini { --qc: var(--format-mini); }
.taster__q--sound { --qc: var(--format-sound); }
.taster__tag { display: inline-block; margin: 0 0 var(--space-2); padding: 4px 10px; border-radius: 99px; background: color-mix(in srgb, var(--qc) 20%, transparent); color: color-mix(in srgb, var(--qc) 60%, var(--text)); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.taster__prompt { margin: 0 0 var(--space-3); font: 600 clamp(21px, 5.4vw, 26px)/1.25 var(--font-display); text-wrap: balance; }
.taster__answers { display: grid; gap: 10px; }
@media (min-width: 520px) { .taster__answers { grid-template-columns: 1fr 1fr; } }
.taster__answer { min-height: var(--tap-min); padding: 12px 16px; border-radius: 16px; border: 1.5px solid rgba(16, 24, 40, 0.09); background: var(--surface-raised); color: var(--text); font: 600 15px var(--font-body); text-align: left; cursor: pointer; transition: transform .15s var(--ease), border-color .2s, background .2s; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .taster__answer:hover:not(:disabled) { border-color: var(--qc); } }
.taster__answer:active:not(:disabled) { transform: scale(.98); }
.taster__answer:disabled { cursor: default; }
.taster__answer.is-right { border-color: var(--success); background: rgba(30, 138, 90, 0.18); }
.taster__answer.is-right::after { content: " ✓"; color: var(--success); font-weight: 800; }
.taster__answer.is-wrong { border-color: var(--danger); background: rgba(211, 63, 73, 0.14); }
.taster__answer.is-wrong::after { content: " ✗"; color: var(--danger); font-weight: 800; }
.taster__answer.is-faded { opacity: .45; }
.taster__line { min-height: 1.5em; margin: var(--space-3) 0 0; font-weight: 650; color: var(--text-secondary); }
.taster__line.is-big { font: 600 20px/1.3 var(--font-display); color: var(--text); }
.taster__end { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.taster__end .btn { gap: 10px; }
.taster__again { padding: 10px; border: 0; background: none; color: var(--text-secondary); font: 600 14px var(--font-body); text-decoration: underline; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .taster__q.is-in { animation: land-in .4s var(--ease) both; }
  .taster__answer.is-right { animation: land-pop .35s var(--ease); }
}
@keyframes land-pop { 50% { transform: scale(1.04); } }

/* Have a nosy: you climbing the board */
.peek { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 900px) { .peek { grid-template-columns: 1fr 1fr; } }
.peek__text .secondary { max-width: 38ch; }
.peek__phone { --row: 52px; display: grid; gap: 12px; max-width: 420px; width: 100%; margin: 0 auto; padding: 16px 14px 20px; border-radius: 34px; border: 1.5px solid rgba(16, 24, 40, 0.09); background: linear-gradient(180deg, #FFFFFF, var(--bg)); box-shadow: 0 30px 80px -30px rgba(63, 115, 221, 0.5); overflow: hidden; }
.peek__bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 12px; border-bottom: 1px solid var(--border); }
.peek__room { font: 600 16px var(--font-display); }
.peek__count { font-size: 13px; color: var(--text-muted); }
.peek__board { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.peek__row { position: relative; display: flex; align-items: center; gap: 10px; height: calc(var(--row) - 6px); padding: 0 12px; border-radius: 14px; background: var(--surface-raised); font-size: 14px; }
.peek__row b { font-weight: 650; }
.peek__pos { width: 18px; color: var(--text-muted); font-weight: 800; text-align: center; }
.peek__row:nth-child(1) .peek__pos { color: var(--gold-ink); }
.peek__row:nth-child(2) .peek__pos { color: var(--text-secondary); }
.peek__pts { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.peek__av { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; font: 700 13px var(--font-body); font-style: normal; color: var(--text); }
.peek__av--0 { background: linear-gradient(135deg, var(--rainbow-1), var(--rainbow-3), var(--rainbow-5)); }
.peek__av--1 { background: var(--rainbow-1); }
.peek__av--3 { background: var(--rainbow-5); }
.peek__av--4 { background: var(--rainbow-6); }
.peek__av--5 { background: var(--rainbow-2); }
.peek__av--6 { background: var(--rainbow-4); }
.peek__row--you { z-index: 1; background: rgba(63, 115, 221, 0.16); box-shadow: inset 0 0 0 1.5px var(--format-mini), 0 10px 30px -10px rgba(63, 115, 221, 0.7); }
.peek__up { padding: 2px 8px; border-radius: 99px; background: rgba(30, 138, 90, 0.18); color: var(--success); font-size: 12px; font-weight: 800; }
.peek__toast { justify-self: center; margin: 4px 0 0; padding: 8px 16px; border-radius: 99px; background: var(--surface-raised); border: 1px solid var(--border); font-weight: 700; font-size: 13px; }
@media (prefers-reduced-motion: no-preference) {
  /* You start in 6th; everyone from 2nd down shuffles along as you climb to 2nd. */
  .peek__phone.is-waiting .peek__row:nth-child(n+3) { transform: translateY(calc(-1 * var(--row))); }
  .peek__phone.is-waiting .peek__row--you { transform: translateY(calc(4 * var(--row))); }
  .peek__phone.is-waiting .peek__up, .peek__phone.is-waiting .peek__toast { opacity: 0; }
  .peek__phone.is-playing .peek__row { animation: peek-shuffle .9s var(--ease) .8s both; }
  .peek__phone.is-playing .peek__row--you { animation: peek-climb .9s var(--ease) .8s both; }
  .peek__phone.is-playing .peek__row:nth-child(1) { animation: none; }
  .peek__phone.is-playing .peek__up { animation: land-in .4s var(--ease) 1.8s both; }
  .peek__phone.is-playing .peek__toast { animation: land-in .5s var(--ease) 2.2s both; }
}
@keyframes peek-shuffle { from { transform: translateY(calc(-1 * var(--row))); } to { transform: none; } }
@keyframes peek-climb { from { transform: translateY(calc(4 * var(--row))); } 60% { transform: translateY(-4px) scale(1.03); } to { transform: none; } }
@keyframes land-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* The Arcade, as colourful cards: art, name and a play button */
.land-arcade { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.land-arcade__game { --gc: var(--rainbow-6); position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; padding: var(--space-4) 10px var(--space-3); border-radius: 22px; border: 1px solid color-mix(in srgb, var(--gc) 32%, transparent); background: radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--gc) 24%, transparent), transparent 60%), var(--surface); color: var(--text); text-align: center; text-decoration: none; transition: transform .2s var(--ease), border-color .2s; }
@media (hover: hover) { .land-arcade__game:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--gc) 60%, transparent); } }
.land-arcade__game--1 { --gc: var(--rainbow-1); }
.land-arcade__game--2 { --gc: var(--rainbow-2); }
.land-arcade__game--3 { --gc: var(--rainbow-3); }
.land-arcade__game--4 { --gc: var(--rainbow-4); }
.land-arcade__game--5 { --gc: var(--rainbow-5); }
.land-arcade__game--6 { --gc: var(--rainbow-6); }
.land-arcade__art { width: 84px; height: 84px; padding: 8px; border-radius: 22px; background: rgba(255, 255, 255, 0.65); box-shadow: inset 0 0 0 1px rgba(51, 54, 61, 0.03); }
.land-arcade__art svg { display: block; width: 100%; height: 100%; }
.land-arcade__game strong { font: 600 16px/1.2 var(--font-display); }
.land-arcade__play { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--success); box-shadow: 0 6px 16px -6px rgba(30, 138, 90, 0.8); }
.land-arcade__play svg { width: 18px; height: 18px; fill: #0D0A1A; }
@media (min-width: 720px) { .land-arcade { grid-template-columns: repeat(4, 1fr); gap: var(--space-3); } .land-arcade__art { width: 104px; height: 104px; } }

/* Three steps */
.how { display: grid; gap: var(--space-3); margin: var(--space-4) 0 0; padding: 0; list-style: none; }
.how__step { padding: var(--space-4); border-radius: 24px; border: 1px solid var(--border); background: var(--surface); }
.how__num { display: block; margin-bottom: var(--space-2); font: 700 50px/1 var(--font-display); }
.how__step:nth-child(1) .how__num { color: var(--rose-ink); }
.how__step:nth-child(2) .how__num { color: var(--gold-ink); }
.how__step:nth-child(3) .how__num { color: var(--sky-ink); }
.how__step h3 { margin: 0 0 var(--space-1); font: 600 21px var(--font-display); }
.how__step p { margin: 0; color: var(--text-secondary); }
@media (min-width: 820px) { .how { grid-template-columns: repeat(3, 1fr); } }

/* The pub quiz vs Gaymes */
.vs { display: grid; gap: 8px; margin-top: var(--space-4); }
.vs__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vs__row > span { display: flex; gap: 8px; align-items: flex-start; padding: 14px; border-radius: 16px; font-size: 14px; line-height: 1.35; }
.vs__row--head > span { padding: 0 4px; font: 600 14px var(--font-display); color: var(--text-muted); }
.vs__row--head > span:last-child { color: var(--format-mini); }
.vs__no { background: rgba(16, 24, 40, 0.023); color: var(--text-muted); }
.vs__no::before { content: "✗"; flex: none; color: var(--danger); font-weight: 800; }
.vs__yes { background: rgba(63, 115, 221, 0.1); border: 1px solid rgba(63, 115, 221, 0.3); color: var(--text); font-weight: 600; }
.vs__yes::before { content: "✓"; flex: none; color: var(--success); font-weight: 800; }
@media (min-width: 720px) { .vs__row > span { padding: 18px 20px; font-size: 16px; } }

/* The real board, with the community's numbers */
.land-board { margin: 0; }
.land-stats { display: grid; grid-template-columns: repeat(2, max-content); gap: var(--space-4) var(--space-5); margin: var(--space-4) 0 0; }
.land-stats div { display: grid; gap: 2px; }
.land-stats dt { order: 2; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.land-stats dd { margin: 0; font: 700 39px/1 var(--font-display); }
.land-stats div:nth-child(1) dd { color: var(--rose-ink); }
.land-stats div:nth-child(2) dd { color: var(--gold-ink); }
.land-stats div:nth-child(3) dd { color: var(--mint-ink); }
.land-stats div:nth-child(4) dd { color: var(--sky-ink); }

/* Mission */
.mission { text-align: center; }
.mission__art { display: block; width: min(300px, 70vw); height: auto; margin: 0 auto var(--space-3); -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.mission h2 { max-width: 18ch; margin-left: auto; margin-right: auto; font-size: clamp(28px, 7.12vw, 48px); }
.mission > p:not(.kicker) { max-width: 40ch; margin: 0 auto var(--space-4); font-size: 17px; color: var(--text-secondary); }
.mission__promises { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.mission__promises li { padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid rgba(16, 24, 40, 0.09); background: var(--surface); font-weight: 600; }

.land-insta { padding: var(--space-4) 0; }
.land-final { margin: var(--space-5) 0 var(--space-6); padding: var(--space-6) var(--space-4); border-radius: 32px; text-align: center; background: radial-gradient(80% 120% at 50% 0%, rgba(63, 115, 221, 0.5), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(63, 115, 221, 0.28), transparent 70%), var(--surface); border: 1px solid rgba(63, 115, 221, 0.35); }
.land-final__emoji { margin: 0; font-size: 50px; line-height: 1; }
.land-final h2 { margin: var(--space-3) auto var(--space-4); max-width: 16ch; font-size: clamp(28px, 7.12vw, 46px); line-height: 1.08; text-wrap: balance; }
.land-final .btn { min-width: min(100%, 300px); gap: 10px; }

/* ---------- The OMGay! tease on Home (Stuart, 28 Oct 2026: "Make it fun, creative and exciting") ---------- */
.omgay-tease { position: relative; display: flex; align-items: center; gap: var(--space-4); overflow: hidden; padding: var(--space-5) var(--space-4); color: #FFFFFF;
  border: 1px solid rgba(63, 115, 221, 0.35); box-shadow: 0 12px 32px rgba(16, 24, 40, 0.18);
  background: radial-gradient(120% 90% at 0% 0%, rgba(63, 115, 221, 0.32), transparent 55%), radial-gradient(110% 100% at 100% 100%, rgba(63, 115, 221, 0.38), transparent 60%), linear-gradient(150deg, #FFFFFF, var(--bg) 55%, #FFFFFF); }
/* A corner ribbon at 45 degrees with a fixed width, so the words sit in the middle of the corner whatever the font
   (Stuart, 2 Nov 2026: at 35 degrees on his iPhone the C of COMING was cut off by the card's top edge). */
.omgay-tease__ribbon { position: absolute; top: 34px; right: -39px; z-index: 1; box-sizing: border-box; width: 170px; padding: 5px 0; transform: rotate(45deg); background: linear-gradient(90deg, var(--accent), var(--accent)); color: #FFFFFF; font: 800 11px/1.3 var(--font-body); letter-spacing: .06em; text-align: center; text-transform: uppercase; white-space: nowrap; box-shadow: 0 2px 8px rgba(16, 24, 40, 0.16); pointer-events: none; }
.omgay-tease__art { position: relative; flex: none; display: grid; place-items: center; width: 100px; height: 100px; }
.omgay-tease__roundel { display: block; width: 84px; height: 84px; border-radius: 50%; transform: rotate(-8deg); box-shadow: 0 0 0 3px rgba(51, 54, 61, 0.06), 0 8px 24px rgba(63, 115, 221, 0.35); }
.omgay-tease__bubble { position: absolute; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50% 50% 50% 6px; background: #FFFFFF; font-size: 16px; line-height: 1; box-shadow: 0 4px 10px rgba(16, 24, 40, 0.14); }
.omgay-tease__bubble--1 { top: -4px; left: -6px; }
.omgay-tease__bubble--2 { top: 0; right: -8px; border-radius: 50% 50% 6px 50%; }
.omgay-tease__bubble--3 { bottom: -4px; right: 2px; border-radius: 6px 50% 50% 50%; }
/* The bubbles bob gently, never flash, and sit still for anyone who'd rather. */
@media (prefers-reduced-motion: no-preference) {
  .omgay-tease__bubble { animation: omgay-bob 3.6s ease-in-out 3; }
  .omgay-tease__bubble--2 { animation-delay: -1.2s; }
  .omgay-tease__bubble--3 { animation-delay: -2.4s; }
}
@keyframes omgay-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.omgay-tease__text { min-width: 0; display: grid; justify-items: start; gap: var(--space-2); }
.omgay-tease__kicker { margin: 0; padding-right: 64px; color: var(--accent-ink); font: 800 12px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.omgay-tease__title { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--text); font: 700 22px/1.15 var(--font-display); }
.omgay-tease__title picture { display: flex; }
.omgay-tease__wordmark { display: block; width: auto; height: 36px; }
.omgay-tease__line { margin: 0; color: rgba(51, 54, 61, 0.88); }
.omgay-tease__perk { margin: 0; padding: 8px 12px; border-radius: 14px; background: rgba(16, 24, 40, 0.075); border: 1px solid rgba(16, 24, 40, 0.12); color: var(--text); font-size: 14px; font-weight: 600; }
/* OMGay! open on iPhone (5 Nov 2026): the player's invite code, the App Store badge and the small print. */
.omgay-tease__invite { display: grid; gap: 8px; width: 100%; box-sizing: border-box; font-weight: 500; }
.omgay-tease__invite p { margin: 0; }
.omgay-tease__invite-head { font-weight: 600; }
.omgay-tease__code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.omgay-tease__code span { padding: 6px 12px; border-radius: 10px; border: 1px dashed rgba(63, 115, 221, 0.7); background: var(--surface-raised); font: 800 20px/1.2 var(--font-display); letter-spacing: .08em; user-select: all; -webkit-user-select: all; }
.omgay-tease__steps { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; color: rgba(51, 54, 61, 0.9); font-size: 14px; }
.omgay-tease__store { display: inline-flex; margin-top: var(--space-1); border-radius: 10px; }
.omgay-tease__store img { display: block; width: 150px; height: 50px; }
.omgay-tease__more { color: var(--accent-ink); font-weight: 700; font-size: 14px; }
/* Website first (8 Nov 2026): the App Store badge sits under the button, for anyone who'd rather have the app. */
.omgay-tease__app { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: rgba(51, 54, 61, 0.8); font-size: 14px; font-weight: 600; }
.omgay-tease__app .omgay-tease__store { margin-top: 0; }
.omgay-tease__small { display: grid; gap: 4px; color: rgba(51, 54, 61, 0.7); font-size: 13px; }
.omgay-tease__small p { margin: 0; }
.omgay-tease .omgay-tease__cta { margin-top: var(--space-1); gap: 8px; border: 0; background: linear-gradient(90deg, var(--accent), var(--accent)); color: #FFFFFF; }
@media (hover: hover) { .omgay-tease .omgay-tease__cta:hover { background: linear-gradient(90deg, var(--accent), var(--accent)); } }
@media (max-width: 599px) {
  .omgay-tease { flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: var(--space-4); }
  .omgay-tease__art { width: 84px; height: 84px; }
  .omgay-tease__roundel { width: 70px; height: 70px; }
  .omgay-tease__bubble { width: 28px; height: 28px; font-size: 14px; }
  .omgay-tease__kicker { padding-right: 0; }
  .omgay-tease .omgay-tease__cta { width: 100%; }
}

/* ---------- App Store and Google Play badges, as on OMGay! (Stuart, 28 Oct 2026) ---------- */
.store-badges { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 12px; }
.store-badge { position: relative; display: block; }
.store-badge a, .store-badge__off { display: block; border-radius: 9px; }
.store-badge img { display: block; width: auto; height: 52px; }
.store-badges--small .store-badge img { height: 42px; }
.store-badge a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.store-badge--soon .store-badge__off { opacity: .45; filter: grayscale(.6); }
/* A little tag across the top corner, never over the badge's words. */
.store-badge__ribbon { position: absolute; top: -9px; right: -8px; padding: 3px 9px; border-radius: 999px; color: #FFFFFF; font-size: 11px; font-weight: 800; letter-spacing: .02em; line-height: 1.3; white-space: nowrap;
  background: linear-gradient(90deg, var(--accent), var(--accent)); box-shadow: 0 2px 8px rgba(16, 24, 40, 0.18); transform: rotate(4deg); }
.store-badges--small .store-badge__ribbon { top: -8px; padding: 2px 8px; font-size: 10px; }
.site-footer__apps { display: grid; justify-items: start; gap: 4px; }
.site-footer__apps .store-badges { justify-content: flex-start; margin-top: 8px; }
.site-footer__apps-title { margin: 0; color: var(--text); font-weight: 700; }
.land-hero__apps .store-badges { margin-top: var(--space-4); }
.welcome-apps .store-badges { justify-content: flex-start; }
/* Never inside the apps. */
html.is-app .site-footer__apps, html.is-app .land-hero__apps, html.is-app .welcome-apps { display: none; }
/* Steps for the phone's own Settings: Android's in the Android app (29 Oct 2026), the iPhone's everywhere else. */
html:not(.app-android) [data-only-app="android"], html.app-android [data-only-app="ios"] { display: none; }

/* ---------- Results Day (Stuart, 29 Oct 2026) ----------
   Sealed boards while a quiz is open, then the podium, awards and places when it closes. Movement is gentle and
   one-off, nothing flashes, and reduced motion just shows everything. No coloured stripe down any card's side. */
.rd-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: var(--space-4) 2px 10px; color: var(--text-muted); font: 700 12px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.rd-label span { color: var(--text-secondary); font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.rd-kicker { margin: 0 0 2px; color: var(--fc, var(--text-muted)); font: 700 11.5px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.rd-kicker--seal, .rd-kicker--you { --fc: var(--accent); }
:where(.rd-look) { --fc: var(--format-gk); position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--fc) 35%, var(--border)); background: radial-gradient(90% 130% at 100% 0%, color-mix(in srgb, var(--fc) 26%, transparent), transparent 62%), var(--surface); }
.rd-stretch { color: var(--text); text-decoration: none; }
.rd-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.rd-look:has(.rd-stretch:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.rd-stretch:focus-visible { outline: none; }
@media (hover: hover) { .rd-look:has(.rd-stretch):hover { border-color: color-mix(in srgb, var(--fc) 60%, var(--border)); } }
/* A scene look (Geography, Disney and the rest) on a results-day card. The scene sits in the top corner and fades
   out, and the words start below it on a phone or beside it on a computer, so nothing is written across the picture.
   Rows keep it down the right-hand side, as the quiz lists do. */
.rd-look > .season-deco--scene { inset: 0 0 auto auto; width: min(66%, 320px); aspect-ratio: 12 / 5; background-size: 100% auto; background-position: right top; -webkit-mask-image: linear-gradient(#000 45%, transparent 92%); mask-image: linear-gradient(#000 45%, transparent 92%); }
.rd-look:has(> .season-deco--scene) :is(.rd-kicker, .hm-top__title, .rd-hero__title, .rd-latest__title, .rd-past__title, .rd-place) { text-shadow: 0 1px 3px rgba(16, 24, 40, 0.18), 0 0 14px rgba(16, 24, 40, 0.18); }
@media (max-width: 599.98px) { :is(.hm-top, .rd-hero, .rd-latest):has(> .season-deco--scene) { padding-top: calc(min(66%, 320px) * .36); } }
@media (min-width: 600px) {
  .rd-look > .season-deco--scene { width: min(44%, 300px); }
  .hm-top:has(> .season-deco--scene) > :is(div, .hm-top__text), .rd-hero:has(> .season-deco--scene) > :is(.rd-kicker, .rd-hero__title, .rd-hero__sub), .rd-latest:has(> .season-deco--scene) > .rd-latest__head { margin-right: min(44%, 300px); }
  .hm-top:has(> .season-deco--scene) .rd-envelope--home { display: none; }
}
.rd-past__row > .season-deco--scene { inset: 0 0 0 auto; width: 52%; aspect-ratio: auto; background-size: cover; background-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .3) 30%, #000 62%); mask-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .3) 30%, #000 62%); }
@media (min-width: 600px) { .rd-past__row > .season-deco--scene { width: 300px; background-size: auto 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 90%, transparent); } }
.rd-past__row:has(> .season-deco--scene) .rd-place { padding: 6px 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.72); box-shadow: 0 0 0 3px rgba(16, 24, 40, 0.12); }

/* Faces: a player's photo, or their initial on their colour (the same colours as comments). */
.rd-face { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; overflow: hidden; border-radius: 50%; background: var(--c, var(--accent)); color: #1A1030; font: 700 13px/1 var(--font-display); }
.rd-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rd-face--1 { --c: var(--danger); } .rd-face--2 { --c: var(--orange); } .rd-face--3 { --c: #FFE07A; }
.rd-face--4 { --c: var(--success); } .rd-face--5 { --c: var(--accent); } .rd-face--6 { --c: var(--accent); }
.rd-face--tiny { width: 22px; height: 22px; font-size: 10px; }
.rd-face--medium { width: 40px; height: 40px; font-size: 16px; }
.rd-face--podium { width: 52px; height: 52px; font-size: 20px; box-shadow: 0 0 0 3px rgba(16, 24, 40, 0.14); }
.rd-face--champ { width: 52px; height: 52px; margin-top: 8px; font-size: 20px; box-shadow: 0 0 0 2px var(--gold); }
.rd-face--q { width: 52px; height: 52px; margin-top: 8px; background: rgba(16, 24, 40, 0.045); color: var(--text-muted); box-shadow: 0 0 0 2px rgba(51, 54, 61, 0.1); font-size: 20px; }

.rd-chip { gap: 5px; height: 26px; padding: 0 10px; font-size: 12px; white-space: nowrap; }
.rd-chip .icon { width: 13px; height: 13px; }
.rd-chip--sealed { background: rgba(63, 115, 221, 0.16); border-color: rgba(63, 115, 221, 0.45); color: var(--accent-ink); }
.rd-chip--go, .rd-chip--up { background: rgba(30, 138, 90, 0.14); border-color: rgba(30, 138, 90, 0.4); color: var(--success); }
.rd-chip--gold { background: rgba(255, 210, 63, 0.16); border-color: rgba(255, 210, 63, 0.45); color: var(--gold-ink); }
.rd-tile { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--fc, var(--format-gk)) 14%, #FFFFFF); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc, var(--format-gk)) 50%, transparent); color: var(--fc, var(--format-gk)); }
.rd-tile .icon { width: 20px; height: 20px; }
.rd-bar { display: block; width: 100%; height: 10px; overflow: hidden; border-radius: 5px; background: rgba(16, 24, 40, 0.075); }
.rd-bar__fill { fill: var(--peach-ink); }
.rd-envelope { display: block; flex: none; width: 56px; height: 44px; }
.rd-envelope--big { width: 72px; height: 56px; }
.rd-trophy { display: block; flex: none; width: 52px; height: 52px; }
.rd-trophy--pill { width: 20px; height: 20px; }
.rd-trophy--hero { width: 64px; height: 64px; }
.rd-ribbon { display: block; width: 34px; height: 40px; }

/* The Results tab */
.rd-head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.rd-head h1 { margin: 0; }
.rd-hof-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: auto; padding: 0 16px 0 12px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 210, 63, 0.45); background: rgba(255, 210, 63, 0.1); color: var(--gold-ink); font: 650 14px/1 var(--font-display); letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
@media (hover: hover) { .rd-hof-pill:hover { background: rgba(255, 210, 63, 0.16); } }
.rd-seal { display: grid; gap: 14px; padding: var(--space-3); border-radius: 22px; border: 1px solid rgba(63, 115, 221, 0.45); background: radial-gradient(90% 130% at 100% 0%, rgba(63, 115, 221, 0.26), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(63, 115, 221, 0.14), transparent 70%), var(--surface); }
.rd-seal__top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.rd-seal__title { margin: 0; font: 700 21px/1.15 var(--font-display); }
.rd-seal__text { margin: 2px 0 0; color: var(--text-secondary); font-size: 13.5px; }
.rd-countdown, .rd-countdown.countdown--final { margin: 0; padding: 0; border: 0; background: none; }
.rd-countdown .countdown__unit strong { font-size: 24px; }
.rd-countdown .countdown__when { margin-top: 6px; }
.rd-open { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rd-open__row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 60px; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-raised); color: var(--text); text-decoration: none; }
@media (hover: hover) { .rd-open__row:hover { background: rgba(16, 24, 40, 0.038); } }
.rd-open__text { display: grid; gap: 2px; min-width: 0; }
.rd-open__text strong { overflow: hidden; font: 600 15px/1.2 var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.rd-open__text small { color: var(--text-muted); font-size: 12.5px; }
.rd-latest { display: grid; gap: 14px; padding: var(--space-3); }
.rd-latest__head { position: relative; }
.rd-latest__title { margin: 0; font: 700 22px/1.15 var(--font-display); text-wrap: balance; }
.rd-latest__meta { margin: 2px 0 0; color: var(--text-secondary); font-size: 13px; }
.rd-mini-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; margin: 10px 0 0; padding: 0; list-style: none; }
.rd-mini-podium__step { position: relative; display: grid; justify-items: center; gap: 5px; min-width: 0; }
.rd-mini-podium__step--2 { order: 1; } .rd-mini-podium__step--1 { order: 2; } .rd-mini-podium__step--3 { order: 3; }
.rd-mini-podium__name { max-width: 100%; overflow: hidden; font-size: 12.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.rd-mini-podium__block { display: grid; place-items: center; width: 100%; border-radius: 10px 10px 0 0; color: #1A1030; font: 700 17px/1 var(--font-display); }
.rd-mini-podium__step--1 .rd-mini-podium__block { height: 50px; background: var(--gold); }
.rd-mini-podium__step--2 .rd-mini-podium__block { height: 36px; background: #FFFFFF; }
.rd-mini-podium__step--3 .rd-mini-podium__block { height: 26px; background: var(--orange); }
.rd-mini-podium__crown { position: absolute; top: -16px; left: calc(50% - 32px); z-index: 1; transform: rotate(-18deg); }
.rd-mini-podium__crown svg { display: block; width: 30px; height: 24px; }
.rd-youline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--surface-raised); font-size: 14px; }
.rd-youline b { font: 700 17px/1.1 var(--font-display); }
.rd-youline__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rd-youline--missed { color: var(--text-secondary); }
.rd-past { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rd-past__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 12px 14px; border-radius: 18px; }
.rd-past__kicker { grid-column: 1 / -1; }
.rd-past__main { min-width: 0; }
.rd-past__title { margin: 0 0 6px; overflow: hidden; font: 600 16px/1.2 var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.rd-past__line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; }
.rd-past__winner { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; color: var(--text-secondary); font-size: 12.5px; }
.rd-past__crown svg { display: block; width: 18px; height: 15px; }
.rd-past__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-place { display: grid; justify-items: center; min-width: 58px; margin: 0; text-align: center; }
.rd-place b { font: 700 22px/1 var(--font-display); }
.rd-place sup { font-size: 11px; }
.rd-place span { color: var(--text-muted); font-size: 11px; font-weight: 600; }
.rd-place--missed b { color: var(--text-muted); font: 600 13px/1.2 var(--font-body); }
.rd-empty { display: grid; justify-items: center; gap: var(--space-3); }
.rd-empty p { margin: 0; }
.rd-hof-card { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; margin-top: var(--space-4); padding: var(--space-3); border-radius: var(--radius-card); border: 1px solid rgba(255, 210, 63, 0.35); background: radial-gradient(90% 130% at 100% 0%, rgba(255, 210, 63, 0.2), transparent 60%), var(--surface); color: var(--text); text-decoration: none; }
@media (hover: hover) { .rd-hof-card:hover { border-color: rgba(255, 210, 63, 0.6); } }
.rd-hof-card__text b { display: block; font: 650 18px/1.2 var(--font-display); }
.rd-hof-card__text span { color: var(--text-secondary); font-size: 13px; }
.rd-hof-card__go { color: var(--text-muted); }

/* Sealed till results day: blurred rows that give nothing away, under the envelope. */
.rd-sealed-board { position: relative; overflow: hidden; padding: var(--space-3); border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
.card .rd-sealed-board { background: var(--surface-raised); }
.rd-sealed-board__rows { display: grid; gap: 9px; opacity: .5; filter: blur(6px); }
.rd-ghost { display: grid; grid-template-columns: 22px 28px minmax(0, 1fr) 44px; gap: 10px; align-items: center; }
.rd-ghost i { display: block; height: 10px; border-radius: 5px; background: rgba(16, 24, 40, 0.375); }
.rd-ghost i.rd-ghost__name { width: 72%; }
.rd-ghost:nth-child(2) i.rd-ghost__name { width: 58%; } .rd-ghost:nth-child(3) i.rd-ghost__name { width: 84%; }
.rd-ghost:nth-child(4) i.rd-ghost__name { width: 66%; } .rd-ghost:nth-child(5) i.rd-ghost__name { width: 76%; }
.rd-ghost:nth-child(6) i.rd-ghost__name { width: 61%; } .rd-ghost:nth-child(7) i.rd-ghost__name { width: 70%; }
.rd-ghost__face { width: 28px; height: 28px; border-radius: 50%; background: var(--c, var(--accent)); }
.rd-ghost__face--1 { --c: var(--danger); } .rd-ghost__face--2 { --c: var(--orange); } .rd-ghost__face--3 { --c: #FFE07A; }
.rd-ghost__face--4 { --c: var(--success); } .rd-ghost__face--5 { --c: var(--accent); } .rd-ghost__face--6 { --c: var(--accent); }
.rd-sealed-board__over { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; padding: var(--space-3); background: radial-gradient(70% 70% at 50% 50%, #FFFFFF, rgba(255, 255, 255, 0.65)); text-align: center; }
.rd-sealed-board__title { margin: 4px 0 0; font: 700 20px/1.2 var(--font-display); }
.rd-sealed-board__over p { max-width: 30ch; margin: 0; color: var(--text-secondary); font-size: 13.5px; }
.rd-sealed .rd-label { margin-top: var(--space-3); }
.rd-sealed > p.small { margin: 12px 0 0; }
.rd-sofar { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: var(--space-4); }
.rd-sofar > div { padding: 12px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.card .rd-sofar > div { background: var(--surface-raised); }
.rd-sofar b { display: block; font: 700 20px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.rd-sofar span { color: var(--text-muted); font-size: 12.5px; }
.rd-sofar + .push-nudge { margin-top: var(--space-3); }

/* One quiz's results page */
.rd-hero { margin-bottom: var(--space-3); padding: 18px var(--space-3); }
.rd-hero__title { margin: 0 0 4px; font: 700 clamp(23px, 4vw, 30px)/1.15 var(--font-display); text-wrap: balance; }
.rd-hero__sub { margin: 0; color: var(--text-secondary); font-size: 14px; }
.rd-hero__sub strong { color: var(--text); }
.rd-hero__go { margin-top: 14px; }
.rd-scorecard { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 8px; margin-top: 14px; }
.rd-scorecard > div { padding: 10px 8px; border-radius: 14px; background: var(--surface-raised); text-align: center; }
.rd-scorecard b { display: block; font: 700 22px/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.rd-scorecard span { color: var(--text-muted); font-size: 11.5px; font-weight: 600; }
.rd-section { margin-bottom: var(--space-3); }
.rd-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; margin: 34px 0 -18px; padding: 0; list-style: none; }
.rd-podium__step { position: relative; display: grid; justify-items: center; gap: 6px; min-width: 0; }
.rd-podium__step--2 { order: 1; } .rd-podium__step--1 { order: 2; } .rd-podium__step--3 { order: 3; }
.rd-podium__who { display: grid; justify-items: center; gap: 3px; min-width: 0; max-width: 100%; text-align: center; transition: opacity .6s var(--ease), transform .6s var(--pop); }
.rd-podium__name { max-width: 100%; overflow: hidden; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.rd-podium__name a { color: var(--text); text-decoration: none; }
.rd-podium__name .chip { height: 18px; padding: 0 6px; font-size: 10px; }
.rd-podium__more, .rd-podium__score { color: var(--text-secondary); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.rd-podium__block { display: grid; place-items: center; width: 100%; border-radius: 12px 12px 0 0; color: #1A1030; font: 700 24px/1 var(--font-display); }
.rd-podium__step--1 .rd-podium__block { height: 88px; background: var(--gold); }
.rd-podium__step--2 .rd-podium__block { height: 64px; background: #FFFFFF; }
.rd-podium__step--3 .rd-podium__block { height: 46px; background: var(--orange); }
.rd-podium__crown { position: absolute; top: -22px; left: calc(50% - 38px); z-index: 1; transform: rotate(-18deg); transition: opacity .5s var(--ease) .3s, transform .8s var(--pop) .3s; }
.rd-podium__crown svg { display: block; width: 36px; height: 29px; }
.rd-podium__q { position: absolute; top: 0; left: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin-left: -26px; border: 1.5px dashed rgba(16, 24, 40, 0.225); border-radius: 50%; background: rgba(16, 24, 40, 0.06); color: var(--text-muted); font: 700 20px/1 var(--font-display); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.rd-podium__step.is-hidden .rd-podium__who { opacity: 0; transform: translateY(26px) scale(.9); }
.rd-podium__step.is-hidden .rd-podium__crown { opacity: 0; transform: translateY(-40px) rotate(10deg); }
.rd-podium__step.is-hidden .rd-podium__q { opacity: 1; }
.rd-reveal { display: grid; gap: 8px; margin: 0 0 var(--space-3); }
.rd-you { margin-bottom: var(--space-3); padding: var(--space-3); border-radius: 22px; border: 1px solid rgba(63, 115, 221, 0.4); background: radial-gradient(100% 120% at 0% 0%, rgba(63, 115, 221, 0.22), transparent 60%), var(--surface); }
.rd-you__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 4px 0 0; }
.rd-you__place { font: 700 40px/1 var(--font-display); }
.rd-you__place sup { font-size: 18px; }
.rd-you__of { color: var(--text-secondary); font-size: 14px; }
.rd-beat { margin-top: 12px; }
.rd-beat p { margin: 8px 0 0; color: var(--text-secondary); font-size: 14px; }
.rd-beat b, .rd-you__facts b { color: var(--text); }
.rd-you__facts { display: grid; gap: 8px; margin: 14px 0; padding: 0; list-style: none; }
.rd-you__facts li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: start; color: var(--text-secondary); font-size: 14px; }
.rd-you__facts .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--accent-ink); }
.rd-missed { display: grid; gap: 10px; margin-bottom: var(--space-3); padding: var(--space-3); border-radius: 22px; border: 1px dashed rgba(16, 24, 40, 0.165); background: var(--surface); }
.rd-missed .rd-kicker { --fc: var(--accent); }
.rd-missed__title { margin: 0; font: 700 19px/1.2 var(--font-display); }
.rd-missed p { margin: 0; color: var(--text-secondary); font-size: 14px; }
.rd-awards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
/* An odd one out takes the whole row on a phone; on a wider screen they all sit in one row. */
.rd-award:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 560px) { .rd-awards { grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; } .rd-award:last-child:nth-child(odd) { grid-column: auto; } }
.rd-award { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 14px 12px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
.rd-award.is-mine { border-color: rgba(63, 115, 221, 0.55); background: radial-gradient(100% 120% at 0% 0%, rgba(63, 115, 221, 0.2), transparent 60%), var(--surface); }
.rd-award__name { font: 650 15px/1.2 var(--font-display); }
.rd-award__line { color: var(--text-muted); font-size: 12.5px; }
.rd-award__who { display: grid; gap: 4px; min-width: 0; }
.rd-award__winner { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13px; font-weight: 650; }
.rd-award__winner > span:not(.rd-face):not(.chip) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-award__winner .chip { height: 18px; padding: 0 6px; font-size: 10px; }
.rd-award__more { color: var(--text-muted); font-size: 12px; }
/* Quiz awards on a profile, each a way back to that quiz's results. */
.rd-won { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; margin: 0 0 var(--space-2); padding: 0; list-style: none; }
.rd-won__item { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 12px 8px 10px; border-radius: 14px; border: 1px solid var(--border); background: rgba(16, 24, 40, 0.03); color: inherit; text-decoration: none; }
@media (hover: hover) { .rd-won__item:hover { border-color: rgba(63, 115, 221, 0.55); } }
.rd-won__item .rd-ribbon { flex: none; width: 26px; height: 31px; }
.rd-won__text { display: grid; min-width: 0; }
.rd-won__text b { font: 650 14px/1.25 var(--font-display); }
.rd-won__text span { overflow: hidden; color: var(--text-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.rd-hardest { padding: var(--space-3); border-radius: 20px; border: 1px solid var(--border); background: var(--surface); }
.rd-hardest .rd-kicker { --fc: var(--orange); }
.rd-hardest__q { margin: 4px 0 10px; font: 600 17px/1.3 var(--font-display); }
.rd-hardest__pct { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; color: var(--text-secondary); font-size: 13px; }
.rd-hardest__pct .rd-bar { flex: 1 1 80px; width: auto; height: 8px; }
.rd-hardest__pct b { color: var(--text); }
.rd-table > p:last-child { margin: 10px 0 0; }
.rd-table .btn { margin-top: 10px; }
.rd-next { --fc: var(--orange); display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; }
@media (hover: hover) { .rd-next:hover { border-color: color-mix(in srgb, var(--fc) 45%, var(--border)); } }
.rd-next__text { display: grid; gap: 2px; min-width: 0; }
.rd-next__text strong { font: 600 15px/1.2 var(--font-display); }
.rd-next__text small { color: var(--text-muted); font-size: 12.5px; }
.rd-next__go { color: var(--text-muted); }
.rd-foot { margin-top: var(--space-4); font-size: 14px; }

/* A finished go while the quiz is sealed, and "who got this one right" in the answers on results day. */
.rd-wait { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; margin: var(--space-3) 0 0; padding: 14px; border-radius: 18px; border: 1px solid rgba(63, 115, 221, 0.4); background: var(--surface-raised); text-align: left; }
.rd-wait__title { margin: 0 0 2px; font: 700 18px/1.2 var(--font-display); }
.rd-wait__text p:last-child { margin: 0; color: var(--text-secondary); font-size: 13.5px; }
.rd-wait__text strong { color: var(--text); }
.rd-wait__sofar { margin: 10px 0 0; }
.rd-results-link { margin: var(--space-3) 0 0; }
.rd-fun-finish { margin: var(--space-3) 0 4px; font: 600 17px/1.3 var(--font-display); }
.rd-right { margin-top: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--border); background: rgba(16, 24, 40, 0.03); }
.rd-right__label { margin: 0 0 6px; color: var(--text-muted); font: 700 11px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.rd-right__line { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.rd-right__faces { display: flex; flex: none; }
.rd-right__faces .rd-face { box-shadow: 0 0 0 2px var(--surface); }
.rd-right__faces .rd-face + .rd-face { margin-left: -7px; }
.rd-right__names { min-width: 0; padding-top: 2px; color: var(--text-secondary); font-size: 13px; overflow-wrap: anywhere; }
.rd-right__count { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; color: var(--text-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd-right__count .rd-bar { flex: 1 1 auto; height: 6px; }
.rd-right__count .rd-bar__fill { fill: var(--success); }
/* Question by question on a quiz's results page (Stuart, 29 Oct 2026): a row per question, tap for the answer and who got it. */
.rd-you__go { display: grid; gap: 8px; }
.rd-you__go .btn { margin: 0; }
.rd-questions { display: grid; gap: 8px; margin: 0 0 var(--space-4); padding: 0; list-style: none; }
.rd-q { border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.rd-q > summary { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-auto-columns: auto; grid-auto-flow: column; align-items: center; gap: 12px; padding: 12px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.rd-q > summary::-webkit-details-marker { display: none; }
.rd-q > summary::after { content: ""; width: 8px; height: 8px; margin: 0 4px 4px 0; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); }
.rd-q[open] > summary::after { margin: 4px 4px 0 0; transform: rotate(-135deg); }
.rd-q__n { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 6px; border-radius: 12px; background: var(--surface-raised); font: 700 14px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.rd-q__main { display: grid; gap: 6px; min-width: 0; }
.rd-q__prompt { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.rd-q:not([open]) .rd-q__prompt { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rd-q__pct { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rd-q__pct .rd-bar { flex: 1 1 auto; height: 6px; }
.rd-q__pct .rd-bar__fill { fill: var(--success); }
.rd-q__pct b { color: var(--text); }
.rd-q__you { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.rd-q__you .icon { width: 16px; height: 16px; }
.rd-q__you--right { background: rgba(30, 138, 90, 0.16); color: var(--success); }
.rd-q__you--wrong { background: rgba(211, 63, 73, 0.14); color: var(--danger-ink); }
.rd-q__body { padding: 0 12px 12px; }
.rd-q__answer { margin: 0; color: var(--text-secondary); font-size: 14px; overflow-wrap: anywhere; }
.rd-q__answer b { color: var(--text); }
.rd-right__none { margin: 0; color: var(--text-secondary); font-size: 13px; }
/* Everyone's answers to a question (Stuart, 21 Nov 2026): who got it, then who missed it and what they said. */
.rd-all { margin-top: 12px; }
.rd-all .rd-right__count { margin: 0 0 10px; }
.rd-all__label { display: flex; align-items: center; gap: 8px; margin: 12px 0 6px; font: 700 14px/1.2 var(--font-display); }
.rd-all__label span { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; font: 700 12px/1 var(--font-body); font-variant-numeric: tabular-nums; }
.rd-all__label--right { color: var(--success-ink, #14714A); }
.rd-all__label--right span { background: var(--success); color: #FFFFFF; }
.rd-all__label--wrong { color: var(--danger-ink); }
.rd-all__label--wrong span { background: var(--danger); color: #FFFFFF; }
.rd-all__list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.rd-all__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "face who mark" "face said mark"; column-gap: 10px; align-items: center; padding: 7px 10px; border-radius: 12px; background: rgba(54, 217, 138, 0.12); }
.rd-all__row--wrong { background: rgba(255, 77, 94, 0.09); }
.rd-all__row--half { background: rgba(255, 184, 107, 0.16); }
.rd-all__row.is-me { box-shadow: inset 0 0 0 2px var(--accent); }
.rd-all__row > .rd-face { grid-area: face; }
.rd-all__who { grid-area: who; min-width: 0; font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }
.rd-all__who a { color: inherit; text-decoration: none; }
@media (hover: hover) { .rd-all__who a:hover { text-decoration: underline; } }
.rd-all__said { grid-area: said; min-width: 0; color: var(--text-secondary); font-size: 13px; overflow-wrap: anywhere; }
.rd-all__said i { color: var(--text-muted); }
.rd-all__mark { grid-area: mark; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--success); color: #FFFFFF; }
.rd-all__row--wrong .rd-all__mark, .rd-all__row--half .rd-all__mark { background: var(--danger); }
.rd-all__row--half .rd-all__mark { background: var(--warning); }
.rd-all__mark .icon { width: 14px; height: 14px; stroke-width: 3; }
.rd-table__tip { margin: 0 0 8px; }
/* One player's answers on a quiz (21 Nov 2026). */
.ans-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-3); }
.ans-head .rd-face { flex: none; }
.ans-head__text { min-width: 0; }
.ans-head__name { margin: 0; font: 700 22px/1.2 var(--font-display); overflow-wrap: anywhere; }
.ans-head__line { margin: 2px 0 0; color: var(--text-secondary); font-size: 14px; }
.ans-foot { display: grid; gap: 8px; margin: var(--space-4) 0; }

/* The Hall of Fame: the legends on top of every leaderboard. */
.rd-hof-head { margin-bottom: var(--space-3); }
.rd-hof { display: grid; justify-items: center; gap: 4px; padding: 18px var(--space-3); border-radius: 22px; border: 1px solid rgba(255, 210, 63, 0.4); background: radial-gradient(100% 120% at 50% 0%, rgba(255, 210, 63, 0.24), transparent 60%), #FFFFFF; text-align: center; }
.rd-hof__title { margin: 6px 0 0; font: 700 24px/1.15 var(--font-display); }
.rd-hof__text { max-width: 34ch; margin: 0; color: var(--text-secondary); font-size: 13.5px; }
.rd-champs { display: flex; gap: 10px; margin: 0; padding: 12px 2px 6px; overflow-x: auto; list-style: none; scroll-snap-type: x proximity; scroll-padding-inline: 2px; scrollbar-width: none; }
.rd-champs::-webkit-scrollbar { display: none; }
.rd-champ { position: relative; flex: none; display: grid; justify-items: center; align-content: start; gap: 4px; width: 128px; padding: 14px 10px 12px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); text-align: center; scroll-snap-align: start; }
.rd-champ b { max-width: 100%; overflow: hidden; font: 650 14px/1.2 var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.rd-champ b a { color: var(--text); text-decoration: none; }
.rd-champ > span:last-child { color: var(--text-muted); font-size: 11.5px; }
.rd-champ__crown { position: absolute; top: 4px; left: 34px; z-index: 1; transform: rotate(-18deg); }
.rd-champ__crown svg { display: block; width: 30px; height: 24px; }
.rd-champ--next { border-style: dashed; border-color: rgba(16, 24, 40, 0.15); background: none; }
.rd-champs__note { margin: 6px 2px 0; }
.rd-records { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rd-record { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.rd-record--golds { --fc: var(--gold); } .rd-record--perfect { --fc: var(--format-sound); }
.rd-record--podiums { --fc: var(--rainbow-1); } .rd-record--played { --fc: var(--success); }
.rd-record--silvers { --fc: #FFFFFF; } .rd-record--bronzes { --fc: var(--orange); }
.rd-record--finishes { --fc: var(--format-gk); } .rd-record--streak { --fc: var(--format-mini); }
.rd-record__text { min-width: 0; }
.rd-record__text b { display: block; font: 600 15px/1.2 var(--font-display); }
.rd-record__text small { color: var(--text-muted); font-size: 12.5px; }
.rd-record__text small a { color: inherit; }
.rd-record__value { color: var(--gold-ink); font: 700 16px/1 var(--font-display); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.rd-boards-head { margin: 0 0 var(--space-3); scroll-margin-top: 80px; }
.rd-boards-head .rd-label { margin-top: var(--space-5); }
.rd-boards-head__title { margin: 0 0 4px; font: 650 19px/1.2 var(--font-display); }

@media (prefers-reduced-motion: reduce) {
  .rd-podium__who, .rd-podium__crown, .rd-podium__q { transition: none; }
}

/* ---------- A member's Home (Stuart, 29 Oct 2026: "build it exactly as the mock-up shows") ---------- */
.hm-head { margin-bottom: var(--space-3); }
.hm-head h1 { margin: 0; }
/* "Hey Sam": Sam goes to their profile (Stuart, 21 Nov 2026). */
/* Their name in the rainbow, as on OMGay! (Stuart, 21 Nov 2026: "the username should be a rainbow (light and dark mode
   version) like on OMGay"). The deep rainbow reads on white; dark.css swaps it for the brighter one. */
.hey-name { color: var(--text); background-image: var(--rainbow-deep); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; pointer-events: auto; }
@media (hover: hover) { .hey-name:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; } }
.hm { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.hm > * { min-width: 0; margin: 0; }
.hm-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 8px 2px -4px; }
.hm > .hm-label { margin: 8px 2px -4px; }
.hm-label h2 { margin: 0; color: var(--text-muted); font: 700 12px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.hm-label a { color: var(--text-secondary); font: 600 12.5px/1.3 var(--font-body); text-decoration: none; white-space: nowrap; }
@media (hover: hover) { .hm-label a:hover { color: var(--text); text-decoration: underline; } }

/* The top card, in the quiz's own look */
.hm-top { position: relative; display: grid; gap: 12px; padding: 18px 16px 16px; border-radius: 22px; }
.hm-top__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.hm-top__title { margin: 0; font: 700 25px/1.12 var(--font-display); text-wrap: balance; }
.hm-top__text { margin: 0; color: var(--text-secondary); font-size: 14px; }
.hm-top__text b { color: var(--text); }
.hm-top__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; color: var(--text-secondary); font-size: 13px; }
.hm-top__meta > span:not(.hm-faces) + span::before { content: "·"; margin-right: 10px; color: var(--text-muted); }
.hm-top__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.hm-top--sealed { overflow: hidden; border: 1px solid rgba(63, 115, 221, 0.5); background: radial-gradient(90% 120% at 100% 0%, rgba(63, 115, 221, 0.3), transparent 62%), radial-gradient(70% 90% at 0% 100%, rgba(63, 115, 221, 0.16), transparent 70%), #FFFFFF; }
.hm-top .rd-countdown .countdown__when { margin-top: 2px; }
.hm-faces { display: flex; }
.hm-faces .rd-face { box-shadow: 0 0 0 2px var(--surface); }
.hm-faces .rd-face + .rd-face { margin-left: -9px; }
.rd-envelope--home { width: 84px; height: 66px; }
.btn.hm-btn-gold { background: var(--gold); color: #1A1030; }
@media (hover: hover) { .btn.hm-btn-gold:hover { background: #FFDC5E; } }

/* How it works, for a first visit */
.hm-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; list-style: none; }
.hm-step { display: grid; align-content: start; gap: 6px; padding: 12px 10px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); }
.hm-step__n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sc); color: #1A1030; font: 700 16px/1 var(--font-display); }
.hm-step--play { --sc: var(--accent); } .hm-step--wait { --sc: var(--accent); } .hm-step--day { --sc: var(--gold); }
.hm-step b { font: 650 14px/1.2 var(--font-display); }
.hm-step > span:last-child { color: var(--text-muted); font-size: 12px; line-height: 1.35; }

/* Quizzes in a row */
.card.hm-streak { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px; }
.hm-streak__flame { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: radial-gradient(80% 80% at 50% 80%, rgba(226, 112, 58, 0.45), rgba(211, 63, 73, 0.15)); color: var(--peach-ink); }
.hm-streak__flame .icon { width: 26px; height: 26px; }
.hm-streak__title { margin: 0; font: 700 17px/1.2 var(--font-display); }
.hm-streak__text p { margin: 1px 0 0; color: var(--text-secondary); font-size: 13px; }
.hm-pips { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.hm-pip { display: grid; place-items: center; height: 30px; border-radius: 9px; background: linear-gradient(135deg, rgba(226, 112, 58, 0.85), rgba(211, 63, 73, 0.8)); color: #FFFFFF; }
.hm-pip .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.hm-pip--next { border: 1.5px dashed rgba(16, 24, 40, 0.263); background: none; color: var(--text-muted); font: 700 14px/1 var(--font-display); }
.hm-pip--old { background: rgba(16, 24, 40, 0.06); color: var(--text-muted); }

/* Rows: waiting for results, still to play, coming up */
.hm-rows { display: grid; gap: 8px; padding: 0; list-style: none; }
.hm-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 60px; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; }
@media (hover: hover) { .hm-row:hover { border-color: color-mix(in srgb, var(--fc, var(--format-gk)) 45%, var(--border)); } }
.hm-row:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hm-row__text { display: grid; gap: 2px; min-width: 0; }
.hm-row__text strong { overflow: hidden; font: 600 15px/1.2 var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.hm-row__text small { color: var(--text-muted); font-size: 12.5px; }
.hm-row__go { width: 18px; height: 18px; color: var(--text-muted); }
.hm-row .rd-tile .rd-envelope { width: 28px; height: 22px; }

/* The Daily teaser */
.card.hm-teaser { display: grid; gap: 10px; padding: 14px; scroll-margin-top: 90px; }
.card.hm-teaser > * { margin: 0; }
.hm-teaser__kicker { --fc: var(--accent); }
.hm-teaser__q { margin: 0; font: 600 17px/1.3 var(--font-display); text-wrap: balance; }
.hm-opts { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.hm-opt { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 46px; padding: 0 14px; overflow: hidden; border: 1px solid rgba(16, 24, 40, 0.09); border-radius: 12px; background: rgba(16, 24, 40, 0.03); color: var(--text); font: 600 14.5px/1.3 var(--font-body); text-align: left; }
button.hm-opt { cursor: pointer; }
@media (hover: hover) { button.hm-opt:hover { background: rgba(16, 24, 40, 0.06); } }
button.hm-opt:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
button.hm-opt:disabled { cursor: wait; opacity: .7; }
.hm-opt__label { min-width: 0; padding: 10px 0; }
.hm-opt__bar { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hm-opt__bar rect { fill: rgba(51, 54, 61, 0.08); }
.hm-opt__pct { flex: none; color: var(--text-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.hm-opt.is-right { border-color: rgba(30, 138, 90, 0.6); }
.hm-opt.is-right .hm-opt__bar rect { fill: rgba(30, 138, 90, 0.22); }
.hm-opt.is-wrong { border-color: rgba(211, 63, 73, 0.55); }
.hm-teaser__after { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; color: var(--text-secondary); font-size: 13.5px; }
.hm-teaser__after:focus { outline: none; }
.hm-teaser__after p { margin: 0; }
.hm-teaser__after b { color: var(--text); }
.hm-chip-flame { color: var(--peach-ink); }
.hm-teaser__hint { color: var(--text-muted); font-size: 13px; }

/* Your rival */
.card.hm-rival { display: grid; gap: 12px; padding: 14px; }
.hm-rival__pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.hm-rival__who { display: grid; justify-items: center; gap: 4px; min-width: 0; text-align: center; }
.hm-rival__who b { max-width: 100%; overflow: hidden; font: 650 14px/1.2 var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.hm-rival__who b a { color: var(--text); text-decoration: none; }
.hm-rival__who > span:last-child { color: var(--text-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.hm-rival__vs { color: var(--accent-ink); font: 700 13px/1 var(--font-display); letter-spacing: .06em; }
.hm-rival p { margin: 0; color: var(--text-secondary); font-size: 13.5px; }
/* Last month's champion on Home (Stuart, 2 Nov 2026) */
.card.hm-champ { display: grid; gap: 10px; padding: 14px; }
.hm-champ__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hm-champ__face { position: relative; flex: none; }
.hm-champ__crown { position: absolute; top: -9px; right: -7px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #FFD23F; color: #3A2A00; box-shadow: 0 0 0 2px var(--surface); }
.hm-champ__crown .icon { width: 14px; height: 14px; }
.hm-champ__text { display: grid; gap: 2px; min-width: 0; }
.hm-champ__text b { overflow: hidden; font: 650 16px/1.2 var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.hm-champ__text b a { color: var(--text); text-decoration: none; }
.hm-champ__text small { color: var(--text-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.hm-champ__me { display: grid; gap: 2px; margin: 0; padding-top: 10px; border-top: 1px solid rgba(16, 24, 40, 0.06); color: var(--text-secondary); font-size: 13.5px; }
.hm-champ__mine { color: var(--text); font-variant-numeric: tabular-nums; }
/* Gaymes in numbers at the bottom of Home: the visitors' homepage stats, smaller */
.card.hm-numbers { padding: 14px 16px; }
.hm-numbers__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin: 0; }
.hm-numbers__stats dd { font-size: 28px; }
.hm-numbers__stats dt { font-size: 11.5px; }
@media (min-width: 720px) { .hm-numbers__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hm-rival p b { color: var(--text); }

/* Nearly there */
.card.hm-nearly { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px; color: var(--text); text-decoration: none; }
@media (hover: hover) { .card.hm-nearly:hover { border-color: rgba(255, 210, 63, 0.45); } }
.card.hm-nearly:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hm-medal { position: relative; display: block; width: 52px; height: 60px; }
.hm-medal svg { display: block; width: 100%; height: 100%; }
.hm-medal__icon { position: absolute; top: 22px; left: 50%; display: grid; place-items: center; transform: translate(-50%, -50%); color: #1A1030; font-size: 16px; line-height: 1; }
.hm-medal__icon .icon { width: 18px; height: 18px; stroke: #1A1030; }
.hm-nearly__text { display: grid; gap: 1px; min-width: 0; }
.hm-nearly__text b { font: 650 16px/1.2 var(--font-display); }
.hm-nearly__text small { color: var(--text-muted); font-size: 12.5px; }
.hm-meter { height: 9px; margin-top: 7px; border-radius: 5px; }
.hm-meter rect { fill: var(--gold-ink); }
.hm-nearly__left { grid-column: 1 / -1; color: var(--text-secondary); font-size: 13.5px; }

/* The Arcade, with their own bests */
.hm > .hm-arcade { margin: 0 calc(-1 * var(--space-3)); }
.hm-game .arcade-card__art { width: 56px; height: 56px; border-radius: 16px; }
.hm-game .arcade-card__art svg { width: 48px; height: 48px; }
.hm-game strong { font-size: 13.5px; }
.hm-game__best { color: var(--text-muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.hm-game__best b { color: var(--gold-ink); font-weight: 700; }
@media (min-width: 900px) { .hm > .hm-arcade { margin: 0; } }

/* Friends this month */
.card.hm-friends { padding: 14px; }
.hm-friends__text { margin: 0 0 10px; color: var(--text-secondary); font-size: 14px; }
.hm-mini { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.hm-mini__row { display: grid; grid-template-columns: 22px 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 12px; font-size: 14px; }
.hm-mini__row.is-me { background: rgba(63, 115, 221, 0.18); box-shadow: inset 0 0 0 1px rgba(63, 115, 221, 0.45); }
.hm-mini__n { color: var(--text-muted); font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.hm-mini__name { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.hm-mini__name a { color: var(--text); text-decoration: none; }
.hm-mini__pts { color: var(--text-secondary); font-size: 13px; font-variant-numeric: tabular-nums; }
.hm-friends__foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 10px; }
.hm-friends__foot .btn { padding: 0 10px; font-size: 13.5px; }

@media (prefers-reduced-motion: no-preference) {
  /* Gentle movement only, and it settles: the envelope drifts up and back twice, then stays still. Nothing flashes. */
  .rd-envelope--home { animation: hm-drift 4s var(--ease) 4 alternate; }
  .hm-teaser.is-fresh .hm-opt__bar { transform-origin: left center; animation: hm-grow .8s var(--ease) both; }
}
@keyframes hm-drift { from { transform: none; } to { transform: translateY(-4px) rotate(3deg); } }
@keyframes hm-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* The quiet add-a-photo strip (Stuart, 2 Nov 2026): one line, one button, and Not now */
.photo-nudge { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--space-3); padding: 6px 2px; }
.hm > .photo-nudge, .card .photo-nudge { margin: 0; }
.card .photo-nudge { margin-top: var(--space-3); }
.photo-nudge__face { position: relative; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #FFFFFF; font: 700 14px/1 var(--font-display); }
.photo-nudge__cam { position: absolute; right: -4px; bottom: -4px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--text); color: var(--bg, #FFFFFF); box-shadow: 0 0 0 2px var(--bg, #FFFFFF); }
.photo-nudge__cam .icon { width: 10px; height: 10px; }
.photo-nudge__text { flex: 1; min-width: 0; color: var(--text-secondary); font-size: 13px; line-height: 1.35; }
.photo-nudge__pick { position: relative; flex: none; padding: 6px 4px; color: var(--accent); font-size: 13.5px; font-weight: 700; cursor: pointer; }
@media (hover: hover) { .photo-nudge__pick:hover { text-decoration: underline; text-underline-offset: 3px; } }
.photo-nudge__pick:focus-within { outline: 2px solid var(--focus, #FFD23F); outline-offset: 2px; border-radius: 6px; }
.photo-nudge__file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.photo-nudge.is-js [data-photo-send] { display: none; }
.photo-nudge__later { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin: -4px -4px -4px -6px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text-muted); cursor: pointer; }
@media (hover: hover) { .photo-nudge__later:hover { color: var(--text); background: rgba(16, 24, 40, 0.045); } }
.photo-nudge__later .icon { width: 14px; height: 14px; }
.photo-nudge[aria-busy="true"] .photo-nudge__pick { opacity: .6; pointer-events: none; }

/* ---------- Live Gaymes Night (Stuart, 8 Nov 2026) ----------
   What's on in OMGay! and when, on Home, the visitors' page, Play and Updates. Each game has its own glow. The LIVE
   tag is printed, never blinking, and nothing here moves. No stripe down the side. */
.lgn { position: relative; overflow: hidden; display: grid; gap: 12px; padding: 18px; border-color: rgba(255, 210, 63, 0.38); box-shadow: 0 10px 28px rgba(16, 24, 40, 0.18);
  background: radial-gradient(110% 90% at 100% 0%, rgba(63, 115, 221, 0.22), transparent 60%), radial-gradient(100% 100% at 0% 100%, rgba(63, 115, 221, 0.3), transparent 62%), linear-gradient(160deg, var(--surface-raised), #FFFFFF 70%); }
.lgn--gayest-link { background: radial-gradient(110% 90% at 100% 0%, rgba(255, 210, 63, 0.16), transparent 58%), radial-gradient(100% 100% at 0% 100%, rgba(63, 115, 221, 0.32), transparent 62%), linear-gradient(160deg, #FFFFFF, #FFFFFF 70%); }
.lgn.is-live { border-color: rgba(211, 63, 73, 0.6); }
.lgn > * { margin: 0; }
.lgn__head { display: flex; align-items: center; gap: 16px; }
.lgn__text { min-width: 0; }
.lgn__kicker { margin: 0; color: var(--gold-ink); font: 800 12px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.lgn__title { margin: 3px 0 2px; color: var(--text); font: 700 23px/1.15 var(--font-display); }
.lgn__when { margin: 0; color: var(--text); font-size: 15px; font-weight: 700; }
.lgn__pill { display: inline-block; padding: 1px 6px; border-radius: 4px; background: var(--danger); color: #FFFFFF; font: 800 11px/1.45 var(--font-body); letter-spacing: .06em; vertical-align: 1px; }
.lgn__line { color: var(--text-secondary); font-size: 15px; line-height: 1.45; }
.lgn__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lgn__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border: 1px solid rgba(16, 24, 40, 0.075); border-radius: var(--radius-pill); background: rgba(16, 24, 40, 0.053); color: var(--text); font-size: 13.5px; font-weight: 650; }
.lgn__chip .icon { width: 15px; height: 15px; }
.lgn__chip--till { border-color: rgba(255, 210, 63, 0.4); background: rgba(255, 210, 63, 0.12); color: var(--gold-ink); }
.lgn__chip--till [data-till] { font-variant-numeric: tabular-nums; }
.lgn__go { margin-top: 2px; }
.lgn__small { color: var(--text-muted); font-size: 12.5px; line-height: 1.45; }
.lgn__small--phone { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 14px; background: var(--surface-raised); color: var(--text-secondary); font-size: 13.5px; }
.lgn__small--phone .icon { width: 18px; height: 18px; margin-top: 1px; }
.hm > .lgn { margin: 0; }

/* The roundel with its LIVE tag, as in OMGay!. */
.lgn-icon { position: relative; flex: none; display: inline-grid; place-items: center; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.35); }
.lgn-icon picture { display: contents; }
.lgn-icon img { width: 54%; height: auto; }
.lgn-icon--lg { width: 64px; height: 64px; }
.lgn-icon--sm { width: 40px; height: 40px; }
.lgn-icon__tag { position: absolute; top: 0; right: -10px; padding: 1px 4px; border-radius: 4px; background: var(--danger); color: #FFFFFF; font: 800 11px/1.25 var(--font-body); letter-spacing: .06em; box-shadow: 0 0 0 2px rgba(16, 24, 40, 0.18); }
.lgn-icon--sm .lgn-icon__tag { top: -3px; right: -8px; padding: 0 3px; font-size: 8.5px; }

/* The slim line on Play and Updates. */
.lgn-strip { display: flex; align-items: center; gap: 12px; margin: 0 0 var(--space-4); padding: 12px 14px 12px 12px; border: 1px solid rgba(255, 210, 63, 0.35); border-radius: 18px; color: var(--text); text-decoration: none;
  background: radial-gradient(120% 140% at 100% 0%, rgba(63, 115, 221, 0.18), transparent 60%), linear-gradient(160deg, var(--surface-raised), #FFFFFF 75%); }
.lgn-strip--gayest-link { background: radial-gradient(120% 140% at 100% 0%, rgba(255, 210, 63, 0.12), transparent 60%), linear-gradient(160deg, #FFFFFF, #FFFFFF 75%); }
.lgn-strip.is-live { border-color: rgba(211, 63, 73, 0.6); }
@media (hover: hover) { a.lgn-strip:hover { border-color: rgba(255, 210, 63, 0.65); } }
.lgn-strip__text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.lgn-strip__kicker { color: var(--gold-ink); font: 800 11.5px/1.3 var(--font-body); letter-spacing: .07em; text-transform: uppercase; }
.lgn-strip__title { font: 700 17px/1.25 var(--font-display); }
.lgn-strip__where { color: var(--text-secondary); font-size: 13px; font-weight: 600; line-height: 1.35; }
.lgn-strip__go { width: 20px; height: 20px; color: var(--gold-ink); }

/* Get help (Stuart, 8 Nov 2026): the support form, the player's own messages, and Admin > Get help. */
.help-form .field { margin-bottom: var(--space-3); }
.help-form__pin { margin: var(--space-3) 0 0; text-align: center; }
.help-tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.help-ticket { padding-top: var(--space-3); border-top: 1px solid var(--border); }
.help-ticket:first-child { padding-top: 0; border-top: 0; }
.help-ticket__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-1); }
.help-ticket__body, .help-admin__body { margin: 0; overflow-wrap: anywhere; }
.help-ticket__status--replied { color: var(--text); border-color: var(--format-sound); }
.help-ticket__status--closed { color: var(--text); border-color: var(--format-map); }
.help-ticket__reply, .help-admin__reply { margin-top: var(--space-2); padding: var(--space-3); border-radius: var(--radius-field); background: var(--surface-raised); overflow-wrap: anywhere; }
.help-ticket__reply p, .help-admin__reply p { margin: 0; }
.help-ticket__from { margin-bottom: var(--space-1) !important; color: var(--text-secondary); font-weight: 600; }
.help-ticket__new { display: inline-block; padding: 1px 7px; border-radius: var(--radius-pill); background: var(--format-mini); color: #FFFFFF; font-size: 11px; font-weight: 700; }
.help-admin__contact { margin: var(--space-1) 0 var(--space-2); overflow-wrap: anywhere; }
.help-admin__form { margin-top: var(--space-3); display: grid; gap: var(--space-2); }
.help-admin__form textarea { width: 100%; padding: var(--space-3); border: 1.5px solid rgba(16, 24, 40, 0.105); border-radius: var(--radius-field); background: var(--surface-raised); color: var(--text); font: 16px/1.45 var(--font-body); resize: vertical; }
.help-admin__form .row { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Snowball Fight (Stuart, 9 Nov 2026): its page, a lobby, and the game full screen. Red and green are the teams. */
.sb-page { --sb-red: var(--danger); --sb-green: var(--success); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.sb-page > * { margin: 0; }
.sb-kicker { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; color: var(--accent-ink); font: 800 11.5px/1.3 var(--font-body); letter-spacing: .07em; text-transform: uppercase; }
.sb-kicker .icon { width: 15px; height: 15px; }
.sb-hero { position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--surface-raised); border: 1px solid rgba(63, 115, 221, 0.18); }
.sb-hero__art { display: block; width: 100%; height: 210px; }
.sb-hero__text { padding: var(--space-3) var(--space-4) var(--space-4); background: linear-gradient(180deg, var(--surface-raised), #FFFFFF); }
.sb-hero__title { margin: 0 0 4px; font-size: clamp(28px, 7vw, 38px); }
.sb-hero__blurb { margin: 0; color: var(--text-secondary); }
.sb-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
.sb-card > * { margin: 0; }
.sb-pick { min-width: 0; margin: 0; padding: 0; border: 0; }
.sb-pick__title { padding: 0; margin: 0 0 var(--space-2); font: 650 16px/1.3 var(--font-display); }
.sb-pick__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sb-pick__one { position: relative; display: grid; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.sb-pick__one input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sb-pick__face { min-width: 0; display: grid; align-content: start; justify-items: center; gap: 2px; padding: 8px 4px 8px; border-radius: 16px; background: linear-gradient(180deg, var(--accent), var(--surface-raised)); border: 2px solid rgba(16, 24, 40, 0.06); transition: border-color .15s var(--ease), transform .15s var(--ease); }
.sb-pick__art { display: block; width: 100%; max-width: 72px; height: auto; aspect-ratio: 72 / 88; }
.sb-pick__name { color: var(--text-secondary); font-size: 13px; font-weight: 700; text-align: center; line-height: 1.2; }
.sb-pick__one input:checked + .sb-pick__face { border-color: var(--accent); background: linear-gradient(180deg, var(--accent), var(--surface-raised)); }
.sb-pick__one input:checked + .sb-pick__face .sb-pick__name { color: var(--text); }
.sb-pick__one input:focus-visible + .sb-pick__face { outline: 3px solid var(--accent); outline-offset: 2px; }
.sb-pick__one.is-taken { cursor: not-allowed; }
.sb-pick__one.is-taken .sb-pick__face { opacity: .4; }
.sb-size { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sb-size__one { position: relative; cursor: pointer; }
.sb-size__one input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sb-size__one span { display: grid; gap: 1px; min-height: 56px; align-content: center; padding: 8px 12px; border-radius: 14px; background: var(--surface-raised); border: 2px solid transparent; text-align: center; }
.sb-size__one strong { font-size: 15px; }
.sb-size__one small { color: var(--text-muted); font-size: 12.5px; }
.sb-size__one input:checked + span { border-color: var(--accent); background: var(--accent); }
.sb-size__one input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.sb-new { display: grid; gap: var(--space-3); }
.sb-lobbies { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sb-lobbies__one { display: flex; align-items: center; gap: var(--space-3); padding: 10px 10px 10px 14px; border-radius: 16px; background: var(--surface-raised); }
.sb-lobbies__text { flex: 1; min-width: 0; display: grid; gap: 1px; overflow-wrap: anywhere; }
.sb-lobbies__text small { color: var(--text-muted); font-size: 12.5px; }
.sb-lobbies__one form { margin: 0; }
.sb-how__list { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; color: var(--text-secondary); }
.sb-how__list strong { color: var(--text); }
.sb-board { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: 6px; }
.sb-board li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--surface-raised); }
.sb-board__place { width: 24px; color: var(--text-muted); font-weight: 700; }
.sb-board__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* A lobby */
.sb-lobby { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); min-width: 0; }
.sb-lobby > * { margin: 0; }
.sb-lobby__title { margin: 0; font-size: clamp(24px, 6vw, 32px); overflow-wrap: anywhere; }
.sb-lobby__line { color: var(--text-secondary); }
.sb-teams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sb-team-box { min-width: 0; padding: 10px 6px; border-radius: 16px; background: linear-gradient(180deg, var(--accent), var(--surface-raised)); border: 1.5px solid rgba(16, 24, 40, 0.06); }
.sb-team-box--red { border-color: rgba(211, 63, 73, 0.55); }
.sb-team-box--green { border-color: rgba(30, 138, 90, 0.55); }
.sb-team-box__name { margin: 0 0 6px; font: 800 12px/1.2 var(--font-body); letter-spacing: .07em; text-align: center; text-transform: uppercase; }
.sb-team-box--red .sb-team-box__name { color: var(--danger-ink); }
.sb-team-box--green .sb-team-box__name { color: var(--success-ink); }
.sb-seats { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; }
.sb-seat { flex: 1 1 0; min-width: 0; max-width: 110px; display: grid; justify-items: center; gap: 2px; }
.sb-seat__art { display: block; width: 100%; max-width: 72px; height: auto; aspect-ratio: 72 / 88; }
.sb-seat__who { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; }
.sb-seat.is-empty .sb-seat__who { color: var(--text-muted); font-weight: 600; }
.sb-seat.is-me .sb-seat__who { color: var(--accent-ink); }
.sb-actions { display: grid; gap: 8px; }
.sb-actions:empty { display: none; }
/* The link to fill a lobby: front and centre once you're in (Stuart, 9 Nov 2026) */
.sb-invite { display: grid; gap: 10px; padding: var(--space-3); border-radius: 16px; background: linear-gradient(160deg, rgba(255, 214, 10, 0.14), rgba(63, 115, 221, 0.12)); border: 1px solid rgba(255, 214, 10, 0.45); }
.sb-invite[hidden] { display: none; }
.sb-invite > * { margin: 0; }
.sb-invite__title { display: flex; align-items: center; gap: 8px; font: 700 clamp(18px, 5vw, 21px)/1.2 var(--font-display); color: var(--gold-ink); }
.sb-invite__title .icon { flex: none; width: 22px; height: 22px; }
.sb-invite__text { font-size: 14.5px; line-height: 1.45; }
.sb-invite__link { padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.65); border: 1px dashed rgba(63, 115, 221, 0.35); font: 600 13.5px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.sb-invite__buttons { display: grid; gap: 8px; }
@media (min-width: 560px) {
  .sb-invite__buttons { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
}
.sb-guest { margin: 0; text-align: center; }
/* The game, over everything (the bars included) while it's on */
html.sb-playing, html.sb-playing body { overflow: hidden; overscroll-behavior: none; }
.sb-stage { position: fixed; inset: 0; z-index: 97; display: flex; padding: calc(6px + env(safe-area-inset-top)) calc(6px + env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) calc(6px + env(safe-area-inset-left)); background: var(--bg); touch-action: none; }
.sb-game { position: relative; flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; max-width: 1100px; margin: 0 auto; width: 100%; background: var(--surface-raised); border-radius: 18px; overflow: hidden; color: var(--text); }
.sb-hud, .sb-bar { flex: none; }
.sb-hud { display: grid; grid-template-columns: auto 1fr auto 1fr; align-items: center; gap: 8px; padding: 8px 10px 6px 6px; }
.sb-quit { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(16, 24, 40, 0.09); color: var(--text); cursor: pointer; }
.sb-quit .icon { width: 20px; height: 20px; }
.sb-team { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.sb-team strong { min-width: 2.2ch; padding: 2px 10px; border-radius: 12px; color: var(--text); font: 700 21px/1.2 var(--font-display); font-variant-numeric: tabular-nums; text-align: center; }
.sb-team--red strong { background: var(--danger); }
.sb-team--green { justify-content: flex-end; }
.sb-team--green strong { background: var(--success); }
/* On Team Green, Green's score sits on the left, the side their base is on. */
.sb-quit { order: 0; }
.sb-team--red { order: 1; }
.sb-clock { order: 2; }
.sb-team--green { order: 3; }
.sb-game.is-team-2 .sb-team--green { order: 1; flex-direction: row-reverse; justify-content: flex-end; }
.sb-game.is-team-2 .sb-team--red { order: 3; flex-direction: row-reverse; justify-content: flex-start; }
.sb-clock { margin: 0; padding: 6px 12px; border-radius: 12px; background: rgba(16, 24, 40, 0.09); font: 800 20px/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.sb-field { position: relative; flex: 1; min-height: 0; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.sb-field canvas { position: absolute; inset: 0; display: block; touch-action: none; }
.sb-count { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; color: var(--text); font: 700 clamp(32px, 9vw, 64px)/1 var(--font-display); text-shadow: 0 4px 0 rgba(16, 24, 40, 0.18), 0 8px 24px rgba(16, 24, 40, 0.14); pointer-events: none; }
.sb-count[hidden] { display: none; }
.sb-hint { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.96); font-size: 13px; font-weight: 600; text-align: center; pointer-events: none; }
.sb-hint:empty { display: none; }
.sb-hint.is-urgent { background: var(--danger); }
.sb-net { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); margin: 0; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.98); color: var(--gold-ink); font-size: 13px; font-weight: 700; pointer-events: none; }
.sb-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 10px 8px; }
.sb-ammo { display: flex; gap: 5px; }
.sb-ammo__ball { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(16, 24, 40, 0.263); }
.sb-ammo__ball.is-full { background: radial-gradient(circle at 35% 30%, #FFFFFF 0, #FFFFFF 55%, var(--accent) 100%); border-color: #FFFFFF; }
.sb-tip { margin: 0; color: rgba(51, 54, 61, 0.7); font-size: 11.5px; line-height: 1.3; text-align: right; }
/* The final whistle */
.sb-over { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.88); touch-action: auto; }
.sb-over__card { width: min(440px, 100%); max-height: 100%; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-card); background: var(--surface-raised); border: 1px solid rgba(63, 115, 221, 0.2); box-shadow: 0 16px 48px rgba(16, 24, 40, 0.18); text-align: center; }
.sb-over__card > * { margin: 0; }
.sb-over__card .sb-kicker { justify-content: center; }
.sb-over__title { margin: 0; font-size: clamp(26px, 7vw, 34px); }
.sb-over__score { font: 700 20px/1.2 var(--font-display); }
.sb-over__score:empty { display: none; }
.sb-over__line { color: var(--text-secondary); }
.sb-over__facts { margin: 0; color: var(--accent-ink); font-weight: 700; }
.sb-over__card [data-over-badges] { display: grid; gap: var(--space-3); }
.sb-over__card [data-over-badges]:empty { display: none; }
.sb-over__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sb-over__table:has(tbody:empty) { display: none; }
.sb-over__table th, .sb-over__table td { padding: 7px 6px; text-align: right; font-variant-numeric: tabular-nums; }
.sb-over__table thead th { color: var(--text-muted); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sb-over__table th:first-child { text-align: left; }
.sb-over__table tbody tr { border-top: 1px solid var(--border); }
.sb-over__table tbody th { display: flex; align-items: center; gap: 8px; font-weight: 600; overflow-wrap: anywhere; }
.sb-over__row.is-me th, .sb-over__row.is-me td { color: var(--text); font-weight: 800; }
.sb-over__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.sb-over__row--red .sb-over__dot { background: var(--danger); }
.sb-over__row--green .sb-over__dot { background: var(--success); }
.sb-over__actions { display: grid; gap: 8px; }
.sb-over__actions .btn--quiet { background: var(--accent); }
@media (hover: hover) { .sb-over__actions .btn--quiet:hover { background: var(--accent); } }
.sb-over__actions .arcade-link { justify-self: center; }
.sb-over__done { border: 0; background: none; font: inherit; cursor: pointer; }
/* Stuart, 9 Nov 2026 ("in iOS app a lot of it is hidden below the floating menu bar"): the bar goes while the game's on.
   The app's own bar follows the web one (GaymesShell.swift hides it when .tab-bar isn't shown). */
html.sb-playing .tab-bar { display: none !important; }
/* Free for all: everyone's score as a chip in their colour */
.sb-chips { order: 3; margin: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; min-width: 0; }
.sb-chips[hidden] { display: none; }
.sb-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 12px; color: var(--text); font: 700 17px/1.25 var(--font-display); font-variant-numeric: tabular-nums; }
.sb-chip i { font: 800 10.5px/1 var(--font-body); font-style: normal; letter-spacing: .05em; text-transform: uppercase; }
.sb-chip.is-me { box-shadow: 0 0 0 2px rgba(51, 54, 61, 0.5); }
.sb-chip--red { background: var(--danger); }
.sb-chip--green { background: var(--success); }
.sb-chip--blue { background: var(--accent); }
.sb-chip--gold { background: #E89B00; color: #241600; }
.sb-game.is-ffa .sb-hud { grid-template-columns: auto auto minmax(0, 1fr); }
.sb-game.is-ffa .sb-team { display: none; }
.sb-game.is-ffa .sb-clock { order: 1; }
.sb-game.is-final .sb-clock { background: var(--danger); }
/* Big words for the moments (Double!, Shield!, Whoops! Black ice!): one gentle pop, never a flash */
.sb-banner { position: absolute; left: 50%; top: 18%; z-index: 1; max-width: calc(100% - 24px); margin: 0; color: var(--text); font: 700 clamp(24px, 7vw, 46px)/1.1 var(--font-display); text-align: center; text-shadow: 0 3px 0 rgba(16, 24, 40, 0.18), 0 8px 22px rgba(16, 24, 40, 0.16); white-space: nowrap; opacity: 0; transform: translateX(-50%) scale(.86); transition: opacity .25s var(--ease), transform .3s var(--ease); pointer-events: none; }
.sb-banner.is-on { opacity: 1; transform: translateX(-50%) scale(1); }
.sb-banner--win { color: var(--gold-ink); }
.sb-banner--lose { color: var(--danger-ink); }
@media (prefers-reduced-motion: reduce) { .sb-banner, .sb-banner.is-on { transform: translateX(-50%); transition: opacity .2s linear; } }
/* How to play, over the countdown */
.sb-howto { position: absolute; left: 50%; top: calc(50% + 46px); transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); display: grid; gap: 6px; margin: 0; padding: 12px 16px; border-radius: 16px; background: #FFFFFF; border: 1px solid rgba(63, 115, 221, 0.22); font-size: 14px; font-weight: 600; pointer-events: none; }
.sb-howto[hidden] { display: none; }
.sb-howto p { margin: 0; display: flex; align-items: center; gap: 10px; }
.sb-howto span { flex: none; width: 1.4em; text-align: center; }
/* The next snowball fills up while you stand at the gift box */
.sb-ammo__ball.is-next { background: conic-gradient(#FFFFFF var(--fill, 0%), rgba(16, 24, 40, 0.045) 0); }
.sb-ammo__ball.is-filling { border-color: #FFD36E; }
/* Your hearts: the hits you can take (red, so nobody mistakes them for snowballs) */
.sb-hearts { display: flex; gap: 3px; flex: none; }
.sb-hearts__h { width: 17px; height: 15px; display: block; }
.sb-hearts__h svg { width: 100%; height: 100%; display: block; fill: rgba(51, 54, 61, 0.16); }
.sb-hearts__h.is-full svg { fill: var(--danger-ink); }
@media (max-width: 400px) {
  .sb-bar .sb-tip { display: none; }
}
/* Lobbies: three ways to play the computer, and a free-for-all lobby */
/* On a phone they're three rows, so nothing has to squash onto two lines */
.sb-size--three { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.sb-size--three .sb-size__one span { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; text-align: left; }
.sb-size--three .sb-size__one small { text-align: right; }
@media (min-width: 560px) {
  .sb-size--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .sb-size--three .sb-size__one span { display: grid; justify-content: stretch; gap: 1px; min-height: 56px; padding: 8px 10px; text-align: center; }
  .sb-size--three .sb-size__one small { text-align: center; }
}
.sb-teams--ffa { grid-template-columns: minmax(0, 1fr); }
.sb-team-box--ffa { border-color: rgba(63, 115, 221, 0.3); }
.sb-team-box--ffa .sb-team-box__name { color: var(--accent-ink); }
.sb-seat--red { --seat: var(--danger); }
.sb-seat--green { --seat: var(--success); }
.sb-seat--blue { --seat: var(--accent); }
.sb-seat--gold { --seat: #E89B00; }
.sb-team-box--ffa .sb-seat__who { font-size: 12.5px; }
.sb-team-box--ffa .sb-seat__who::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; background: var(--seat); vertical-align: 1px; }
.sb-over__row--blue .sb-over__dot { background: var(--accent); }
.sb-over__row--gold .sb-over__dot { background: #E89B00; }
@media (min-width: 720px) {
  .sb-hero__art { height: 260px; }
  .sb-pick__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sb-tip { font-size: 13px; }
}
@media (max-width: 360px) {
  .sb-team span { display: none; }
  .sb-card .start-btn__label { font-size: 18px; }
}

/* Dark mode's sun or moon on Home (10 Nov 2026): a button in the bar like its neighbours. */
.site-header__look { display: contents; }
