/* RetroWorld — "Warm Vintage": 70s console, premium and matte. Bricolage Grotesque display + Figtree body. See BRAND.md */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/BricolageGrotesque-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --ground: #F4EBDD; --panel: #FFF8EC; --sunken: #EADFCB; --line: #D9CBB2; --line-2: #C4B398;
  --ink: #1E1A16; --muted: #6B6259; --faint: #9A8F83;
  --orange: #D9541E; --orange-deep: #B8431A; --mustard: #E3A72F; --mustard-deep: #8A6212; --teal: #1F7A72; --teal-deep: #155C56; --plum: #8A4E7A; --brick: #C63D2F;
  --cabinet: #241F1B; --cabinet-2: #2F2823; --cabinet-line: #4A3F37; --cream: #F4EBDD;
  --accent: var(--orange-deep);
  --shadow: 0 18px 40px rgba(60, 40, 20, .16), 0 2px 6px rgba(60, 40, 20, .08); --shadow-sm: 0 2px 10px rgba(60, 40, 20, .10);
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif; --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 16px; --r-lg: 22px; --wrap: 1180px; --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
/* no tap-to-copy, no long-press callouts, no double-tap zoom on the app chrome; prose pages stay selectable */
body, .stage, .cab__bar, .card, .btn, .chip, .top, .hero, .band, .why { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.prose, .prose *, .cab__about, .cab__info, input { -webkit-user-select: text; user-select: text; }
.stage, .stage * { touch-action: none; }
.stage .btn, .stage .cab__screen, .touchpad, .touchpad * { touch-action: manipulation; }
.cab__screen canvas, .touchpad button { touch-action: none; }
main { flex: 1; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 8px; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; z-index: 50; }
.muted { color: var(--muted); }
.accent { color: var(--orange-deep); }

/* the stripe motif: orange / mustard / teal / ink */
.stripes { display: flex; height: 6px; }
.stripes i { flex: 1; } .stripes i:nth-child(1) { background: var(--orange); } .stripes i:nth-child(2) { background: var(--mustard); } .stripes i:nth-child(3) { background: var(--teal); } .stripes i:nth-child(4) { background: var(--ink); }

/* type */
.h1, .h2, .h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 14px; font-variation-settings: "opsz" 96; }
.h1 { font-size: clamp(34px, 5vw, 50px); }
.h2 { font-size: clamp(26px, 3.4vw, 36px); }
.h3 { font-size: 20px; margin-bottom: 10px; font-variation-settings: "opsz" 24; }
.h4 { font-family: var(--body); font-weight: 700; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin: 18px 0 8px; }
.lead { font-size: 18px; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-deep); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--orange) 0 33%, var(--mustard) 33% 66%, var(--teal) 66%); }

/* buttons: matte pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 999px; background: var(--panel); color: var(--ink); border: 1.5px solid var(--line-2); font-family: var(--display); font-weight: 700; font-size: 15px; cursor: pointer; user-select: none; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.btn:hover { border-color: var(--ink); text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--orange-deep); color: var(--cream); border-color: var(--orange-deep); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); }
.btn--big { font-size: 17px; padding: 14px 32px; min-height: 54px; }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--sm { min-height: 38px; padding: 6px 16px; font-size: 13px; }
.btn--dark { background: var(--cabinet-2); color: var(--cream); border-color: var(--cabinet-line); box-shadow: none; }
.btn--dark:hover { border-color: var(--cream); }
.btn[aria-pressed="false"] { color: var(--muted); text-decoration: line-through; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; font: inherit; font-weight: 500; }
.linkbtn:hover { color: var(--orange-deep); }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(244, 235, 221, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo__badge { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 2px 6px rgba(60, 40, 20, .25); }
.foot__badge { width: 28px; height: 28px; border-radius: 7px; vertical-align: middle; margin-right: 10px; display: inline-block; }
.top__nav { display: flex; align-items: center; gap: 4px; }
.narrow-only { display: none; }
.top__nav a { color: var(--muted); font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.top__nav a:hover { color: var(--ink); background: var(--sunken); text-decoration: none; }
.top__nav .btn { margin-left: 8px; }

/* hero */
.hero { padding: 80px 0 64px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(46px, 7vw, 88px); line-height: .96; letter-spacing: -.035em; margin: 0 0 22px; font-variation-settings: "opsz" 96; }
.hero__sub { font-size: 18px; color: var(--muted); max-width: 44ch; margin: 0 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero__facts span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); margin-right: 9px; vertical-align: 0; }
.hero__facts span:nth-child(2)::before { background: var(--mustard); } .hero__facts span:nth-child(3)::before { background: var(--orange); }
.hero__logo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #0F0F15; box-shadow: var(--shadow); border: 1px solid #1F1A16; }
.hero__logo > img { width: 100%; height: auto; display: block; }
.hero__logo::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; z-index: 2; background: linear-gradient(90deg, var(--orange) 0 25%, var(--mustard) 25% 50%, var(--teal) 50% 75%, var(--cream) 75%); }
.hero__featured { position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(244, 235, 221, .96); color: var(--ink); box-shadow: var(--shadow); font-size: 12px; line-height: 1.15; transition: transform .2s var(--ease); }
.hero__featured:hover { transform: translateY(-2px); text-decoration: none; }
.hero__featured img { width: 44px; height: 33px; object-fit: cover; border-radius: 999px; }
.hero__featured small { display: block; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 9px; color: var(--orange-deep); }
.hero__featured b { font-family: var(--display); font-weight: 800; font-size: 14px; }
.feature { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--cabinet); border: 1px solid var(--cabinet); box-shadow: var(--shadow); color: var(--cream); transition: transform .3s var(--ease), box-shadow .3s; }
.feature::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; z-index: 2; background: linear-gradient(90deg, var(--orange) 0 25%, var(--mustard) 25% 50%, var(--teal) 50% 75%, var(--cream) 75%); }
.feature:hover { transform: translateY(-5px); text-decoration: none; box-shadow: 0 26px 50px rgba(60, 40, 20, .22); }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature__body { position: absolute; inset: auto 0 0 0; padding: 20px 22px; background: linear-gradient(to top, rgba(36, 31, 27, .96), rgba(36, 31, 27, 0)); }
.feature__tag { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mustard); }
.feature__name { font-family: var(--display); font-weight: 800; font-size: 24px; margin: 4px 0 2px; }
.feature__hook { margin: 0; color: #CDBFAE; font-size: 14px; }
.feature__play { position: absolute; top: 22px; right: 16px; padding: 8px 16px; border-radius: 999px; background: var(--cream); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 13px; }

.btn--kofi { background: var(--mustard); color: var(--ink); border-color: var(--mustard); }
.btn--kofi:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.kofi { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 8px 0 32px; padding: 22px 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); border-left: 6px solid var(--mustard); }
.kofi b { font-family: var(--display); font-weight: 800; font-size: 18px; display: block; margin-bottom: 4px; }
.kofi p { margin: 0; color: var(--muted); font-size: 14px; max-width: 52ch; }
/* ticker: slow scrolling facts and news */
.ticker { background: var(--ink); color: var(--cream); overflow: hidden; display: flex; white-space: nowrap; border-bottom: 1px solid #2A241F; }
.ticker__row { display: inline-flex; align-items: center; padding: 12px 0; animation: ticker 90s linear infinite; }
.ticker:hover .ticker__row { animation-play-state: paused; }
.tick { font-size: 14px; font-weight: 500; padding: 0 28px; position: relative; }
.tick::before { content: "■"; color: var(--mustard); font-size: 7px; margin-right: 14px; vertical-align: 3px; }
.tick--new { font-family: var(--display); font-weight: 800; color: var(--mustard); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.tick--new::before { color: var(--orange); }
@keyframes ticker { to { transform: translateX(-100%); } }
/* moods */
.moods { padding: 36px 0 0; }
.moods__bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 12px; }
.moods__bar .eyebrow { margin: 0; }
.moods__hint { margin: 0; font-size: 14px; }
.chips--moods .chip { background: var(--panel); }
.chip--mood.is-on { background: var(--orange-deep); border-color: var(--orange-deep); color: var(--cream); }
/* shelves and library bar */
.shelf { padding: 40px 0 0; }
.shelf__bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 20px; }
.shelf__bar .h2 { margin: 0; }
.shelf__more { font-weight: 700; font-size: 14px; }
.grid--shelf { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.grid--shelf .card__hook { display: none; }
.count { font-size: 16px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.sort select { min-height: 40px; padding: 6px 36px 6px 14px; border-radius: 999px; background: var(--panel); color: var(--ink); border: 1.5px solid var(--line-2); font: inherit; font-size: 14px; font-weight: 600; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.card__new { position: absolute; top: 14px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--mustard); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; box-shadow: var(--shadow-sm); }
.card--activity { --tint: var(--plum); --tint-text: var(--plum); }
.card--activity .card__media { background: var(--panel); }
.activities { padding: 56px 0 0; }
/* activities */
.act__box { background: var(--cabinet); color: var(--cream); border-radius: var(--r-lg); padding: clamp(18px, 4vw, 36px); box-shadow: var(--shadow); margin-bottom: 8px; }
.act__box::before { content: ""; display: block; height: 8px; margin: calc(-1 * clamp(18px, 4vw, 36px)) calc(-1 * clamp(18px, 4vw, 36px)) clamp(18px, 4vw, 36px); border-radius: var(--r-lg) var(--r-lg) 0 0; background: linear-gradient(90deg, var(--orange) 0 25%, var(--mustard) 25% 50%, var(--teal) 50% 75%, var(--cream) 75%); }
.act__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: center; }
.act__row--2 { grid-template-columns: 1fr 1fr; align-items: start; }
.act__panel { background: var(--cabinet-2); border-radius: var(--r); padding: 22px; text-align: center; }
.act__panel .h3 { color: var(--cream); }
.act__side { display: flex; flex-direction: column; gap: 12px; }
.act__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #CDBFAE; }
.act__ta, .act__input { width: 100%; border-radius: 12px; border: 1px solid var(--cabinet-line); background: #1A1512; color: var(--cream); font: inherit; padding: 12px 14px; }
.act__ta:focus, .act__input:focus { outline: 2px solid var(--mustard); }
.act__result { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 4vw, 34px); color: var(--mustard); margin: 4px 0; min-height: 1.3em; }
.act__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.act__controls label { display: inline-flex; align-items: center; gap: 8px; color: #CDBFAE; font-weight: 600; }
.act__controls select { border-radius: 999px; padding: 8px 14px; border: 1px solid var(--cabinet-line); background: #1A1512; color: var(--cream); font: inherit; }
.act__counter { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #CDBFAE; }
.act__q { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3.6vw, 32px); margin: 0 0 18px; color: var(--cream); }
.act__box .btn:not(.btn--primary) { background: var(--cabinet-2); color: var(--cream); border-color: var(--cabinet-line); box-shadow: none; }
.act__box .btn--ghost { background: transparent; }
.act__box .muted { color: #A89A88; }
.small { font-size: 13px; }
/* wheel */
.wheelwrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.wheel { width: min(100%, 360px); height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); cursor: pointer; }
.wheel__pin { position: absolute; top: -6px; left: 50%; width: 0; height: 0; margin-left: -14px; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 28px solid var(--cream); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); }
/* coin & dice */
.coin { width: 120px; height: 120px; margin: 12px auto; position: relative; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, .7, .2, 1); cursor: pointer; }
.coin__face { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 44px; color: #5A3E08; background: radial-gradient(circle at 35% 30%, #FFE08A, #E3A72F 60%, #B8811A); box-shadow: inset 0 0 0 6px rgba(90, 62, 8, .35), 0 8px 20px rgba(0, 0, 0, .5); backface-visibility: hidden; }
.coin__face--t { transform: rotateY(180deg); background: radial-gradient(circle at 35% 30%, #F2C97A, #C98F20 60%, #8A6212); }
.coin.is-heads { transform: rotateY(1800deg); } .coin.is-tails { transform: rotateY(1980deg); }
.dice { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 12px 0; min-height: 70px; cursor: pointer; }
.die { width: 64px; height: 64px; border-radius: 14px; background: var(--cream); display: grid; grid-template-columns: repeat(3, 1fr); padding: 9px; gap: 3px; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .15), 0 6px 14px rgba(0, 0, 0, .45); }
.die i { border-radius: 50%; background: var(--ink); } .die i.off { background: transparent; }
.die.is-rolling { animation: roll .7s cubic-bezier(.3, .7, .2, 1); }
@keyframes roll { 0% { transform: rotate(0) translateY(-30px) scale(.6); opacity: 0; } 60% { transform: rotate(300deg) translateY(4px) scale(1.05); opacity: 1; } 100% { transform: rotate(360deg); } }
/* would you rather */
.wyr { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.wyr__opt { position: relative; min-height: 140px; border-radius: var(--r); border: 2px solid var(--cabinet-line); background: var(--cabinet-2); color: var(--cream); font: inherit; font-size: 18px; font-weight: 600; padding: 22px 18px 34px; cursor: pointer; text-align: center; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.wyr__opt:hover { transform: translateY(-3px); border-color: var(--mustard); }
.wyr__opt--a.is-picked { background: var(--teal-deep); border-color: var(--teal); } .wyr__opt--b.is-picked { background: var(--orange-deep); border-color: var(--orange); }
.wyr__opt.is-other { opacity: .7; }
.wyr__opt b { position: absolute; left: 0; right: 0; bottom: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--mustard); }
.wyr__or { align-self: center; font-family: var(--display); font-weight: 800; color: #A89A88; text-transform: uppercase; letter-spacing: .1em; }
/* 8 ball */
.ball { width: min(80vw, 300px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4A4540, #0B0A08 65%); box-shadow: inset -20px -30px 60px rgba(0, 0, 0, .8), 0 20px 50px rgba(0, 0, 0, .6); display: grid; place-items: center; cursor: pointer; user-select: none; }
.ball.is-shaking { animation: shake .9s ease-in-out; }
@keyframes shake { 0%, 100% { transform: translate(0); } 20% { transform: translate(-14px, 4px) rotate(-6deg); } 40% { transform: translate(12px, -6px) rotate(5deg); } 60% { transform: translate(-10px, 6px) rotate(-4deg); } 80% { transform: translate(8px, -3px) rotate(3deg); } }
.ball__window { width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #1C2A6B, #0A1030 70%); display: grid; place-items: center; box-shadow: inset 0 0 20px rgba(0, 0, 0, .8); text-align: center; padding: 12px; }
.ball__eight { font-family: var(--display); font-weight: 800; font-size: 56px; color: var(--cream); }
.ball__answer { display: none; font-family: var(--display); font-weight: 700; font-size: clamp(12px, 2.6vw, 16px); color: var(--cream); line-height: 1.2; }
.ball.is-answer .ball__eight { display: none; } .ball.is-answer .ball__answer { display: block; animation: fadein .6s; }
@keyframes fadein { from { opacity: 0; } }
/* riddles, facts */
.riddle { background: var(--cabinet-2); border-radius: var(--r); padding: 26px; }
.riddle__q { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 3.4vw, 28px); margin: 0; color: var(--cream); }
.riddle__a { margin: 14px 0 0; font-size: 20px; color: var(--mustard); font-weight: 700; }
.fact { background: var(--cabinet-2); border-radius: var(--r); padding: 30px 26px 40px; cursor: pointer; position: relative; min-height: 150px; }
.fact.is-in { animation: enter .35s var(--ease); }
.fact__text { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 3.4vw, 28px); margin: 0; color: var(--cream); line-height: 1.3; }
.fact__hint { position: absolute; right: 18px; bottom: 12px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #A89A88; font-weight: 700; }
/* trivia */
.trivia__top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #CDBFAE; margin-bottom: 10px; }
.trivia__timer { color: var(--mustard); }
.trivia__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trivia__opt { border-radius: 12px; border: 2px solid var(--cabinet-line); background: var(--cabinet-2); color: var(--cream); font: inherit; font-weight: 600; font-size: 16px; padding: 16px; cursor: pointer; text-align: left; transition: border-color .15s, transform .15s; }
.trivia__opt:hover:not(:disabled) { border-color: var(--mustard); transform: translateY(-2px); }
.trivia__opt.is-right { background: var(--teal-deep); border-color: var(--teal); } .trivia__opt.is-wrong { background: #5A1E14; border-color: var(--brick); }
/* circle */
.circle { position: relative; }
.circle__cv { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); touch-action: none; cursor: crosshair; display: block; }
.circle__score { position: absolute; left: 18px; top: 16px; pointer-events: none; }
.circle__score b { display: block; font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--mustard); line-height: 1; }
.circle__score span { font-size: 13px; color: #CDBFAE; }
/* chill */
.chill { text-align: center; padding: 10px 0; }
.chill__ring { position: relative; width: min(70vw, 260px); aspect-ratio: 1; margin: 0 auto 20px; border-radius: 50%; border: 2px solid var(--cabinet-line); display: grid; place-items: center; }
.chill__breath { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, var(--teal), var(--teal-deep)); opacity: .8; transform: scale(.6); }
.chill.is-running .chill__breath { animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.6); } 50% { transform: scale(1); } }
.chill__time { position: relative; font-family: var(--display); font-weight: 800; font-size: 44px; color: var(--cream); }
.chill__msg { color: #CDBFAE; max-width: 44ch; margin: 0 auto; }
@media (max-width: 720px) { .act__row, .act__row--2 { grid-template-columns: 1fr; } .wyr { grid-template-columns: 1fr; } .wyr__or { justify-self: center; } .trivia__opts { grid-template-columns: 1fr; } }
/* daily pick + your arcade */
.daily { padding: 40px 0 0; }
.daily__card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.daily__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.daily__body { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; border-right: 1px solid var(--line); }
.daily__body .h2 { margin: 0; } .daily__body .muted { margin: 0; }
.daily__meta { font-size: 13px; font-weight: 600; color: var(--muted); margin: 6px 0 12px; }
.daily__body .hero__actions { margin: 0; }
.arcade { padding: 26px 28px; background: var(--sunken); }
.arcade[hidden] { display: none; }
.daily__card:has(.arcade[hidden]) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.daily__card:has(.arcade[hidden]) .daily__body { border-right: 0; }
.arcade__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.arcade__stats div { text-align: center; background: var(--panel); border-radius: 12px; padding: 10px 6px; }
.arcade__stats b { display: block; font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--orange-deep); line-height: 1.1; }
.arcade__stats span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.trophies { display: flex; flex-wrap: wrap; gap: 6px; }
.trophy { display: inline-flex; flex-direction: column; padding: 6px 10px; border-radius: 10px; background: var(--panel); border: 1px dashed var(--line-2); opacity: .55; }
.trophy.is-on { opacity: 1; border-style: solid; border-color: var(--mustard); background: #FFF3D6; }
.trophy b { font-family: var(--display); font-weight: 800; font-size: 12px; } .trophy small { font-size: 10px; color: var(--muted); }
.overlay__fact { margin: 4px 0 0; font-size: 13px; color: #CDBFAE; max-width: 40ch; }
.overlay__trophy { margin: 0; font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--mustard); }
.foot__brand p { margin: 0; }
.foot__studio { margin-top: 6px !important; font-size: 13px; }
.foot__studio a { color: var(--orange-deep); font-weight: 700; }
@media (max-width: 900px) { .daily__card { grid-template-columns: 1fr; } .daily__body { border-right: 0; border-bottom: 1px solid var(--line); } .daily__media img { aspect-ratio: 16 / 9; } }
/* facts band */
.band { background: var(--ink); color: var(--cream); }
.band__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; padding: 14px 0; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.band__row span::before { content: "■"; color: var(--mustard); font-size: 8px; margin-right: 12px; vertical-align: 2px; }

/* games grid */
.games { padding: 64px 0 40px; }
.games__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 26px; }
.games__bar .h2 { margin: 0; margin-right: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 38px; padding: 6px 16px; border-radius: 999px; background: transparent; color: var(--muted); border: 1.5px solid var(--line-2); font-family: var(--display); font-weight: 700; font-size: 14px; cursor: pointer; transition: all .15s; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.search input { min-height: 40px; width: 210px; padding: 6px 16px; border-radius: 999px; background: var(--panel); color: var(--ink); border: 1.5px solid var(--line-2); font: inherit; font-size: 14px; }
.search input::placeholder { color: var(--faint); }
.search input:focus { border-color: var(--ink); outline: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.grid--related { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.card { --tint: var(--teal); position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--tint); z-index: 2; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); text-decoration: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--cabinet); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__play { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .25s; background: rgba(36, 31, 27, .35); z-index: 1; }
.card:hover .card__play { opacity: 1; }
.card__play span { padding: 11px 26px; border-radius: 999px; background: var(--cream); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 15px; box-shadow: var(--shadow); }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.card__name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; font-variation-settings: "opsz" 24; }
.card__hook { font-size: 14px; color: var(--muted); line-height: 1.45; }
.card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.card__cat { color: var(--tint-text, var(--teal-deep)); }
.card__best { color: var(--orange-deep); }
.card--arcade { --tint: var(--teal); --tint-text: var(--teal-deep); } .card--puzzle { --tint: var(--mustard); --tint-text: var(--mustard-deep); } .card--action { --tint: var(--orange); --tint-text: var(--orange-deep); } .card--board { --tint: var(--plum); --tint-text: var(--plum); }
.card--soon { opacity: .5; pointer-events: none; }
.card.is-hidden { display: none; }
.empty { color: var(--muted); text-align: center; padding: 48px 0; font-weight: 600; }
.recent { padding: 40px 0 0; }
.recent__row { display: flex; gap: 16px; overflow-x: auto; padding: 6px 0 14px; scrollbar-width: thin; }
.recent__row .card { flex: 0 0 210px; }
.recent__row .card__hook, .recent__row .card__meta { display: none; }
.recent__row .card__name { font-size: 16px; }
.why { padding: 40px 0 88px; }
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.why__item { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.why__item::before { content: attr(data-n); position: absolute; right: 18px; top: 16px; font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--faint); letter-spacing: .1em; }
.why__item b { display: block; font-family: var(--display); font-weight: 800; font-size: 18px; margin-bottom: 8px; font-variation-settings: "opsz" 24; }
.why__item p { margin: 0; font-size: 14px; color: var(--muted); }
.why__item i { display: block; width: 36px; height: 6px; border-radius: 3px; margin-bottom: 16px; background: var(--orange); }
.why__item:nth-child(2) i { background: var(--mustard); } .why__item:nth-child(3) i { background: var(--teal); } .why__item:nth-child(4) i { background: var(--ink); }

/* ---------- game page: the cabinet ---------- */
.crumbs { font-size: 14px; color: var(--muted); padding: 20px 0 8px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--ink); }
.cab__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 6px 0 20px; }
.cab__title { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.8vw, 48px); letter-spacing: -.03em; margin: 0 0 4px; font-variation-settings: "opsz" 96; }
.cab__hook { margin: 0; color: var(--muted); font-size: 16px; }
.cab__cat { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-deep); }
.cab__cat::before { content: ""; width: 20px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--orange) 0 33%, var(--mustard) 33% 66%, var(--teal) 66%); }
.cab__best { margin: 0; text-align: right; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.cab__best b { display: block; font-family: var(--display); font-weight: 800; font-size: 32px; color: var(--orange-deep); line-height: 1.1; margin-top: 2px; }

/* THE CONSOLE — an old device mockup: plastic bezel, curved screen inset, speaker grille, dials, power LED */
.stage { position: relative; margin-inline: auto; max-width: 560px; border-radius: 28px; background: linear-gradient(180deg, #2F2823, #241F1B 30%, #1F1A16); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -2px 0 rgba(0, 0, 0, .5); padding: 0 18px 14px; }
.page-game--landscape .stage { max-width: 900px; }
.stage::before { content: ""; display: block; height: 10px; margin: 0 -18px; border-radius: 28px 28px 0 0; background: linear-gradient(90deg, var(--orange) 0 25%, var(--mustard) 25% 50%, var(--teal) 50% 75%, var(--cream) 75%); }
.stage__marquee { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 6px 10px; color: var(--cream); font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.stage__marquee .m-name { display: inline-flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage__marquee .m-name .m-badge { flex: 0 0 auto; }
.stage__marquee .m-badge { width: 22px; height: 22px; border-radius: 6px; }
.stage__marquee .m-score { font-family: var(--body); font-weight: 700; letter-spacing: .06em; color: var(--mustard); }
.stage__marquee .m-exit { display: none; }
.cab__screen { position: relative; background: #0B0A12; border-radius: 22px; box-shadow: inset 0 0 0 6px #141110, inset 0 0 0 7px #3A322B, inset 0 0 80px rgba(0, 0, 0, .55); overflow: hidden; aspect-ratio: 2 / 3; display: flex; align-items: center; justify-content: center; }
.page-game--landscape .cab__screen { aspect-ratio: 3 / 2; }
.cab__screen canvas { width: 100%; height: 100%; outline: 0; touch-action: none; border-radius: 16px; }
.scan { position: absolute; inset: 0; pointer-events: none; z-index: 1; border-radius: 22px; box-shadow: inset 0 0 90px rgba(0, 0, 0, .5); background: linear-gradient(115deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, 0) 30%); }
.deck { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 6px 2px; }
.deck__grille { width: 84px; height: 22px; border-radius: 6px; background-image: radial-gradient(circle, #0F0C0A 1.6px, transparent 1.7px); background-size: 7px 7px; opacity: .9; }
.deck__plate { font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #8F8072; }
.deck__plate b { color: var(--mustard); font-weight: 800; }
.deck__dials { display: flex; align-items: center; gap: 10px; }
.deck__dials i { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5A4E44, #2A241F 70%); box-shadow: 0 1px 0 rgba(255, 255, 255, .08), 0 2px 4px rgba(0, 0, 0, .6); position: relative; }
.deck__dials i::after { content: ""; position: absolute; left: 50%; top: 2px; width: 2px; height: 5px; margin-left: -1px; background: #1A1512; border-radius: 1px; }
.deck__dials .deck__led { width: 8px; height: 8px; background: #FF5C3B; box-shadow: 0 0 6px #FF5C3B, 0 0 12px rgba(255, 92, 59, .6); animation: led 2.4s ease-in-out infinite; }
.deck__dials .deck__led::after { content: none; }
@keyframes led { 50% { opacity: .55; } }
/* CRT power-on when Play is pressed */
.cab__screen.is-on canvas { animation: poweron .55s cubic-bezier(.2, .8, .2, 1); }
@keyframes poweron { 0% { transform: scaleY(.004) scaleX(.6); filter: brightness(3); } 45% { transform: scaleY(.02) scaleX(1); filter: brightness(2.2); } 100% { transform: none; filter: none; } }
.overlay { position: absolute; inset: 0; z-index: 2; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 28px; text-align: center; background: rgba(36, 31, 27, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--cream); border-radius: 22px; }
.overlay[hidden] { display: none; }
.overlay__title { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 5.5vw, 42px); letter-spacing: -.03em; margin: 0; font-variation-settings: "opsz" 96; }
.overlay__text { margin: 0; font-size: 16px; color: #CDBFAE; max-width: 34ch; }
.overlay__hint { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mustard); margin: 12px 0 0; }
.overlay__score { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 10vw, 80px); letter-spacing: -.04em; margin: 0; color: var(--mustard); line-height: 1; }
.overlay__score small { display: block; font-family: var(--body); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #CDBFAE; margin-top: 12px; }
.overlay__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.overlay .btn { background: var(--cabinet-2); color: var(--cream); border-color: var(--cabinet-line); box-shadow: none; }
.overlay .btn:hover { border-color: var(--cream); }
.overlay .btn--primary { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.overlay .btn--primary:hover { background: var(--cream); border-color: var(--cream); }
.is-newbest #overBest { color: var(--mustard); font-weight: 700; }
.confetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.confetti i { position: absolute; top: -12px; border-radius: 2px; opacity: 0; animation: confetti 2s ease-in forwards; }
@keyframes confetti { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(110vh) rotate(720deg); } }
body.is-playing .confetti i { animation-name: confettiFull; }
@keyframes confettiFull { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(100vh) rotate(720deg); } }
.stage__marquee .m-exit { background: var(--cabinet-2); color: var(--cream); border-color: var(--cabinet-line); box-shadow: none; }
.cab__bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 18px 0 6px; }
.cab__note { text-align: center; color: var(--muted); font-size: 14px; }
/* touch controls (live inside the device) — sized by the viewport so they fit small phones */
.touchpad { --k: clamp(44px, 13vmin, 62px); display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 4px 6px; }
.touchpad[hidden] { display: none; }
.dpad { display: grid; grid-template-columns: repeat(3, var(--k)); grid-template-rows: repeat(3, var(--k)); gap: 4px; }
.dpad__b, .abtn__b { -webkit-tap-highlight-color: transparent; touch-action: none; user-select: none; background: radial-gradient(circle at 40% 30%, #3B332C, #2A241F 70%); color: var(--cream); border: 1px solid var(--cabinet-line); border-radius: 14px; font-family: var(--display); font-weight: 800; font-size: calc(var(--k) * .3); cursor: pointer; box-shadow: 0 3px 0 #15110E, 0 4px 8px rgba(0, 0, 0, .5); display: grid; place-items: center; }
.dpad__b:active, .abtn__b:active, .dpad__b.is-down, .abtn__b.is-down { background: var(--cream); color: var(--ink); transform: translateY(3px); box-shadow: 0 0 0 #15110E; }
.dpad__b--up { grid-column: 2; grid-row: 1; } .dpad__b--left { grid-column: 1; grid-row: 2; } .dpad__b--right { grid-column: 3; grid-row: 2; } .dpad__b--down { grid-column: 2; grid-row: 3; }
.dpad::before { content: ""; grid-column: 2; grid-row: 2; border-radius: 50%; margin: 30%; background: #1A1512; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .6); }
.abtn { display: flex; gap: 12px; align-items: flex-end; }
.abtn__b { width: calc(var(--k) * 1.25); height: calc(var(--k) * 1.25); border-radius: 50%; font-size: calc(var(--k) * .34); }
.abtn__b--a { background: radial-gradient(circle at 40% 30%, #F26A34, var(--orange-deep) 75%); color: var(--cream); border-color: var(--orange-deep); margin-bottom: calc(var(--k) * .35); }
.abtn__b--b { background: radial-gradient(circle at 40% 30%, #F2BC48, #C98F20 75%); color: var(--ink); border-color: #C98F20; }
.touchpad.mode-buttons .dpad__b--up, .touchpad.mode-buttons .dpad__b--down { visibility: hidden; }
.touchpad.mode-tap { justify-content: center; gap: 24px; }
.touchpad.mode-tap .dpad { display: none; }
.touchpad.mode-tap .abtn__b { width: calc(var(--k) * 1.6); height: calc(var(--k) * 1.6); margin-bottom: 0; }
.touchpad.mode-tap .abtn__b--b { display: none; }
.stage__marquee .m-tools { display: inline-flex; gap: 6px; }
.stage__marquee .m-pad { display: none; background: var(--cabinet-2); color: var(--cream); border-color: var(--cabinet-line); box-shadow: none; }
body.is-playing .stage__marquee .m-pad:not([hidden]) { display: inline-flex; }

/* ---------- PLAY MODE: the device fills the screen; the canvas is fitted, never cropped ---------- */
body.is-playing { overflow: hidden; }
body.is-playing .stage { position: fixed; inset: 0; z-index: 100; max-width: none; margin: 0; border-radius: 0; box-shadow: none; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); background: var(--cabinet); display: flex; flex-direction: column; }
body.is-playing .stage::before { border-radius: 0; margin: 0; flex: 0 0 auto; }
body.is-playing .stage__marquee { flex: 0 0 auto; padding: 10px 16px; }
body.is-playing .stage__marquee .m-exit { display: inline-flex; }
body.is-playing .cab__screen { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; background: var(--cabinet); }
body.is-playing .cab__screen canvas { width: auto; height: auto; border-radius: 14px; box-shadow: 0 0 0 6px #141110, 0 0 0 7px #3A322B, 0 20px 50px rgba(0, 0, 0, .5); }
body.is-playing .scan { display: none; }
body.is-playing .deck { display: none; }
body.is-playing .touchpad { flex: 0 0 auto; max-width: 560px; width: 100%; margin-inline: auto; padding: 8px 14px 10px; }
@media (max-height: 640px) { body.is-playing .touchpad { --k: clamp(40px, 10vmin, 52px); padding: 6px 12px 8px; } }
.stage:fullscreen { background: var(--cabinet); }

/* ad slots */
.adslot { min-height: 100px; margin: 14px auto; max-width: 900px; border-radius: var(--r); background: var(--sunken); border: 1px dashed var(--line-2); display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.adslot:empty::before { content: "Advertisement"; }
.adslot--inter { min-height: 0; margin: 0; width: 100%; }
.adslot--inter[hidden] { display: none; }
.adslot.is-filled { background: none; border: 0; }
.adslot.is-filled::before { content: none; }
@media (min-width: 720px) { .adslot--top, .adslot--bottom { min-height: 90px; } }
.cab__info { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; padding: 32px 0 8px; }
.cab__col { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; }
.steps { margin: 0; padding-left: 20px; font-size: 15px; color: var(--muted); }
.steps li { margin: 7px 0; }
.steps li::marker { color: var(--orange-deep); font-weight: 700; }
.keys { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.keys li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.keys li:last-child { border: 0; }
.cab__about { padding: 26px 0; max-width: 72ch; }
.cab__about p { color: var(--muted); }
.related { padding: 26px 0 72px; }

.games__hubs { margin: 26px 0 0; font-size: 15px; color: var(--muted); }

/* collection pages: /games/ and the four category hubs */
.coll { padding-bottom: 24px; }
.coll__head { max-width: 68ch; padding: 8px 0 26px; }
.coll__title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.6vw, 48px); line-height: 1.02; letter-spacing: -.028em; margin: 0 0 14px; font-variation-settings: "opsz" 96; }
.coll__lede { font-size: 18px; color: var(--muted); margin: 0 0 14px; }
.coll__facts { font-size: 14px; color: var(--faint); margin: 0; }
.coll__facts b { color: var(--ink); font-family: var(--display); font-weight: 800; }
.chips--coll { margin-bottom: 26px; }
.chips--coll .chip { text-decoration: none; display: inline-flex; align-items: center; }
.coll__copy { padding: 44px 0 8px; max-width: 72ch; }
.coll__copy h2 { font-family: var(--display); font-weight: 800; font-size: 20px; margin: 26px 0 6px; font-variation-settings: "opsz" 24; }
.coll__copy h2:first-child { margin-top: 0; }
.coll__copy p { font-size: 16px; color: var(--muted); margin: 0 0 10px; }
.coll__back { padding-top: 8px; font-weight: 600; }

/* info pages */
.prose { padding: 52px 0 80px; max-width: 72ch; }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: 24px; margin: 32px 0 8px; font-variation-settings: "opsz" 24; }
.prose p, .prose li { font-size: 16px; color: var(--muted); }
.prose .lead { font-size: 19px; color: var(--ink); }
.prose h3 { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 18px 0 4px; }
.prose ul { padding-left: 22px; } .prose li { margin: 4px 0; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--sunken); padding: 1px 6px; border-radius: 6px; }
.tablewrap { overflow-x: auto; margin: 12px 0 20px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.notfound { text-align: center; padding: 90px 0; }
.notfound__code { font-family: var(--display); font-weight: 800; font-size: clamp(72px, 18vw, 160px); margin: 0; line-height: 1; letter-spacing: -.05em; }
.notfound .grid { margin-top: 48px; text-align: left; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 30px 0; margin-top: 24px; background: var(--panel); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--muted); }
.foot__brand { margin: 0; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; }
.foot__nav a { color: var(--ink); }

/* consent: a friendly card, both choices equally easy */
.consent { position: fixed; inset: auto 16px 16px 16px; z-index: 40; display: flex; justify-content: center; transition: transform .35s var(--ease), opacity .35s; }
.consent[hidden] { display: none; }
.consent.is-hidden-anim, .consent.is-leaving { transform: translateY(24px); opacity: 0; }
.consent__box { display: flex; gap: 18px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 20px 22px; max-width: 620px; width: 100%; position: relative; overflow: hidden; }
.consent__box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--orange) 0 25%, var(--mustard) 25% 50%, var(--teal) 50% 75%, var(--ink) 75%); }
.consent__art { flex: 0 0 auto; padding-top: 4px; }
.consent__art img { width: 56px; height: 56px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.consent__body { min-width: 0; }
.consent__title { font-family: var(--display); font-weight: 800; font-size: 20px; margin: 4px 0 6px; letter-spacing: -.01em; }
.consent__text { margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.consent__actions .btn { min-height: 44px; }
.consent__link { margin-left: auto; font-weight: 600; font-size: 14px; }
@media (max-width: 560px) { .consent { inset: auto 10px 10px 10px; } .consent__box { padding: 16px; gap: 12px; } .consent__art img { width: 40px; height: 40px; border-radius: 10px; } .consent__title { font-size: 18px; } .consent__actions .btn { flex: 1 1 auto; } .consent__link { margin-left: 0; flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding: 52px 0 40px; } }
@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  /* phones: the nav links collapse, and the two buttons must not run over the wordmark */
  .top__nav a:not(:last-of-type) { display: none; }
  .top__row { gap: 10px; }
  .logo { font-size: 19px; gap: 9px; min-width: 0; }
  .logo__badge { width: 34px; height: 34px; border-radius: 9px; }
  .top__nav { flex: 0 0 auto; }
  .top__nav .btn { margin-left: 6px; }
  .top__nav .btn--sm { padding: 6px 12px; font-size: 12px; white-space: nowrap; }
  .top__nav .wide-only { display: none; }
  .top__nav .narrow-only { display: inline; }
  .cab__head { flex-direction: column; align-items: flex-start; }
  .cab__best { text-align: left; } .cab__best b { display: inline; margin-left: 8px; font-size: 24px; }
  .games__bar .h2 { flex-basis: 100%; }
  .search { flex: 1; } .search input { width: 100%; }
  .stage { padding: 0 10px 10px; border-radius: 22px; } .stage::before { margin: 0 -10px; border-radius: 22px 22px 0 0; } .deck__grille { width: 56px; }
  .band__row { justify-content: flex-start; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .btn, .card, .feature, .card__media img { transition: none; } .ticker__row { animation: none; } .cab__screen.is-on canvas, .deck__led, html.is-ready .hero > .wrap > div:first-child, html.is-ready .hero__logo, html.is-ready .games, html.is-ready .cab__head, html.is-ready .stage { animation: none; } }
