:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --surface-3: #ebebef;
  --line: #e3e3e8;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --dim: #a1a1a6;
  --red: #e0241b;
  --red-deep: #c4161c;
  --red-soft: rgba(224, 36, 27, .1);
  --amber: #b25000;
  --amber-soft: rgba(178, 80, 0, .1);
  --green: #248a3d;
  --blue: #0066cc;
  --dot: #d2d2d7;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .05);
  --r: 22px;
  --display: "Barlow Condensed", "SF Pro Display", -apple-system, "Helvetica Neue", Arial Narrow, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.47 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(1200px 500px at 85% -120px, rgba(224, 36, 27, .08), transparent 60%);
  background-repeat: no-repeat;
}
body.locked { overflow: hidden; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.red { color: var(--red); }
[hidden] { display: none !important; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(245, 245, 247, .82);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: .01em; text-transform: uppercase; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-mark .spin { transform-origin: 16px 16px; animation: spin 9s linear infinite; }
.brand b { color: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }

.seg { display: flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.seg a { color: var(--muted); font-size: 14px; font-weight: 600; padding: 7px 15px; border-radius: 999px; white-space: nowrap; }
.seg a:hover { text-decoration: none; color: var(--ink); }
.seg a[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

/* ticker */
.ticker { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; font-size: 14px; }
.ticker-label { flex: none; display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--red-deep); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.ticker-label i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.ticker-track { flex: 1; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.ticker-run { display: flex; gap: 40px; white-space: nowrap; padding-left: 24px; animation: marquee var(--dur, 90s) linear infinite; }
.ticker:hover .ticker-run { animation-play-state: paused; }
.ticker-run span { color: var(--muted); }
.ticker-run b { color: var(--ink); font-weight: 600; }
.ticker-run a { color: var(--ink); }
.ticker-run em { font-style: normal; color: var(--red); font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* hero */
.hero { padding: 48px 0 24px; }
.hero-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: end; }
.eyebrow { margin: 0 0 10px; color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
h1 { font-family: var(--display); font-size: clamp(52px, 9vw, 96px); line-height: .92; letter-spacing: -.005em; margin: 0 0 18px; font-weight: 800; text-transform: uppercase; }
.lede { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0; }
.megastat { background: linear-gradient(160deg, #fff0ef, var(--surface) 70%); border: 1px solid #f6d3d0; box-shadow: var(--shadow); border-radius: 28px; padding: 26px 28px; }
.mega-num { font-family: var(--display); font-weight: 800; font-size: clamp(88px, 13vw, 150px); line-height: .85; color: var(--red); font-variant-numeric: tabular-nums; letter-spacing: -.01em;
  text-shadow: none; }
.mega-lbl { color: var(--muted); font-size: 17px; margin-top: 10px; }
.mega-lbl b { color: var(--ink); }

.section-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; letter-spacing: .01em; margin: 40px 0 14px; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 8px 0 8px; }
.tile { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--r); padding: 18px 20px; }
.tile .num { font-family: var(--display); font-size: 52px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.tile .num small { font-size: 24px; font-weight: 700; color: var(--dim); }
.tile .lbl { color: var(--muted); font-size: 14.5px; margin-top: 6px; line-height: 1.35; }
.tile.hot .num { color: var(--red); }
.tile.amber .num { color: var(--amber); }

/* podium */
.podium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 12px; align-items: end; }
.pod { position: relative; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 26px; padding: 18px; cursor: pointer; text-align: left;
  font: inherit; color: inherit; transition: transform .2s ease, border-color .2s; touch-action: manipulation; overflow: hidden; }
.pod:hover { transform: translateY(-3px); border-color: #d2d2d7; }
.pod.p1 { order: 2; padding-top: 26px; background: linear-gradient(180deg, #ffecea, var(--surface) 65%); border-color: #f6d3d0; }
.pod.p2 { order: 1; } .pod.p3 { order: 3; }
.pod .place { position: absolute; top: 14px; right: 16px; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--surface-3); }
.pod.p1 .place { color: rgba(224, 36, 27, .3); font-size: 56px; }
.pod .pod-num { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: .9; margin-top: 14px; font-variant-numeric: tabular-nums; }
.pod.p1 .pod-num { font-size: 84px; color: var(--red); }
.pod .pod-lbl { color: var(--muted); font-size: 14px; }
.pod .pod-meta { margin-top: 10px; font-size: 14px; color: var(--muted); }
.pod .pod-meta b { color: var(--ink); font-weight: 600; }

/* booking placard */
.placard { display: flex; align-items: center; gap: 12px; }
.mug { width: 56px; height: 64px; flex: none; border-radius: 14px; background: repeating-linear-gradient(180deg, #dcdce1 0 1px, transparent 1px 8px), var(--surface-2);
  border: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.mug svg { width: 44px; height: 50px; }
.plate { background: #f2f2f2; color: #111; border-radius: 8px; padding: 5px 9px 4px; font-family: var(--display); line-height: 1; box-shadow: inset 0 0 0 2px #111; }
.plate .p-top { font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.plate .p-num { font-size: 26px; font-weight: 800; letter-spacing: .02em; }
.plate .p-bot { font-size: 11px; font-weight: 600; letter-spacing: .08em; color: #444; }
.pod.p1 .mug { width: 64px; height: 74px; }

/* toolbar + pills */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 34px 0 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills button { font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 17px; cursor: pointer; touch-action: manipulation; transition: background .15s; }
.pills button:hover { background: var(--surface-2); }
.pills button.on { background: var(--red); border-color: var(--red); color: #fff; }
.check, .select { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.select select { font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.legend { display: flex; gap: 18px; color: var(--muted); font-size: 13px; margin: 0 4px 12px; }
.legend span { display: flex; align-items: center; gap: 6px; }

/* rap sheet dots */
.dots { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 10px; max-width: 520px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.dot.hot { background: var(--red); }
.dots.big { gap: 4px; max-width: none; }
.dots.big .dot { width: 11px; height: 11px; }
.dots-none { margin-top: 10px; font-size: 13px; color: var(--dim); font-style: italic; }
.reveal .dot { opacity: 0; transform: scale(.3); animation: pop .35s ease forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }

/* leaderboard */
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.row { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--r); overflow: hidden; transition: border-color .15s; }
.row:hover { border-color: #d2d2d7; }
.row-head { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px; width: 100%; padding: 16px 20px;
  background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; touch-action: manipulation; }
.rank { font-family: var(--display); font-size: 34px; font-weight: 800; color: var(--dim); font-variant-numeric: tabular-nums; text-align: center; line-height: 1; }
.rank small { display: block; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.who { min-width: 0; }
.who .title { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .01em; line-height: 1.1; text-transform: uppercase; }
.who .sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.who .sub.offences { color: var(--ink); opacity: .85; margin-top: 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.badge { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-3); color: var(--ink); }
.badge.red { background: var(--red-soft); color: var(--red); }
.badge.amber { background: var(--amber-soft); color: var(--amber); }
.score { text-align: right; }
.score .big { font-family: var(--display); font-size: 52px; font-weight: 800; line-height: .9; font-variant-numeric: tabular-nums; }
.score .small { color: var(--muted); font-size: 12.5px; margin-top: 6px; white-space: nowrap; }
.chev { color: var(--dim); vertical-align: -2px; transition: transform .2s; }
.row.open .chev { transform: rotate(90deg); }

.detail { padding: 0 20px 20px 92px; display: none; }
.row.open .detail { display: block; }
.detail h3, .sheet h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 20px 0 8px; font-weight: 700; }
.detail p, .detail ul, .sheet p, .sheet ul { margin: 0; }
.sheet ul { padding-left: 20px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.fact { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 11px 14px; }
.fact .k { font-size: 12.5px; color: var(--muted); }
.fact .v { font-weight: 700; font-size: 17px; }
blockquote { margin: 8px 0 0; padding: 12px 16px; border-left: 3px solid var(--red); background: var(--surface-2); border-radius: 0 14px 14px 0; font-size: 15.5px; }
blockquote cite { display: block; font-style: normal; color: var(--muted); font-size: 13px; margin-top: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; font-size: 15px; border: 0; cursor: pointer;
  background: var(--surface-3); color: var(--ink); padding: 11px 18px; border-radius: 999px; touch-action: manipulation; }
.btn:hover { text-decoration: none; filter: brightness(1.15); }
.btn.primary { background: var(--red); color: #fff; }

/* case sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s ease; }
.sheet { position: relative; width: min(720px, 100%); max-height: calc(100dvh - 40px); overflow: auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 28px; padding: 26px 26px 28px; animation: rise .28s cubic-bezier(.2, .9, .3, 1); overscroll-behavior: contain; }
.sheet-close { position: sticky; top: 0; float: right; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--surface-3); color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 2; }
.sheet-head { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.sheet-head .mug { width: 76px; height: 88px; }
.sheet-head .mug svg { width: 60px; height: 68px; }
.sheet-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 40px; line-height: 1; margin: 0; }
.sheet-sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.sheet-score { display: flex; gap: 22px; margin: 18px 0 4px; flex-wrap: wrap; }
.sheet-score div { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: .9; }
.sheet-score div small { display: block; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.sheet-score .r { color: var(--red); }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

/* map */
.mapcard { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; padding: 14px; align-items: center; }
.card { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--r); }
.map-main svg, .inset svg { width: 100%; height: auto; display: block; }
.map-insets { display: grid; gap: 12px; align-content: start; }
.inset { background: var(--surface-2); border: 1px solid var(--line); border-radius: 18px; padding: 10px; }
.inset-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 2px 4px 6px; }
.land { fill: #ececf0; stroke: #c7c7cc; stroke-width: 1; vector-effect: non-scaling-stroke; }
.inset .land { fill: #e5e5ea; }
.bub { fill: var(--red); fill-opacity: .5; stroke: var(--red-deep); stroke-width: 1; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill-opacity .15s, r .5s ease; }
.bub:hover, .bub.on { fill-opacity: .9; stroke: var(--ink); stroke-width: 2; }
.inset .bub-lbl { font-size: 10px; }
.bub-lbl { fill: var(--ink); font-size: 11px; font-weight: 600; pointer-events: none; paint-order: stroke; stroke: var(--surface-2); stroke-width: 3px; }
.metro-box { fill: none; stroke: var(--muted); stroke-dasharray: 3 3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.map-tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--bg); padding: 7px 11px; border-radius: 12px; font-size: 13px; font-weight: 600;
  white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); z-index: 5; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.map-tip b { font-family: var(--display); font-size: 18px; margin-left: 4px; }
.metric-note { color: var(--muted); font-size: 15px; margin: 0 4px 14px; max-width: 760px; }
.metric-note b { color: var(--ink); }

/* city list */
.cities .row-head { grid-template-columns: 56px 1fr 120px; }
.barline { height: 8px; background: var(--surface-3); border-radius: 999px; margin-top: 10px; overflow: hidden; }
.barline span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red-deep), var(--red)); border-radius: 999px; transition: width .8s cubic-bezier(.2, .9, .3, 1); }
.delta { font-size: 13px; font-weight: 700; }
.delta.up { color: var(--red); }
.delta.down { color: var(--green); }
.chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.chart text { fill: var(--muted); font-size: 11px; }
.pod.city .pod-num { font-size: 54px; }
.pod.city.p1 .pod-num { font-size: 70px; }
.pod .pod-name { font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; padding-right: 40px; }
.pod.city.p1 .pod-name { font-size: 34px; }

.prose .card { padding: 8px 26px 22px; }
.prose h2 { font-family: var(--display); text-transform: uppercase; font-size: 26px; margin: 24px 0 6px; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 20px; }
.fine { color: var(--muted); font-size: 14px; margin: 14px 4px 0; }
.foot { color: var(--dim); font-size: 13px; padding-top: 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.empty { padding: 28px; text-align: center; color: var(--muted); }
.fadein { animation: rise .5s ease both; }

@media (max-width: 820px) {
  .hero-split { grid-template-columns: 1fr; }
  .mapcard { grid-template-columns: 1fr; }
  .map-insets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .seg { width: 100%; }
  .seg a { flex: 1; text-align: center; padding: 7px 6px; font-size: 13.5px; }
  .hero { padding-top: 30px; }
  .tile { padding: 14px 16px; }
  .tile .num { font-size: 42px; }
  .tile .lbl { font-size: 13.5px; }
  .podium { grid-template-columns: 1fr; }
  .pod.p1, .pod.p2, .pod.p3 { order: 0; }
  .row-head, .cities .row-head { grid-template-columns: 38px 1fr auto; gap: 10px; padding: 14px 14px; }
  .rank { font-size: 26px; }
  .who .title { font-size: 21px; }
  .score .big { font-size: 40px; }
  .detail { padding: 0 14px 18px; }
  .map-insets { grid-template-columns: 1fr; }
  .sheet-wrap { padding: 0; align-items: flex-end; }
  .sheet { border-radius: 28px 28px 0 0; max-height: 92dvh; padding: 22px 18px calc(28px + env(safe-area-inset-bottom)); }
  .sheet-title { font-size: 34px; }
  .ticker-label { font-size: 13px; padding: 8px 10px; }
}
@media (hover: none) { .pills button:active, .row-head:active, .pod:active { opacity: .75; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal .dot { opacity: 1; transform: none; }
}

/* catch and release */
.section-sub { color: var(--muted); margin: -6px 0 14px; max-width: 700px; }
.wrist { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.wcard { text-align: left; font: inherit; color: inherit; cursor: pointer; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; box-shadow: var(--shadow); transition: transform .2s ease, border-color .2s; touch-action: manipulation; }
.wcard:hover { transform: translateY(-3px); border-color: #d2d2d7; }
.w-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.w-num { font-weight: 700; color: var(--ink); }
.w-days { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: .9; color: var(--red); margin-top: 10px; font-variant-numeric: tabular-nums; }
.w-days small { display: block; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.w-off { font-weight: 600; margin-top: 10px; line-height: 1.3; }
.w-meta { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.w-meta b { color: var(--ink); }

/* NDP effect */
.ndp-chart { padding: 18px 20px 16px; margin-top: 14px; }
.c-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 24px; margin: 0 0 6px; }
.chart .c-flag { fill: var(--red); font-size: 12px; font-weight: 700; }
.chart .c-mark { fill: var(--surface); font-size: 11px; font-weight: 700; }
.c-legend { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.c-legend b { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--surface); font-size: 11px; align-items: center; justify-content: center; margin-right: 6px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: grid; gap: 14px; }
.t-item { position: relative; display: grid; grid-template-columns: 130px 1fr; gap: 14px; }
.t-item::before { content: ""; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 3px solid var(--bg); }
.t-item.fed::before { background: var(--muted); }
.t-date { font-weight: 700; font-size: 14px; color: var(--muted); padding-top: 2px; }
.t-body { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); }
.t-who { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.t-item.fed .t-who { color: var(--muted); }
.t-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1.05; margin-top: 2px; }
.t-body p { margin: 6px 0 4px; }
.t-body a { font-size: 14px; font-weight: 600; }
@media (max-width: 640px) { .t-item { grid-template-columns: 1fr; gap: 4px; } .seg a { font-size: 12.5px; padding: 7px 4px; } }

.seg .s { display: none; }
@media (max-width: 640px) { .seg .l { display: none; } .seg .s { display: inline; } }
.w-out { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--red-soft); color: var(--red); }

.c-sub { color: var(--muted); font-size: 14.5px; margin: 0 0 6px; }
.c-key { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin: 2px 0 2px; }
.c-key span { display: flex; align-items: center; gap: 6px; }
.c-key i { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.chart .c-end { font-size: 13px; font-weight: 700; }

/* daily court lists */
.hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.wk { flex: 0 0 260px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow); }
.wk-num { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: .9; color: var(--red); margin-top: 10px; }
.wk-num small { display: block; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.wk-ch { font-weight: 600; margin-top: 10px; line-height: 1.3; font-size: 15px; }
.src-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.src-tag.dec { color: var(--ink); }
.wcard.list { background: var(--surface-2); }
.more { text-align: center; color: var(--muted); font-size: 14px; padding: 24px 0 8px; }
.bail-card { padding: 18px 20px; }
.stack { display: flex; height: 26px; border-radius: 999px; overflow: hidden; background: var(--surface-3); }
.stack span { display: block; height: 100%; }
.stack-key { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px 14px; font-size: 14px; }
.stack-key li { display: flex; align-items: center; gap: 8px; }
.stack-key i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.stack-key span { color: var(--muted); }
.cat-rows { display: grid; gap: 14px; }
.cat-row { display: grid; grid-template-columns: minmax(150px, 1fr) 2fr 80px; gap: 14px; align-items: center; }
.cat-name { font-weight: 600; }
.cat-name span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.cat-row .barline { margin-top: 0; }
.cat-row .barline span { width: auto; }
.cat-pct { font-family: var(--display); font-weight: 800; font-size: 28px; text-align: right; line-height: 1; }
.cat-pct small { display: block; font-family: -apple-system, BlinkMacSystemFont, sans-serif; font-size: 11px; font-weight: 600; color: var(--muted); }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: right; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { text-align: right; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.tbl th:first-child, .tbl td:first-child { text-align: left; font-weight: 600; }
.tbl tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) { .cat-row { grid-template-columns: 1fr 64px; } .cat-row .barline { grid-column: 1 / -1; order: 3; } }

.wcard { position: relative; }
.w-share { display: inline-flex; align-items: center; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--ink); background: var(--surface-3);
  padding: 7px 13px; border-radius: 999px; cursor: pointer; }
.w-share:hover { filter: brightness(.96); }
