/* Jets: an air race over a mountain lake at noon. Hazy sky page, a violet header painted like a race jet's fuselage
   (panel seams, rivets, a white-and-red cheatline as its edge), the race as the sky above the lake seen from the side:
   blue and red inflatable pylon gates standing in the water, a chequered finish pylon, race jets with the coin on the tail
   fin trailing coloured smoke, the control tower's tinted-glass timing board, aviator wings in gold/silver/bronze and an
   aluminium flight case full of coins as the pot. Violet is the action colour, pylon blue and pylon red the accents. */
@font-face { font-family: 'Righteous'; src: url(/fonts/righteous.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Sora'; src: url(/fonts/sora.woff2) format('woff2'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: 'Red Hat Mono'; src: url(/fonts/redhat-mono.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --wall: #e6edf0;          /* noon haze */
  --wall-2: #cfdbe1;
  --cream: #fbfcfa;         /* hangar white */
  --paper: #f1f4f3;
  --ink: #141a2a;           /* jet black */
  --ink-2: #3a4254;
  --ink-3: #5f6779;
  --red: #5a37e6;           /* primary: race violet */
  --red-dk: #4426c4;
  --violet: #5a37e6;
  --violet-dk: #4426c4;
  --bulb: #ffcf3a;          /* smoke yellow */
  --amber: #f4b92c;
  --cobalt: #2b8ef0;        /* pylon blue */
  --pylon: #f0412f;         /* pylon red */
  --turf: #1e6b78;          /* lake */
  --turf-2: #185d69;
  --plank: #c3cad1;
  --plank-dk: #8b949e;
  --tin: #c9d0d8;
  --glass: #0c2731;
  --led: #a4efff;
  --up: #17834c;
  --down: #d1342a;
  --edge: 2.5px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --r: 12px;
  --display: 'Righteous', 'Trebuchet MS', system-ui, sans-serif;
  --text: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Red Hat Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --cheat: linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat, linear-gradient(#fbfcfa, #fbfcfa) 0 2px / 100% 6px no-repeat,
    linear-gradient(var(--pylon), var(--pylon)) 0 8px / 100% 3px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 11px / 100% 2px no-repeat;
}

/* the page: noon haze over the lake, two old smoke trails fading in the sky */
body {
  background-color: #eceeea;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1600' height='700' viewBox='0 0 1600 700' preserveAspectRatio='none'%3E %3Cg fill='none' stroke='%23fff' stroke-linecap='round'%3E%3Cpath d='M-40 250 C300 170 700 120 1100 40' stroke-opacity='.55' stroke-width='7'/%3E%3Cpath d='M-40 266 C300 186 700 136 1100 56' stroke-opacity='.35' stroke-width='5'/%3E%3Cpath d='M900 520 C1150 470 1380 450 1660 430' stroke-opacity='.35' stroke-width='6'/%3E%3C/g%3E %3C/svg%3E"), linear-gradient(180deg, #d2e4ef 0, #e3ecf0 380px, #eceeea 900px);
  background-size: 100% 700px, 100% 100%;
  background-repeat: no-repeat;
}
h1, h2, h3 { font-weight: 400; letter-spacing: 0; line-height: 1.04; }
h1 { font-size: clamp(40px, 5vw, 68px); }
.hero h1 { font-size: clamp(44px, 4.8vw, 68px); line-height: 1.04; }
.hero h1 .h1b { color: var(--violet); text-shadow: none; margin-top: 2px; }
.lede { font-weight: 400; color: var(--ink-2); }
body { font-weight: 400; }

.btn { font-weight: 700; border-radius: 12px 4px 12px 4px; letter-spacing: 0; }
.btn:hover { background: #6a4af0; }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff; }
.btn-ink:hover { background: #222a3f; }
.step h3::before { color: var(--violet); }
.ticket-head .fee-in { color: var(--violet); }
.link { color: var(--ink); text-decoration-color: var(--violet); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline-color: var(--cobalt); }

/* the header: violet fuselage paint with panel seams and rivets, the cheatline as its edge */
.top {
  color: var(--cream); border-bottom: 0;
  background-color: var(--violet);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='16' viewBox='0 0 320 16'%3E %3Cpath d='M1 0 V16' stroke='%23141a2a' stroke-opacity='.2' stroke-width='1.4'/%3E%3Cpath d='M2.4 0 V16' stroke='%23fff' stroke-opacity='.12' stroke-width='1'/%3E %3Ccircle cx='8' cy='8' r='1.7' fill='%23fff' fill-opacity='.28'/%3E%3Ccircle cx='8.4' cy='8.6' r='1.7' fill='none' stroke='%23141a2a' stroke-opacity='.22' stroke-width='.8'/%3E %3C/svg%3E"), linear-gradient(180deg, #7253f4 0, #5a37e6 46%, #4c2bd4 100%);
  background-size: 320px 16px, 100% 100%;
}
.top-in { min-height: 96px; padding-bottom: 18px; }
.brand { gap: 12px; color: var(--cream); }
.brand-horse { width: 70px; height: 65px; filter: drop-shadow(2px 3px 0 rgba(20, 26, 42, .45)); }
.brand-word { font: 400 50px/1 var(--display); letter-spacing: .01em; color: var(--cream); text-shadow: 3px 3px 0 var(--ink); translate: 0 -2px; }
.nav a { color: var(--cream); font-weight: 600; }
.nav a:hover { border-color: rgba(251, 252, 250, .5); }
.nav a[aria-current='page'] { background: var(--cream); color: var(--ink); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.top .btn { background: var(--cream); color: var(--ink); }
.top .btn:hover { background: #fff; }
.mode-note { color: var(--cream); }
.bulbs { bottom: 0; height: 13px; background: var(--cheat); }
.nav-mobile { padding-bottom: 26px; }
.nav-mobile a { color: var(--cream); font-weight: 600; border-color: rgba(251, 252, 250, .4); }
.nav-mobile a[aria-current='page'] { background: var(--cream); color: var(--ink); }

/* the booth: a riveted aluminium panel holding the timing board, the prizes and the course */
.booth {
  border-radius: 16px; padding: 11px;
  background-color: #d5dce1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='10' viewBox='0 0 22 10'%3E%3Ccircle cx='11' cy='5' r='1.9' fill='%23fff' fill-opacity='.85'/%3E%3Ccircle cx='11.4' cy='5.5' r='1.9' fill='none' stroke='%23141a2a' stroke-opacity='.35' stroke-width='.9'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='10' viewBox='0 0 22 10'%3E%3Ccircle cx='11' cy='5' r='1.9' fill='%23fff' fill-opacity='.85'/%3E%3Ccircle cx='11.4' cy='5.5' r='1.9' fill='none' stroke='%23141a2a' stroke-opacity='.35' stroke-width='.9'/%3E%3C/svg%3E"),
    linear-gradient(165deg, #eef1f3, #d9dfe3 55%, #c9d1d7);
  background-size: 22px 10px, 22px 10px, 100% 100%;
  background-position: 0 1px, 0 calc(100% - 1px), 0 0;
  background-repeat: repeat-x, repeat-x, no-repeat;
}
/* the control tower's timing board: tinted glass with a glare, white letters, the clock in ice-blue LED */
.booth-sign {
  border-radius: 8px; color: #fbfcfa; border: 2.5px solid var(--ink); padding: 12px 16px;
  background: linear-gradient(115deg, transparent 0 58%, rgba(255, 255, 255, .07) 58% 70%, transparent 70%), linear-gradient(180deg, #123844, var(--glass) 60%, #081c24);
  box-shadow: inset 0 0 0 2px #3d5a66;
}
.booth-sign .t-name { font: 400 25px/1 var(--display); letter-spacing: .01em; }
.booth-sign .t-meta { color: #8fb3bf; font-weight: 500; }
.booth-sign .clock { font: 700 28px/1 var(--mono); color: var(--led); letter-spacing: -.01em; text-shadow: 0 0 10px rgba(164, 239, 255, .35); }
.booth-sign .clock small { color: #8fb3bf; font-family: var(--text); font-weight: 500; letter-spacing: 0; text-shadow: none; }
.booth-more, .booth-more a { color: var(--ink); text-shadow: none; }

/* prizes: aviator wings on a polished wing spar, the flight case holds the pot */
.shelf { padding-top: 12px; gap: clamp(6px, 2vw, 24px); }
.shelf::after {
  height: 13px; border-radius: 7px 7px 3px 3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='10' viewBox='0 0 22 10'%3E%3Ccircle cx='11' cy='5' r='1.9' fill='%23fff' fill-opacity='.85'/%3E%3Ccircle cx='11.4' cy='5.5' r='1.9' fill='none' stroke='%23141a2a' stroke-opacity='.35' stroke-width='.9'/%3E%3C/svg%3E") 0 50% / 22px 10px repeat-x, linear-gradient(180deg, #f1f4f6, #c3cad1 55%, #8b949e);
}
.prize { margin-bottom: 9px; }
.prize svg { width: clamp(78px, 9vw, 112px); height: clamp(41.6px, 4.8vw, 59.7px); }
.prize b { top: calc(clamp(41.6px, 4.8vw, 59.7px) * .4375); translate: 0 -50%; font: 400 clamp(10px, 1vw, 13px)/1 var(--display); color: #fbfcfa; letter-spacing: 0; }
.prize span { margin-top: 1px; border-radius: 4px; font-weight: 700; }
.pot { margin-bottom: 6px; }
.pot svg { width: clamp(70px, 8vw, 96px); height: clamp(70px, 8vw, 96px); }
.pot .pot-sum { top: 66%; translate: -50% -50%; background: #fbfcfa; border: 1.5px solid var(--ink); border-radius: 3px; padding: 2px 4px; color: var(--ink); font: 700 clamp(10px, 1vw, 13px)/1 var(--mono); letter-spacing: -.03em; }
.pot .pot-label { color: var(--ink); text-shadow: none; position: relative; z-index: 2; }

/* the course: sky above a mountain lake, blue and red pylon gates in the water, a chequered finish pylon */
.track {
  --lane-h: 66px; --start: 40px; --fin: 30px; --lake: 30px;
  container-type: inline-size;
  margin-top: 11px; border-radius: 8px; border-width: 2.5px; padding: 6px 0 var(--lake);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 280' width='40' height='280' preserveAspectRatio='none'%3E %3Cpath fill='%232b8ef0' fill-opacity='.82' stroke='%23141a2a' stroke-width='2' stroke-linejoin='round' d='M17 9 C17 6 18.5 4 20 4 C21.5 4 23 6 23 9 L37.4 270 C37.6 274 33 276 20 276 C7 276 2.4 274 2.6 270 Z'/%3E %3Cpath fill='%231c64b8' fill-opacity='.6' d='M23 9 L37.4 270 C37.6 274 33 276 28 276 L24 50 Z'/%3E %3Cpath fill='%23fbfcfa' d='M17.2 11 C19 10 21 10 22.8 11 L25 46 C21.7 47.2 18.3 47.2 15 46 Z'/%3E %3Cpath d='M16.2 24 H23.8' stroke='%23141a2a' stroke-width='7' stroke-dasharray='3.8 3.8'/%3E %3Cpath d='M15.7 33 H24.3' stroke='%23141a2a' stroke-width='7' stroke-dasharray='4.3 4.3' stroke-dashoffset='4.3'/%3E %3Cpath d='M15 46 C18.3 47.2 21.7 47.2 25 46 M11.6 100 C17 102 23 102 28.4 100 M8 160 C16 162.6 24 162.6 32 160 M5 220 C15 223 25 223 35 220' fill='none' stroke='%23141a2a' stroke-opacity='.3' stroke-width='1.4'/%3E %3Cpath d='M15.6 54 L6.6 262' stroke='%23fff' stroke-opacity='.42' stroke-width='3.4' stroke-linecap='round'/%3E %3C/svg%3E") 36% calc(100% - var(--lake) * .3) / var(--pw, 26px) calc(100% - 14px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 280' width='40' height='280' preserveAspectRatio='none'%3E %3Cpath fill='%23f0412f' fill-opacity='.82' stroke='%23141a2a' stroke-width='2' stroke-linejoin='round' d='M17 9 C17 6 18.5 4 20 4 C21.5 4 23 6 23 9 L37.4 270 C37.6 274 33 276 20 276 C7 276 2.4 274 2.6 270 Z'/%3E %3Cpath fill='%23b8281c' fill-opacity='.6' d='M23 9 L37.4 270 C37.6 274 33 276 28 276 L24 50 Z'/%3E %3Cpath fill='%23fbfcfa' d='M17.2 11 C19 10 21 10 22.8 11 L25 46 C21.7 47.2 18.3 47.2 15 46 Z'/%3E %3Cpath d='M16.2 24 H23.8' stroke='%23141a2a' stroke-width='7' stroke-dasharray='3.8 3.8'/%3E %3Cpath d='M15.7 33 H24.3' stroke='%23141a2a' stroke-width='7' stroke-dasharray='4.3 4.3' stroke-dashoffset='4.3'/%3E %3Cpath d='M15 46 C18.3 47.2 21.7 47.2 25 46 M11.6 100 C17 102 23 102 28.4 100 M8 160 C16 162.6 24 162.6 32 160 M5 220 C15 223 25 223 35 220' fill='none' stroke='%23141a2a' stroke-opacity='.3' stroke-width='1.4'/%3E %3Cpath d='M15.6 54 L6.6 262' stroke='%23fff' stroke-opacity='.42' stroke-width='3.4' stroke-linecap='round'/%3E %3C/svg%3E") 69% calc(100% - var(--lake) * .3) / var(--pw, 26px) calc(100% - 14px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='30' viewBox='0 0 260 30'%3E %3Cg stroke='%23fff' stroke-linecap='round' stroke-width='1.6'%3E%3Cpath d='M14 6 H34' stroke-opacity='.55'/%3E%3Cpath d='M78 14 H90' stroke-opacity='.4'/%3E%3Cpath d='M130 5 H156' stroke-opacity='.5'/%3E%3Cpath d='M186 19 H198' stroke-opacity='.35'/%3E%3Cpath d='M40 24 H52' stroke-opacity='.3'/%3E%3Cpath d='M220 9 H238' stroke-opacity='.45'/%3E%3Cpath d='M104 26 H116' stroke-opacity='.3'/%3E%3C/g%3E %3C/svg%3E") 0 100% / 260px var(--lake) repeat-x,
    linear-gradient(180deg, #5aa2b0 0, #2a7684 22%, #17525e 100%) 0 100% / 100% var(--lake) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='60' viewBox='0 0 600 60' preserveAspectRatio='none'%3E %3Cpolygon fill='%23cbd9e1' points='0,60 0,34 40,22 70,30 110,8 150,28 190,18 230,34 280,14 330,30 370,20 420,36 470,10 520,30 560,22 600,34 600,60'/%3E %3Cpolygon fill='%23f5f9fb' points='101,14 110,8 120,14 114,16 110,13 106,16'/%3E%3Cpolygon fill='%23f5f9fb' points='272,18 280,14 289,19 284,20 280,18 276,20'/%3E%3Cpolygon fill='%23f5f9fb' points='461,15 470,10 480,16 474,18 470,15 466,18'/%3E %3Cpolygon fill='%23a8bccb' points='0,60 0,46 50,38 90,47 140,32 200,49 250,39 300,51 360,35 420,49 480,41 540,51 600,46 600,60'/%3E %3C/svg%3E") 0 calc(100% - var(--lake)) / 600px 52px repeat-x,
    linear-gradient(180deg, #7fbde3 0, #a9d4ee 45%, #d4e8ef 88%, #e4eeee 100%);
}
.mini-booth .track { --lane-h: 44px; --lake: 18px; }
.lane { border-bottom: 0; background: none; }
.lane:nth-child(even) { background: none; }
.lane::after { display: none; }
.lane + .lane::before { content: ''; position: absolute; z-index: 1; left: 34px; right: 0; top: 0; border-top: 1.5px dashed rgba(255, 255, 255, .55); }
/* the start gate: race numbers in white roundels, a dashed start line */
.lane-no {
  width: 34px; background: none; border-right: 2px dashed rgba(251, 252, 250, .9); color: var(--ink); font: 400 14px/1 var(--display); z-index: 2;
}
.lane-no::before { content: ''; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; translate: -50% -50%; z-index: -1; border-radius: 50%; background: #fbfcfa; border: 2px solid var(--ink); }
.lane-empty { color: var(--ink); text-shadow: none; font-weight: 600; }
.lane-empty > span:not(.lane-no) { position: relative; z-index: 2; background: #fbfcfa; border: 2px solid var(--ink); border-radius: 8px 3px 8px 3px; padding: 5px 12px; box-shadow: 2px 2px 0 var(--ink); max-width: calc(100% - 60px); text-align: center; }
.zero { top: 6px; bottom: calc(var(--lake) - 4px); border-left: 2px dashed #fbfcfa; }
.zero span { font: 700 12px/1 var(--mono); color: var(--ink); background: #fbfcfa; border-radius: 3px; padding: 2px 3px; top: 2px; left: 4px; }

/* the finish: a chequered pylon standing in the lake */
.finish {
  top: 4px; bottom: calc(var(--lake) * .3); right: 5px; width: 20px; border-left: 0;
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
  background: linear-gradient(90deg, rgba(255, 255, 255, .25), transparent 40% 60%, rgba(0, 0, 0, .25)), conic-gradient(var(--ink) 25%, #fbfcfa 0 50%, var(--ink) 0 75%, #fbfcfa 0) 0 0 / 10px 10px;
}

/* the jets: 160 x 72 symbol, coin on the tail fin, coloured smoke from the nozzle back to the start */
.runner.jet {
  --hw: calc((var(--lane-h, 66px) - 8px) * 2.222);
  top: 4px; bottom: 4px;
  left: calc(var(--start) + (100% - var(--start) - var(--fin) - var(--hw)) * var(--x, 0));
}
.runner.jet .horse { inset: 0; height: 100%; transform-origin: 50% 60%; animation: fly 2.6s ease-in-out infinite; }
.lane:nth-child(2n) .runner.jet .horse { animation-delay: -1.3s; }
.lane:nth-child(3n) .runner.jet .horse { animation-delay: -.6s; }
@keyframes fly { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(0, -1.6px) rotate(-.8deg); } }
@media (prefers-reduced-motion: reduce) { .runner.jet .horse { animation: none; } }
.runner.jet .disc { left: 7.2%; top: 12.6%; width: 13.2%; border-width: 1.8px; border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--silk, #141a2a); }
.runner.jet .rod {
  --x: inherit; left: auto; right: 96.4%; top: 45%; bottom: 23%; translate: none; z-index: -1;
  width: calc(var(--x, 0) * (100cqw - var(--start) - var(--fin) - var(--hw)) + 6px); max-width: none; min-width: 0; height: auto;
  border: 0; border-radius: 40px 0 0 40px; opacity: .82; filter: blur(1.2px);
  background: radial-gradient(closest-side, var(--smoke, #fbfcfa) 55%, transparent) 0 50% / 22px 100% repeat-x, linear-gradient(180deg, transparent 12%, var(--smoke, #fbfcfa) 30% 70%, transparent 88%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.runner.jet:has(> .horse[style*='ff7a5c']) .rod { --smoke: #ff7a5c; }
.runner.jet:has(> .horse[style*='ffd84f']) .rod { --smoke: #ffd84f; }
.runner.jet:has(> .horse[style*='ffffff']) .rod { --smoke: #ffffff; }
.runner.jet:has(> .horse[style*='4aa8ff']) .rod { --smoke: #4aa8ff; }
.runner.jet:has(> .horse[style*='b08cff']) .rod { --smoke: #b08cff; }
.runner.jet:has(> .horse[style*='ff86b4']) .rod { --smoke: #ff86b4; }
.runner.jet:has(> .horse[style*='3fd49a']) .rod { --smoke: #3fd49a; }
.runner.jet:has(> .horse[style*='ffa44a']) .rod { --smoke: #ffa44a; }
.tag { border-radius: 6px 2px 6px 2px; border-color: var(--ink); background: #fbfcfa; font-weight: 700; }
.tag em { font: 700 12.5px/1.1 var(--mono); }
.mono, .addr, .pick .w, .results .when { letter-spacing: -.02em; }
.runner.p1 .tag { background: #ffeab0; }
.runner.me .tag { background: var(--bulb); }
.done-box svg { width: 190px; height: 86px; }
.step svg.art { width: 92px; height: 72px; }

/* panels and paper bits */
.panel { border-radius: 12px; }
.ticket { border-radius: 12px; }
.ticket.sprint { --tk: var(--violet); }
.ticket.heat { --tk: var(--cobalt); }
.ticket.classic { --tk: var(--pylon); }
.ticket.dash { --tk: var(--bulb); }
.dlg { border-radius: 14px; }
.dlg-head { background: var(--violet); color: var(--cream); border-bottom: 0; padding-bottom: 31px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='16' viewBox='0 0 320 16'%3E %3Cpath d='M1 0 V16' stroke='%23141a2a' stroke-opacity='.2' stroke-width='1.4'/%3E%3Cpath d='M2.4 0 V16' stroke='%23fff' stroke-opacity='.12' stroke-width='1'/%3E %3Ccircle cx='8' cy='8' r='1.7' fill='%23fff' fill-opacity='.28'/%3E%3Ccircle cx='8.4' cy='8.6' r='1.7' fill='none' stroke='%23141a2a' stroke-opacity='.22' stroke-width='.8'/%3E %3C/svg%3E"); background-size: 320px 16px; }
.dlg-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 13px; background: var(--cheat); }
.dlg-head h2 { text-shadow: 2px 2px 0 var(--ink); letter-spacing: .01em; }
.seg button b { font-weight: 400; }
.seg button[aria-pressed='true'] { box-shadow: 3px 3px 0 var(--violet); }
.seg button[aria-pressed='true'] b { color: var(--bulb); }
.inp:focus-within { box-shadow: 0 0 0 3px #b9a8ff; }
.count .big, .potline b, .standings .place { font-weight: 400; }
.test-note { background: #eceaff; border-color: #cfc6ff; }
.toast { box-shadow: 4px 4px 0 var(--violet); }
.hits button:hover, .hits button:focus-visible, .wallets button:hover, .standings tr.me td { background: #fff2c2; }
.foot {
  border-top: 0; color: #b9c6d0; padding-top: 13px;
  background: var(--cheat), linear-gradient(180deg, #17525e, #0f3a44 55%, #0b2c34);
}
.foot-links a { color: var(--cream); }
.foot-risk { color: var(--cream); }
.launch { background: var(--ink); }
.launch a { color: var(--bulb); }

@media (max-width: 640px) {
  .top-in { min-height: 78px; }
  .brand-horse { width: 52px; height: 48px; }
  .brand-word { font-size: 38px; }
  .track { --lane-h: 54px; --start: 26px; --fin: 22px; --lake: 22px; --pw: 18px; }
  .runner.jet { top: 3px; bottom: 3px; --hw: calc((var(--lane-h, 54px) - 6px) * 2.222); }
  .lane-no { width: 24px; font-size: 11px; border-right-width: 1.5px; }
  .lane-no::before { width: 17px; height: 17px; border-width: 1.5px; }
  .lane + .lane::before { left: 24px; }
  .finish { width: 14px; right: 3px; background-size: 100% 100%, 7px 7px; }
  .booth { padding: 7px; border-radius: 12px; }
  .booth-sign { padding: 9px 11px; }
  .booth-sign .clock { font-size: 21px; }
  .hero h1 { font-size: clamp(40px, 11vw, 50px); }
  .tag em { font-size: 11px; }
  .prize b { font-size: 9px; }
  .step svg.art { width: 64px; height: 50px; }
}
