:root { --ink:#122019; --muted:#617167; --line:#dbe6df; --panel:#fff; --bg:#f4f8f3; --green:#007a3d; --deep:#004b2b; --gold:#c8a342; --accent:#16a05d; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:0; }
a { color:inherit; }
.topbar { position:sticky; top:0; z-index:2; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:14px 20px; background:var(--deep); color:white; border-bottom:3px solid var(--gold); }
.brand { font-weight:800; text-decoration:none; font-size:21px; }
nav { display:flex; gap:8px; }
nav a { text-decoration:none; border:1px solid rgba(255,255,255,.65); border-radius:6px; padding:7px 10px; font-size:13px; }
main { width:min(1180px, calc(100vw - 24px)); margin:16px auto 40px; }
.hero-banner { position:relative; min-height:210px; max-height:300px; aspect-ratio:3 / 1; overflow:hidden; border-radius:8px; border:1px solid var(--line); background:#0d3f24; }
.hero-banner img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 48%; }
.hero-shade { position:absolute; inset:0; background:linear-gradient(90deg, rgba(0,24,12,.76), rgba(0,24,12,.16) 58%, rgba(0,24,12,.42)); }
.hero-copy { position:absolute; left:22px; bottom:20px; display:grid; gap:6px; color:white; }
.hero-copy span { color:rgba(255,255,255,.72); font-size:12px; font-weight:800; text-transform:uppercase; }
.hero-copy strong { font-size:clamp(28px, 5vw, 54px); line-height:1; }
.summary { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px; background:var(--panel); border:1px solid var(--line); border-radius:8px; }
.summary p { margin:4px 0 0; color:var(--muted); }
.date { font-weight:800; font-size:22px; }
.badge { white-space:nowrap; border-radius:999px; padding:8px 10px; background:#edf8ef; color:var(--deep); font-size:13px; border:1px solid #cce8d5; }
.venue-board { display:grid; gap:14px; margin-top:14px; align-items:start; }
.venue-count-1 { grid-template-columns:minmax(0, 1fr); }
.venue-count-2 { grid-template-columns:repeat(2, minmax(0, 1fr)); }
.venue-count-3 { grid-template-columns:repeat(3, minmax(0, 1fr)); }
.venue { background:var(--panel); border:1px solid var(--line); border-radius:8px; overflow:hidden; }
.venue > header { display:flex; justify-content:space-between; align-items:center; padding:12px 14px; border-bottom:1px solid var(--line); background:#f9fcfa; }
.venue h2 { margin:0; font-size:18px; }
.venue header span { color:var(--muted); font-size:13px; }
.race-list { display:grid; grid-template-columns:1fr; gap:1px; background:var(--line); }
.race-card { padding:13px; background:white; min-height:246px; }
.race-head { display:grid; grid-template-columns:auto 1fr auto; gap:9px; align-items:start; }
.race-no { display:inline-grid; place-items:center; min-width:38px; height:30px; border-radius:6px; background:var(--green); color:white; font-weight:800; }
.race-head h3 { margin:0; font-size:15px; line-height:1.35; }
.race-head p { margin:4px 0 0; color:var(--muted); font-size:12px; line-height:1.4; }
.race-head time { color:var(--deep); font-weight:800; white-space:nowrap; }
.picks { display:grid; gap:6px; margin:12px 0 0; padding:0; list-style:none; }
.picks li { display:grid; grid-template-columns:30px minmax(0,1fr); gap:7px; align-items:center; padding:7px; border:1px solid #d6eadc; border-radius:7px; background:#f8fcf9; }
.pick-line { min-width:0; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.picks b { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.popularity { flex:0 0 auto; border:1px solid #cce8d5; border-radius:999px; padding:3px 6px; background:white; color:var(--deep); font-size:11px; font-weight:800; white-space:nowrap; }
.mark { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--green); color:white; font-weight:900; }
.bets { display:grid; gap:6px; margin:10px 0 0; padding:0; list-style:none; }
.bets li { display:grid; grid-template-columns:1fr auto; gap:5px 8px; padding:7px; border-radius:7px; background:#fff8e5; border:1px solid #f0deb0; font-size:12px; }
.bets strong { color:#4d3a05; }
.bets span { color:#665526; }
.bets em { grid-row:1 / 3; grid-column:2; align-self:center; color:var(--deep); font-style:normal; font-weight:800; }
.muted, .empty { color:var(--muted); }
.empty { margin-top:14px; padding:28px; background:white; border:1px solid var(--line); border-radius:8px; text-align:center; }
footer { width:min(1180px, calc(100vw - 24px)); margin:0 auto 32px; color:var(--muted); font-size:12px; line-height:1.7; }
@media (max-width:960px) { .venue-count-3 { grid-template-columns:1fr; } }
@media (max-width:760px) { .venue-count-2 { grid-template-columns:1fr; } }
@media (max-width:640px) { .topbar,.summary { align-items:flex-start; flex-direction:column; } nav { width:100%; } nav a { flex:1; text-align:center; } .hero-banner { min-height:180px; aspect-ratio:16 / 9; } .hero-copy { left:16px; bottom:16px; } }
