/* Speed Gaming Daily: the hub and the five game pages.
 * The site's night-arcade look (ink, glass panels, slanted plates, Barlow numbers), one column, one thing to
 * do at a time. Each game has its own accent; results use the provider's meaning colours: green a hit,
 * gold close, red a miss. */
:root {
	color-scheme: dark;
	--ink: #07080f;
	--glass: linear-gradient(180deg, rgba(28, 33, 56, .9), rgba(12, 14, 28, .92));
	--glass-flat: rgba(20, 24, 44, .85);
	--line: rgba(190, 200, 255, .14);
	--line-2: rgba(190, 200, 255, .26);
	--text: #eef1ff;
	--muted: #a6adcd;
	--cyan: #27e3ff;
	--violet: #8a5cff;
	--speed: linear-gradient(90deg, var(--cyan), var(--violet));
	--good: #43e08c;           /* provider-wide meaning colours */
	--close: #ffc542;
	--miss: #ff3b4e;
	--accent: #27e3ff;
	--accent-ink: #001a22;
	--f-frame: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', ui-sans-serif, sans-serif;
	--f-body: 'Nunito', ui-rounded, 'Segoe UI', system-ui, sans-serif;
	--slant: -12deg;
	--gutter-l: max(16px, env(safe-area-inset-left, 0px));
	--gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
.g-pigment { --accent: #ff5fae; --accent-ink: #2b0016; }
.g-hertz { --accent: #4aa8ff; --accent-ink: #001a33; }
.g-blindstop { --accent: #ff9a3c; --accent-ink: #2a0c00; }
.g-thread { --accent: #a98bff; --accent-ink: #160a33; }
.g-split { --accent: #35d0c6; --accent-ink: #00211f; }

@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-700i.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-800i.woff2') format('woff2'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-900i.woff2') format('woff2'); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('/fonts/nunito-var.woff2') format('woff2'); font-weight: 200 1000; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; min-height: 100vh; color: var(--text); font: 400 16px/1.5 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip;
	background: radial-gradient(110% 55% at 50% -12%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 62%),
		repeating-linear-gradient(172deg, transparent 0 70px, rgba(39, 227, 255, .035) 70px 71px, transparent 71px 160px), var(--ink); }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.ic { width: 1em; height: 1em; fill: currentColor; flex: none; }
.center { text-align: center; }
.fine { font-size: 13.5px; color: var(--muted); }

/* ── the bar ── */
.bar { display: flex; align-items: center; gap: 12px; padding: 12px var(--gutter-r) 12px var(--gutter-l); max-width: 760px; margin: 0 auto; }
.home img { width: 30px; height: 30px; }
.plate { padding: 7px 14px; font: italic 900 15px/1 var(--f-frame); letter-spacing: 2.4px; text-transform: uppercase; color: var(--ink); text-decoration: none; background: var(--speed); transform: skewX(var(--slant)); }
.spacer { flex: 1; }
.streak { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; background: var(--glass-flat); box-shadow: inset 0 0 0 1px var(--line); font: italic 900 18px/1 var(--f-frame); }
.streak .ic { color: #ff8a3d; font-size: 18px; }
.help { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--glass-flat); box-shadow: inset 0 0 0 1px var(--line-2); font: italic 900 20px/1 var(--f-frame); cursor: pointer; }
.help:hover { box-shadow: inset 0 0 0 2px var(--accent); }

/* ── a game page ── */
.col { width: 100%; max-width: 560px; margin: 0 auto; padding: 8px var(--gutter-r) 40px var(--gutter-l); display: grid; gap: 16px; }
.col.wide { max-width: 760px; }
.title { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.badge { display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 10px; background: var(--accent); color: var(--accent-ink); transform: skewX(var(--slant));
	box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), 0 4px 0 color-mix(in srgb, var(--accent) 45%, #000), 0 0 32px color-mix(in srgb, var(--accent) 40%, transparent); }
.badge .ic { font-size: 34px; transform: skewX(calc(-1 * var(--slant))); }
.title h1 { font: italic 900 46px/.95 var(--f-frame); text-transform: uppercase; letter-spacing: .5px; display: flex; align-items: baseline; gap: 10px; }
.title .no { font: italic 800 20px/1 var(--f-frame); color: var(--accent); letter-spacing: 1px; }
.title .line { color: var(--muted); }
.card { background: var(--glass); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px rgba(0, 0, 0, .35); padding: 18px; display: grid; gap: 18px; justify-items: center; }
.game-top { width: 100%; display: flex; align-items: center; gap: 12px; }
.meta { color: var(--muted); font-size: 14px; flex: 1; }
.timer { font: italic 900 22px/1 var(--f-frame); font-variant-numeric: tabular-nums; }
.dots { display: flex; gap: 6px; }
.dots i { width: 22px; height: 8px; border-radius: 2px; background: var(--line-2); transform: skewX(var(--slant)); }
.dots i.now { background: var(--accent); box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 60%, transparent); }
.dots i.g { background: var(--good); } .dots i.y { background: var(--close); } .dots i.r { background: var(--miss); } .dots i.i { background: var(--text); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; width: 100%; }
.fine .link { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }

/* buttons: the brand's slanted plate */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: 132px; padding: 0 24px; border: 0; border-radius: 6px; cursor: pointer; text-decoration: none;
	font: italic 900 20px/1 var(--f-frame); letter-spacing: 1.6px; text-transform: uppercase; transform: skewX(var(--slant)); transition: transform .12s ease, filter .12s ease; }
.btn > span { transform: skewX(calc(-1 * var(--slant))); }
.btn:hover:not(:disabled) { filter: brightness(1.08); transform: skewX(var(--slant)) translateY(-2px); }
.btn:active:not(:disabled) { transform: skewX(var(--slant)) translateY(1px); }
.btn-go { color: var(--accent-ink); background: var(--accent); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 5px 0 color-mix(in srgb, var(--accent) 40%, #000), 0 0 26px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-ghost { color: var(--text); background: var(--glass-flat); box-shadow: inset 0 0 0 2px var(--line-2); }
.btn-ghost:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--accent); }
.btn:disabled { opacity: .38; cursor: default; filter: saturate(.4); }

/* ── PIGMENT ── */
.disc-wrap { display: grid; gap: 8px; justify-items: center; }
.disc { position: relative; width: min(70vw, 270px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: flex;
	box-shadow: 0 0 0 6px rgba(255, 255, 255, .06), 0 0 0 7px var(--line), 0 20px 50px rgba(0, 0, 0, .45); }
.half { flex: 1; transition: background .25s ease; }
.half.mine { border-left: 3px solid var(--ink); }
.half.empty { background: repeating-conic-gradient(#1a1f38 0 25%, #121528 0 50%) 0 0 / 18px 18px; }
.match { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center;
	background: rgba(7, 8, 15, .82); box-shadow: inset 0 0 0 2px var(--line-2); backdrop-filter: blur(6px); }
.match b { font: italic 900 30px/1 var(--f-frame); font-variant-numeric: tabular-nums; }
.match small { font: italic 700 11px/1 var(--f-frame); letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.disc-labels { width: min(70vw, 270px); display: flex; justify-content: space-between; font: italic 700 13px/1 var(--f-frame); letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.paints { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.paint { position: relative; display: grid; justify-items: center; gap: 6px; padding: 10px 2px 8px; border: 0; border-radius: 14px; background: var(--glass-flat); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: transform .1s ease; }
.paint:hover { box-shadow: inset 0 0 0 2px var(--line-2); }
.paint:active { transform: scale(.94); }
.blob { width: 46px; height: 46px; border-radius: 50% 50% 46% 54% / 56% 50% 50% 44%; background: var(--paint);
	box-shadow: inset -5px -6px 0 rgba(0, 0, 0, .22), inset 4px 5px 0 rgba(255, 255, 255, .35), 0 4px 10px rgba(0, 0, 0, .35); }
.pname { font: italic 700 13px/1 var(--f-frame); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.count { position: absolute; top: 4px; right: 6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; display: grid; place-items: center; font: italic 900 14px/1 var(--f-frame); font-style: italic; background: var(--accent); color: var(--accent-ink); }
.count:empty { display: none; }

/* ── HERTZ (and SPLIT's notes) ── */
.big-play { display: grid; justify-items: center; gap: 10px; border: 0; background: none; cursor: pointer; padding: 6px; }
.big-play .ic { box-sizing: content-box; width: 46px; height: 46px; padding: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); padding-left: 40px; padding-right: 28px;
	box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45), 0 6px 0 color-mix(in srgb, var(--accent) 40%, #000), 0 0 40px color-mix(in srgb, var(--accent) 45%, transparent); transition: transform .12s ease; }
.big-play:hover .ic { transform: scale(1.04); }
.big-play:active .ic { transform: scale(.96); }
.big-play span { font: italic 800 16px/1 var(--f-frame); letter-spacing: 2px; text-transform: uppercase; }
.big-play.playing .ic { animation: ring 1s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent), 0 6px 0 color-mix(in srgb, var(--accent) 40%, #000); } 100% { box-shadow: 0 0 0 26px transparent, 0 6px 0 color-mix(in srgb, var(--accent) 40%, #000); } }
.hz-read { display: flex; align-items: baseline; gap: 8px; }
.hz-read b { font: italic 900 64px/1 var(--f-frame); font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.hz-read .unit { font: italic 800 24px/1 var(--f-frame); color: var(--muted); }
.hz-read .note { margin-left: 6px; padding: 4px 9px; border-radius: 6px; font: italic 800 16px/1 var(--f-frame); background: var(--glass-flat); box-shadow: inset 0 0 0 1px var(--line-2); }
.dial-wrap { width: 100%; display: grid; gap: 6px; }
.dial { width: 100%; height: 44px; accent-color: var(--accent); cursor: pointer; }
.scale { display: flex; justify-content: space-between; font: italic 700 13px/1 var(--f-frame); letter-spacing: 1px; color: var(--muted); }

/* ── BLINDSTOP ── */
.goal { font-size: 18px; text-align: center; }
.goal b { font: italic 900 34px/1 var(--f-frame); color: var(--accent); padding: 0 4px; }
.clock { width: 100%; min-height: 200px; display: grid; place-content: center; gap: 10px; border: 0; border-radius: 16px; cursor: pointer; background: rgba(7, 8, 15, .6); box-shadow: inset 0 0 0 2px var(--line-2); user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.clock-t { font: italic 900 clamp(84px, 24vw, 120px)/.9 var(--f-frame); font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.clock-hint { font: italic 800 15px/1 var(--f-frame); letter-spacing: 2.4px; text-transform: uppercase; color: var(--accent); }
.clock.running { box-shadow: inset 0 0 0 3px var(--accent), 0 0 40px color-mix(in srgb, var(--accent) 30%, transparent); }
.clock.dark .clock-t { color: #3a4060; }

/* ── THREAD ── */
.board { position: relative; width: min(100%, 400px); }
/* every row and column an equal share, so a square with a number is the same size as one without */
.grid { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); grid-template-rows: repeat(var(--n), minmax(0, 1fr)); aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: rgba(7, 8, 15, .55); box-shadow: inset 0 0 0 2px var(--line-2); touch-action: none; user-select: none; -webkit-user-select: none; }
.cell { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; cursor: pointer; box-shadow: inset 0 0 0 .5px var(--line); transition: background .12s ease; }
.cell b { position: relative; z-index: 2; width: 62%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--ink); font: italic 900 clamp(16px, 4.5vw, 24px)/1 var(--f-frame); }
.cell.on { background: color-mix(in srgb, var(--accent) 24%, transparent); }
.cell.head { background: color-mix(in srgb, var(--accent) 48%, transparent); }
.thread-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.thread-line polyline { fill: none; stroke: var(--accent); stroke-width: .3; stroke-linecap: round; stroke-linejoin: round; }
.board.solved .grid { box-shadow: inset 0 0 0 3px var(--good), 0 0 40px color-mix(in srgb, var(--good) 40%, transparent); }
.board.solved .thread-line polyline { stroke: var(--good); }

/* ── SPLIT ── */
.ask { font: italic 900 30px/1.05 var(--f-frame); text-transform: uppercase; text-align: center; letter-spacing: .5px; }
.stage { min-height: 230px; display: grid; place-content: center; justify-items: center; gap: 14px; }
.swatch { width: min(64vw, 230px); aspect-ratio: 1; border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.quartet { position: relative; width: 180px; border-radius: 14px; background: rgba(7, 8, 15, .6); box-shadow: inset 0 0 0 1px var(--line-2); }
.quartet i { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--text); opacity: 0; translate: -50% -50%; }
.quartet .q0 { left: 18%; top: 18%; } .quartet .q1 { left: 82%; top: 18%; } .quartet .q2 { left: 18%; top: 82%; } .quartet .q3 { left: 82%; top: 82%; }
.quartet[data-f="0"] .q0, .quartet[data-f="0"] .q3, .quartet[data-f="1"] .q1, .quartet[data-f="1"] .q2 { opacity: 1; }
.choices { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { min-height: 76px; display: grid; justify-items: center; align-content: center; gap: 4px; border: 0; border-radius: 14px; cursor: pointer; background: var(--glass-flat); box-shadow: inset 0 0 0 2px var(--line-2);
	font: italic 900 22px/1 var(--f-frame); text-transform: uppercase; letter-spacing: 1px; transition: transform .1s ease; }
.choice .mark { font-size: 24px; font-style: normal; }
.choice:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--accent); }
.choice:active:not(:disabled) { transform: scale(.97); }
.choice:disabled { opacity: .38; cursor: default; }

/* ── the reveal: hidden until Lock in, then it counts up and takes its meaning colour ── */
.k-g { color: var(--good); } .k-y { color: var(--close); } .k-r { color: var(--miss); }
.pop { animation: pop .5s cubic-bezier(.2, 1.7, .4, 1); }
@keyframes pop { from { transform: scale(.8); } }
.fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 40; }
.match:has(.k-g) { box-shadow: inset 0 0 0 3px var(--good), 0 0 34px color-mix(in srgb, var(--good) 45%, transparent); }
.match:has(.k-y) { box-shadow: inset 0 0 0 3px var(--close); } .match:has(.k-r) { box-shadow: inset 0 0 0 3px var(--miss); }
.track { position: relative; }
.truth { position: absolute; top: 50%; width: 4px; height: 30px; translate: -50% -50%; border-radius: 2px; background: var(--text); box-shadow: 0 0 12px rgba(255, 255, 255, .6); pointer-events: none;
	transition: left 1.3s cubic-bezier(.2, .8, .2, 1); }
.truth::after { content: 'it was'; position: absolute; bottom: calc(100% + 4px); left: 50%; translate: -50% 0; font: italic 800 11px/1 var(--f-frame); letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }
.meter { width: 100%; display: grid; gap: 10px; justify-items: center; }
.meter-num { display: flex; align-items: baseline; gap: 8px; }
.meter-num b { font: italic 900 64px/1 var(--f-frame); font-variant-numeric: tabular-nums; min-width: 3.2ch; text-align: right; }
.meter-num small { font: italic 800 20px/1 var(--f-frame); letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.meter-bar { width: 100%; height: 14px; border-radius: 4px; overflow: hidden; background: rgba(7, 8, 15, .6); box-shadow: inset 0 0 0 1px var(--line-2); transform: skewX(var(--slant)); }
.meter-bar i { display: block; width: 0; height: 100%; background: var(--accent); transition: background .3s ease; }
.meter.k-g .meter-bar i { background: var(--good); } .meter.k-y .meter-bar i { background: var(--close); } .meter.k-r .meter-bar i { background: var(--miss); }
.hz-detail { min-height: 1.5em; color: var(--muted); font-size: 15px; text-align: center; } /* the line is there before it's filled, so nothing below it jumps */
.big-play:disabled { cursor: default; opacity: .45; }
.big-play:disabled .ic { box-shadow: none; }
.dial:disabled { opacity: .7; cursor: default; }
.snd .ic { font-size: 19px; }
.snd[aria-pressed="false"] { color: var(--muted); }

/* ── the result ── */
.result { justify-items: stretch; text-align: center; animation: rise .35s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.eyebrow { font: italic 800 14px/1 var(--f-frame); letter-spacing: 2.4px; text-transform: uppercase; color: var(--accent); }
.tier { font: italic 900 clamp(44px, 12vw, 64px)/.92 var(--f-frame); text-transform: uppercase; letter-spacing: .5px; }
.tier.good { color: var(--good); } .tier.close { color: var(--close); } .tier.miss { color: var(--miss); } .tier.info { color: var(--text); }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; justify-items: center; font-size: 15px; }
.lines li { display: flex; align-items: center; gap: 8px; }
.sq { width: 14px; height: 14px; border-radius: 3px; flex: none; transform: skewX(var(--slant)); }
.sq.g { background: var(--good); } .sq.y { background: var(--close); } .sq.r { background: var(--miss); }
.share-text { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(7, 8, 15, .55); box-shadow: inset 0 0 0 1px var(--line); font: 500 14px/1.5 ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; white-space: pre-wrap; text-align: left; justify-self: center; }
.next-in { color: var(--muted); font-size: 14px; }
.next-in b { font: italic 900 18px/1 var(--f-frame); color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: .5px; }

/* the five games, one tap apart */
.more { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }
.more a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; text-decoration: none; color: var(--muted); background: var(--glass-flat); box-shadow: inset 0 0 0 1px var(--line); transform: skewX(var(--slant)); }
.more a .ic { font-size: 22px; transform: skewX(calc(-1 * var(--slant))); }
.more a:hover { color: var(--text); box-shadow: inset 0 0 0 2px var(--line-2); }
.more a[aria-current="page"] { color: var(--accent-ink); background: var(--accent); box-shadow: none; }

/* how to play */
.sheet { max-width: min(420px, calc(100vw - 32px)); padding: 26px 22px 22px; border: 0; border-radius: 20px; color: var(--text); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px rgba(0, 0, 0, .6); text-align: center; }
.sheet[open] { display: grid; gap: 16px; justify-items: center; animation: rise .25s ease-out; }
.sheet::backdrop { background: rgba(4, 5, 10, .72); backdrop-filter: blur(4px); }
.sheet h2 { font: italic 900 30px/1 var(--f-frame); text-transform: uppercase; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; text-align: left; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; transform: skewX(var(--slant)); background: var(--accent); color: var(--accent-ink); font: italic 900 17px/1 var(--f-frame); }

.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 20; translate: -50% calc(100% + 60px); visibility: hidden; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px; background: #f2f4ff; color: var(--ink); font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); transition: translate .25s ease, visibility .25s; pointer-events: none; }
.toast.show { translate: -50% 0; visibility: visible; }

/* ── the hub ── */
.hub-head { display: grid; gap: 14px; padding: 18px 0 8px; }
.hub-title { font: italic 900 clamp(52px, 12vw, 92px)/.88 var(--f-frame); text-transform: uppercase; letter-spacing: .5px; }
.hub-title span { background: var(--speed); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.lede { font-size: 18px; color: var(--muted); max-width: 46ch; }
.hub-go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.g-hub .btn-go { --accent: #27e3ff; --accent-ink: #001a22; background: var(--speed); }
.progress { display: grid; gap: 2px; color: var(--muted); font-size: 14px; }
.progress b { color: var(--text); }
.progress #next-in { font: italic 900 17px/1 var(--f-frame); font-variant-numeric: tabular-nums; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px 14px 16px; border-radius: 16px; text-decoration: none;
	background: var(--glass); box-shadow: inset 0 0 0 1px var(--line); transition: transform .14s ease, box-shadow .14s ease; }
.tile:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--accent), 0 14px 30px rgba(0, 0, 0, .35); }
.tile-text { display: grid; gap: 2px; }
.tile-text b { font: italic 900 30px/1 var(--f-frame); text-transform: uppercase; letter-spacing: .5px; }
.tile-text span { color: var(--muted); font-size: 15px; }
.tile-go { display: grid; justify-items: end; gap: 6px; }
.tile-play { padding: 9px 16px; font: italic 900 16px/1 var(--f-frame); letter-spacing: 2px; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); transform: skewX(var(--slant)); border-radius: 4px; }
.tile-sq { display: flex; gap: 4px; }
.tile-tier { font: italic 800 15px/1 var(--f-frame); letter-spacing: 1px; text-transform: uppercase; }
.tile-tier.good { color: var(--good); } .tile-tier.close { color: var(--close); } .tile-tier.miss { color: var(--miss); } .tile-tier.info { color: var(--text); }
.tile.done { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }

/* ── footer ── */
.foot { max-width: 760px; margin: 0 auto; padding: 26px var(--gutter-r) max(30px, env(safe-area-inset-bottom, 0px)) var(--gutter-l); border-top: 1px solid var(--line);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 22px; color: var(--muted); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a { text-decoration: none; font: italic 700 15px/1 var(--f-frame); letter-spacing: 1.6px; text-transform: uppercase; color: var(--text); }
.foot a:hover { color: var(--cyan); }

@media (max-width: 420px) {
	.title h1 { font-size: 38px; }
	.badge { width: 50px; height: 50px; } .badge .ic { font-size: 28px; }
	.blob { width: 40px; height: 40px; }
	.tile { gap: 12px; padding: 12px 14px; }
	.tile-text b { font-size: 25px; }
	.tile-text span { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
