/* The public Where to Watch pages. They stand apart from the app: this file and guide.js are all they load.
   Colors, type, 14px cards and 50px buttons follow the app's look (docs/DESIGN.md, DECISIONS #92, #139). */
@font-face{font-family:Inter;src:url('/test/fonts/inter.woff') format('woff');font-weight:100 900;font-display:swap}
@font-face{font-family:Barlow;src:url('/test/fonts/barlow.woff') format('woff');font-weight:600;font-display:swap}
:root{color-scheme:light dark;--page:#f2f2f7;--card:#fff;--text:#111114;--quiet:#5c616c;--line:#e3e5ea;--blue:#2f54eb;--gold:#ffb020;--goldtext:#7a5100;--onblue:#dfe5ff}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased;background:var(--page);color:var(--text);font-size:17px;line-height:1.4}
a{color:var(--blue)}
.bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--card);border-bottom:1px solid var(--line)}
.bar img{display:block;height:30px;width:auto}
.wrap{max-width:1180px;margin:0 auto;padding:20px 16px 32px}
.eyebrow{font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--quiet);margin-bottom:6px}
h1{font:600 42px/1.02 Barlow,Inter,sans-serif}
h1::after{content:'';display:block;width:56px;height:4px;border-radius:2px;background:var(--gold);margin-top:10px}
.lead{margin:12px 0 16px;color:var(--quiet);max-width:680px}
h2{font:600 28px/1.1 Barlow,Inter,sans-serif;margin:24px 0 12px}
.btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;border-radius:12px;font-weight:600;font-size:17px;background:var(--blue);color:#fff;text-decoration:none;padding:0 20px;white-space:nowrap}
.btn img{width:24px;height:24px;flex:none}
.btn-top{display:none}
.card{background:var(--card);border-radius:14px;padding:16px;margin-bottom:12px}
.map{background:var(--blue);color:#fff;border-radius:14px;padding:16px;margin-bottom:12px}
.map svg{display:block;width:100%;height:auto;max-height:440px}
.map p{font-size:14px;color:var(--onblue);margin-top:8px}
.map a{color:#fff}
.map path{fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.map circle{fill:var(--gold);stroke:#fff;stroke-width:1;vector-effect:non-scaling-stroke}
.map text{font:600 4.2px Inter,sans-serif;fill:#111114;text-anchor:middle;dominant-baseline:central}
.label{font-weight:600;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--quiet);margin:14px 0 8px}
.finish-time{display:flex;align-items:flex-end;gap:8px;margin-bottom:8px}
.finish-time[hidden]{display:none}
.finish-time label{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--quiet)}
.finish-time input{width:100%;height:50px;padding:0;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--text);font:600 20px Barlow,Inter,sans-serif;text-align:center}
.finish-colon{font:600 22px Barlow,Inter,sans-serif;padding-bottom:12px}
.note{font-size:13px;color:var(--quiet);margin-bottom:12px}
.spot{display:grid;grid-template-columns:30px 1fr;gap:12px}
.num{width:30px;height:30px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:14px}
.spot h3{font-size:17px;font-weight:600;line-height:1.3}
.area{font-size:14px;color:var(--quiet);margin-bottom:6px}
.spot p{font-size:15px}
.when{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin:8px 0}
.when b{font:600 24px/1.1 Barlow,Inter,sans-serif}
.when small{font-size:13px;font-weight:600;color:var(--goldtext)}
.go{display:flex;gap:8px;align-items:flex-start;font-size:14px;color:var(--quiet);margin-top:8px}
.go img{width:18px;height:18px;margin-top:1px;flex:none}
ul{list-style:none}
.tips li{font-size:15px;padding:8px 0;border-bottom:1px solid var(--line)}
.tips li:first-child{padding-top:0}.tips li:last-child{padding-bottom:0;border-bottom:0}
.foot{font-size:13px;color:var(--quiet);margin-top:20px}
.foot p{margin-bottom:8px}.foot li{margin-bottom:4px}
.bottom{margin-top:16px}
/* After the race (race-state.js sets the class): a note up top, the spots marked with their year, and no pass times. */
.after-race{display:none}
.race-over .before-race,.race-over .finish-time,.race-over .label,.race-over .note,.race-over .when b{display:none}
.race-over .after-race{display:revert}
.overcard{border-left:4px solid var(--gold)}
.overcard strong{display:block;font-size:17px;font-weight:600;margin-bottom:4px}
.overcard p{font-size:15px;color:var(--quiet)}
.race-over .lead{margin-bottom:12px}
.race-over .card.overcard{display:block;margin-bottom:16px}
.race-over .tips li:has(+ .before-race:last-child){padding-bottom:0;border-bottom:0}
@media (min-width:960px){
 .bar{padding:14px 48px}
 .btn-top{display:flex}
 .wrap{padding:40px 48px}
 h1{font-size:60px}
 .cols{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
 .stick{position:sticky;top:20px}
 .list h2:first-child{margin-top:0}
 .stick .btn{max-width:300px}
 .bottom{display:none}
}
/* Follows the phone's dark mode, same colors as the app (Ethan, Nov 4, 2026). */
@media (prefers-color-scheme:dark){
 :root{--page:#000;--card:#1c1c1e;--text:#f4f4f6;--quiet:#b0b3bd;--line:#3c3f46;--goldtext:#ffb020}
 a{color:#b4c2ff}
 .btn,.map a{color:#fff}
}
/* No letter or word alone on a line (DESIGN.md section 0). */
h1,h2,h3,p,li,small,strong{text-wrap:pretty}
.keep-end{white-space:nowrap}
