:root { --navy: #011a3b; --yellow: #ffe600; --grey: #e9ecef; --line: #e4e4e4; --ink: #111; --mute: #5b6470; --green: #1b7f4b; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", system-ui, sans-serif; color: var(--ink); background: #fff; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
.top { background: var(--navy); color: #fff; }
.top-in { max-width: 960px; margin: 0 auto; padding: 12px 16px 0; }
.top-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.signin { color: #fff; text-decoration: none; font-size: 18px; padding: 8px 0; min-height: 44px; display: inline-flex; align-items: center; }
.brand { text-align: right; text-decoration: none; color: #fff; }
.brand b { display: block; font-size: 44px; line-height: 1; letter-spacing: -1px; }
.brand-row { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.brand-row img { width: 44px; height: 44px; flex: none; display: block; }
.tagline { display: inline-block; margin-top: 6px; border: 1px solid var(--yellow); color: var(--yellow); font-size: 13px; padding: 4px 8px; }
.nav { border: 1px solid rgba(255,255,255,.35); margin-top: 14px; display: flex; justify-content: center; gap: 28px; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; padding: 14px 8px; min-height: 44px; }
.nav a:hover, .nav a.on { color: var(--yellow); }
main { max-width: 960px; width: 100%; margin: 0 auto; padding: 24px 16px 60px; flex: 1 0 auto; }
.days { display: flex; align-items: stretch; gap: 6px; margin-bottom: 14px; }
.days .track { flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.days .track::-webkit-scrollbar { display: none; }
.days button { font: inherit; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink); min-height: 54px; }
.days .arrow { width: 38px; font-size: 22px; flex: none; }
.days .day { flex: 0 0 auto; min-width: 76px; font-size: 15px; line-height: 1.3; padding: 6px 10px; white-space: nowrap; scroll-snap-align: center; }
.days .day span { display: block; font-weight: 600; }
.days .day small { display: block; font-size: 13px; color: var(--mute); }
.days .day.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.days .day.on small { color: #fff; }
.bar { background: var(--navy); color: #fff; font-weight: 600; padding: 12px; margin-top: 14px; text-decoration: none; display: block; }
.row { display: grid; grid-template-columns: 1fr 86px 1fr; align-items: center; gap: 10px; padding: 10px 6px; border-bottom: 1px solid var(--line); text-decoration: none; min-height: 60px; position: relative; }
.row:hover { background: #f6f8fb; }
.row .h { text-align: right; } .row .a { text-align: left; }
.row .mid { background: var(--grey); text-align: center; padding: 8px 4px; border-radius: 3px; font-variant-numeric: tabular-nums; }
.row .mid.live { background: var(--navy); color: var(--yellow); font-weight: 700; }
.row .mid small { display: block; font-size: 11px; font-weight: 600; }
.pill { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; color: #fff; background: var(--green); padding: 2px 8px; border-radius: 999px; }
.empty { color: var(--mute); padding: 24px 6px; }
.empty.mid { text-align: center; }
h1 { font-size: 26px; margin: 0 0 6px; }
.sub { color: var(--mute); margin: 0 0 16px; }
.back { display: inline-block; margin-bottom: 12px; color: var(--mute); text-decoration: none; min-height: 44px; line-height: 44px; }
.score { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; text-align: center; margin: 8px 0 18px; }
.score .t { font-size: 22px; font-weight: 700; }
.score .m { background: var(--grey); padding: 10px 16px; border-radius: 4px; font-size: 22px; font-variant-numeric: tabular-nums; min-width: 96px; }
.score .m.live { background: var(--navy); color: var(--yellow); }
.tabs { display: flex; border-bottom: 1px solid var(--line); margin-top: 8px; }
.tabs button { flex: 1; font: inherit; font-size: 16px; font-weight: 500; color: var(--mute); background: transparent; border: 0; border-bottom: 3px solid transparent; min-height: 48px; cursor: pointer; }
.tabs button.on { color: var(--ink); font-weight: 700; border-bottom-color: var(--navy); }
.rep { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 6px; border-bottom: 1px solid var(--line); }
.rep .who { font-weight: 600; } .rep .live-tag { color: var(--green); font-size: 13px; font-weight: 700; }
.rep button { font: inherit; font-weight: 700; color: #fff; background: var(--green); border: 0; border-radius: 6px; padding: 0 20px; min-height: 44px; cursor: pointer; }
.rep button.on { background: var(--navy); }
.toprep { background: var(--green); color: #fff; border-radius: 10px; padding: 16px; margin: 6px 0 12px; display: flex; flex-direction: column; gap: 6px; }
.toprep .k { font-size: 12px; font-weight: 700; letter-spacing: .05em; }
.toprep .n { font-size: 20px; font-weight: 700; } .toprep .c { font-size: 14px; }
.toprep button { font: inherit; font-weight: 700; font-size: 18px; min-height: 52px; margin-top: 6px; border: 0; border-radius: 8px; background: #fff; color: var(--green); cursor: pointer; }
.toprep button.on { background: var(--navy); color: #fff; }
button.more { width: 100%; display: flex; justify-content: space-between; align-items: center; font: inherit; font-weight: 600; min-height: 48px; padding: 0 14px; margin-bottom: 4px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.player { background: var(--navy); color: #fff; padding: 10px 12px; border-radius: 6px; margin: 4px 0 12px; }
.player-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.player audio { flex: 1; min-width: 200px; }
.player button { font: inherit; font-weight: 600; min-height: 44px; padding: 0 16px; border-radius: 6px; border: 0; cursor: pointer; }
@media (max-width: 560px) {
  .brand b { font-size: 34px; } .brand-row { gap: 8px; } .brand-row img { width: 34px; height: 34px; } .nav { gap: 8px; } .row { grid-template-columns: 1fr 74px 1fr; gap: 6px; font-size: 15px; }
  .score .t { font-size: 17px; }
}

.foot { background: #4a4f5e; color: #fff; margin-top: 40px; flex: none; }
.foot-in { max-width: 960px; margin: 0 auto; padding: 18px 16px; text-align: center; }
.foot-in a { color: #fff; text-decoration: none; display: inline-block; padding: 10px 10px; min-height: 44px; }
.foot-in a:hover { color: var(--yellow); }
.foot-in small { display: block; opacity: .8; margin-top: 4px; }
.doc { max-width: 760px; }
.doc h1 { margin-bottom: 4px; }
.doc h2 { font-size: 18px; margin: 26px 0 6px; }
.doc p, .doc li { line-height: 1.6; }
.doc .upd { color: var(--mute); margin: 0 0 16px; }
.draft { background: #fff8d6; border: 1px solid #e6d36a; padding: 10px 12px; margin: 14px 0 18px; font-size: 14px; }

.tbl { width: 100%; border-collapse: collapse; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { padding: 10px 6px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; }
.tbl th { font-size: 12px; color: var(--mute); text-transform: uppercase; }
.tbl .l { text-align: left; } .tbl .pts { font-weight: 700; }
.pick { display: block; width: 100%; font: inherit; font-size: 17px; padding: 12px; min-height: 48px; margin: 6px 0 14px; border: 1px solid var(--line); background: #fff; }
.country { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); margin: 22px 0 6px; }
.lg { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 6px; border-bottom: 1px solid var(--line); text-decoration: none; min-height: 52px; font-weight: 600; }
.lg:hover { background: #f6f8fb; } .lg small { font-weight: 400; color: var(--mute); }
@media (max-width: 560px) { .hide-sm { display: none; } .tbl th, .tbl td { padding: 10px 3px; font-size: 14px; } }

/* Touch screens scroll the day strip with a finger, so the arrows are not needed. */
@media (pointer: coarse) { .days .arrow { display: none; } }

/* Match page extras: share, notify me, report */
.tools { margin: 0 0 12px; }
.tools button { font: inherit; font-weight: 600; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); cursor: pointer; }
.notify { margin: 0 0 16px; }
.notify button { font: inherit; font-weight: 700; min-height: 48px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--green); color: #fff; cursor: pointer; text-align: left; }
.notify button.on { background: var(--navy); }
.notify .fine { color: var(--mute); font-size: 14px; margin: 8px 0 0; line-height: 1.4; }
.rep-tools { margin-top: 10px; font-size: 14px; }
.rep-tools .linkb { background: none; border: 0; color: #fff; text-decoration: underline; font: inherit; padding: 8px 0; min-height: 44px; cursor: pointer; }
.rep-tools form label { display: block; margin: 8px 0 4px; }
.rep-tools select, .rep-tools textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 8px; border-radius: 6px; border: 0; }
.rep-actions { display: flex; gap: 10px; margin-top: 10px; }
.rep-actions button { font: inherit; font-weight: 600; min-height: 44px; padding: 0 16px; border-radius: 6px; border: 0; cursor: pointer; }
.rep-msg { margin: 6px 0 0; min-height: 1em; }

/* Match information tabs */
.itabs { display: flex; gap: 6px; margin: 20px 0 10px; }
.itabs:empty { display: none; }
.itabs button { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 14px; font-weight: 600; min-height: 44px; padding: 0 6px; border: 0; border-radius: 4px; background: var(--grey); color: var(--ink); cursor: pointer; }
.itabs button.on { background: var(--navy); color: #fff; }
#info { min-height: 80px; }
.ev { display: grid; grid-template-columns: 1fr 58px 1fr; gap: 6px; align-items: start; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.ev-l { text-align: right; } .ev-r { text-align: left; }
.ev-m { text-align: center; font-weight: 700; color: var(--mute); font-variant-numeric: tabular-nums; }
.ev-t strong { display: block; font-size: 14px; }
.ev-n { font-size: 15px; }
.chip { display: inline-block; width: 12px; height: 16px; border-radius: 2px; margin: 0 2px 2px; vertical-align: middle; }
.chip.y { background: #f5c400; } .chip.r { background: #d12a2a; }
.lu { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .lu { grid-template-columns: 1fr 1fr; } }
.lu-l { list-style: none; margin: 0; padding: 0; } .lu-l li { padding: 6px 4px; border-bottom: 1px solid var(--line); white-space: pre; }
.lu-l.sub li { color: var(--mute); } .lu-h { font-size: 12px; text-transform: uppercase; color: var(--mute); margin: 14px 0 4px; font-weight: 700; }
.fine { color: var(--mute); font-size: 14px; margin: 6px 0; }
.st-h { text-align: center; color: var(--mute); font-size: 14px; margin: 4px 0 10px; }
.st { padding: 8px 4px; }
.st-top { display: grid; grid-template-columns: 56px 1fr 56px; text-align: center; align-items: baseline; font-variant-numeric: tabular-nums; }
.st-top span { color: var(--mute); font-size: 14px; } .st-top b { font-weight: 600; } .st-top b.lead { font-weight: 800; }
.st-bar { height: 6px; background: #d9dde3; border-radius: 3px; margin-top: 6px; overflow: hidden; } .st-bar i { display: block; height: 100%; background: var(--navy); }
.tbl tr.me td { background: #fff6bf; }
.row.me { background: #fff6bf; }

#sub { text-align: center; }

.days[hidden] { display: none; }
#tabs + #strip.days { margin-top: 16px; }
