/* SwingField website (swingfield.dk). Espresso only, by choice: the warmth
   of the app is the brand. Shared by every page in web/; page-only bits sit
   at the bottom under their page name. No build step.
   Tokens follow the app's Espresso (theme.css :root). */

@font-face { font-family: "Cinzel"; src: url("fonts/cinzel-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ground: #1c1713; --bg: #211a15; --surface: #2e251f; --surface-2: #3a3028; --well: #1a1410;
  --hair: #ffffff1c; --hair-strong: #ffffff30;
  --gold: #D6BF84; --gold-dim: #D6BF8433; --gold-hi: #f3e2b4; --gold-lo: #a88d4f; --on-gold: #2a1f10;
  --text: #F6EFE6; --soft: #e3d7c9; --muted: #C4B6A6; --live: #4ADE9F; --under: #EF6A6F;
  --mk-birdie: #D2343B; --mk-bogey: #3F7FC0; --mk-double: #21497A;
  --key-top: #52443A; --key-edge: #ffffff26; --shadow: #000a;
  --flame: #ff9a40; --ember: #f58a34; --ember-2: #ffb15c; --ember-hot: #ffd9a0; --ember-glow: #ff7a3a2e; --coal: #ff6a2a; --mote: #f3e2b4;
  --ghost-faint: #C8B27A17; --ghost-line: #C8B27A2e;
  --serif: "Cinzel", Copperplate, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='16 8 88 96' fill='currentColor'%3E%3Cmask id='m' maskUnits='userSpaceOnUse' x='0' y='0' width='120' height='120'%3E%3Cg transform='translate(0 7)'%3E %3Cpath d='M45 7 Q60 3 75 7 Q78 9 73 15 L65 22 H55 L47 15 Q42 9 45 7 Z M51 10.5 Q60 8.5 69 10.5 Q69.8 11.6 67 14.4 L62 18.6 H58 L53 14.4 Q50.2 11.6 51 10.5 Z' style='fill:%23fff' fill-rule='evenodd'/%3E %3Crect x='55' y='21' width='10' height='3' rx='1' style='fill:%23fff'/%3E %3Cpath d='M52 24 H68 L66 28 H54 Z' style='fill:%23fff'/%3E %3Cpath d='M54 28 Q50 38 27 41 L60 46 L60 30 Z' style='fill:%23fff'/%3E %3Cpath d='M66 28 Q70 38 93 41 L60 46 L60 30 Z' style='fill:%23fff'/%3E %3Cpath d='M27 41 L60 46 V50 L27 45 Z' style='fill:%23fff'/%3E %3Cpath d='M93 41 L60 46 V50 L93 45 Z' style='fill:%23fff'/%3E %3Cpath d='M34 45 L60 50 V91 L37 86 Z' style='fill:%23fff'/%3E %3Cpath d='M86 45 L60 50 V91 L83 86 Z' style='fill:%23fff'/%3E %3Cpath d='M38.5 50.5 L56.5 54 V85.6 L41 82.4 Z' style='fill:%23000'/%3E %3Cpath d='M81.5 50.5 L63.5 54 V85.6 L79 82.4 Z' style='fill:%23000'/%3E %3Cpath d='M38.5 50.5 L56.5 85.6 M56.5 54 L41 82.4 M81.5 50.5 L63.5 85.6 M63.5 54 L79 82.4' style='stroke:%23fff;fill:none' stroke-width='2.2' stroke-linecap='round'/%3E %3Cpath d='M57.5 50 L60 50.5 L62.5 50 V91 L60 91.5 L57.5 91 Z' style='fill:%23fff'/%3E %3Cpath d='M30 86 L60 91.5 L90 86 L83 84.6 L60 89 L37 84.6 Z' style='fill:%23fff'/%3E %3Cpath d='M30 86 L60 91.5 V96 L30 90.5 Z' style='fill:%23fff'/%3E %3Cpath d='M90 86 L60 91.5 V96 L90 90.5 Z' style='fill:%23fff'/%3E%3C/g%3E%3Cg transform='translate(0 7)'%3E%3Cpath d='M52 28 H68 M27 41 L60 46 L93 41 M27 45.2 L60 50.2 L93 45.2 M60 30 V45.4 M37 84.6 L60 89 L83 84.6' stroke='%23000' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3C/mask%3E%3Crect width='120' height='120' style='fill:currentColor' mask='url(%23m)'/%3E%3C/svg%3E");
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; overflow-x: clip; position: relative; color: var(--text); font: 15px/1.55 var(--sans);
  background: radial-gradient(90% 40% at 50% 0%, #3b2a1d 0%, transparent 70%), var(--bg); }
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.sep { display: inline-block; width: 1px; height: .78em; margin: 0 .5em; background: currentColor; opacity: .38; vertical-align: -.04em; }
.serif { font-family: var(--serif); font-weight: 700; letter-spacing: .03em; }
.muted { color: var(--muted); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* Language: every text sits twice; html[data-lang] picks one */
html[data-lang="da"] body [lang="en"], html[data-lang="en"] body [lang="da"] { display: none !important; }

/* Grain over everything (a still texture, very faint) */
.grain { position: fixed; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: overlay; z-index: 60;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }

.w { max-width: 1120px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut-r); }
@media (min-width: 820px) { :root { --gut: max(40px, env(safe-area-inset-left, 0px)); --gut-r: max(40px, env(safe-area-inset-right, 0px)); } }

/* ---------- Top bar ---------- */
.top { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.stuck { background: #211a15d9; -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--hair); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: .04em; }
.brand i { width: 26px; height: 28px; flex: none; background: var(--gold); -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.nav { display: none; gap: 24px; font-size: 14px; color: var(--muted); }
.nav a { text-decoration: none; padding-block: 4px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--gold-dim); }
.top-r { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--hair-strong); border-radius: 999px; padding: 2px; }
.lang button { border: 0; background: none; font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 5px 9px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--gold-dim); color: var(--text); }
.menu { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--hair); background: var(--surface); display: grid; place-items: center; cursor: pointer; padding: 0; }
.menu span { width: 16px; height: 2px; background: currentColor; border-radius: 2px; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; transition: box-shadow .2s, transform .2s; }
.top.open .menu span { box-shadow: none; transform: rotate(45deg); }
.top.open .menu span::after { content: ""; display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transform: rotate(-90deg); }
.top.open { background: #1a1410f2; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--hair); }
.top.open .nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; gap: 0; padding: 8px var(--gut-r) 18px var(--gut); background: #1a1410f2; border-bottom: 1px solid var(--hair); font-size: 17px; }
.top.open .nav a { padding-block: 13px; border-bottom: 1px solid var(--hair); color: var(--text); }
@media (min-width: 900px) { .nav { display: flex; } .menu { display: none; } .top.open .nav { display: flex; position: static; padding: 0; background: none; border: 0; font-size: 14px; } }

/* ---------- Buttons and the waitlist form ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 14px 20px; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .12s ease, box-shadow .12s ease, filter .2s; }
.btn-gold { color: var(--on-gold); background: linear-gradient(var(--gold-hi), var(--gold)); box-shadow: inset 0 -2px 0 var(--gold-lo), 0 8px 30px #ff9a4033; }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, #ffffff70 50%, transparent 65%); transform: translateX(-130%); transition: transform .9s ease; pointer-events: none; }
.btn-gold:hover { filter: brightness(1.05); }
.btn-gold:hover::after { transform: translateX(130%); }
.btn-gold:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 var(--gold-lo), 0 2px 8px #ff9a4033; }
.btn-key { color: var(--text); background: linear-gradient(var(--key-top), var(--surface)); box-shadow: inset 0 1px 0 var(--key-edge), 0 3px 0 #0007, 0 6px 14px #0005; }
.btn-key:active { transform: translateY(3px); box-shadow: inset 0 1px 0 var(--key-edge), 0 0 0 #0007; }
.btn[disabled] { opacity: .6; cursor: progress; }

.wl { display: grid; gap: 10px; width: 100%; max-width: 470px; }
.wl-row { display: flex; flex-wrap: wrap; gap: 8px; }
.wl input[type=email] { flex: 1 1 210px; min-width: 0; border-radius: 14px; border: 1px solid #ffffff26; background: #00000040; padding: 14px 16px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.wl input[type=email]::placeholder { color: var(--muted); opacity: .8; }
.wl input[type=email]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px #d6bf8422, 0 0 24px #ff9a401f; }
.wl .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl .fine { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.wl .fine a { color: var(--gold); text-underline-offset: 2px; }
.wl .err { font-size: 13.5px; color: var(--under); }
.wl .done { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--gold-dim); font-weight: 600; text-align: left; }
.wl .done .chk { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--live); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }
.spark { position: fixed; z-index: 80; width: 5px; height: 5px; border-radius: 50%; pointer-events: none; background: var(--gold-hi); box-shadow: 0 0 8px var(--ember-2); }

/* ---------- Shared pieces ---------- */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.lead { font-size: 17px; line-height: 1.6; color: var(--soft); max-width: 34em; }
.tag { justify-self: start; display: inline-block; font-family: var(--serif); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-gold);
  background: linear-gradient(var(--gold-hi), var(--gold)); padding: 6px 12px; border-radius: 8px; box-shadow: inset 0 -2px 0 var(--gold-lo); }
.more { color: var(--gold); font-weight: 600; text-decoration: none; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: "✓"; color: var(--gold); font-weight: 700; }
.facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.facts li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--hair); font-size: 14px; }
.facts li > span:first-child { color: var(--muted); }
.facts li b { font-weight: 600; text-align: right; }

.dev { position: relative; padding: 7px; border-radius: 36px; background: #0d0a08; box-shadow: 0 30px 60px var(--shadow), inset 0 0 0 1px #ffffff1a; flex: none; }
.dev img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; border-radius: 29px; }

/* Score markers, as on the app's scorecard */
.mk { display: inline-grid; place-items: center; width: 26px; height: 26px; font-style: normal; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; border-radius: 6px; color: var(--text); }
.mk.b { background: var(--mk-birdie); color: #fff; border-radius: 50%; }
.mk.o { background: var(--mk-bogey); color: #fff; }
.mk.d { background: var(--mk-double); color: #fff; }
.mk.e { border: 1px dashed var(--hair-strong); }
.mk.sm { width: 11px; height: 11px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.mk.sm.b { border-radius: 50%; }
.mk.sm.p { background: var(--surface-2); }

/* ---------- The lantern ---------- */
.lantern { position: relative; display: block; width: clamp(150px, 34vw, 260px); height: auto; aspect-ratio: 1; margin: 0 auto; overflow: visible;
  filter: drop-shadow(0 0 .8px #f3e2b4cc) drop-shadow(0 0 1.6px #d6bf8466) drop-shadow(0 18px 36px #ff8a3033); }
.lantern.sm { width: 96px; }
.hang { position: relative; display: flex; justify-content: center; padding-top: 10px; }
.hang::before { content: ""; position: absolute; left: 50%; top: 4%; width: clamp(190px, 44vw, 340px); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, #6a4a30 0%, #4a3423aa 45%, transparent 100%); }
.pool { position: absolute; left: 50%; top: 40px; width: min(900px, 160vw); aspect-ratio: 1.3; transform: translateX(-50%); pointer-events: none; transition: filter 1.2s ease;
  background: radial-gradient(closest-side, #ff9a4040 0%, #f58a3420 35%, #f58a3408 60%, transparent 100%); }
.pool.small { top: 0; width: min(620px, 140vw); }
body.lit .pool { filter: brightness(1.8) saturate(1.2); }
.medal { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle at 35% 30%, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); box-shadow: inset 0 -3px 0 #0003, 0 10px 30px #ff9a4033, 0 0 0 4px #ffffff10; }
.medal i { width: 40px; height: 44px; background: #3a2a14; -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }

/* ---------- Backgrounds (from the app's home looks) ---------- */
.sec { position: relative; isolation: isolate; }
.sec > :not(.bgl) { position: relative; z-index: 1; }
.bgl { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: 0; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.bgl svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bgl.glow-l { background: radial-gradient(60% 60% at 0% 50%, #d6bf8422, transparent 70%); }
.bgl.glow-r { background: radial-gradient(60% 60% at 100% 40%, #ff9a401c, transparent 70%); }
.bgl.glow-c { background: radial-gradient(60% 70% at 50% 0%, #d6bf841c, transparent 70%); }
.pb-faint, .pb-line { fill: none; stroke: var(--ghost-faint); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.pb-line { stroke: var(--ghost-line); stroke-width: 1.4; }
.pb-thick { stroke-width: 2.2; stroke-linejoin: round; }
.pb-faint.dash { stroke: var(--ghost-line); stroke-dasharray: 2 9; stroke-linecap: round; }
.pb-dot { fill: var(--ghost-line); }
.pb-txt { fill: var(--ghost-line); font: 700 15px var(--sans); letter-spacing: .08em; }
.dust, .embers { position: absolute; inset: 0; overflow: hidden; pointer-events: none; container-type: size; z-index: 0; }
.dust i { position: absolute; display: block; border-radius: 50%; background: var(--mote); box-shadow: 0 0 6px var(--mote); opacity: .3; }
.embers > i { position: absolute; display: block; opacity: .6; }
.embers > i b { position: absolute; inset: 0; display: block; border-radius: 50%; background: var(--ember-hot); box-shadow: 0 0 5px 1px var(--ember-2); }
.coals { position: absolute; left: -10%; right: -10%; bottom: -26px; height: 110px; pointer-events: none; z-index: 0; }
.coals b { position: absolute; bottom: 0; display: block; border-radius: 50%; background: radial-gradient(circle, var(--coal), transparent 68%); filter: blur(6px); opacity: .55; }
.torch { position: fixed; inset: 0; z-index: 55; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0px), #ffb15c12, transparent 65%); mix-blend-mode: screen; }
body.torch-on .torch { opacity: 1; }

/* ---------- Chapters (text + picture) ---------- */
.ch { display: grid; gap: 34px; padding-block: 64px; align-items: center; }
.ch::after { content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, #d6bf8445, transparent); z-index: 1; }
.ch.first::after { display: none; }
.txt { display: grid; gap: 14px; min-width: 0; }
.ch h2 { font-family: var(--serif); font-size: clamp(28px, 5.4vw, 44px); line-height: 1.06; }
.ch p { font-size: 16px; line-height: 1.65; color: var(--soft); max-width: 32em; }
.ch .aside { font-size: 14.5px; color: var(--muted); }
.ch .aside b { color: var(--gold); font-weight: 600; }
.vis { position: relative; display: flex; justify-content: center; }
.vis::before { content: ""; position: absolute; inset: -10% -20%; background: radial-gradient(closest-side, #ff9a402a, transparent 70%); pointer-events: none; }
.vis .dev { width: min(270px, 70vw); }
.vis.stack { flex-direction: column; align-items: center; gap: 14px; }
@media (min-width: 820px) {
  .ch { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 70px; padding-block: 90px; }
  .ch.flip > .txt { order: 2; }
  .ch.one { grid-template-columns: minmax(0, 1fr); }
}

/* Live scorecard */
.sc { grid-column: 1 / -1; min-width: 0; border-radius: 20px; background: #00000038; border: 1px solid var(--hair); padding: 16px; display: grid; gap: 12px; }
.sc-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 13px; color: var(--muted); }
.sc-top b { color: var(--text); }
.live { color: var(--live); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: 1px; }
.sc-board { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; gap: 7px; align-items: baseline; padding: 6px 12px; border-radius: 999px; background: var(--surface); font-size: 13.5px; border: 1px solid transparent; }
.pill b { color: var(--gold); font-family: var(--serif); }
.pill em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.pill.lead { border-color: var(--gold-dim); }
.sc-tables { display: grid; gap: 10px; overflow-x: auto; }
.sc table { border-collapse: separate; border-spacing: 3px 5px; width: 100%; min-width: 330px; font-variant-numeric: tabular-nums; }
.sc th { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; text-align: left; padding-right: 4px; white-space: nowrap; }
.sc td { text-align: center; font-size: 13px; border-radius: 7px; }
.sc tr.hole td { color: var(--muted); font-size: 11.5px; }
.sc td.tot { font-weight: 700; color: var(--gold); }
.sc td.now { background: var(--gold-dim); }
.sc-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); }
@media (max-width: 520px) { .sc .mk:not(.sm) { width: 22px; height: 22px; font-size: 12px; } }
@media (min-width: 1000px) { .sc-tables { grid-template-columns: 1fr 1fr; } }

/* A feed post */
.post { position: relative; border-radius: 22px; background: #2e251fee; border: 1px solid var(--hair); box-shadow: 0 24px 50px var(--shadow); padding: 16px; display: grid; gap: 14px; max-width: 440px; width: 100%; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.post:hover { transform: translateY(-4px); box-shadow: 0 34px 60px #000b; }
.post-h { display: flex; align-items: center; gap: 10px; }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--gold-dim); color: var(--gold); font-weight: 700; flex: none; }
.post-h .who { min-width: 0; }
.post-h .who b { display: block; font-size: 15px; }
.post-h .who span { font-size: 12.5px; color: var(--muted); }
.cap-txt { font-size: 14.5px; }
.post-score { display: flex; align-items: flex-end; gap: 16px; padding: 14px 16px; border-radius: 16px; background: var(--well); }
.post-score > div:first-child { margin-right: auto; }
.post-score .big { font-family: var(--serif); font-weight: 700; font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.post-score .big small { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.post-score .k { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.post-score .r { text-align: right; }
.post-score .r b { font-size: 20px; font-variant-numeric: tabular-nums; }
.strip { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 4px; justify-items: center; max-width: 290px; }
.strip .mk { width: 24px; height: 24px; font-size: 12px; }
.post-f { display: flex; align-items: center; gap: 18px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--hair); padding-top: 12px; }
.post-f b { color: var(--text); }
.post-f .best { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-gold); background: linear-gradient(var(--gold-hi), var(--gold)); padding: 4px 9px; border-radius: 7px; }
.cmt { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; }
.cmt .av { width: 28px; height: 28px; font-size: 12px; }
.cmt p { background: var(--surface-2); padding: 8px 12px; border-radius: 14px; }
.cmt p b { margin-right: 6px; }
.cmt.reply { margin-left: 34px; }
.like { position: relative; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 5px 8px; margin: -5px -8px; border-radius: 10px; cursor: pointer; color: var(--muted); font-size: 13.5px; }
.like:hover { background: #ffffff0a; }
.like svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.like b { color: var(--text); font-variant-numeric: tabular-nums; }
.like.on { color: var(--mk-birdie); }
.like.on svg { fill: currentColor; }
.like .pt { position: absolute; left: 17px; top: 14px; width: 5px; height: 5px; border-radius: 50%; pointer-events: none; transform: rotate(var(--a)) translateY(0); }
.toast { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; padding: 10px 14px; border-radius: 14px; background: #2e251ff2; border: 1px solid var(--hair); box-shadow: 0 10px 24px #0007; }
.toast .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px #4ADE9F22; flex: none; }

/* The Locker (golf profile): keys with trays, like the app */
.locker { position: relative; max-width: 420px; width: 100%; justify-self: center; border-radius: 28px; overflow: hidden; background: var(--bg); border: 1px solid var(--hair); box-shadow: 0 30px 60px #000a, 0 0 0 7px #0d0a08; padding: 0 14px 16px; }
.lk-wall { height: 112px; margin: 0 -14px; background:
  radial-gradient(2px 2px at 20% 30%, #ffd9a066, transparent), radial-gradient(2px 2px at 70% 55%, #ffd9a055, transparent), radial-gradient(1.5px 1.5px at 45% 20%, #ffd9a055, transparent),
  radial-gradient(80% 120% at 80% 0%, #8a5a30, transparent 60%), linear-gradient(160deg, #5a3d26, #2a1e16 75%); }
.lk-head { display: flex; align-items: flex-end; gap: 12px; margin-top: -38px; }
.lk-av { width: 78px; height: 78px; flex: none; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(var(--key-top), var(--surface)); border: 3px solid var(--bg); font-family: var(--serif); font-weight: 700; font-size: 34px; color: var(--gold); box-shadow: 0 8px 18px #0008; }
.lk-id { flex: 1; min-width: 0; padding-bottom: 4px; }
.lk-id b { display: block; font-size: 20px; }
.lk-id span { font-size: 13px; color: var(--muted); }
.lk-hcp { text-align: right; padding-bottom: 4px; }
.lk-hcp b { display: block; font-family: var(--serif); font-size: 28px; color: var(--gold); line-height: 1; }
.lk-hcp span { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.lk-hl { display: flex; align-items: center; gap: 8px; margin: 14px 0; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lk-hl > span { margin-right: 4px; }
.lk-hl i { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--gold-dim); background: linear-gradient(135deg, #4c6b3c, #1f2e1c); }
.lk-hl i:nth-of-type(2) { background: linear-gradient(135deg, #8a6a3a, #3a2a18); }
.lk-hl i:nth-of-type(3) { background: linear-gradient(135deg, #3a5a6a, #1c2a33); }
.lk-hl i:nth-of-type(4) { background: linear-gradient(135deg, #6b8a4a, #2a3a1c); }
.lk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.key { position: relative; min-width: 0; border-radius: 18px; padding: 12px; display: grid; gap: 8px; align-content: start;
  background: linear-gradient(var(--key-top), var(--surface)); box-shadow: inset 0 1px 0 var(--key-edge), 0 4px 0 #0006, 0 8px 18px #0006;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.key::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(180px circle at var(--hx, 50%) var(--hy, 0%), #ffffff18, transparent 60%); }
.key:hover::after { opacity: 1; }
.key.down { transform: translateY(3px) !important; box-shadow: inset 0 1px 0 var(--key-edge), 0 1px 0 #0006, 0 3px 8px #0006; }
.key.w2 { grid-column: span 2; }
.kt { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.kl { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.kc { font-size: 11px; color: var(--muted); }
.kh { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.kh b { font-family: var(--serif); font-size: 28px; line-height: 1; }
.key.w2 .kh b { font-size: 40px; }
.kh span { font-size: 13px; color: var(--muted); }
.kf { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.kf div { display: grid; }
.kf b { font-family: var(--serif); font-size: 18px; line-height: 1.1; }
.kf span { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kf.four { gap: 6px 10px; }
.kf.four b { font-size: 14px; }
.tray { background: var(--well); border-radius: 10px; padding: 7px; box-shadow: inset 0 2px 5px #0009; }
.tray.dots { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 3px; }
.tray.dots i { aspect-ratio: 1; border-radius: 3px; background: #ffffff1f; }
.tray.dots i.b { background: var(--mk-birdie); border-radius: 50%; }
.tray.dots i.o { background: var(--mk-bogey); }
.ksub { font-size: 11.5px; color: var(--muted); }
.mix { display: flex; gap: 2px; height: 12px; border-radius: 6px; overflow: hidden; }
.mix i { display: block; }
.key.nem .kh b { color: var(--under); }

/* Stats board */
.stats { display: grid; gap: 12px; min-width: 0; grid-column: 1 / -1; }
@media (min-width: 820px) { .stats { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.card { min-width: 0; border-radius: 20px; padding: 16px; display: grid; gap: 10px; align-content: start;
  background: linear-gradient(#2e251f, #241c17); border: 1px solid var(--hair); box-shadow: inset 0 1px 0 #ffffff10, 0 14px 30px #0006;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s; }
.card:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.st-avg .kh b { font-size: 44px; }
.down { color: var(--live); font-size: 14px; font-weight: 700; }
.bars { position: relative; display: flex; gap: 6px; height: 160px; }
.bars::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--hair-strong); }
.bars i { position: relative; flex: 1; }
.bars i::after { content: ""; position: absolute; left: 14%; right: 14%; border-radius: 3px; opacity: .5; }
.bars i.up::after { bottom: 50%; height: calc(var(--d) * 9px); background: var(--under); transform-origin: bottom; }
.bars i.dn::after { top: 50%; height: calc(var(--d) * 9px); background: var(--live); transform-origin: top; }
.bars i.last::after { opacity: 1; box-shadow: 0 0 14px #4ADE9F66; }
.bars s { position: absolute; left: -4px; right: -4px; text-align: center; text-decoration: none; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.bars i.last s { color: var(--text); }
.bars i.up s { bottom: calc(50% + var(--d) * 9px + 3px); }
.bars i.dn s { top: calc(50% + var(--d) * 9px + 3px); }
.bars-end { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); }
.st-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-content: start; }
.st-tiles .card { padding: 14px 12px; gap: 8px; }
.st-tiles .big { font-family: var(--serif); font-size: 26px; line-height: 1; }
.meter { height: 6px; border-radius: 3px; background: var(--well); }
.meter i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transform-origin: left; }
.sg-row { display: grid; grid-template-columns: minmax(0, 7.5em) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; }
.sg-bar i { display: block; border-radius: 4px; transform-origin: left; }
.sg-bar .you { height: 8px; background: var(--gold); margin-bottom: 3px; }
.sg-bar .grp { height: 4px; background: var(--muted); opacity: .45; }
.sg-row b { font-variant-numeric: tabular-nums; text-align: right; min-width: 2.6em; }
.neg { color: var(--under); }
.sg-key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11.5px; color: var(--muted); }
.sg-key i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.sg-key i.you { background: var(--gold); } .sg-key i.grp { background: var(--muted); opacity: .5; }
.tour-name { font-family: var(--serif); font-size: 22px; }
.tour-sub { font-size: 12.5px; color: var(--muted); margin-top: -6px; }
.lb { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lb li { display: grid; grid-template-columns: 1.6em minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 12px; background: #00000030; font-size: 14px; }
.lb li b { font-family: var(--serif); color: var(--gold); }
.lb li em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.lb li.me { border: 1px solid var(--gold-dim); background: #D6BF8414; }

/* Dark Hyper box */
.hyper-box { margin-block: 70px; border-radius: 26px; padding: 32px 26px; display: grid; gap: 18px;
  background: radial-gradient(100% 120% at 0% 0%, #4a321c 0%, transparent 55%), #140f0c; border: 1px solid var(--gold-dim); box-shadow: inset 0 1px 0 #ffffff12; }
.hyper-box h2 { font-family: var(--serif); font-size: clamp(26px, 5vw, 40px); line-height: 1.08; margin-top: 10px; }
.embers-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.embers-list li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--flame); margin-right: 12px; vertical-align: 2px; }
@media (min-width: 820px) { .hyper-box { grid-template-columns: 1fr 1fr; padding: 54px; align-items: center; } }

/* Lantern Family band */
.lf { position: relative; border-block: 1px solid var(--gold-dim); background: radial-gradient(70% 120% at 50% 0%, #3a2a1c, transparent 70%), var(--well); text-align: center; padding-block: 70px; overflow: hidden; }
.lf-in { display: grid; justify-items: center; gap: 14px; position: relative; z-index: 1; }
.lf h2 { font-family: var(--serif); font-size: clamp(30px, 6vw, 50px); }
.lf p { max-width: 34em; color: var(--soft); line-height: 1.65; }

/* Closing band with the ember bed */
.end { position: relative; text-align: center; padding-block: 50px 110px; overflow: hidden; border-top: 1px solid var(--hair); background: linear-gradient(to top, var(--ember-glow), transparent 55%); }
.end-in { display: grid; justify-items: center; gap: 16px; position: relative; z-index: 1; }
.end h2 { font-family: var(--serif); font-size: clamp(28px, 6vw, 46px); }
.end .lead { max-width: 30em; }
.end .wl { justify-items: center; } .end .wl-row { justify-content: center; }
.sign { margin-top: 10px; color: var(--gold); font-family: var(--serif); font-size: 15px; letter-spacing: .08em; }

/* ---------- Footer ---------- */
.ft { position: relative; z-index: 1; border-top: 1px solid var(--hair); padding-block: 30px 34px; font-size: 13px; color: var(--muted); background: var(--ground); }
.ft-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.ft-grid h4 { margin: 0 0 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.ft-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ft-grid a { text-decoration: none; }
.ft-grid a:hover { color: var(--text); }
.ft-about { grid-column: 1 / -1; }
.ft-about p { margin-top: 10px; max-width: 24em; }
.ft-base { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (min-width: 820px) { .ft-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .ft-about { grid-column: auto; } }

/* ---------- Inner pages ---------- */
.p-hero { position: relative; text-align: center; padding-block: 34px 50px; overflow: hidden; }
.p-hero .pool { top: -120px; width: min(760px, 150vw); }
.p-hero-in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 16px; }
.p-hero h1 { font-family: var(--serif); font-size: clamp(32px, 7vw, 60px); line-height: 1.04; max-width: 15em; }
.p-hero .lead { margin-inline: auto; text-align: center; }
.section-h { display: grid; gap: 10px; max-width: 40em; }
.section-h h2 { font-family: var(--serif); font-size: clamp(26px, 5vw, 40px); line-height: 1.08; }
.grid3 { display: grid; gap: 12px; }
@media (min-width: 640px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feat h3 { font-size: 16px; }
.feat p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.feat .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--gold); background: linear-gradient(var(--key-top), var(--surface)); box-shadow: inset 0 1px 0 var(--key-edge), 0 3px 0 #0006; }
.feat .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: #00000030; border: 1px solid var(--hair); }

/* Free vs Hyper table */
.cmp-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--hair); background: #00000030; }
.cmp { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 13px 16px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.cmp thead th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cmp thead th.hy { color: var(--gold); }
.cmp td.c { text-align: center; width: 6.5em; }
.cmp td.c b { color: var(--gold); }
.cmp td.c .no { color: var(--muted); opacity: .6; }
.cmp tr.grp td { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); background: #ffffff06; }
.cmp tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq details { border-radius: 16px; background: linear-gradient(#2e251f, #261e19); border: 1px solid var(--hair); }
.faq details[open] { border-color: var(--gold-dim); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; font-size: 16px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); color: var(--gold); font-size: 22px; line-height: 1; transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 18px 18px; color: var(--soft); line-height: 1.65; display: grid; gap: 10px; }
.faq-group { font-family: var(--serif); font-size: 20px; margin: 26px auto 4px; max-width: 760px; width: 100%; }

/* Long text (privacy, terms, about) */
.prose { max-width: 720px; margin: 0 auto; padding-block: 10px 70px; color: var(--soft); line-height: 1.7; font-size: 16px; }
.prose h2 { font-family: var(--serif); color: var(--text); font-size: 24px; margin: 38px 0 10px; }
.prose h3 { color: var(--text); font-size: 17px; margin: 24px 0 6px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--gold); text-underline-offset: 3px; }
.prose .stamp { font-size: 13px; color: var(--muted); }
.prose .fill { background: #D6BF8422; color: var(--gold-hi); border-radius: 4px; padding: 0 4px; }

/* Press downloads */
.dl { display: grid; gap: 12px; }
@media (min-width: 720px) { .dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dl a { text-decoration: none; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 20px; border-radius: 20px; background: linear-gradient(#2e251f, #241c17); border: 1px solid var(--hair); transition: border-color .3s, transform .3s; }
.dl a:hover { border-color: var(--gold-dim); transform: translateY(-2px); }
.dl .pv { height: 120px; display: grid; place-items: center; }
.dl .pv img { max-height: 120px; width: auto; }
.dl b { font-size: 15px; }
.dl span { font-size: 12.5px; color: var(--muted); }
.copy { position: relative; border-radius: 16px; background: #00000030; border: 1px solid var(--hair); padding: 18px; color: var(--soft); line-height: 1.65; }

/* ================= Front page ================= */
.hero { position: relative; text-align: center; padding-block: 0 40px; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; margin-top: 4px; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 8.6vw, 76px); line-height: 1.02; letter-spacing: .01em; max-width: 14em; text-shadow: 0 2px 30px #ff9a4026; }
.hero h1 em { display: block; font-style: normal; background: linear-gradient(100deg, #e9b85c 0%, #ffe7b0 38%, #fff8e2 50%, #ffe7b0 62%, #e9b85c 100%); background-size: 260% 100%; background-position: 0% 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-inline: auto; color: #eadfd2; }
.hero .wl { justify-items: center; }
.hero .wl-row { justify-content: center; }
.hero .fine { text-align: center; }
.hero .meta { font-size: 13px; color: var(--muted); }
.jump { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; padding-inline: 16px; }
.jump a { text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 9px 14px; border-radius: 12px; color: var(--text);
  background: linear-gradient(var(--key-top), var(--surface)); box-shadow: inset 0 1px 0 var(--key-edge), 0 3px 0 #0007, 0 6px 14px #0005; transition: transform .15s, box-shadow .15s; }
.jump a:hover { transform: translateY(2px); box-shadow: inset 0 1px 0 var(--key-edge), 0 1px 0 #0007; }
.jump a:active { transform: translateY(3px); box-shadow: inset 0 1px 0 var(--key-edge), 0 0 0 #0007; }
.cue { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; margin-top: 30px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.cue .drip { position: relative; width: 2px; height: 48px; border-radius: 2px; background: linear-gradient(var(--gold-dim), transparent); }
.cue .drip::after { content: ""; position: absolute; left: -2px; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--flame); }

/* ================= Motion (all of it off under reduce motion) ================= */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .pool { animation: flicker 7s ease-in-out infinite; }
  @keyframes flicker { 0%, 100% { opacity: 1; } 18% { opacity: .86; } 22% { opacity: .97; } 48% { opacity: .9; } 70% { opacity: 1; } 82% { opacity: .88; } }
  .hero .lantern { animation: lightup 1.6s ease-out both, float 6s ease-in-out 1.6s infinite; }
  @keyframes lightup { from { filter: brightness(.6) drop-shadow(0 0 .8px #f3e2b4cc) drop-shadow(0 0 1.6px #d6bf8466) drop-shadow(0 18px 36px #ff8a3033); } }
  @keyframes float { 50% { transform: translateY(-6px); } }
  .hero h1 em { animation: shimmer 2.6s cubic-bezier(.3,.6,.3,1) .5s both; }
  @keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0% 0; } }
  .cue .drip::after { animation: drip 2.2s ease-in infinite; }
  @keyframes drip { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 42px; opacity: 0; } }
  .toast .dot { animation: pulse 1.8s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 7px #4ADE9F11; } }
  .sc td.now { animation: nowPulse 2s ease-in-out infinite; }
  @keyframes nowPulse { 50% { background: #d6bf8455; } }
  .dust i { opacity: 0; animation: bgRise linear infinite; }
  @keyframes bgRise { 0% { opacity: 0; transform: translate(0, 0); } 15% { opacity: .6; } 80% { opacity: .35; } 100% { opacity: 0; transform: translate(var(--dx), -60cqh); } }
  .coals b { animation: bgCoal ease-in-out infinite alternate; }
  @keyframes bgCoal { from { opacity: .25; transform: scale(.9); } to { opacity: .8; transform: scale(1.08); } }
  .embers > i { opacity: 0; animation: bgEmber ease-out infinite; }
  .embers > i b { animation: bgFlicker steps(1) infinite; }
  @keyframes bgEmber { 0% { opacity: 0; transform: translate(0, 0) scale(1); } 8% { opacity: 1; } 35% { transform: translate(var(--dx), -22cqh) scale(.85); } 65% { opacity: .7; transform: translate(calc(var(--dx) * -.5), -42cqh) scale(.6); } 100% { opacity: 0; transform: translate(var(--dx), -62cqh) scale(.3); } }
  @keyframes bgFlicker { 0% { opacity: 1; } 30% { opacity: .55; } 45% { opacity: .9; } 70% { opacity: .65; } 85% { opacity: 1; } }
  .like:not(.on) svg { animation: hint 2.2s ease-in-out 1s 3; }
  @keyframes hint { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.22); } 24% { transform: scale(1); } }
  .like.on svg { animation: heart .5s cubic-bezier(.3,1.7,.5,1); }
  @keyframes heart { 0% { transform: scale(.5); } 55% { transform: scale(1.4); } 100% { transform: scale(1); } }
  .like .pt { animation: burst .65s ease-out forwards; }
  @keyframes burst { to { transform: rotate(var(--a)) translateY(-26px) scale(.2); opacity: 0; } }
  .spark { animation: spark 1s cubic-bezier(.2,.7,.3,1) forwards; }
  @keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }
  .wl .done { animation: doneIn .45s cubic-bezier(.3,1.5,.5,1) both; }
  @keyframes doneIn { from { transform: scale(.92); opacity: 0; } }
  .wl .done .chk { animation: draw .5s ease-out .15s both; }
  @keyframes draw { from { stroke-dashoffset: 24; } }

  /* Scroll: sections rise in, scores pop in hole by hole, bars grow.
     Browsers without scroll timelines simply show everything. */
  @supports (animation-timeline: view()) {
    .rise, .txt, .vis, .locker, .lf-in, .hyper-box, .end-in, .card, .faq details, .dl a { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
    @keyframes rise { from { opacity: .2; transform: translateY(40px) scale(.985); } to { opacity: 1; transform: none; } }
    .vis .dev { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    @keyframes drift { from { transform: translateY(40px) rotate(-1.5deg); } to { transform: translateY(-40px) rotate(1deg); } }
    .sc { view-timeline: --sc block; }
    .sc .mk:not(.sm) { animation: pop linear both; animation-timeline: --sc; }
    @keyframes pop { 0% { transform: scale(.2); opacity: 0; } 70% { transform: scale(1.15); opacity: 1; } 100% { transform: none; opacity: 1; } }
    .bars { view-timeline: --bars block; }
    .bars i::after { animation: grow linear both; animation-timeline: --bars; animation-range: entry 30% cover 50%; }
    @keyframes grow { from { transform: scaleY(0); } }
    .st-tiles, .st-sg { view-timeline: --tiles block; }
    .meter i, .sg-bar i { animation: fill linear both; animation-timeline: --tiles; animation-range: entry 30% cover 45%; }
    @keyframes fill { from { transform: scaleX(0); } }
    .tray.dots { view-timeline: --dots block; }
    .tray.dots i { animation: pop linear both; animation-timeline: --dots; }
  }
}
