/* Quizzical: late-night game show set in Swiss type. */
:root {
  --ink: #07070b; --ink2: #0e0e16; --ink3: #171724; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.16);
  --paper: #f4f1ea; --paper2: rgba(244,241,234,.72); --muted: rgba(244,241,234,.48);
  --a: #ff4d5e; --b: #3d7bff; --c: #ffc43d; --d: #22d3a0; --hot: #ff4d5e; --good: #22d3a0;
  --ui: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.34,1.56,.64,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--ink); color: var(--paper); font-family: var(--ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
input { font: inherit; color: inherit; }
.hidden { display: none !important; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; }

/* living colour field behind everything */
.aurora { position: fixed; inset: -20%; z-index: 0; pointer-events: none; filter: blur(90px) saturate(1.2); opacity: .5; }
.aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; mix-blend-mode: screen; animation: drift 26s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: var(--a); left: 2%; top: 8%; }
.aurora i:nth-child(2) { background: var(--b); right: 0; top: 0; animation-duration: 31s; animation-delay: -8s; }
.aurora i:nth-child(3) { background: var(--c); left: 30%; bottom: -6%; animation-duration: 37s; animation-delay: -4s; opacity: .7; }
.aurora i:nth-child(4) { background: var(--d); right: 10%; bottom: 4%; animation-duration: 29s; animation-delay: -14s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(8vmax,-6vmax) scale(1.15); } 100% { transform: translate(-6vmax,5vmax) scale(.9); } }
.aurora.calm { opacity: .22; }
.grain::after { content: ''; position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.btn { height: 56px; padding: 0 28px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: -.01em; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .2s var(--ease), opacity .2s, box-shadow .3s; box-shadow: 0 10px 40px -10px rgba(255,255,255,.35); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .35; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line2); }
.btn.block { width: 100%; }
.ava { display: inline-grid; place-items: center; border-radius: 50%; background: var(--pc, #333); line-height: 1; flex: none; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); }

/* answer colours by slot */
.s0 { --sc: var(--a); } .s1 { --sc: var(--b); } .s2 { --sc: var(--c); } .s3 { --sc: var(--d); }
.letter { display: inline-grid; place-items: center; font-weight: 900; color: var(--ink); background: var(--sc); border-radius: 22%; }
