/* FINE MARGINS — T20 mode (html[data-mode="t20"]). 28 Oct: 'under the lights'. Same materials as the Test side (Fraunces for headlines and
   the big numbers, IBM Plex Mono for labels, Hanken Grotesk for reading, the paper grain), set at night: a floodlit green-black ground,
   chalk-cream ink, saffron for batting (the brand accent) and jade for bowling (from the Test greens). Hairlines, tight corners, no glow. */
html[data-mode="t20"] {
  --paper:        #0A1410;
  --paper-2:      #0F1C16;
  --card:         #12221A;
  --ink:          #EFE9DB;
  --ink-soft:     #B5B2A2;
  --ink-faint:    #7D887B;
  --line:         rgba(239,233,219,.07);
  --line-strong:  rgba(239,233,219,.16);
  --kit:          #E8A33C;
  --kit-2:        #F0C47E;
  --seam:         #5BC48C;
  --nav:          #0A1410;
  --green:        var(--kit);
  --green-deep:   #3A2E10;
  --green-bright: var(--kit-2);
  --saffron:      var(--seam);
  --accent-light: rgba(232,163,60,.08);
  --serif:        "Fraunces Variable", "Fraunces", Georgia, serif;
  --sans:         "Hanken Grotesk Variable", "Hanken Grotesk", system-ui, sans-serif;
  --mono:         "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
html[data-mode="t20"] body { background-color: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased;
  /* under the lights: a faint warm floodlight from above, and the same paper grain as the Test side, in chalk on the night ground */
  background-image: radial-gradient(rgba(239,233,219,.028) 1px, transparent 1px); background-size: 4px 4px; }
/* 1 Nov: the floodlight sits on its own fixed layer; as a fixed body background it made the browser repaint the whole page on every
   frame of a scroll, which is most of what made the T20 side feel sticky */
html[data-mode="t20"] body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 60% at 50% -10%, rgba(232,163,60,.07), transparent 60%); }
html[data-mode="t20"] ::selection { background: rgba(232,163,60,.25); }
html[data-mode="t20"] header { border-bottom: 1px solid rgba(190,186,168,.10); }
html[data-mode="t20"] nav a { border-radius: 0; padding: 8px 4px; margin: 0 9px; color: var(--ink-soft); }
html[data-mode="t20"] nav a:hover { background: none; color: #F7F1E1; }
html[data-mode="t20"] nav a.active { background: none; color: #F7F1E1; box-shadow: inset 0 -2px 0 var(--kit); }
html[data-mode="t20"] .fmt[data-on="t20"] .fmt-rule { background: var(--kit); }
html[data-mode="t20"] footer { background: transparent; color: var(--ink-faint); border-top: 1px solid var(--line); }
html[data-mode="t20"] footer a { color: var(--ink-soft); }
html[data-mode="t20"] h1, html[data-mode="t20"] h2, html[data-mode="t20"] h3 { color: var(--ink); font-family: var(--serif); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── The view: a globe (or a competition's 3D chart) with the panel beside it ─────────────────────────────────────
   Night palette. Flat surfaces and hairlines: no glass, glow or grain. Gold is batting, ice blue is bowling. */
.wx {
  --wx-text: #EFE9DB; --wx-soft: #B5B2A2; --wx-faint: #7D887B; --wx-line: rgba(239,233,219,.08);
  --wx-gold: #E8A33C; --wx-ice: #5BC48C; --wx-coral: #C9583F;
  position: relative; color: var(--wx-text); overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 50% 66% at 64.5% 48%, #14251C 0%, #0C1712 55%, #0A1410 100%);
  height: clamp(680px, 92vh, 880px);
}
.wx::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10,20,16,0), #0A1410); }
.wx-stage { position: absolute; inset: 0; z-index: 0; }
.wx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.wx-canvas:active { cursor: grabbing; }
.wx.no-gl .wx-canvas { display: none; }
.wx-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
/* names on the globe, laid out by the script; the padding is an invisible, finger-sized target */
.wx-lab { all: unset; position: absolute; left: 0; top: 0; pointer-events: auto; cursor: pointer; padding: 6px 7px; font-size: 12.5px; line-height: 1; font-weight: 500; letter-spacing: .01em; color: var(--wx-soft);
  white-space: nowrap; text-shadow: 0 0 6px #0A1410, 0 0 2px #0A1410; transition: color .15s; will-change: transform, opacity; }
.wx-lab:hover, .wx-lab.is-on { color: #F7F1E1; }
.wx-lab:focus-visible { outline: 2px solid var(--wx-gold); outline-offset: 0; border-radius: 3px; }
.wx-leads, .wx-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wx-leads line { stroke: rgba(169,175,196,.7); stroke-width: 1; opacity: 0; }
.wx-links path { fill: none; stroke: #9CC8AE; stroke-linecap: round; opacity: 0; transition: opacity .25s; }
/* the chart's words: arrow names and player names */
.wx-ax { position: absolute; left: 0; top: 0; font-size: 13.5px; font-weight: 650; color: #ECE6D7; white-space: nowrap; opacity: 0; text-shadow: 0 0 8px #0A1410, 0 0 2px #0A1410; pointer-events: none; }
.wx-nm { position: absolute; left: 0; top: 0; font-size: 12.5px; font-weight: 500; color: var(--wx-soft); white-space: nowrap; opacity: 0; line-height: 18px; text-shadow: 0 0 6px #0A1410, 0 0 2px #0A1410; pointer-events: none; will-change: transform, opacity; }
.wx-nm.is-strong { color: #F7F1E1; font-weight: 600; }
.wx-sel { position: absolute; left: -14px; top: -14px; width: 28px; height: 28px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.wx-sel::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--wx-gold); }
.wx-sel[data-role="bowl"]::after { border-color: var(--wx-ice); }
/* internationals, named in a row under the globe */
.wx-intl { position: absolute; left: 0; top: 0; display: flex; align-items: baseline; gap: 4px 18px; flex-wrap: wrap; justify-content: center; pointer-events: auto; transition: opacity .35s; white-space: nowrap; }
.wx-intl-k { font-size: 12px; color: var(--wx-faint); }
.wx-ib { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 6px 2px; font-size: 12.5px; font-weight: 500; color: var(--wx-soft); border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.wx-ib i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #9CC8AE; box-sizing: border-box; flex: none; }
.wx-ib em { font-style: normal; font-size: 11.5px; color: var(--wx-faint); font-variant-numeric: tabular-nums; }
.wx-ib:hover, .wx-ib.is-on { color: #F7F1E1; border-bottom-color: rgba(156,200,174,.6); }
.wx-ib:focus-visible { outline: 2px solid var(--wx-gold); outline-offset: 2px; }
.wx-ib .s { display: none; }
/* the small globe under the chart is the way back; its words show as you reach it */
.wx-back { all: unset; position: absolute; left: 0; top: 0; z-index: 2; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 8px 4px; font-size: 13.5px; font-weight: 600; color: var(--wx-soft);
  text-shadow: 0 0 10px #0A1410, 0 0 3px #0A1410; transition: color .2s, opacity .3s; opacity: 0; }
.wx-back svg { width: 15px; height: 15px; }
.wx-back:hover, .wx-back.is-on { color: #F7F1E1; }
.wx-back:focus-visible { outline: 2px solid var(--wx-gold); outline-offset: 2px; border-radius: 3px; }
.wx-tip { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; max-width: 260px; padding: 8px 10px; background: #0F1B15; border: 1px solid var(--wx-line); border-radius: 4px; font-size: .8rem; line-height: 1.4; color: var(--wx-soft); }
.wx-tip b { display: block; color: #F7F1E1; font-weight: 600; font-size: .86rem; margin-bottom: 1px; }
.wx-tip-st { display: block; margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--wx-line); color: var(--wx-soft); font-variant-numeric: tabular-nums; }
/* the side: title (world only), where you are, and the panel */
.wx-side { position: relative; z-index: 2; height: 100%; max-width: 1240px; margin: 0 auto; box-sizing: border-box;
  padding: 44px max(24px, env(safe-area-inset-right, 0px)) 36px max(24px, env(safe-area-inset-left, 0px)); pointer-events: none; display: flex; flex-direction: column; }
.wx-side > * { pointer-events: auto; width: min(380px, 100%); }
.wx-title { font-size: clamp(30px, 3vw, 40px); font-weight: 680; line-height: 1.02; letter-spacing: -.035em; color: #F7F1E1; margin: 0 0 .7rem; }
.wx-lede { color: var(--wx-soft); font-size: .95rem; line-height: 1.55; margin: 0; padding-bottom: 1.4rem; }
.wx-panel { min-height: 0; flex: 1 1 0; overflow-y: auto; box-sizing: border-box; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(190,186,168,.25) transparent;
  background: #0B1511; border: 1px solid rgba(239,233,219,.07); border-radius: 4px; padding: 16px 18px 12px; }
/* text tabs: the page's one selector */
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { all: unset; box-sizing: border-box; cursor: pointer; flex: none; font-size: .92rem; color: var(--ink-faint); padding: 9px 0 10px; margin-bottom: -1px; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .15s, border-color .15s; }
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--kit); }
.tab:focus-visible { outline: 2px solid var(--kit); outline-offset: 2px; }
.t20 { padding-top: 0; }
@media (max-width: 899px) {
  .wx { height: auto; display: flex; flex-direction: column; background: radial-gradient(ellipse 100% 46% at 50% 44%, #14251C 0%, #0C1712 55%, #0A1410 100%); }
  .wx::after { display: none; }
  .wx-stage { position: relative; inset: auto; order: 2; width: 100%; height: min(108vw, 600px); }
  .wx-side { display: contents; }
  .wx-side > * { width: auto; box-sizing: border-box; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .wx-crumbs { order: 1; margin: 0; }
  .wx-head { order: 1; }
  .wx-head .in { padding-top: 28px; }
  .wx-lede { margin-bottom: 0; }
  .wx-panel { order: 3; overflow: visible; max-height: none; background: none; border: 0; border-radius: 0; padding-top: 6px; padding-bottom: 28px; }
  .wx-lab { font-size: 11.5px; padding: 7px 6px; }
  .wx-intl { gap: 2px 14px; } .wx-intl-k { display: none; } .wx-ib .l { display: none; } .wx-ib .s { display: inline; } .wx-ib em { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wx-lab, .wx-nm, .wx-back, .wx-sel, .tab { transition: none; } }
/* ── The panel: lists, a player's numbers, his chase; and the method note below ─────────────────────────────── */
.wx-crumbs .in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 22px; padding-bottom: 14px; font-size: .86rem; color: var(--wx-faint); }
.wx-crumbs button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; color: var(--wx-soft); }
.wx-crumbs button svg { width: 14px; height: 14px; }
.wx-crumbs button:hover { color: #F7F1E1; } .wx-crumbs [aria-current="true"] { color: #F7F1E1; }
.wx-crumbs button:focus-visible { outline: 2px solid var(--wx-gold); outline-offset: 3px; border-radius: 2px; }
.wx-panel .tabs { margin: 0 0 .7rem; }
.wx-panel .tab { font-size: .9rem; padding: 8px 0 9px; }
.wx[data-role="bowl"] .wx-panel .tab[aria-pressed="true"] { border-bottom-color: var(--wx-ice); }
.px-key, .px-note, .px-line { font-size: .82rem; line-height: 1.5; color: var(--wx-faint); margin: 0 0 .6rem; }
.px-line { color: var(--wx-soft); font-size: .88rem; }
.px-kick { font-size: .82rem; color: var(--wx-faint); margin: 0 0 .25rem; }
.px-name { font-size: clamp(28px, 2.8vw, 38px); font-weight: 680; line-height: 1.02; letter-spacing: -.035em; color: #F7F1E1; margin: 0 0 .5rem; text-wrap: balance; }
.px-h { font-size: .8rem; color: var(--wx-faint); margin: 1rem 0 .4rem; }
.px-list { list-style: none; margin: 0; padding: 0; }
.px-row { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 1.6em minmax(0, 1fr) minmax(46px, 34%) 2.9em; align-items: center; gap: 10px;
  padding: 6px 0; border-bottom: 1px solid var(--wx-line); font-size: .86rem; color: var(--wx-soft); }
.px-row:hover, .px-row.is-on { color: #F7F1E1; } .px-row:focus-visible { outline: 2px solid var(--wx-gold); outline-offset: 1px; }
.px-row .rk { font-size: .74rem; color: var(--wx-faint); font-variant-numeric: tabular-nums; }
.px-row .nm { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--wx-text); }
.px-row .nm small { margin-left: 6px; font-size: .74rem; color: var(--wx-faint); }
.px-row .tr { position: relative; height: 10px; }
.px-row .fl { position: absolute; top: 3px; height: 4px; border-radius: 2px; background: var(--wx-gold); opacity: .85; }
.px-row .fl.r-bowl { background: var(--wx-ice); }
.px-row .wh { position: absolute; top: 4.5px; height: 1px; background: rgba(239,233,219,.28); }
.px-row .vl { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--wx-text); }
.px-head { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: end; margin: .2rem 0 .7rem; }
.px-big { font-size: 3.2rem; font-weight: 700; line-height: .86; letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--wx-gold); }
.wx[data-role="bowl"] .px-big { color: var(--wx-ice); }
.px-big-lab { font-size: .8rem; line-height: 1.4; color: var(--wx-faint); }
.px-type { font-size: .93rem; line-height: 1.5; color: var(--wx-text); margin: 0 0 .8rem; }
.px-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin: 0; border-top: 1px solid var(--wx-line); }
.px-stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--wx-line); }
.px-stats dt { font-size: .76rem; color: var(--wx-faint); } .px-stats dd { margin: 0; font-size: .86rem; font-weight: 600; color: var(--wx-text); font-variant-numeric: tabular-nums; text-align: right; }
.px-style, .px-phase { display: grid; gap: 5px; }
.px-style div, .px-phase div { display: grid; grid-template-columns: 10.4em 1fr 5.6em; align-items: center; gap: 10px; font-size: .82rem; color: var(--wx-soft); }
.px-phase div { grid-template-columns: 10.4em 1fr 3em; }
.px-style i, .px-phase i { display: block; height: 4px; border-radius: 2px; background: rgba(239,233,219,.07); overflow: hidden; }
.px-style b, .px-phase b { display: block; height: 100%; border-radius: 2px; background: var(--wx-gold); }
.wx[data-role="bowl"] .px-style b, .wx[data-role="bowl"] .px-phase b { background: var(--wx-ice); }
.px-phase b.neg { background: var(--wx-coral); }
.px-style em, .px-phase em { font-style: normal; text-align: right; color: var(--wx-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.px-chase { margin-top: .4rem; }
.px-fan { position: relative; width: 100%; height: 170px; }
.px-fan canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.px-who { margin: .3rem 0 .5rem; } .px-who .tab { font-size: .84rem; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.px-read { font-size: .82rem; line-height: 1.55; color: var(--wx-soft); margin: 0; font-variant-numeric: tabular-nums; }
.px-read b { color: var(--wx-text); }
.px-foot { font-size: .82rem; color: var(--wx-faint); margin: 1rem 0 .4rem; line-height: 1.6; }
.px-link { all: unset; cursor: pointer; color: var(--wx-soft); border-bottom: 1px solid var(--wx-line); }
.px-link:hover { color: #F7F1E1; border-bottom-color: var(--wx-soft); } .px-link:focus-visible { outline: 2px solid var(--wx-gold); outline-offset: 2px; }
.wx:not([data-mode="world"]) .wx-panel { scrollbar-gutter: stable; }
/* the method note */
.method { max-width: 760px; padding: 56px 0 72px; scroll-margin-top: 62px; }
.method h2 { font-size: 1.15rem; font-weight: 650; margin: 0 0 1rem; color: var(--ink); }
.method dl { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.method div { display: grid; grid-template-columns: 7rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.method dt { font-size: .86rem; font-weight: 600; color: var(--ink); } .method dd { margin: 0; font-size: .88rem; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 899px) {
  /* in a competition or on a player the chart gets smaller, so the panel (the numbers) starts on screen */
  .wx:not([data-mode="world"]) .wx-stage { height: min(78vw, 360px); }
  .px-style div { grid-template-columns: 9.6em 1fr 5.4em; } .px-phase div { grid-template-columns: 9.6em 1fr 3em; }
  .method div { grid-template-columns: 1fr; gap: 4px; }
}

/* Moving between the world, a competition and a player: the side never jumps. The panel is a fixed frame (its contents fade), and the
   title and the trail above it fold open and shut instead of appearing and vanishing. On a phone the chart's height glides too. */
.wx-head, .wx-crumbs { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease; }
.wx-head > .in, .wx-crumbs > .in { min-height: 0; overflow: hidden; }
.wx:not([data-mode="world"]) .wx-head, .wx[data-mode="world"] .wx-crumbs { grid-template-rows: 0fr; opacity: 0; }
.wx[data-mode="world"] .wx-crumbs { pointer-events: none; }
.px-row.is-pick { grid-template-columns: minmax(0, 1fr) auto; }
.px-row.is-link { grid-template-columns: minmax(0, 1fr) 42% 3.4em; }
.px-row .vl.r-bat { color: var(--wx-gold); } .px-row .vl.r-bowl { color: var(--wx-ice); }
@media (max-width: 899px) {
  .wx-stage { transition: height .45s cubic-bezier(.2,.7,.2,1); }
  .wx-crumbs .in { padding-top: 14px; padding-bottom: 0; }
  .wx-panel { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .wx-head, .wx-crumbs, .wx-stage { transition: none; } }
/* previous / next through the competition's ranking */
.px-step { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; font-size: .8rem; margin: 0 0 .7rem; padding-bottom: .55rem; border-bottom: 1px solid var(--wx-line); }
.px-step .px-link { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-bottom: 0; }
.px-step .px-link:last-child { text-align: right; justify-self: end; max-width: 100%; }
.px-step-at { color: var(--wx-faint); white-space: nowrap; }

/* Batters or bowlers: the side column's own heading-sized switch, just above the panel (folds away on the world view). It decides what the
   chart and the panel show, so it sits where you read, not over the chart. */
.wx-rolebar { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease; }
.wx-rolebar > .in { min-height: 0; overflow: hidden; }
.wx[data-mode="world"] .wx-rolebar { grid-template-rows: 0fr; opacity: 0; pointer-events: none; }
.wx-roles { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 12px; border-bottom: 1px solid rgba(239,233,219,.1); }
.wx-roles button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 0 11px; margin-bottom: -1px; font-size: 1.05rem; font-weight: 650;
  color: var(--wx-faint); border-bottom: 2px solid transparent; transition: color .2s, border-color .25s; }
.wx-roles button i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .55; transition: background .2s, opacity .2s; }
.wx-roles button[data-role="bat"][aria-pressed="true"] { color: #F7F1E1; border-bottom-color: var(--wx-gold); } .wx-roles button[data-role="bat"][aria-pressed="true"] i { background: var(--wx-gold); opacity: 1; }
.wx-roles button[data-role="bowl"][aria-pressed="true"] { color: #F7F1E1; border-bottom-color: var(--wx-ice); } .wx-roles button[data-role="bowl"][aria-pressed="true"] i { background: var(--wx-ice); opacity: 1; }
.wx-roles button:hover { color: var(--wx-text); }
.wx-roles button:focus-visible { outline: 2px solid var(--wx-gold); outline-offset: -2px; }
@media (max-width: 899px) { .wx-rolebar { order: 1; } .wx-roles { margin: 6px 0 0; } }
/* zoom out to the whole competition (and back in): a plain control under the chart while a player is open */
.wx-zoom { all: unset; position: absolute; z-index: 3; bottom: 22px; left: 64.5%; translate: -50% 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px;
  font-size: .9rem; font-weight: 600; color: var(--wx-soft); text-shadow: 0 0 8px #0A1410; transition: opacity .3s, color .15s; opacity: 0; pointer-events: none; white-space: nowrap; }
.wx[data-mode="player"] .wx-zoom { opacity: 1; pointer-events: auto; }
.wx-zoom svg { width: 17px; height: 17px; } .wx-zoom .vt { opacity: 0; } .wx-zoom.is-out .vt { opacity: 1; }
.wx-zoom:hover { color: #F7F1E1; } .wx-zoom:focus-visible { outline: 2px solid var(--wx-gold); outline-offset: 2px; border-radius: 3px; }
@media (max-width: 899px) {
  .wx-zoom { left: max(12px, env(safe-area-inset-left, 0px)); translate: none; bottom: 6px; font-size: .86rem; }
}

/* the player in IPL units */
.px-tr { width: 100%; border-collapse: collapse; font-size: .82rem; font-variant-numeric: tabular-nums; }
.px-tr th, .px-tr td { padding: 5px 0; border-bottom: 1px solid var(--wx-line); text-align: right; font-weight: 400; }
.px-tr thead th { font-size: .72rem; color: var(--wx-faint); padding-top: 0; }
.px-tr tbody th { text-align: left; color: var(--wx-soft); }
.px-tr td { width: 5.6em; color: var(--wx-faint); }
.px-tr td:first-of-type { color: var(--wx-text); font-weight: 600; }
.px-tr td.up::before, .px-tr td.dn::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 6px; vertical-align: 2px; }
.px-tr td.up::before { background: var(--wx-gold); } .px-tr td.dn::before { background: var(--wx-coral); }
.wx[data-role="bowl"] .px-tr td.up::before { background: var(--wx-ice); }
.px-tr-sum { font-size: .8rem; line-height: 1.5; color: var(--wx-faint); margin: .5rem 0 0; }
.px-tr td:last-child:not(:first-of-type) { width: 5.6em; }
.px-tr td + td + td { color: var(--wx-soft); }

/* ── Player page (/t20/player/<slug>) ─────────────────────────────────────────────────────────────────────────────
   The globe's panel, opened out into a page: the same night surfaces, hairlines and role colours. */
.tp { --wx-text: #EFE9DB; --wx-soft: #B5B2A2; --wx-faint: #7D887B; --wx-line: rgba(239,233,219,.08); --wx-gold: #E8A33C; --wx-ice: #5BC48C; --wx-coral: #C9583F;
  --c: #E8A33C; --c-rgb: 232,163,60; --neg: #C9583F; max-width: 1180px; margin: 0 auto; padding: 28px max(16px, env(safe-area-inset-right, 0px)) 64px max(16px, env(safe-area-inset-left, 0px)); }
.tp[data-role="bowl"] { --c: #5BC48C; --c-rgb: 91,196,140; }
.tp a { color: inherit; }
.tp-head { display: grid; gap: 6px; margin-bottom: 18px; }
.tp-crumb { font-size: .82rem; color: var(--ink-faint); margin: 0; } .tp-crumb a { color: var(--ink-soft); text-decoration: none; } .tp-crumb a:hover { color: #F7F1E1; }
.tp-name { font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.02em; margin: 6px 0 0; font-weight: 700; }
.tp-kick { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.tp-roles { margin-top: 12px; max-width: 380px; }
.tp-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; padding: 18px 0 26px; border-top: 1px solid var(--line); }
.tp-big { display: block; font-size: clamp(3.6rem, 9vw, 5.6rem); font-weight: 700; line-height: .95; letter-spacing: -.03em; color: var(--c); font-variant-numeric: tabular-nums; }
.tp-big-lab { color: var(--ink-soft); font-size: .92rem; line-height: 1.5; margin: 10px 0 0; max-width: 46ch; } .tp-big-lab b { color: var(--ink); }
.tp-type { margin: 12px 0 0; font-size: 1.02rem; line-height: 1.45; }
.tp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin: 16px 0 0; border-top: 1px solid var(--line); }
.tp-stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.tp-stats dt { font-size: .8rem; color: var(--ink-faint); } .tp-stats dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.tp-field { margin: 0; } .tp-field figcaption { font-size: .82rem; color: var(--ink-faint); margin-bottom: 8px; }
.tp-field-plot { position: relative; height: 324px; }

.tp-field-plot canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: zoom-in; touch-action: pan-y; }
.tp-field-plot.is-zoomed canvas { cursor: default; }
.tp-field-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-bottom: 6px; }
.tp-field-top figcaption { margin: 0 !important; }
.tp-fz { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tp-fz button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; color: var(--ink-soft); padding: 6px 8px; border-radius: 6px; white-space: nowrap; transition: color .15s, background-color .15s; }
.tp-fz button:hover:not(:disabled) { color: var(--ink); background: rgba(239,233,219,.06); }
.tp-fz button:focus-visible { outline: 2px solid var(--c); outline-offset: 1px; }
.tp-fz button:disabled { opacity: .35; cursor: default; }
.tp-fz svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.tp-fz button[data-z="me"] { color: var(--ink); } .tp-fz button[data-z="me"] svg { color: var(--c); }
.tp-field-names { position: absolute; inset: 0; pointer-events: none; }
.tp-fn { position: absolute; left: 0; transform: translateY(-50%); pointer-events: auto; display: grid; grid-template-columns: 2.1em minmax(0, 1fr); align-items: baseline; gap: 10px;
  font-size: .88rem; line-height: 26px; height: 26px; padding-right: 8px; color: var(--ink); text-decoration: none; white-space: nowrap; animation: tp-fn-in .3s ease-out var(--d, 0ms) both; }
.tp-fn .rk { font-size: .74rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; text-align: right; }
.tp-fn .nm { overflow: hidden; text-overflow: ellipsis; min-width: 0; transition: color .12s; }
.tp-fn.hot .nm, a.tp-fn:focus-visible .nm { color: #F7F1E1; } .tp-fn.hot .rk { color: var(--ink-soft); }
a.tp-fn:focus-visible { outline: none; } a.tp-fn:focus-visible .nm { text-decoration: underline; text-underline-offset: 3px; }
.tp-fn.me .nm { color: var(--c); font-weight: 600; } .tp-fn.me .rk { color: var(--c); opacity: .7; } .tp-fn.me { cursor: default; }
@keyframes tp-fn-in { from { opacity: 0; transform: translate(0, calc(-50% + 4px)); } to { opacity: 1; transform: translate(0, -50%); } }
@media (prefers-reduced-motion: reduce) { .tp-fn { animation: none; } }
.tp-field-say { min-height: 4.6em; margin-top: 8px; } .tp-field-say .tp-key { color: var(--ink-faint); } .tp-field-say b { color: var(--ink); font-weight: 600; }
.tp-field-say a { color: var(--c); font-weight: 600; text-decoration: none; white-space: nowrap; background: rgba(var(--c-rgb), .1); padding: 0 4px; border-radius: 3px; } .tp-field-say a:hover { background: rgba(var(--c-rgb), .2); }
.tp-field-tip b { font-weight: 600; }
.tp-field-svg { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.tp-field-svg .dot { fill: rgba(190,186,168,.32); } .tp-field-svg .dot.hot { fill: #F7F1E1; r: 4; }
.tp-field-svg .me { fill: var(--c); stroke: #0A1410; stroke-width: 2; } .tp-field-svg .me-line { stroke: var(--c); stroke-width: 1; opacity: .7; }
.tp-field-svg .range { fill: rgba(var(--c-rgb), .10); stroke: none; }
.tp-field-svg .grid { stroke: rgba(239,233,219,.05); } .tp-field-svg .zero { stroke: rgba(239,233,219,.35); stroke-dasharray: 3 3; }
.tp-field-svg .ax, .tp-chart .ax { fill: var(--ink-faint); font-size: 10.5px; font-family: inherit; }
.tp-field-tip { position: absolute; transform: translate(-50%, -150%); background: #12221A; border: 1px solid var(--line-strong); color: #F7F1E1; font-size: .78rem; padding: 4px 8px; white-space: nowrap; pointer-events: none; border-radius: 4px; }
.tp-note { font-size: .8rem; line-height: 1.5; color: var(--ink-faint); margin: 4px 0 10px; }
.tp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.tp-panel { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; margin-bottom: 18px; min-width: 0; }
.tp-grid > .tp-panel { margin-bottom: 0; }
.tp-h { font-size: .95rem; font-weight: 600; margin: 0 0 2px; letter-spacing: 0; } .tp-panel .tp-h:not(:first-child) { margin-top: 18px; }
.tp-table { width: 100%; border-collapse: collapse; font-size: .84rem; font-variant-numeric: tabular-nums; }
.tp-table th, .tp-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; font-weight: 400; white-space: nowrap; }
.tp-table th:first-child, .tp-table td:first-child { text-align: left; padding-left: 0; }
.tp-table thead th { font-size: .74rem; color: var(--ink-faint); }
.tp-table tbody th { color: var(--ink-soft); }
.tp-table td { color: var(--ink-soft); } .tp-table td:nth-child(2) { color: var(--ink); font-weight: 600; }
.tp-wide td:nth-child(2) { font-weight: 400; color: var(--ink-soft); }
.tp-k { color: var(--ink) !important; font-weight: 600; } .tp-k a { text-decoration: none; color: inherit; } .tp-k a:hover { color: var(--c); }
.tp-heat { position: relative; color: var(--ink) !important; }
.tp-heat::after { content: ''; position: absolute; left: 8px; bottom: 3px; height: 3px; width: calc((100% - 16px) * max(.03, var(--h))); background: rgb(var(--c-rgb)); opacity: .6; }
.tp-wv { font-weight: 600; }
.tp-scroll { overflow-x: auto; margin-top: 8px; }
.tp-bars { display: grid; gap: 6px; margin-top: 8px; }
.tp-bars div { display: grid; grid-template-columns: 11.5em 1fr 5.4em; align-items: center; gap: 10px; font-size: .84rem; color: var(--ink-soft); }
.tp-bars i { display: block; height: 5px; border-radius: 3px; background: rgba(239,233,219,.07); overflow: hidden; }
.tp-bars b { display: block; height: 100%; border-radius: 3px; background: var(--c); } .tp-bars b.neg { background: var(--neg); }
.tp-bars em { font-style: normal; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tp-chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.tp-chart .grid { stroke: rgba(239,233,219,.06); } .tp-chart .zero { stroke: rgba(239,233,219,.3); }
.tp-chart .pos { fill: var(--c); } .tp-chart .neg { fill: var(--neg); }
.tp-fan { position: relative; height: 260px; margin-top: 6px; } .tp-fan canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tp-who { margin: 10px 0 0; max-width: 420px; }
/* the chase (chase.js), on the player page and in the globe's panel */
.ch { --ch-c: var(--wx-gold, #E8A33C); } .ch[data-kind="bowl"] { --ch-c: var(--wx-ice, #5BC48C); }
.ch-plot { position: relative; height: 290px; margin-top: 8px; } .ch-plot canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.px-chase .ch-plot { height: 230px; }
.ch-plot canvas { touch-action: pan-y; } .ch.is-done .ch-plot canvas { cursor: crosshair; }
.ch-tip { position: absolute; z-index: 2; pointer-events: none; max-width: min(240px, 70%); background: rgba(14,16,26,.96); border: 1px solid var(--wx-line, rgba(239,233,219,.12)); border-radius: 6px;
  padding: 8px 10px; font-size: .76rem; line-height: 1.45; color: var(--wx-soft, #B5B2A2); box-shadow: 0 6px 24px rgba(0,0,0,.45); display: grid; gap: 3px; }
.ch-tip[hidden] { display: none; }
.ch-tip b { color: var(--wx-text, #EFE9DB); font-weight: 600; font-size: .8rem; } .ch-tip em { font-style: normal; color: var(--ch-c); font-weight: 600; } .ch-tip .o { color: var(--wx-faint, #7D887B); }
.ch-hint { font-size: .76rem; color: var(--wx-faint, #7D887B); margin: 6px 0 0; opacity: 0; transition: opacity .4s; } .ch.is-done .ch-hint { opacity: 1; }
.ch-cap { font-size: .78rem; color: var(--wx-faint, #7D887B); margin: 12px 0 6px; }
.ch-cmp { display: grid; gap: 4px; max-width: 560px; }
.ch-cmp button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: minmax(0, 11em) 1fr 3.6em; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 6px;
  font-size: .86rem; color: var(--wx-soft, #B5B2A2); border: 1px solid transparent; }
.ch-cmp button[aria-pressed="true"] { border-color: var(--wx-line, rgba(239,233,219,.1)); background: rgba(239,233,219,.035); color: var(--wx-text, #EFE9DB); }
.ch-cmp button:hover { color: var(--wx-text, #EFE9DB); } .ch-cmp button:focus-visible { outline: 2px solid var(--ch-c); outline-offset: 1px; }
.ch-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-bar { display: block; height: 8px; border-radius: 4px; background: rgba(239,233,219,.07); overflow: hidden; }
.ch-bar b { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--ch-c); opacity: .45; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.ch-cmp button[aria-pressed="true"] .ch-bar b { opacity: 1; }
.ch-v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.ch-read { font-size: .86rem; color: var(--wx-soft, #B5B2A2); line-height: 1.55; margin: 10px 0 0; max-width: 68ch; } .ch-read b { color: var(--wx-text, #EFE9DB); }
.px-chase .ch-cmp button { grid-template-columns: minmax(0, 8.5em) 1fr 3.4em; gap: 8px; font-size: .8rem; padding: 5px 6px; } .px-chase .ch-read { font-size: .8rem; }
.tp-read { font-size: .88rem; color: var(--ink-soft); line-height: 1.5; margin: 10px 0 0; } .tp-read b { color: var(--ink); }
.tp-list { list-style: none; margin: 8px 0 0; padding: 0; }
.tp-list li { display: grid; grid-template-columns: 6.5em 1fr auto; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.tp-l-main { font-weight: 600; font-variant-numeric: tabular-nums; } .tp-l-main small { color: var(--ink-faint); font-weight: 400; }
.tp-l-sub { color: var(--ink-soft); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-l-wv { font-variant-numeric: tabular-nums; color: var(--c); font-weight: 600; } .tp-l-wv.neg { color: var(--neg); }
.tp-like { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.tp-like a { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.tp-like a:hover { border-color: rgba(var(--c-rgb), .5); }
.tp-like span { font-weight: 600; font-size: .9rem; } .tp-like small { color: var(--ink-faint); font-size: .76rem; } .tp-like em { font-style: normal; color: var(--c); font-variant-numeric: tabular-nums; font-size: .86rem; }
.tp-more { margin: 14px 0 0; font-size: .86rem; } .tp-more a { color: var(--c); text-decoration: none; border-bottom: 1px solid rgba(var(--c-rgb), .4); }
.tp-role[hidden] { display: none; }
@media (max-width: 900px) {
  .tp-hero, .tp-grid { grid-template-columns: 1fr; }
  .tp-like { grid-template-columns: 1fr 1fr; }
 .tp-fz button span { font-size: .78rem; } .ch-plot { height: 250px; } .ch-cmp button { grid-template-columns: minmax(0, 8em) 1fr 3.4em; gap: 8px; }
  .tp-bars div { grid-template-columns: 9.5em 1fr 4.8em; }
}
.tp-who button { font-size: .92rem; } .tp-who button[aria-pressed="true"] { color: #F7F1E1; border-bottom-color: var(--c); } .tp-who button[aria-pressed="true"] i { background: var(--c); opacity: 1; }
.px-full { margin: 14px 0 0; font-size: .86rem; } .px-full a { color: var(--wx-gold); text-decoration: none; border-bottom: 1px solid rgba(232,163,60,.4); }
.wx[data-role="bowl"] .px-full a { color: var(--wx-ice); border-bottom-color: rgba(91,196,140,.4); }
.tp-also { margin: 2px 0 0; font-size: .86rem; } .tp-also a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-strong); } .tp-also a:hover { color: #F7F1E1; }

/* ── the player search (components/t20/PlayerSearch.astro, scripts/t20/search.js): on /t20 and every player page ─────────────────── */
.tsr { position: relative; z-index: 5; --tsr-h: 46px; --tsr-text: var(--wx-text, #EFE9DB); --tsr-soft: var(--wx-soft, #B5B2A2); --tsr-faint: var(--wx-faint, #7D887B);
  --tsr-gold: var(--wx-gold, #E8A33C); --tsr-ice: var(--wx-ice, #5BC48C); font-size: 1rem; }
.tsr-sm { --tsr-h: 40px; }
.tsr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tsr-field { display: flex; align-items: center; gap: 10px; height: var(--tsr-h); box-sizing: border-box; padding: 0 10px 0 14px; cursor: text;
  background: rgba(239,233,219,.045); border: 1px solid rgba(239,233,219,.1); border-radius: 10px; transition: border-color .15s, background-color .15s, box-shadow .2s; }
.tsr-field:hover { border-color: rgba(239,233,219,.18); }
.tsr-field:focus-within, .tsr.is-open .tsr-field { background: rgba(239,233,219,.065); border-color: rgba(239,233,219,.3); box-shadow: 0 0 0 4px rgba(239,233,219,.05); }
.tsr-ic { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--tsr-soft); stroke-width: 1.7; stroke-linecap: round; transition: stroke .15s; }
.tsr-field:focus-within .tsr-ic { stroke: var(--tsr-text); }
.tsr input { all: unset; flex: 1 1 auto; min-width: 0; height: 100%; font: inherit; font-size: 16px; color: #F7F1E1; caret-color: var(--tsr-gold); }
.tsr input::placeholder { color: #848D80; opacity: 1; }
.tsr input::-webkit-search-cancel-button, .tsr input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.tsr-key { flex: none; font-family: inherit; font-size: 11px; font-weight: 500; line-height: 16px; color: var(--tsr-faint); border: 1px solid rgba(239,233,219,.14); border-bottom-width: 2px; border-radius: 5px; padding: 0 6px; }
.tsr.is-open .tsr-key, .tsr-field:focus-within .tsr-key { display: none; }
@media (hover: none) { .tsr-key { display: none; } }
.tsr-clear { all: unset; flex: none; cursor: pointer; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--tsr-soft); }
.tsr-clear[hidden] { display: none; }
.tsr-clear:hover { color: #F7F1E1; background: rgba(239,233,219,.08); } .tsr-clear:focus-visible { outline: 2px solid var(--tsr-gold); }
.tsr-clear svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.tsr-pop { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; background: #0F1C16; border: 1px solid rgba(239,233,219,.1); border-radius: 8px;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.4); overflow: hidden; transform-origin: top center; animation: tsr-in .16s cubic-bezier(.2,.8,.2,1); }
@keyframes tsr-in { from { opacity: 0; transform: translateY(-4px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tsr-pop { animation: none; } }
.tsr-list { list-style: none; margin: 0; padding: 6px; max-height: min(440px, 62vh); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(190,186,168,.25) transparent; }
.tsr-h { font-size: 12px; font-weight: 500; color: var(--tsr-faint); padding: 10px 10px 5px; }
.tsr-h:first-child { padding-top: 6px; }
.tsr-o { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 10px; border-radius: 8px; cursor: pointer; scroll-margin: 6px; }
.tsr-o[aria-selected="true"] { background: rgba(239,233,219,.07); }
.tsr-o.is-here { opacity: .55; }
.tsr-who { display: grid; gap: 1px; min-width: 0; }
.tsr-nm { font-size: 15px; font-weight: 550; color: var(--tsr-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.has-q .tsr-nm { color: var(--tsr-soft); font-weight: 500; }
.tsr-nm mark { background: none; color: #F7F1E1; font-weight: 650; }
.tsr-sub { font-size: 12.5px; color: var(--tsr-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tsr-vals { display: flex; gap: 16px; flex: none; }
.tsr-v { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 6px; row-gap: 1px; justify-items: end; }
.tsr-v i { width: 6px; height: 6px; border-radius: 50%; background: var(--tsr-gold); } .tsr-v[data-role="bowl"] i { background: var(--tsr-ice); }
.tsr-v b { font-size: 14.5px; font-weight: 600; color: var(--tsr-text); font-variant-numeric: tabular-nums; }
.tsr-v em { grid-column: 1 / -1; font-style: normal; font-size: 11.5px; color: var(--tsr-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tsr-go { flex: none; font-size: 12px; color: var(--tsr-faint); border: 1px solid rgba(239,233,219,.12); border-radius: 6px; padding: 3px 8px; }
.tsr-comp .tsr-nm { color: var(--tsr-text); }
.tsr-msg { padding: 14px 12px; color: var(--tsr-soft); font-size: 14px; line-height: 1.5; }
.tsr-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 9px 14px 10px; border-top: 1px solid rgba(239,233,219,.07); font-size: 12px; color: var(--tsr-faint); }
.tsr-foot:empty { display: none; } .tsr-foot span { white-space: nowrap; }
.tsr-foot kbd { font: inherit; font-size: 11px; color: var(--tsr-soft); border: 1px solid rgba(239,233,219,.14); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; margin-right: 3px; }
@media (max-width: 420px) { .tsr-v + .tsr-v { display: none; } }
/* where it sits: on /t20 under the title, and above the role switch once you are in; on a player page beside the breadcrumb */
.wx-find { position: relative; z-index: 6; } .wx-find .in { padding-bottom: 18px; }
.wx-find:focus-within .in, .wx-find .tsr.is-open { overflow: visible; }
.wx:not([data-mode="world"]) .wx-find .in { padding-bottom: 14px; }
@media (max-width: 899px) { .wx-find { order: 1; } .wx-find .in { padding-bottom: 6px; } }
.tp-top { position: relative; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.tp-top .tsr { flex: 0 1 340px; }
@media (max-width: 640px) { .tp-top .tsr { flex: 1 1 100%; order: -1; } }

/* ── moving between pages: the T20 pages hand over to each other (cross-document view transitions; browsers without them just load) ─ */
@view-transition { navigation: auto; }
html[data-mode="t20"] header { view-transition-name: fm-header; }
.tsr { view-transition-name: t20-search; }
.tp-name, .px-pname { view-transition-name: t20-name; }
.tp-role:not([hidden]) .tp-big, .px-big { view-transition-name: t20-big; }
::view-transition-old(root) { animation: t20-vt-out .16s ease-in both; }
::view-transition-new(root) { animation: t20-vt-in .32s cubic-bezier(.2,.8,.2,1) both; }
::view-transition-group(t20-name), ::view-transition-group(t20-big), ::view-transition-group(t20-search) { animation-duration: .38s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
::view-transition-old(t20-name), ::view-transition-new(t20-name), ::view-transition-old(t20-big), ::view-transition-new(t20-big) { height: 100%; object-fit: none; object-position: left center; }
@keyframes t20-vt-out { to { opacity: 0; } }
@keyframes t20-vt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* links that join things up: one quiet underline that warms on hover, everywhere on the T20 side */
.tp-kick a, .tp-crumb a, .tp-k a, .tp-also a, .px-pname a, .tp-pn-mid { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; background-color: transparent; transition: color .15s, background-size .2s; padding-bottom: 1px; }
.tp-kick a, .tp-crumb a, .tp-k a, .tp-also a, .tp-pn-mid { background-image: linear-gradient(rgba(190,186,168,.35), rgba(190,186,168,.35)); }
.tp-kick a:hover, .tp-crumb a:hover, .tp-k a:hover, .tp-also a:hover, .tp-pn-mid:hover { color: #F7F1E1; background-image: linear-gradient(currentColor, currentColor); }
.px-pname a { background-size: 0 2px; background-image: linear-gradient(var(--wx-gold), var(--wx-gold)); }
.wx[data-role="bowl"] .px-pname a { background-image: linear-gradient(var(--wx-ice), var(--wx-ice)); }
.px-pname a:hover { background-size: 100% 2px; }
a:focus-visible { outline: 2px solid var(--c, var(--wx-gold, #E8A33C)); outline-offset: 3px; border-radius: 2px; }
.tp-more a { transition: color .15s, border-color .15s; } .tp-more a:hover { border-bottom-color: var(--c); }
.tp-like a { transition: border-color .15s, background-color .15s, transform .15s; } .tp-like a:hover { background: rgba(239,233,219,.03); transform: translateY(-1px); }

/* the globe panel's way through to the full page */
.px-open { display: grid; gap: 2px; margin: 14px 0 4px; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--wx-text);
  background: rgba(232,163,60,.07); border: 1px solid rgba(232,163,60,.22); transition: background-color .15s, border-color .15s; }
.px-open span { font-weight: 600; font-size: .92rem; color: var(--wx-gold); } .px-open small { font-size: .78rem; color: var(--wx-soft); }
.px-open:hover { background: rgba(232,163,60,.12); border-color: rgba(232,163,60,.45); }
.wx[data-role="bowl"] .px-open { background: rgba(91,196,140,.07); border-color: rgba(91,196,140,.22); } .wx[data-role="bowl"] .px-open span { color: var(--wx-ice); }
.wx[data-role="bowl"] .px-open:hover { background: rgba(91,196,140,.12); border-color: rgba(91,196,140,.45); }

/* the bar that follows you down a player page */
.tp-bar { position: fixed; left: 0; right: 0; top: 62px; z-index: 90; pointer-events: none; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .25s cubic-bezier(.2,.8,.2,1); }
.tp-bar.is-on { opacity: 1; transform: none; pointer-events: auto; }
.tp-bar-in { max-width: 1180px; margin: 0 auto; box-sizing: border-box; display: flex; align-items: center; gap: 12px; height: 50px;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
  background: rgba(10,14,13,.97); border-bottom: 1px solid rgba(190,186,168,.12); }
@media (min-width: 1181px) { .tp-bar-in { border-left: 1px solid rgba(190,186,168,.08); border-right: 1px solid rgba(190,186,168,.08); border-radius: 0 0 12px 12px; } }
.tp-bar-name { font-weight: 650; font-size: 1rem; color: #F7F1E1; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tp-bar-v { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; } .tp-bar-v b { color: var(--c); font-size: 1rem; font-variant-numeric: tabular-nums; }
.tp-bar-v small { font-size: .78rem; color: var(--ink-faint); }
.tp-bar-gap { flex: 1 1 auto; }
.tp-bar-roles { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: rgba(239,233,219,.05); }
.tp-bar-roles button { all: unset; cursor: pointer; font-size: .8rem; padding: 4px 10px; border-radius: 6px; color: var(--ink-soft); transition: background-color .15s, color .15s; }
.tp-bar-roles button[aria-pressed="true"] { background: rgba(239,233,219,.1); color: #F7F1E1; }
.tp-bar-roles button:focus-visible, .tp-bar-find:focus-visible { outline: 2px solid var(--c); outline-offset: 1px; }
.tp-bar-find { all: unset; cursor: pointer; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--ink-soft); transition: background-color .15s, color .15s; }
.tp-bar-find:hover { background: rgba(239,233,219,.07); color: #F7F1E1; }
.tp-bar-find svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
@media (max-width: 768px) { .tp-bar { top: 0; } .tp-bar-in { padding-top: env(safe-area-inset-top, 0px); height: calc(50px + env(safe-area-inset-top, 0px)); } .tp-bar-v small { display: none; } }
@media (max-width: 400px) { .tp-bar-roles button { padding: 4px 7px; } }
@media (prefers-reduced-motion: reduce) { .tp-bar { transition: opacity .1s; transform: none; } }

/* next to him in the ranking: walk the list without going back */
.tp-pn { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 22px 0 6px; }
.tp-pn-a { display: grid; gap: 1px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); min-width: 0;
  transition: border-color .15s, background-color .15s; }
.tp-pn-a:hover { border-color: rgba(var(--c-rgb), .45); background: rgba(239,233,219,.025); }
.tp-pn-a small { font-size: .74rem; color: var(--ink-faint); } .tp-pn-a span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-pn-a em { font-style: normal; font-size: .82rem; color: var(--c); font-variant-numeric: tabular-nums; }
.tp-pn-next { text-align: right; justify-items: end; }
.tp-pn-prev small::before { content: "‹ "; } .tp-pn-next small::after { content: " ›"; }
.tp-pn-mid { font-size: .82rem; color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 640px) { .tp-pn { grid-template-columns: 1fr 1fr; } .tp-pn-mid { grid-column: 1 / -1; grid-row: 2; justify-self: center; } }
.tp-bar-v[hidden] { display: none; }

/* ── competitions: the hub (/t20/competitions) and each competition's page (/t20/<competition>) ───────────────────────────────── */
.tc-bat { --c: #E8A33C; --c-rgb: 232,163,60; } .tc-bowl { --c: #5BC48C; --c-rgb: 76,201,240; }
.tc-lede { max-width: 68ch; line-height: 1.55; }
.tc-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; padding: 18px 0 26px; border-top: 1px solid var(--line); }
.tc-bigs { display: flex; gap: 36px; flex-wrap: wrap; }
.tc-big { display: grid; gap: 4px; } .tc-big span { font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 700; line-height: .95; letter-spacing: -.03em; color: var(--c); font-variant-numeric: tabular-nums; }
.tc-big small { font-size: .82rem; color: var(--ink-soft); }
.tc-score .tp-big-lab { margin-top: 14px; }
.tp-stats dd small { font-weight: 400; color: var(--ink-faint); font-size: .76rem; margin-left: 4px; }
.tc-go { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.tc-btn { display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 9px; font-size: .86rem; font-weight: 600; text-decoration: none; color: #0A1410; background: var(--ink); transition: background-color .15s, color .15s; }
.tp a.tc-btn { color: #0A1410; } .tp a.tc-btn-q { color: var(--ink); }
.tc-btn:hover { background: #F7F1E1; } .tc-btn-q { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); } .tc-btn-q:hover { background: rgba(239,233,219,.06); }
.tc-fig { margin: 0; min-width: 0; } .tc-fig figcaption { font-size: .82rem; color: var(--ink-faint); margin-bottom: 8px; }
/* the strength ladder */
.sl { --sl-cols: 1.7em minmax(0, 7.5em) minmax(0, 1fr) 5.4em; }
.sl-big { --sl-cols: 1.9em minmax(0, 15em) minmax(0, 1fr) 5.8em 5.4em; }
.sl-key { display: flex; gap: 16px; font-size: .74rem; color: var(--ink-faint); margin: 0 0 8px; }
.sl-key span { display: inline-flex; align-items: center; gap: 6px; } .sl-key span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.sl-k-bat::before { background: #E8A33C; } .sl-k-bowl::before { background: #5BC48C; } .sl-k-ipl::before { width: 1px !important; height: 11px !important; border-radius: 0 !important; background: rgba(239,233,219,.5); }
.sl-rows { list-style: none; margin: 0; padding: 0; }
.sl-row { display: grid; grid-template-columns: var(--sl-cols); align-items: center; gap: 10px; min-height: 26px; padding: 2px 6px; margin: 0 -6px; border-radius: 6px; text-decoration: none; color: var(--ink-soft); transition: background-color .12s, color .12s; }
.sl-big .sl-row { min-height: 40px; }
.sl-row:hover { background: rgba(239,233,219,.045); color: #F7F1E1; }
.sl-row.is-here { background: rgba(239,233,219,.07); color: #F7F1E1; } .sl-row.is-here .sl-nm { font-weight: 650; }
.sl-n { font-size: .72rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; text-align: right; }
.sl-nm { font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sl-big .sl-nm { font-size: .92rem; display: grid; }
.sl-nm small { font-size: .74rem; color: var(--ink-faint); }
.sl-full, .sl-short { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sl-short { display: none; }
.sl-track { position: relative; height: 14px; }
.sl-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(239,233,219,.06); }
.sl-z { position: absolute; top: -3px; bottom: -3px; width: 1px; background: rgba(239,233,219,.28); }
.sl-join { position: absolute; top: 50%; height: 2px; margin-top: -1px; background: rgba(239,233,219,.14); border-radius: 1px; }
.sl-track b { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; }
.sl-bat { background: #E8A33C; } .sl-bowl { background: #5BC48C; box-shadow: 0 0 0 2px var(--paper, #0A1410); }
.sl-row.is-here .sl-track b { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; }
.sl-v { display: flex; justify-content: flex-end; gap: 8px; font-variant-numeric: tabular-nums; font-size: .76rem; }
.sl-v em { font-style: normal; } .sl-v-bat { color: #E8A33C; } .sl-v-bowl { color: #5BC48C; }
.sl-meta { display: grid; justify-items: end; font-size: .78rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; } .sl-meta small { font-size: .72rem; color: var(--ink-faint); }
.sl-axis { display: grid; grid-template-columns: var(--sl-cols); gap: 10px; padding: 0 0; margin-top: 4px; }
.sl-axis-track { grid-column: 3; position: relative; height: 16px; }
.sl-axis-track span { position: absolute; transform: translateX(-50%); font-size: .7rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tc-ladder { padding-top: 16px; }
/* the best players still playing */
.cl { list-style: none; margin: 8px 0 0; padding: 0; }
.cl-row { display: grid; grid-template-columns: 1.6em minmax(0, 1.25fr) minmax(70px, 1fr) 4.6em; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.cl-rk { font-size: .76rem; color: var(--ink-faint); text-align: right; font-variant-numeric: tabular-nums; }
.cl-nm { display: grid; min-width: 0; text-decoration: none; color: var(--ink); }
.cl-nm span { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .12s; }
.cl-nm small { font-size: .74rem; color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-nm:hover span { color: #F7F1E1; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--c-rgb), .6); }
.cl-bar, .rk-bar { position: relative; height: 12px; display: block; }
.cl-z, .rk-z { position: absolute; top: -2px; bottom: -2px; width: 1px; background: rgba(239,233,219,.18); }
.cl-r, .rk-rg { position: absolute; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: rgba(var(--c-rgb), .38); }
.cl-bar b, .rk-bar b { position: absolute; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--c); }
.cl-v { display: grid; justify-items: end; } .cl-v b { font-variant-numeric: tabular-nums; color: var(--c); font-size: .95rem; } .cl-v small { font-size: .7rem; color: var(--ink-faint); white-space: nowrap; }
/* most win chance added; where its players also play */
.tc-add, .tc-share { list-style: none; margin: 8px 0 0; padding: 0; }
.tc-add a, .tc-share a { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(60px, 1fr) 3.4em; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.tc-add a:hover .tc-add-nm, .tc-share a:hover span { color: #F7F1E1; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(239,233,219,.35); }
.tc-add-nm { display: grid; min-width: 0; font-weight: 600; font-size: .9rem; } .tc-add-nm small { font-weight: 400; font-size: .74rem; color: var(--ink-faint); }
.tc-add-bar, .tc-share i { display: block; height: 6px; border-radius: 3px; background: rgba(239,233,219,.06); overflow: hidden; }
.tc-add-bar i, .tc-share b { display: block; height: 100%; border-radius: 3px; background: var(--c); }
.tc-share b { background: rgba(190,186,168,.55); }
.tc-add em, .tc-share em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--c); }
.tc-share em { color: var(--ink-soft); } .tc-share span { font-size: .9rem; }
/* the hub's cards */
.tc-cards { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tc-card { display: grid; gap: 6px; height: 100%; box-sizing: border-box; padding: 16px 18px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color .15s, background-color .15s, transform .15s; }
.tc-card:hover { border-color: var(--line-strong); background: rgba(239,233,219,.035); transform: translateY(-1px); }
.tc-card-n { font-size: .74rem; color: var(--ink-faint); } .tc-card-nm { font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; }
.tc-card-sub { font-size: .78rem; color: var(--ink-faint); }
.tc-card-st { display: flex; gap: 16px; font-size: .78rem; color: var(--ink-soft); margin-top: 4px; } .tc-card-st b { color: var(--c); font-size: 1rem; font-variant-numeric: tabular-nums; margin-right: 3px; }
.tc-card-best { display: grid; gap: 2px; font-size: .78rem; color: var(--ink-faint); padding-top: 8px; margin-top: 2px; border-top: 1px solid var(--line); }
.tc-card-best b { color: var(--ink); font-weight: 600; margin-left: 4px; }
@media (max-width: 900px) { .tc-hero { grid-template-columns: 1fr; } .sl-big { --sl-cols: 1.6em minmax(0, 8.5em) minmax(0, 1fr) 5em; } .sl-big .sl-meta { display: none; } .sl-big .sl-nm small { display: none; } .sl-big .sl-full { display: none; } .sl-big .sl-short { display: block; } }
@media (max-width: 480px) { .sl { --sl-cols: 1.4em minmax(0, 6em) minmax(0, 1fr) 4.6em; } .sl-big { --sl-cols: 1.4em minmax(0, 6.5em) minmax(0, 1fr) 4.6em; } .tc-bigs { gap: 24px; }
  .cl-row { grid-template-columns: 1.4em minmax(0, 1fr) 4.4em; } .cl-bar { display: none; } .tc-add a, .tc-share a { grid-template-columns: minmax(0, 1fr) 70px 3em; } }


/* ── rankings (/t20/rankings): a sentence you can change, a podium, and ladders of 25 ─────────────────────────────────────────── */
.rk { --c: #E8A33C; --c-rgb: 232,163,60; } .rk[data-role="bowl"] { --c: #5BC48C; --c-rgb: 91,196,140; }
.rk .tp-head { position: relative; }
.rk-say { font-size: clamp(1.9rem, 4.6vw, 3.3rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; margin: 10px 0 0; max-width: 30ch; text-wrap: balance; color: #F7F1E1; }
.rk-say span { color: rgba(243,244,248,.62); font-weight: 600; } .rk-say .rk-g { white-space: nowrap; color: inherit; }
.rk-w { all: unset; cursor: pointer; color: var(--c); white-space: nowrap; background-image: linear-gradient(rgba(var(--c-rgb), .55), rgba(var(--c-rgb), .55));
  background-size: 100% 3px; background-position: 0 92%; background-repeat: no-repeat; border-radius: 4px; transition: background-color .15s, color .2s, background-size .2s; padding: 0 .06em; }
.rk-w[data-w="comp"], .rk-w[data-w="now"], .rk-w[data-w="age"] { color: #F7F1E1; background-image: linear-gradient(rgba(239,233,219,.4), rgba(239,233,219,.4)); }
.rk-w:hover, .rk-w[aria-expanded="true"] { background-color: rgba(239,233,219,.07); }
.rk-w:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; }
.rk-w.is-flip { animation: rk-flip .32s cubic-bezier(.2,.8,.2,1); }
@keyframes rk-flip { from { opacity: 0; transform: translateY(.25em); } }
.rk-hint { font-size: .86rem; color: var(--ink-faint); margin: 12px 0 0; max-width: 70ch; line-height: 1.5; }
.rk-pop { position: absolute; z-index: 40; min-width: 220px; max-width: min(640px, 100%); background: #0F1C16; border: 1px solid rgba(239,233,219,.12); border-radius: 8px;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,.7); animation: tsr-in .16s cubic-bezier(.2,.8,.2,1); }
.rk-pop-in { display: grid; gap: 2px; padding: 6px; }
.rk-pop-comp { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(10, auto); grid-auto-flow: column; } @media (max-width: 560px) { .rk-pop-comp { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; max-height: 60vh; overflow-y: auto; } }
.rk-pop-in button { all: unset; cursor: pointer; font-size: .9rem; color: var(--ink-soft); padding: 8px 12px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-pop-in button:hover, .rk-pop-in button:focus-visible { background: rgba(239,233,219,.07); color: #F7F1E1; outline: none; }
.rk-pop-in button[aria-pressed="true"] { color: #F7F1E1; font-weight: 600; box-shadow: inset 3px 0 0 var(--c); }
.rk-count { font-size: .86rem; color: var(--ink-soft); margin: 26px 0 12px; }
/* the podium */
.rk-pod { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 12px; align-items: end; }
.rk-pc a { display: grid; gap: 4px; padding: 18px 20px 16px; border-radius: 8px; text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line);
  transition: border-color .15s, transform .15s, background-color .15s; position: relative; overflow: hidden; }
.rk-pc a:hover { border-color: rgba(var(--c-rgb), .5); transform: translateY(-2px); }
.rk-pc-1 a { background: linear-gradient(160deg, rgba(var(--c-rgb), .14), rgba(var(--c-rgb), .02) 60%), var(--card); border-color: rgba(var(--c-rgb), .32); padding-top: 26px; }
.rk-pc-n { position: absolute; right: 16px; top: 8px; font-size: 3.4rem; font-weight: 750; line-height: 1; color: rgba(239,233,219,.06); font-variant-numeric: tabular-nums; }
.rk-pc-1 .rk-pc-n { font-size: 4.4rem; color: rgba(var(--c-rgb), .16); }
.rk-pc-nm { font-size: 1.12rem; font-weight: 680; letter-spacing: -.01em; padding-right: 2.6em; } .rk-pc-1 .rk-pc-nm { font-size: 1.35rem; }
.rk-pc-sub { font-size: .78rem; color: var(--ink-faint); }
.rk-pc-v { font-size: 2.3rem; font-weight: 700; color: var(--c); line-height: 1; letter-spacing: -.02em; margin-top: 8px; font-variant-numeric: tabular-nums; } .rk-pc-1 .rk-pc-v { font-size: 2.9rem; }
.rk-pc-bar { position: relative; height: 10px; margin: 4px 0 2px; }
.rk-pc-bar i { position: absolute; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: rgba(var(--c-rgb), .4); } .rk-pc-bar b { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--c); }
.rk-pc-r { font-size: .74rem; color: var(--ink-faint); }
/* the ladders */
.rk-lad { margin: 0 0 18px; padding: 14px 18px 12px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.rk-lad-h { font-size: .78rem; font-weight: 500; color: var(--ink-faint); margin: 0 0 6px; letter-spacing: 0; }
.rk-rows { list-style: none; margin: 0; padding: 0; }
.rk-ln { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 2.2em minmax(0, 15em) minmax(0, 1fr) 3.6em; align-items: center; gap: 14px;
  min-height: 40px; padding: 4px 8px; margin: 0 -8px; border-radius: 8px; color: var(--ink); text-decoration: none; transition: background-color .12s; }
a.rk-ln { width: calc(100% + 16px); }
button.rk-ln { width: calc(100% + 16px); }
.rk-ln:hover, .rk-row.is-open .rk-ln { background: rgba(239,233,219,.045); }
.rk-ln:focus-visible { outline: 2px solid var(--c); outline-offset: -2px; }
.rk-n { font-size: .78rem; color: var(--ink-faint); text-align: right; font-variant-numeric: tabular-nums; }
.rk-nm { display: grid; min-width: 0; font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-nm small { font-weight: 400; font-size: .74rem; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; }
.rk-tr { position: relative; height: 14px; }
.rk-z { position: absolute; top: -4px; bottom: -4px; width: 1px; background: rgba(239,233,219,.16); }
.rk-rg { position: absolute; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: rgba(var(--c-rgb), .32); transition: background-color .15s; }
.rk-tr b { position: absolute; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--c); transition: transform .15s; }
.rk-ln:hover .rk-rg, .rk-row.is-open .rk-rg { background: rgba(var(--c-rgb), .7); } .rk-ln:hover .rk-tr b, .rk-row.is-open .rk-tr b { transform: scale(1.3); }
.rk-v { text-align: right; font-weight: 650; color: var(--c); font-variant-numeric: tabular-nums; }
.rk-ax { display: grid; grid-template-columns: 2.2em minmax(0, 15em) minmax(0, 1fr) 3.6em; gap: 14px; margin-top: 6px; }
.rk-ax-t { grid-column: 3; position: relative; height: 16px; }
.rk-ax-t span { position: absolute; transform: translateX(-50%); font-size: .7rem; color: var(--ink-faint); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* a player opened up */
.rk-det { margin: 4px 0 10px calc(2.2em + 14px); padding: 12px 14px 14px; border-left: 2px solid rgba(var(--c-rgb), .5); animation: rk-open .22s cubic-bezier(.2,.8,.2,1); }
@keyframes rk-open { from { opacity: 0; transform: translateY(-4px); } }
.rk-det p { margin: 0; font-size: .88rem; line-height: 1.55; color: var(--ink-soft); max-width: 70ch; } .rk-det b { color: #F7F1E1; }
.rk-det dl { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 10px 0 12px; }
.rk-det dl div { display: grid; } .rk-det dt { font-size: .7rem; color: var(--ink-faint); } .rk-det dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.rk-open { display: inline-flex; padding: 8px 14px; border-radius: 6px; font-size: .84rem; font-weight: 600; text-decoration: none; color: #0A1410 !important; background: var(--c); transition: filter .15s; }
.rk-open:hover { filter: brightness(1.1); }
.rk-pod.is-in, .rk-lads.is-in { animation: rk-in .36s cubic-bezier(.2,.8,.2,1); }
@keyframes rk-in { from { opacity: 0; transform: translateY(8px); } }
.rk-end { height: 1px; }
.rk-foot { max-width: 80ch; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .rk-pod.is-in, .rk-lads.is-in, .rk-det, .rk-w.is-flip { animation: none; } }
@media (max-width: 760px) { .rk-pod { grid-template-columns: 1fr; } .rk-pc a { grid-template-columns: 1fr auto; column-gap: 12px; padding: 14px 16px; } .rk-pc-1 a { padding-top: 16px; }
  .rk-pc-nm, .rk-pc-sub, .rk-pc-bar, .rk-pc-r { grid-column: 1; } .rk-pc-v { grid-column: 2; grid-row: 1 / span 3; align-self: center; margin: 0; font-size: 2rem; } .rk-pc-1 .rk-pc-v { font-size: 2.3rem; }
  .rk-pc-n { display: none; } .rk-pc-nm { padding-right: 0; }
  .rk-ln, .rk-ax { grid-template-columns: 1.8em minmax(0, 1fr) minmax(70px, 34%) 3em; gap: 10px; } .rk-lad { padding: 10px 12px; } .rk-det { margin-left: 0; } }

/* ── a competition's page: its XI, who added most, where its players also play ───────────────────────────────────────────────── */
.tc-xi { margin: 6px 0 22px; padding: 20px 22px 16px; border-radius: 8px; background: linear-gradient(180deg, rgba(239,233,219,.035), rgba(239,233,219,0) 60%), var(--card); border: 1px solid var(--line); }
.tc-xi-head { display: grid; gap: 2px; margin-bottom: 10px; } .tc-xi-head .tp-h { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
.tc-xi-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--xr, 6), auto); grid-auto-flow: column; column-gap: 36px; }
.tc-xi-p a { display: grid; grid-template-columns: 1.7em minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 9px 8px; margin: 0 -8px; border-radius: 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background-color .12s; }
.tc-xi-p a:hover { background: rgba(239,233,219,.045); }
.tc-xi-n { font-size: 1.05rem; font-weight: 700; color: rgba(var(--c-rgb), .55); font-variant-numeric: tabular-nums; text-align: right; }
.tc-xi-nm { display: grid; min-width: 0; font-weight: 650; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-xi-nm small { font-weight: 400; font-size: .76rem; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; }
.tc-xi-v { display: grid; justify-items: end; } .tc-xi-v b { color: var(--c); font-size: 1.02rem; font-variant-numeric: tabular-nums; } .tc-xi-v small { font-size: .7rem; color: var(--ink-faint); }

.tc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tc-hall { padding: 18px 20px 12px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.tc-add a { grid-template-columns: 1.3em minmax(0, 1.3fr) minmax(50px, 1fr) 3.2em; }
.tc-add-k { font-size: .78rem; color: var(--ink-faint); text-align: right; font-variant-numeric: tabular-nums; }
.tc-hall-note { margin: 8px 0 24px; }
.tc-links { margin: 0 0 22px; }
.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; }
.tc-chips a { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; border-radius: 5px; text-decoration: none; color: var(--ink);
  background: rgba(190,186,168, calc(.05 + .14 * var(--w, .5))); border: 1px solid rgba(190,186,168, calc(.1 + .25 * var(--w, .5))); font-size: calc(.8rem + .16rem * var(--w, .5)); transition: background-color .15s, border-color .15s; }
.tc-chips a:hover { background: rgba(190,186,168,.24); border-color: rgba(190,186,168,.5); } .tc-chips em { font-style: normal; font-size: .76rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .tc-xi-list { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; } .tc-xi-last a { border-bottom-color: rgba(239,233,219,.18); margin-bottom: 6px; } .tc-two { grid-template-columns: 1fr; } .tc-xi { padding: 16px; } }

/* ── the competitions page: the ladder, and the card of whichever competition you point at ───────────────────────────────────── */
.th-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; margin-top: 8px; }
.th-lad { padding: 14px 16px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.th-lad.sl-big { --sl-cols: 1.8em minmax(0, 14em) minmax(0, 1fr) 5.4em; }
.th-cards { position: sticky; top: 80px; }
.th-card { padding: 20px 22px; border-radius: 8px; background: linear-gradient(170deg, rgba(239,233,219,.05), rgba(239,233,219,0) 55%), var(--card); border: 1px solid var(--line-strong); }
.th-card.is-in { animation: rk-in .26s cubic-bezier(.2,.8,.2,1); }
.th-k { font-size: .78rem; color: var(--ink-faint); margin: 0; } .th-nm { font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; margin: 4px 0 14px; color: #F7F1E1; }
.th-bigs .tc-big span { font-size: 2.8rem; }
.th-best { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0 4px; }
.th-h { font-size: .74rem; color: var(--ink-faint); margin: 0 0 4px; }
.th-best ol { list-style: none; margin: 0; padding: 0; }
.th-best a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .86rem; }
.th-best a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .th-best a b { color: var(--c); font-variant-numeric: tabular-nums; } .th-best a:hover span { color: #F7F1E1; text-decoration: underline; text-underline-offset: 3px; }
.th .sl-row.is-here { background: rgba(239,233,219,.075); box-shadow: inset 3px 0 0 rgba(239,233,219,.5); }
@media (max-width: 900px) { .th-body { grid-template-columns: 1fr; } .th-cards { position: static; display: none; } .th-lad li > .th-card { margin: 6px 0 12px; } .th-lad.sl-big { --sl-cols: 1.5em minmax(0, 7em) minmax(0, 1fr) 4.8em; } .th-best { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .th-card.is-in { animation: none; } }
.sl-row, .sl-row:hover, .rk-ln, .rk-ln:hover, .rk-pc a:hover, .tc-xi-p a:hover, .tc-add a:hover, .tc-chips a:hover, .tc-card:hover, .tp-pn-a:hover, .th-best a:hover { text-decoration: none; }
@media (max-width: 760px) { .rk-pod { gap: 8px; } .rk-pc a { padding: 12px 14px; gap: 2px; } .rk-pc-2 .rk-pc-r, .rk-pc-3 .rk-pc-r { display: none; } .rk-pc-v { font-size: 1.7rem; } .rk-pc-1 .rk-pc-v { font-size: 2.1rem; }
  .rk-pc-nm { font-size: 1rem; } .rk-pc-1 .rk-pc-nm { font-size: 1.15rem; } .th-lad { padding: 10px; } }

/* ── the field: every player a dot, age across, rating up (field-chart.js) ─────────────────────────────────────────────────── */
.rf { position: relative; margin: 6px calc(-1 * min(24px, 2vw)) 30px; }
.rf-plot { position: relative; height: min(76vh, 700px); min-height: 420px; border-radius: 8px; overflow: hidden;
  background: radial-gradient(ellipse 70% 80% at 30% 0%, rgba(var(--c-rgb), .07), transparent 60%), radial-gradient(ellipse 80% 70% at 80% 100%, #14251C, transparent 70%), #0B1611; border: 1px solid var(--line); }
.rf-plot canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: default; }
.rf.is-zoomed .rf-plot canvas { touch-action: none; cursor: grab; }
.rf-ctl { position: absolute; right: 12px; bottom: 44px; display: flex; gap: 6px; z-index: 3; }
.rf-ctl button { all: unset; cursor: pointer; display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 9px; background: rgba(14,16,25,.85); border: 1px solid rgba(239,233,219,.12);
  color: var(--ink-soft); backdrop-filter: blur(6px); transition: color .15s, border-color .15s; font-size: .8rem; font-weight: 600; }
.rf-ctl button:hover { color: #F7F1E1; border-color: rgba(239,233,219,.3); } .rf-ctl button:focus-visible { outline: 2px solid var(--c); outline-offset: 1px; }
.rf-ctl svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.rf-all { padding: 0 12px; display: none !important; } .rf.is-zoomed .rf-all { display: grid !important; }
.rf-tip { position: absolute; z-index: 4; min-width: 170px; max-width: 250px; display: grid; gap: 3px; padding: 11px 13px; border-radius: 6px; background: rgba(14,16,25,.96);
  border: 1px solid rgba(239,233,219,.12); box-shadow: 0 16px 40px -10px rgba(0,0,0,.7); pointer-events: none; font-size: .8rem; color: var(--ink-soft); animation: tsr-in .14s ease-out; }
.rf-tip[hidden] { display: none; }
.rf-tip.is-pin { pointer-events: auto; border-color: rgba(var(--c-rgb), .45); }
.rf-tip b { color: #F7F1E1; font-size: .95rem; } .rf-tip-s { font-size: .76rem; color: var(--ink-faint); } .rf-tip-v { font-size: .82rem; } .rf-tip-v em { font-style: normal; font-weight: 700; font-size: 1.05rem; color: var(--c); margin-right: 4px; }
.rf-tip-go { margin-top: 6px; justify-self: start; padding: 6px 11px; border-radius: 8px; background: var(--c); color: #0A1410 !important; font-weight: 650; font-size: .8rem; text-decoration: none !important; }
.rf-note { font-size: .8rem; color: var(--ink-faint); margin: 10px min(24px, 2vw) 0; max-width: 80ch; }
.rk-sec { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; margin: 8px 0 12px; color: #F7F1E1; }
@media (max-width: 760px) { .rf { margin-left: -6px; margin-right: -6px; } .rf-plot { height: 68vh; min-height: 380px; border-radius: 12px; } .rf-ctl { bottom: 40px; right: 8px; } }

/* ── the competitions map (CompMap.astro) ──────────────────────────────────────────────────────────────────────────────────── */
.cm { position: relative; margin: 0; border-radius: 8px; background: radial-gradient(ellipse 60% 60% at 90% 10%, rgba(232,163,60,.06), transparent 60%), radial-gradient(ellipse 70% 70% at 10% 100%, #14251C, transparent 70%), #0B1611; border: 1px solid var(--line); overflow: hidden; }
.cm svg { display: block; width: 100%; height: auto; font-family: inherit; }
.cm-grid line { stroke: rgba(239,233,219,.05); } .cm-grid line.cm-zero { stroke: rgba(239,233,219,.26); stroke-dasharray: 3 4; }
.cm-grid text { fill: #7D887B; font-size: 11px; font-variant-numeric: tabular-nums; } .cm-grid .cm-ax { fill: #8A9386; font-size: 11.5px; } .cm-grid .cm-q { fill: #5D675C; font-size: 12px; font-weight: 500; }
.cm-l { stroke: rgba(190,186,168,.5); stroke-linecap: round; opacity: 0; transition: opacity .25s; }
.cm-l.on { opacity: .75; }
.cm-b { cursor: pointer; text-decoration: none; outline: none; }
.cm-c { fill: url(#none); fill: rgba(130,140,175,.55); stroke: rgba(10,20,16,.9); stroke-width: 1.5; transition: fill .2s, opacity .2s; }
.cm-b text { fill: #C7C2B1; font-size: 12.5px; font-weight: 600; paint-order: stroke; stroke: #0B1611; stroke-width: 4px; stroke-linejoin: round; transition: fill .2s, opacity .2s; }
.cm-halo { fill: none; stroke: rgba(239,233,219,0); stroke-width: 1.5; transition: stroke .2s; }
.cm-b[data-c="ipl"] .cm-c { fill: rgba(232,163,60,.85); }
.cm.is-on .cm-b .cm-c { opacity: .28; } .cm.is-on .cm-b text { opacity: .35; }
.cm.is-on .cm-b.is-link .cm-c { opacity: 1; fill: rgba(190,186,168,.8); } .cm.is-on .cm-b.is-link text { opacity: 1; }
.cm.is-on .cm-b.is-hot .cm-c { opacity: 1; fill: #E8A33C; } .cm.is-on .cm-b.is-hot text { opacity: 1; fill: #F7F1E1; } .cm-b.is-hot .cm-halo { stroke: rgba(232,163,60,.6); }
.cm-b.is-cur .cm-halo { stroke: rgba(239,233,219,.55); }
.cm-b:focus-visible .cm-halo { stroke: #F7F1E1; stroke-width: 2; }
.cm-n { fill: #8F988B; font-weight: 500; font-size: 11px; }
.th-body { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.th-map { min-width: 0; }
@media (max-width: 900px) { .th-cards { display: block; position: static; } .cm-b text { font-size: 15px; } .cm-grid text { font-size: 13px; } .cm-grid .cm-q { display: none; } }
@media (max-width: 900px) { .th-body { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .cm { overflow-x: auto; overscroll-behavior-x: contain; } .cm svg { min-width: 680px; } .cm-b text { font-size: 15px; } .cm-grid text { font-size: 13px; } }

/* the field and the list beside it */
.rk-stage { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; margin-bottom: 26px; }
.rk-stage .rf { margin: 0; }
.rk-rail { position: sticky; top: 76px; max-height: calc(100vh - 92px); display: flex; flex-direction: column; padding: 16px 14px 10px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.rk-rail-h { font-size: 1rem; font-weight: 700; margin: 0 0 2px; color: #F7F1E1; letter-spacing: -.01em; }
.rk-rail-s { font-size: .76rem; color: var(--ink-faint); margin: 0 0 8px; line-height: 1.45; }
.rk-rail-list { list-style: none; margin: 0 -6px; padding: 0 6px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(190,186,168,.25) transparent; }
.rk-rail-list.is-in { animation: rk-in .3s cubic-bezier(.2,.8,.2,1); }
.rk-rail .rk-ln { grid-template-columns: 1.8em minmax(0, 1fr) 70px 3em; gap: 10px; min-height: 38px; }
.rk-rail .rk-nm { font-size: .88rem; }
.rk-rail .rk-det { margin: 2px 0 8px 0; padding: 10px 12px 12px; } .rk-rail .rk-det p { font-size: .82rem; } .rk-rail .rk-det dl { gap: 4px 16px; margin: 8px 0 10px; }
.rk-rail .rk-none { font-size: .84rem; color: var(--ink-soft); padding: 14px 4px; }
@media (max-width: 900px) { .rk-stage { grid-template-columns: 1fr; } .rk-rail { position: static; max-height: none; } }

/* 27 Oct: the XI is a real side: the keeper and overseas players are marked */
.tc-xi-who { display: flex; align-items: baseline; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tc-xi-tag { flex: none; font-style: normal; font-family: var(--mono); font-size: .7rem; font-weight: 400; color: var(--ink-faint); line-height: 1.4; }
.tc-xi-os { color: var(--ink-faint); border-color: var(--line); }
.tc-xi-v b.tc-xi-bowl { color: var(--ice, #5BC48C); }

/* ===== 28 Oct: one flow, no text links. The globe panel's world view is two ways in (live miniatures of the pages they open) and chips;
   a competition's or a player's header IS the way into its page, and its name travels with you (view transition t20-name). ===== */
.px-doors { display: grid; gap: 10px; margin: 2px 0 8px; }
.px-door { display: grid; gap: 3px; padding: 14px 14px 10px; border-radius: 12px; border: 1px solid var(--wx-line); background: rgba(239,233,219,.025); text-decoration: none; color: var(--wx-text); transition: border-color .15s, background-color .15s; }
.px-door:hover, .px-door:focus-visible { border-color: rgba(239,233,219,.22); background: rgba(239,233,219,.05); outline: none; }
.px-door-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.px-door-h { font-weight: 650; font-size: 1rem; color: #F7F1E1; letter-spacing: -.01em; }
.px-door-s { font-size: .8rem; line-height: 1.4; color: var(--wx-soft); }
.px-arr { width: 15px; height: 15px; color: var(--wx-soft); transition: transform .15s, color .15s; flex: none; }
.px-door:hover .px-arr, a.px-hd:hover .px-arr { transform: translateX(2px); color: #F7F1E1; }
.px-mini { display: block; width: 100%; height: auto; margin-top: 6px; }
.px-mini circle { fill: rgba(169,175,196,.42); } .px-mini circle.hot { fill: var(--wx-gold); }
.px-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 4px; }
.px-card { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 2px; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--wx-line); background: rgba(239,233,219,.025); transition: border-color .15s, background-color .15s; }
.px-card:hover, .px-card:focus-visible { border-color: rgba(239,233,219,.24); background: rgba(239,233,219,.055); }
.px-card-k { font-size: .7rem; color: var(--wx-faint); }
.px-card-n { font-weight: 600; font-size: .9rem; color: #F7F1E1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-card b { font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--wx-gold); font-variant-numeric: tabular-nums; } .px-card.r-bowl b { color: var(--wx-ice); }
.px-hd { display: block; margin: 0 -12px 8px; padding: 10px 12px 12px; border-radius: 12px; text-decoration: none; color: inherit; transition: background-color .15s; }
a.px-hd:hover, a.px-hd:focus-visible { background: rgba(239,233,219,.04); outline: none; }
.px-hd .px-name { margin: .35rem 0 .5rem; }
.px-hd .px-line, .px-hd .px-type { display: block; }

/* pages: crumbs are plain text with a hover; competitions and Test ratings are chips, as in the panel */
.tp-kick a, .tp-crumb a, .tp-k a, .tp-also a, .px-pname a, .tp-pn-mid { background-image: none !important; border-bottom: 0 !important; }
.tp-crumb a { color: var(--ink-soft); } .tp-crumb a:hover { color: #F7F1E1; }
.tc-xi-more a:hover, .rk-foot a:hover { color: #F7F1E1; border-color: rgba(239,233,219,.28) !important; }
.tc-full { display: block; font-size: .95rem; color: var(--ink-soft, #B5B2A2); margin: -.2rem 0 .3rem; }

/* ===== 28 Oct: type and shape, under the lights ===== */
html[data-mode="t20"] .tp-name, html[data-mode="t20"] .px-name, html[data-mode="t20"] .wx-title, html[data-mode="t20"] .rk-say, html[data-mode="t20"] .tp-h,
html[data-mode="t20"] .px-door-h, html[data-mode="t20"] .tc-xi-head .tp-h, html[data-mode="t20"] .th-nm { font-family: var(--serif); font-optical-sizing: auto; font-weight: 600; letter-spacing: -.02em; }
html[data-mode="t20"] .tp-name, html[data-mode="t20"] .wx-title { font-weight: 640; letter-spacing: -.025em; }
html[data-mode="t20"] .tp-big, html[data-mode="t20"] .px-big, html[data-mode="t20"] .tc-big span, html[data-mode="t20"] .px-card b, html[data-mode="t20"] .tc-xi-v b,
html[data-mode="t20"] .rk-v, html[data-mode="t20"] .ix-v { font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
html[data-mode="t20"] .tp-big, html[data-mode="t20"] .px-big { font-weight: 600; letter-spacing: -.035em; }
html[data-mode="t20"] .px-kick, html[data-mode="t20"] .tp-kick, html[data-mode="t20"] .px-card-k, html[data-mode="t20"] .px-h, html[data-mode="t20"] .tp-crumb,
html[data-mode="t20"] .rk-count, html[data-mode="t20"] .px-stats dt, html[data-mode="t20"] .tp-stats dt, html[data-mode="t20"] .tc-full { font-family: var(--mono); letter-spacing: 0; }
html[data-mode="t20"] .px-kick, html[data-mode="t20"] .tp-kick, html[data-mode="t20"] .px-h { font-size: .74rem; }
html[data-mode="t20"] .px-stats dt, html[data-mode="t20"] .tp-stats dt { font-size: .72rem; }
.px-door { border-radius: 8px; } .px-card { border-radius: 6px; }
.px-hd { border-radius: 8px; }
.tp-like-chips { margin-top: 4px; }
.tp-pn-mid { display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; font-size: .84rem; color: var(--ink-soft); } .tp-pn-mid:hover { color: #F7F1E1; } .tp-pn-mid .px-arr { width: 13px; height: 13px; } .tp-pn-mid:hover .px-arr { transform: translateX(2px); color: #F7F1E1; }

/* ---- index rows: every way to another player, competition or page is a ruled row of the layout, never a pill or an underlined link ---- */
.ixs { display: grid; margin: 2px 0 10px; border-top: 1px solid var(--wx-line, rgba(239,233,219,.1)); }
.ix { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto 15px; align-items: center; gap: 12px; width: 100%;
  padding: 9px 8px 9px 2px; border-bottom: 1px solid var(--wx-line, rgba(239,233,219,.1)); color: var(--wx-text, #EFE9DB); text-decoration: none; transition: background-color .15s, padding .15s; }
.ix:hover, .ix:focus-visible { background: linear-gradient(90deg, rgba(239,233,219,.055), rgba(239,233,219,0)); padding-left: 8px; outline: none; }
.ix:focus-visible { box-shadow: inset 2px 0 0 var(--wx-gold, #E8A33C); }
.ix-n { min-width: 0; display: flex; align-items: baseline; gap: 9px; white-space: nowrap; overflow: hidden; font-size: .92rem; color: #F7F1E1; }
.ix-n small { font-size: .74rem; color: var(--wx-faint, #7D887B); overflow: hidden; text-overflow: ellipsis; }
.ix-n i { width: 7px; height: 7px; border-radius: 50%; flex: none; align-self: center; }
.ix-v { font-weight: 600; font-size: 1.02rem; font-variant-numeric: tabular-nums; color: var(--wx-gold, #E8A33C); }
.ix.r-bowl .ix-v { color: var(--wx-ice, #5BC48C); }
.ix .px-arr { justify-self: end; opacity: .55; }
.ix:hover .px-arr, .ix:focus-visible .px-arr { opacity: 1; transform: translateX(2px); color: #F7F1E1; }
.ix-lg { grid-template-columns: 6.5em minmax(0, 1fr) auto 15px; }
.ix-bar { height: 3px; background: rgba(239,233,219,.07); position: relative; } .ix-bar b { position: absolute; inset: 0 auto 0 0; background: rgba(239,233,219,.38); }
.ix-c { font-style: normal; font-size: .76rem; color: var(--wx-faint, #7D887B); font-variant-numeric: tabular-nums; }
.ix-lg:not(:has(.ix-bar)) { grid-template-columns: minmax(0, 1fr) 15px; }
/* the panel header is the way through: the name carries its arrow, the whole block is the target */
.px-hd { display: block; margin: 0 -12px 10px; padding: 10px 12px 12px; border-radius: 8px; text-decoration: none; color: inherit; transition: background-color .15s; }
.px-hd .px-kick { display: block; margin: 0; }
.px-hd-nm { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.px-hd-nm .px-name { margin: .3rem 0 .45rem; }
.px-hd-nm .px-arr { width: 22px; height: 22px; padding: 6px; box-sizing: content-box; border-radius: 50%; background: rgba(239,233,219,.06); color: var(--wx-soft, #B5B2A2); }
a.px-hd:hover .px-hd-nm .px-arr, a.px-hd:focus-visible .px-hd-nm .px-arr { background: rgba(239,233,219,.14); color: #F7F1E1; transform: translateX(3px); }
/* the chart switch: a plain checkbox, not a pill */
.px-toggle { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; width: 100%; margin: 8px 0 4px; padding: 9px 2px; font-size: .84rem; color: var(--wx-soft, #B5B2A2); }
.px-toggle i { width: 13px; height: 13px; flex: none; border-radius: 3px; border: 1.5px solid rgba(239,233,219,.4); position: relative; transition: background-color .15s, border-color .15s; }
.px-toggle[aria-pressed="true"] i { background: var(--wx-gold, #E8A33C); border-color: var(--wx-gold, #E8A33C); }
.px-toggle[aria-pressed="true"] i::after { content: ''; position: absolute; left: 3.5px; top: .5px; width: 3.5px; height: 7px; border: solid #0A1410; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.px-toggle:hover, .px-toggle:focus-visible { color: #F7F1E1; outline: none; } .px-toggle:hover i { border-color: rgba(239,233,219,.7); }
/* pages: the same rows, and a ruled strip for the few ways on from a header */
.tp-ixs { display: grid; border-top: 1px solid var(--line, rgba(239,233,219,.1)); margin: 6px 0 0; }
.tp-ixs .ix { padding: 11px 8px 11px 2px; } .tp-ixs .ix:hover { padding-left: 8px; }
.ix.r-bat .ix-v { color: var(--kit, #E8A33C); }
.tp-strip { display: flex; flex-wrap: wrap; margin: 16px 0 0; border-top: 1px solid var(--line, rgba(239,233,219,.1)); border-bottom: 1px solid var(--line, rgba(239,233,219,.1)); }
.tp-strip a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 0; margin-right: 16px; font-size: .88rem; color: var(--ink-soft, #B5B2A2); text-decoration: none; background-image: none !important; position: relative; transition: color .15s; }
.tp-strip a + a { padding-left: 16px; border-left: 1px solid var(--line, rgba(239,233,219,.1)); margin-left: -16px; }
.tp-strip a i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-faint, #7D887B); }
.tp-strip a svg { width: 13px; height: 13px; opacity: .6; transition: transform .15s, opacity .15s; }
.tp-strip a:hover, .tp-strip a:focus-visible { color: #F7F1E1; outline: none; } .tp-strip a:hover svg { opacity: 1; transform: translateX(2px); }
.tp-strip a::after { content: ''; position: absolute; left: 0; right: 16px; bottom: -1px; height: 1px; background: transparent; transition: background-color .15s; }
.tp-strip a + a::after { left: 16px; }
.tp-strip a:hover::after { background: var(--ink-soft, #B5B2A2); }
.tc-xi-more { margin: 14px 0 0; } .tc-xi-more.tp-strip a { font-size: .86rem; }

/* nothing on the T20 side underlines on hover: a link is a row, a strip, a header or a card, and says so by its shape */
html[data-mode="t20"] a:hover { text-decoration: none; }
/* the 3D scene fades out under the panel column on wide screens, so the chart's arrows never run across the panel */
@media (min-width: 900px) { .wx-canvas, .wx-labels, .wx-leads, .wx-links { -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent var(--wx-cut, 33%), #000 calc(var(--wx-cut, 33%) + 7%)); mask-image: linear-gradient(90deg, transparent 0, transparent var(--wx-cut, 33%), #000 calc(var(--wx-cut, 33%) + 7%)); } }
/* the two ways in sit side by side, so the best players right now are in view without scrolling the panel */
.px-doors { grid-template-columns: 1fr 1fr; gap: 8px; }
.px-door { padding: 11px 11px 8px; }
.px-door-h { font-size: .95rem; } .px-door-s { font-size: .74rem; line-height: 1.35; }
@media (max-width: 380px) { .px-doors { grid-template-columns: 1fr; } }

/* a competition's neighbours: the same ruled rows as everywhere else, two columns on wide screens */
.tc-also { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 0; }
.tc-also .ix { border-top: 0; } .tc-also .ix-lg { grid-template-columns: minmax(0, 13em) minmax(0, 1fr) 5.5em 15px; }
@media (max-width: 760px) { .tc-also { grid-template-columns: 1fr; } .tc-also .ix-lg { grid-template-columns: minmax(0, 1fr) 60px 5em 15px; } }

/* tables sort by any column (fm-tables.js): night colours */
html[data-mode="t20"] { --sort-c: #F7F1E1; --sort-tint: rgba(239,233,219,.045); --sort-tint-h: rgba(239,233,219,.08); --row-hover: rgba(239,233,219,.035); }
html[data-mode="t20"] table.fm-sortable thead th.is-sorted { color: #F7F1E1; }

/* ── the sentence, 28 Oct: each changeable word is a token (tint and a caret), never an underline; every choice shows how many players it
   leaves; age is a two-handle range over a histogram of the players at each age ── */
.rk-w { background-image: none !important; display: inline-flex; align-items: baseline; gap: .12em; padding: 0 .16em .02em .2em; margin: 0 -.04em; border-radius: 6px;
  background-color: rgba(var(--c-rgb), .12) !important; box-shadow: inset 0 0 0 1px rgba(var(--c-rgb), .18); transition: background-color .15s, box-shadow .15s; }
.rk-w[data-w="comp"], .rk-w[data-w="now"], .rk-w[data-w="age"] { background-color: rgba(239,233,219,.07) !important; box-shadow: inset 0 0 0 1px rgba(239,233,219,.12); }
.rk-w:hover, .rk-w[aria-expanded="true"] { background-color: rgba(var(--c-rgb), .22) !important; box-shadow: inset 0 0 0 1px rgba(var(--c-rgb), .45); }
.rk-w[data-w="comp"]:hover, .rk-w[data-w="now"]:hover, .rk-w[data-w="age"]:hover, .rk-w[data-w="comp"][aria-expanded="true"], .rk-w[data-w="now"][aria-expanded="true"], .rk-w[data-w="age"][aria-expanded="true"] { background-color: rgba(239,233,219,.13) !important; box-shadow: inset 0 0 0 1px rgba(239,233,219,.3); }
.rk-caret { width: .42em; height: .42em; flex: none; align-self: center; opacity: .55; transition: transform .2s, opacity .15s; }
.rk-w:hover .rk-caret { opacity: .9; } .rk-w[aria-expanded="true"] .rk-caret { transform: rotate(180deg); opacity: 1; }
.rk-pop.is-in { animation: rk-pop-in .18s cubic-bezier(.2,.8,.2,1); } @keyframes rk-pop-in { from { opacity: 0; transform: translateY(-4px) scale(.985); } }
.rk-pop-in button { display: grid; grid-template-columns: minmax(0, 1fr) 64px 3.2em; align-items: center; gap: 12px; }
.rk-pop-in .rk-pt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rk-pb { display: block; height: 3px; background: rgba(239,233,219,.08); position: relative; } .rk-pb b { position: absolute; inset: 0 auto 0 0; background: var(--c); opacity: .7; }
.rk-pop-in em { font-style: normal; text-align: right; font-size: .78rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.rk-pop-in button.is-empty { opacity: .4; }
.rk-pop-role, .rk-pop-now { min-width: 300px; }
.rk-pop-comp { min-width: min(760px, 94vw); } .rk-pop-comp button { grid-template-columns: minmax(0, 1fr) 48px 2.6em; }
.rk-pop-age { padding: 14px 16px 12px; width: min(380px, 88vw); }
.rk-age-read { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.rk-age-read b { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: #F7F1E1; letter-spacing: -.01em; } .rk-age-read span { font-size: .8rem; color: var(--ink-faint); }
.rk-hist { display: flex; align-items: flex-end; gap: 1px; height: 58px; }
.rk-hist i { flex: 1; min-height: 1px; background: rgba(239,233,219,.14); transition: background-color .12s, height .25s; }
.rk-hist i.on { background: var(--c); opacity: .85; }
.rk-range { position: relative; height: 22px; margin-top: 2px; }
.rk-rtrack, .rk-rsel { position: absolute; top: 10px; height: 2px; } .rk-rtrack { left: 0; right: 0; background: rgba(239,233,219,.14); } .rk-rsel { background: var(--c); }
.rk-range input { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; height: 22px; }
.rk-range input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #F7F1E1; border: 3px solid var(--c); cursor: grab; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.rk-range input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #F7F1E1; border: 3px solid var(--c); cursor: grab; }
.rk-range input::-webkit-slider-runnable-track { background: none; } .rk-range input::-moz-range-track { background: none; }
.rk-range input:focus-visible::-webkit-slider-thumb { outline: 2px solid #F7F1E1; outline-offset: 2px; }
.rk-ends { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .7rem; color: var(--ink-faint); margin: 2px 0 10px; }
.rk-pre { display: flex; flex-wrap: wrap; gap: 0 14px; border-top: 1px solid rgba(239,233,219,.08); padding-top: 8px; }
.rk-pop-age .rk-pre button { display: inline; padding: 6px 0; font-size: .82rem; color: var(--ink-soft); border-radius: 0; }
.rk-pop-age .rk-pre button:hover { background: none; color: #F7F1E1; } .rk-pop-age .rk-pre button[aria-pressed="true"] { box-shadow: inset 0 -2px 0 var(--c); color: #F7F1E1; font-weight: 600; }
/* a lede is prose, not a label */
html[data-mode="t20"] .tp-kick.tc-lede { font-family: var(--sans); font-size: .98rem; line-height: 1.6; color: var(--ink-soft); max-width: 62ch; margin-top: 10px; }
/* seasons and competitions open into every innings or spell (player page) */
.tp-yr { cursor: pointer; } .tp-yr:focus-visible { outline: 2px solid var(--c); outline-offset: -2px; }
.tp-yr-c { display: inline-block; width: 6px; height: 6px; margin-right: 8px; vertical-align: 2px; border: solid var(--ink-faint); border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); transition: transform .2s; }
.tp-yr.is-open .tp-yr-c { transform: rotate(45deg); border-color: var(--c); } .tp-yr.is-open td { background: rgba(239,233,219,.035); }
.fm-detail > td { padding: 0 !important; }
.tp-yt { display: grid; padding: 2px 0 8px; max-height: 420px; overflow-y: auto; text-align: left; animation: pk-in .2s ease; }
.tp-yt-r { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) 5.4em minmax(0, 6em) 3.6em; gap: 10px; align-items: baseline; padding: 5px 4px 5px 16px; border-bottom: 1px dashed rgba(239,233,219,.07); font-size: .78rem; color: var(--ink-soft); white-space: nowrap; }
.tp-yt-d { font-family: var(--mono); font-size: .7rem; color: var(--ink-faint); } .tp-yt-v { overflow: hidden; text-overflow: ellipsis; color: var(--ink); } .tp-yt-v small, .tp-yt-m small { margin-left: 5px; color: var(--ink-faint); font-size: .7rem; }
.tp-yt-m { text-align: right; font-weight: 600; color: var(--ink); } .tp-yt-h { color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; } .tp-yt-w { text-align: right; font-weight: 600; color: var(--c); } .tp-yt-w.neg { color: var(--neg); }
.tp-yt-none { padding: 10px 16px; color: var(--ink-faint); font-size: .8rem; }
@media (max-width: 560px) { .tp-yt-r { grid-template-columns: 4.2em minmax(0, 1fr) 5em 3.4em; } .tp-yt-h { display: none; } }
/* ── head to head (/t20/compare) ── */
.h2h { max-width: 1000px; --ca: #E8A33C; --cb: #9CC8E8; }
.h2h[data-role="bowl"] { --ca: #5BC48C; --cb: #E8A33C; }
.h2h-h { margin: 8px 0 6px; } .h2h-sub { color: var(--ink-soft); max-width: 42rem; margin: 0 0 24px; line-height: 1.55; }
.h2h-pick { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; margin-bottom: 28px; }
.h2h-in { position: relative; display: grid; gap: 6px; } .h2h-in > span { font-family: var(--mono); font-size: .74rem; color: var(--ink-faint); }
.h2h-in input { font: inherit; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; padding: 10px 14px; border-radius: 6px; border: 1px solid rgba(239,233,219,.14); background: rgba(239,233,219,.04); color: #F7F1E1; outline: none; }
.h2h-a input { box-shadow: inset 4px 0 0 var(--ca); } .h2h-b input { box-shadow: inset 4px 0 0 var(--cb); } .h2h-in input:focus { border-color: rgba(239,233,219,.35); }
.h2h-sug { position: absolute; z-index: 30; top: 100%; left: 0; right: 0; margin: 4px 0 0; padding: 4px; list-style: none; background: #0F1C16; border: 1px solid rgba(239,233,219,.14); border-radius: 6px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.7); }
.h2h-sug li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 10px; border-radius: 5px; cursor: pointer; font-size: .92rem; color: var(--ink); }
.h2h-sug li small { margin-left: 8px; color: var(--ink-faint); font-size: .76rem; } .h2h-sug li b { font-family: var(--serif); color: #E8A33C; } .h2h-sug li b.r-bowl { color: #5BC48C; }
.h2h-sug li.on, .h2h-sug li:hover { background: rgba(239,233,219,.07); } .h2h-sug li.none { color: var(--ink-faint); cursor: default; }
.h2h-swap { all: unset; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-soft); margin-bottom: 4px; transition: background-color .15s, transform .3s; }
.h2h-swap:hover { background: rgba(239,233,219,.07); color: #F7F1E1; transform: rotate(180deg); } .h2h-swap svg { width: 20px; height: 20px; }
.h2h-out.is-in { animation: pk-in .3s ease; } .h2h-wait { color: var(--ink-faint); }
.h2h-top { display: grid; grid-template-columns: 1fr minmax(0, 15rem) 1fr; gap: 18px; align-items: end; margin-bottom: 10px; }
.h2h-who { display: grid; gap: 2px; color: inherit; text-decoration: none; padding: 6px 8px; border-radius: 6px; transition: background-color .15s; } .h2h-who:hover { background: rgba(239,233,219,.04); } .h2h-who.cb { text-align: right; }
.h2h-k { font-family: var(--mono); font-size: .74rem; color: var(--ink-faint); } .h2h-n { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: #F7F1E1; line-height: 1.1; }
.h2h-big { font-family: var(--serif); font-size: 3.6rem; font-weight: 600; line-height: .95; letter-spacing: -.04em; font-variant-numeric: lining-nums; } .h2h-who.ca .h2h-big { color: var(--ca); } .h2h-who.cb .h2h-big { color: var(--cb); }
.h2h-rg { font-size: .8rem; color: var(--ink-faint); }
.h2h-p { text-align: center; padding-bottom: 8px; } .h2h-pv { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 600; color: #F7F1E1; } .h2h-pl { font-size: .84rem; line-height: 1.45; color: var(--ink-soft); }
.h2h-curves { width: 100%; height: auto; display: block; overflow: visible; margin: 6px 0 14px; }
.h2h svg .c-ar.ca { fill: color-mix(in srgb, var(--ca) 18%, transparent); } .h2h svg .c-ar.cb { fill: color-mix(in srgb, var(--cb) 16%, transparent); }
.h2h svg .c-ln { fill: none; stroke-width: 2.2; } .h2h svg .c-ln.ca { stroke: var(--ca); } .h2h svg .c-ln.cb { stroke: var(--cb); }
.h2h svg .c-m { stroke-width: 1.4; } .h2h svg .c-m.ca { stroke: var(--ca); } .h2h svg .c-m.cb { stroke: var(--cb); }
.h2h svg .c-lab { font-family: var(--sans); font-size: 13px; font-weight: 600; } .h2h svg .c-lab.ca { fill: var(--ca); } .h2h svg .c-lab.cb { fill: var(--cb); }
.h2h svg .c-base { stroke: rgba(239,233,219,.2); } .h2h svg .c-zero { stroke: rgba(239,233,219,.25); stroke-dasharray: 3 3; } .h2h svg .c-tk { font-family: var(--mono); font-size: 10.5px; fill: var(--ink-faint); }
.h2h-h2 { margin-top: 26px !important; }
.h2h-rows { display: grid; border-top: 1px solid var(--line); margin-top: 8px; }
.h2h-r { display: grid; grid-template-columns: 1fr minmax(0, 14rem) 1fr; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.h2h-l { text-align: center; font-size: .84rem; color: var(--ink-soft); }
.h2h-va, .h2h-vb { display: grid; align-items: center; gap: 12px; color: var(--ink-soft); } .h2h-va { grid-template-columns: auto 1fr; } .h2h-vb { grid-template-columns: 1fr auto; }
.h2h-va b, .h2h-vb b { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; font-variant-numeric: lining-nums tabular-nums; }
.h2h .trk { position: relative; height: 4px; } .h2h .trk i { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: rgba(239,233,219,.12); transition: width .4s; } .h2h-va .trk i { right: 0; } .h2h-vb .trk i { left: 0; }
.h2h-r.lead-a .h2h-va { color: var(--ca); } .h2h-r.lead-a .h2h-va .trk i { background: var(--ca); } .h2h-r.lead-b .h2h-vb { color: var(--cb); } .h2h-r.lead-b .h2h-vb .trk i { background: var(--cb); }
.h2h-sep { font-family: var(--mono); font-size: .74rem; color: var(--ink-faint); text-align: center; margin: 16px 0 4px; }
@media (max-width: 680px) { .h2h-pick { grid-template-columns: 1fr; } .h2h-swap { justify-self: center; transform: rotate(90deg); } .h2h-top { grid-template-columns: 1fr 1fr; } .h2h-p { grid-column: 1 / -1; grid-row: 2; } .h2h-big { font-size: 2.6rem; } .h2h-r { grid-template-columns: 1fr minmax(0, 8rem) 1fr; } }

.rk-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.rk-vs { font-size: .84rem; color: var(--ink-soft); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; } .rk-vs::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
.rk-vs:hover { color: #F7F1E1; }

/* ---- match replays (/t20/matches, /t20/match/<id>), 30 Oct ---- */
.rp { --t1: #E8A33C; --t1-rgb: 232,163,60; --t2: #5BC48C; --t2-rgb: 91,196,140; }
.rp-t1 { color: var(--t1); } .rp-t2 { color: var(--t2); } .rp-v { color: var(--ink-faint); font-weight: 400; font-size: .6em; vertical-align: middle; }
.rp-name { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.rp-sec { margin: 26px 0 0; }
.rp-lede { font-size: 1.05rem; color: var(--ink-soft); margin: 0 0 14px; } .rp-lede b { font-weight: 700; }
.rp-chart { position: relative; padding: 22px 0 30px; }
.rp-chart svg { display: block; width: 100%; height: clamp(200px, 34vw, 320px); touch-action: pan-y; cursor: crosshair; }
.rp-ax { position: absolute; left: 0; margin: 0; font-size: .74rem; color: var(--ink-faint); } .rp-ax-top { top: 0; } .rp-ax-bot { bottom: 8px; }
.rp-inn2 { fill: rgba(239,233,219,.025); }
.rp-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; } .rp-mid { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.rp-a1 { fill: rgba(var(--t1-rgb), .16); } .rp-a2 { fill: rgba(var(--t2-rgb), .16); }
.rp-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.rp-w { fill: var(--paper); stroke-width: 2; } .rp-w1 { stroke: var(--t2); } .rp-w2 { stroke: var(--t1); }
.rp-cur { stroke: var(--ink-soft); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rp-xl { position: relative; height: 0; } .rp-xl span { position: absolute; top: 4px; font-size: .74rem; color: var(--ink-faint); white-space: nowrap; }
.rp-tip { min-height: 1.4em; margin: 26px 0 0; font-size: .88rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.rp-note, .rp-sub { font-size: .82rem; color: var(--ink-faint); margin: 4px 0 10px; }
.rp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; } @media (max-width: 760px) { .rp-two { grid-template-columns: 1fr; } }
.rp-h { font-size: 1.15rem; margin: 0 0 6px; font-weight: 700; }
.rp-big { margin: 4px 0 6px; } .rp-big span { font-size: 2.6rem; font-weight: 700; letter-spacing: -.02em; } .rp-big small { color: var(--ink-soft); font-size: .9rem; }
.rp-p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.rp-imp, .rp-list { list-style: none; margin: 0; padding: 0; }
.rp-imp li { display: grid; grid-template-columns: minmax(0, 1fr) auto 4.2em; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.rp-imp .rp-sd { color: var(--ink-faint); font-size: .76rem; } .rp-imp b { text-align: right; font-variant-numeric: tabular-nums; }
.rp-imp li.rp-t1 b { color: var(--t1); } .rp-imp li.rp-t2 b { color: var(--t2); } .rp-imp .rp-nm { color: var(--ink); } .rp-imp a { text-decoration: none; } .rp-imp a:hover { text-decoration: underline; }
.rp-list li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.rp-list li a span { color: var(--ink-soft); font-size: .92rem; } .rp-list li a b { color: var(--ink); } .rp-list li a small { grid-row: 2; color: var(--ink-faint); font-size: .76rem; }
.rp-list li a em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-weight: 700; font-size: 1.2rem; color: var(--kit); font-variant-numeric: tabular-nums; }
.rp-list li a:hover span { color: var(--ink); }
.rp-tab th a { text-decoration: none; color: var(--ink); } .rp-tab th a:hover { text-decoration: underline; } .rp-tab th small { color: var(--ink-faint); margin-left: 6px; font-size: .74rem; }
.rp-tab td { white-space: normal; } .rp-tab td:nth-child(2) { font-weight: 400; color: var(--ink-soft); }
.rp-tag { font-size: .74rem; font-weight: 600; color: var(--kit); }
@media (max-width: 640px) { .rp-tab thead th:nth-child(3), .rp-tab td:nth-child(3) { display: none; } }
.rp-grp summary { cursor: pointer; list-style: none; padding: 10px 0; border-bottom: 1px solid var(--line-strong); } .rp-grp summary::-webkit-details-marker { display: none; }
.rp-grp summary::before { content: '+'; display: inline-block; width: 1.1em; color: var(--ink-faint); } .rp-grp[open] summary::before { content: '−'; }
.rp-grp summary small { font-weight: 400; color: var(--ink-faint); font-size: .8rem; margin-left: 6px; }
.tp-rpl { color: var(--kit) !important; text-decoration: none; } .tp-rpl:hover { text-decoration: underline; }

/* ── Scores (30 Oct): the hub (/t20/scores) and the match page (/t20/match/<id>) ─────────────────────────────────
   Same night surfaces and hairlines. Batting first is saffron, the chase jade (as in the replay); the winner is in full ink, the loser faded. */
.sx-ctl { position: sticky; top: 62px; z-index: 20; margin: 6px -16px 0; padding: 10px 16px 12px; background: rgba(10,20,16,.985); border-bottom: 1px solid var(--line); }
.sx-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .sx-chips::-webkit-scrollbar { display: none; }
.sx-chips { gap: 20px; border-bottom: 1px solid var(--line); }
.sx-chip { all: unset; box-sizing: border-box; cursor: pointer; flex: none; padding: 7px 0 9px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: .88rem; color: var(--ink-faint); white-space: nowrap; transition: color .15s, border-color .15s; }
.sx-chip small { color: var(--ink-faint); font-size: .72rem; margin-left: 4px; font-variant-numeric: tabular-nums; opacity: .8; }
.sx-chip:hover { color: var(--ink); } .sx-chip[aria-pressed="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--kit); }
.sx-chip:focus-visible { outline: 2px solid var(--kit); outline-offset: 2px; }
.sx-row2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 10px; }
.sx-q { flex: 0 1 340px; display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 38px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-faint); }
.sx-q svg { width: 16px; height: 16px; flex: none; } .sx-q input { all: unset; flex: 1; min-width: 0; font-size: .9rem; color: var(--ink); } .sx-q input::placeholder { color: var(--ink-faint); }
.sx-q:focus-within { box-shadow: inset 0 0 0 1px var(--kit); }
.sx-rpo { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; color: var(--ink-soft); cursor: pointer; } .sx-rpo input { accent-color: var(--kit); width: 16px; height: 16px; margin: 0; }
.sx-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; margin-top: 8px; }
.sx-rail { position: sticky; top: 130px; align-self: start; padding-top: 18px; } .sx-h2 { margin-top: 26px; } .sx-src { margin-top: 22px; line-height: 1.5; }
.sx-count { margin: 14px 0 0; font-size: .82rem; color: var(--ink-faint); min-height: 0; } .sx-count:empty { display: none; }
.sx-day { margin-top: 18px; }
.sx-d { font-family: var(--mono) !important; font-size: .74rem !important; font-weight: 500 !important; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint) !important; margin: 0 0 8px; }
.sx-grid { border-top: 1px solid var(--line-strong); }
.tp a.sx-m { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 20rem) minmax(0, 1fr); align-items: center; gap: 4px 24px; padding: 12px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background-color .15s; }
.tp a.sx-m:hover { background: rgba(239,233,219,.035); }
.sx-top { display: grid; gap: 4px; justify-items: start; min-width: 0; font-size: .76rem; color: var(--ink-faint); }
.sx-lg { font-family: var(--mono); font-size: .68rem; letter-spacing: .03em; color: var(--ink-soft); padding: 1px 6px; border-radius: 4px; background: rgba(239,233,219,.06); }
.sx-lab { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-tt { display: grid; gap: 3px; min-width: 0; }
.sx-t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .95rem; }
.sx-t > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-t b { flex: none; font-variant-numeric: tabular-nums; font-weight: 600; }
.sx-t.is-w { font-weight: 650; } .sx-t.is-w b { font-weight: 700; } .sx-t.is-l { color: var(--ink-soft); } .sx-t.is-l b { font-weight: 500; }
.sx-res { font-size: .84rem; color: var(--ink-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.sx-rp { font-size: .74rem; font-weight: 600; color: var(--kit); } .sx-rp::before { content: '▸ '; }
@media (max-width: 1100px) { .tp a.sx-m { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); } .sx-top { grid-column: 1 / -1; display: flex; gap: 8px; } }
@media (max-width: 640px) { .tp a.sx-m { grid-template-columns: minmax(0, 1fr); padding: 12px 2px; gap: 6px; } .sx-res { font-size: .8rem; } }
.sx-more { margin: 22px 0 0; } .sx-more[hidden] { display: none; }
.sx-none { color: var(--ink-faint); margin: 24px 0; }
@media (max-width: 960px) { .sx-body { grid-template-columns: minmax(0, 1fr); } .sx-rail { position: static; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 22px; } }
@media (max-width: 560px) { .sx-q { flex: 1 1 100%; } }
@media (max-width: 768px) { .sx-ctl { top: 0; } }

/* the match page */
.sm-kick { margin: 2px 0 0; font-family: var(--mono); font-size: .74rem; letter-spacing: .03em; color: var(--ink-faint); }
.sm-board { margin: 6px 0 0; padding: 18px 20px 16px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.sm-teams { display: grid; gap: 8px; max-width: 620px; }
.sm-team { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n s" "n o"; align-items: baseline; column-gap: 16px; padding-left: 12px; border-left: 3px solid var(--sm-c); }
.sm-team.sm-t1 { --sm-c: var(--t1); } .sm-team.sm-t2 { --sm-c: var(--t2); }
.sm-tn { grid-area: n; align-self: center; font-size: 1.05rem; font-weight: 600; }
.sm-sc { grid-area: s; text-align: right; font-family: var(--serif); font-size: 2rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.sm-sc small { font-family: var(--sans); font-size: .82rem; font-weight: 400; color: var(--ink-faint); }
.sm-ov { grid-area: o; text-align: right; font-size: .76rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.sm-team.is-l .sm-tn, .sm-team.is-l .sm-sc { color: var(--ink-soft); } .sm-team.is-l .sm-sc { font-weight: 500; } .sm-team.is-l { border-left-color: rgba(var(--sm-rgb, 239,233,219), .35); opacity: .82; }
.sm-res { margin: 14px 0 0; font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.sm-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 22px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.sm-facts dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 2px; }
.sm-facts dd { margin: 0; font-size: .88rem; color: var(--ink-soft); } .sm-facts a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); } .sm-facts a:hover { border-bottom-color: var(--ink); }
.sm-jump { display: flex; gap: 8px; margin: 14px 0 0; } .sm-jump:empty { display: none; }
@media (min-width: 900px) { .sm-board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 0 32px; padding: 22px 24px; }
  .sm-facts { grid-template-columns: 1fr 1fr; align-content: center; margin: 0; padding: 0 0 0 28px; border-top: 0; border-left: 1px solid var(--line); } }
.sm-jump { gap: 20px; } .sm-jump a { font-size: .86rem; text-decoration: none; color: var(--ink-soft); } .sm-jump a::after { content: ' ↓'; color: var(--ink-faint); } .sm-jump a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sm-sec { margin-top: 34px; scroll-margin-top: 70px; }
.sm-h { font-size: 1.35rem; font-weight: 650; margin: 0 0 10px; }
.sm-two { margin-top: 18px; }
.sm-tabs { margin-bottom: 4px; } .sm-tabs .tab small { color: var(--ink-faint); font-weight: 400; margin-left: 4px; font-variant-numeric: tabular-nums; }
.sm-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--t1); } .sm-dot.sm-t2 { background: var(--t2); }
.sm-inn[hidden] { display: none; } .sm-inn { max-width: 880px; }
.sm-bat, .sm-bowl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-top: 10px; }
.sm-bat th, .sm-bat td, .sm-bowl th, .sm-bowl td { padding: 9px 6px; border-bottom: 1px solid var(--line); text-align: right; font-size: .9rem; color: var(--ink-soft); vertical-align: top; }
.sm-bat thead th, .sm-bowl thead th { font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); padding-bottom: 7px; border-bottom-color: var(--line-strong); }
.sm-bat th[scope], .sm-bowl th[scope] { text-align: left; padding-left: 0; }
.sm-bat thead th:first-child, .sm-bowl thead th:first-child { text-align: left; padding-left: 0; }
.sm-bat td.sm-r, .sm-bowl td.sm-r { color: var(--ink); font-weight: 600; }
.sm-pn { display: block; color: var(--ink); font-weight: 500; font-size: .95rem; } .sm-pn a { text-decoration: none; } .sm-pn a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sm-how { display: block; font-size: .78rem; font-weight: 400; color: var(--ink-faint); margin-top: 1px; } .sm-how.is-no { color: var(--kit); }
.sm-bat tr.is-top td.sm-r, .sm-bowl tr.is-top td.sm-r { color: var(--kit); }
.sm-bat tfoot th, .sm-bat tfoot td { color: var(--ink-soft); } .sm-bat .sm-ext .sm-how, .sm-bat .sm-tot .sm-how { display: inline; margin-left: 8px; }
.sm-bat .sm-tot th, .sm-bat .sm-tot td { color: var(--ink); font-weight: 650; border-bottom-color: var(--line-strong); } .sm-bat .sm-tot td.sm-r { font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; }
.sm-line { margin: 12px 0 0; font-size: .86rem; line-height: 1.6; color: var(--ink-soft); } .sm-line b { color: var(--ink-faint); font-weight: 500; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; margin-right: 8px; }
.sm-line a { text-decoration: none; color: var(--ink-soft); } .sm-line a:hover { color: var(--ink); text-decoration: underline; }
.sm-fow small { color: var(--ink-faint); } .sm-fow span { white-space: nowrap; }
.sm-bowl { margin-top: 22px; }
.sm-so { padding: 12px 0; border-bottom: 1px solid var(--line); } .sm-so-h { margin: 6px 0 0; font-weight: 600; } .sm-so-h b { margin-left: 8px; font-family: var(--serif); }
.sm-pn2 { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
.sm-pn2 a { text-decoration: none; } .sm-pv, .sm-nx { display: grid; gap: 1px; min-width: 0; } .sm-nx { text-align: right; }
.sm-pv small, .sm-nx small { font-size: .72rem; color: var(--ink-faint); } .sm-pv span, .sm-nx span { color: var(--ink); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sm-pv em, .sm-nx em { font-style: normal; font-size: .76rem; color: var(--ink-faint); }
.sm-pv:hover span, .sm-nx:hover span { text-decoration: underline; text-underline-offset: 3px; }
.sm-all { font-size: .86rem; color: var(--ink-soft); white-space: nowrap; } .sm-all::after { content: ' →'; } .sm-all:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .sm-board { padding: 14px 14px 14px; margin-left: -4px; margin-right: -4px; }
  .sm-sc { font-size: 1.6rem; } .sm-tn { font-size: .98rem; }
  .sm-bat th, .sm-bat td, .sm-bowl th, .sm-bowl td { padding: 8px 4px; font-size: .85rem; }
  .sm-m, .sm-x { display: none; }
  .sm-pn2 { grid-template-columns: 1fr 1fr; } .sm-all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}
@media (max-width: 380px) { .sm-d { display: none; } .sm-bat th:nth-child(5), .sm-bat td:nth-child(5) { display: none; } }

/* ===== 30 Oct: quieter headings (see style.css): kickers and labels in the reading face, headlines lighter ===== */
html[data-mode="t20"] .tp-name, html[data-mode="t20"] .wx-title, html[data-mode="t20"] .px-name { font-weight: 560; letter-spacing: -.01em; }
html[data-mode="t20"] .rk-say, html[data-mode="t20"] .tp-h, html[data-mode="t20"] .px-door-h, html[data-mode="t20"] .th-nm, html[data-mode="t20"] h2, html[data-mode="t20"] h3 { font-weight: 560; letter-spacing: -.005em; }
html[data-mode="t20"] .px-kick, html[data-mode="t20"] .tp-kick, html[data-mode="t20"] .px-card-k, html[data-mode="t20"] .px-h, html[data-mode="t20"] .tp-crumb,
html[data-mode="t20"] .rk-count, html[data-mode="t20"] .px-stats dt, html[data-mode="t20"] .tp-stats dt, html[data-mode="t20"] .tc-full,
html[data-mode="t20"] .sm-kick, html[data-mode="t20"] .sx-d, html[data-mode="t20"] .sm-facts dt, html[data-mode="t20"] .sm-bat thead th, html[data-mode="t20"] .sm-bowl thead th,
html[data-mode="t20"] .sm-line b { font-family: var(--sans) !important; letter-spacing: 0 !important; text-transform: none !important; }
html[data-mode="t20"] .px-kick, html[data-mode="t20"] .tp-kick, html[data-mode="t20"] .px-h, html[data-mode="t20"] .tp-crumb, html[data-mode="t20"] .sm-kick { font-size: .84rem; }
html[data-mode="t20"] .sx-d { font-size: .8rem !important; font-weight: 600 !important; color: var(--ink-soft) !important; }
html[data-mode="t20"] .sm-facts dt, html[data-mode="t20"] .sm-line b { font-size: .76rem; font-weight: 600; }
html[data-mode="t20"] .sm-bat thead th, html[data-mode="t20"] .sm-bowl thead th { font-size: .74rem; font-weight: 600; }
html[data-mode="t20"] .sm-sc, html[data-mode="t20"] .rp-big span { font-weight: 560; }

/* 30 Oct: who is shown, as plain tabs; and form beside a name */
.rk-st { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin: 14px 0 0; border-bottom: 1px solid var(--line); }
.rk-st button { all: unset; cursor: pointer; padding: 6px 0 8px; margin-bottom: -1px; border-bottom: 2px solid transparent; font-size: .9rem; color: var(--ink-faint); }
.rk-st button:hover { color: var(--ink); } .rk-st button[aria-pressed="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--kit); }
.rk-st button:focus-visible { outline: 2px solid var(--kit); outline-offset: 2px; }
.rk-key { margin-left: auto; font-size: .78rem; color: var(--ink-faint); padding-bottom: 8px; }
html[data-mode="t20"] .dx-fm.up, html[data-mode="t20"] .rk-key b.up { color: #5BC48C; } html[data-mode="t20"] .dx-fm.dn, html[data-mode="t20"] .rk-key b.dn { color: #D9785A; }
html[data-mode="t20"] .dx-fm { font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) { .rk-key { margin-left: 0; width: 100%; } }
/* 30 Oct: the steerable sentence, quieter: smaller, and its words underlined rather than boxed */
html[data-mode="t20"] .rk-say { font-size: clamp(1.5rem, 3vw, 2.2rem) !important; font-weight: 560 !important; letter-spacing: -.01em !important; max-width: 40ch; }
.rk-w, .rk-w[data-w="comp"], .rk-w[data-w="now"], .rk-w[data-w="age"] { background-color: transparent !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; margin: 0 !important;
  text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 2px; text-underline-offset: .16em; text-decoration-color: rgba(239,233,219,.4); }
.rk-w[data-w="role"] { text-decoration-color: rgba(var(--c-rgb), .7); }
.rk-w:hover, .rk-w[aria-expanded="true"], .rk-w[data-w]:hover { background-color: transparent !important; box-shadow: none !important; text-decoration-style: solid; text-decoration-color: currentColor; }

/* 30 Oct: the globe arrives in one piece: nothing that is still being built is shown; the finished scene fades and settles in, over a
   quiet placeholder of the globe's shape so the space is never empty */
.wx .wx-canvas, .wx .wx-labels, .wx .wx-panel, .wx .wx-crumbs, .wx .wx-rolebar { opacity: 0; transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.wx .wx-canvas { transform: scale(.97); }
.wx.is-ready .wx-canvas, .wx.is-ready .wx-labels, .wx.is-ready .wx-panel, .wx.is-ready .wx-crumbs, .wx.is-ready .wx-rolebar { opacity: 1; transform: none; }
.wx .wx-labels, .wx .wx-panel { transition-delay: .15s; }
.wx-stage::before { content: ""; position: absolute; left: 64.5%; top: 48%; width: min(46vh, 30vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(239,233,219,.06), rgba(239,233,219,.015) 60%, transparent 71%); box-shadow: inset 0 0 0 1px rgba(239,233,219,.05); transition: opacity .8s; pointer-events: none; }
.wx.is-ready .wx-stage::before, .wx.no-gl .wx-stage::before { opacity: 0; }
@media (max-width: 899px) { .wx-stage::before { left: 50%; top: 50%; width: 70vw; } }
.wx.is-failed .wx-canvas, .wx.is-failed .wx-labels, .wx.is-failed .wx-panel, .wx.no-gl .wx-panel, .wx.no-gl .wx-labels, .wx.no-gl .wx-crumbs, .wx.no-gl .wx-rolebar { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .wx .wx-canvas, .wx .wx-labels, .wx .wx-panel { transition: opacity .2s; transform: none; } }

/* 30 Oct, phones: the field chart's player card sits under the chart, not over it; bigger zoom buttons; the help matches the device */
.rf-n-t { display: none; } @media (hover: none) { .rf-n-m { display: none; } .rf-n-t { display: inline; } }
.rf-dock { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t v" "s s" "go go"; gap: 4px 14px; margin: 10px 0 0; padding: 13px 44px 14px 15px;
  border-radius: 10px; background: #0F1C16; border: 1px solid rgba(var(--c-rgb), .4); }
.rf-dock[hidden] { display: none; }
.rf-dk-t { grid-area: t; display: grid; gap: 2px; min-width: 0; } .rf-dk-t b { color: #F7F1E1; font-size: 1.02rem; } .rf-dk-t span { font-size: .8rem; color: var(--ink-faint); }
.rf-dk-v { grid-area: v; text-align: right; display: grid; } .rf-dk-v em { font-style: normal; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1; color: var(--c); } .rf-dk-v span { font-size: .76rem; color: var(--ink-faint); }
.rf-dk-s { grid-area: s; margin: 2px 0 0; font-size: .8rem; color: var(--ink-soft); }
.rf-dk-go { grid-area: go; justify-self: stretch; text-align: center; margin-top: 8px; padding: 11px 14px; border-radius: 8px; background: var(--c); color: #0A1410 !important; font-weight: 650; font-size: .92rem; text-decoration: none !important; }
.rf-dk-x { all: unset; position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; display: grid; place-items: center; font-size: 1.3rem; color: var(--ink-faint); cursor: pointer; }
@media (hover: none) { .rf-ctl button { min-width: 44px; height: 44px; border-radius: 10px; } .rf-ctl svg { width: 18px; height: 18px; } }
/* 30 Oct, phones: the competition's 3D chart gets more of the screen */
@media (max-width: 899px) { .wx:not([data-mode="world"]) .wx-stage { height: min(100vw, 480px); } }
/* 30 Oct: the competitions map has a phone drawing of its own (CompMap.astro), so no sideways scroll */
.cm-phone { display: none; }
@media (max-width: 700px) { .cm-desk { display: none; } .cm-phone { display: block; } .cm.cm-phone { overflow: visible; } .cm.cm-phone svg { min-width: 0 !important; } .cm-phone .cm-b text { font-size: 12px; } .cm-phone .cm-grid .cm-q { display: none; } }
/* 30 Oct, phones: one finger is always the page's (two move the chart), so the chart is a little shorter to leave page to scroll by */
@media (hover: none) { .rf.is-zoomed .rf-plot canvas { touch-action: pan-y; } }
@media (max-width: 760px) { .rf-plot { height: 58vh; min-height: 340px; } }
.rf-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; padding: 9px 14px; border-radius: 8px; background: rgba(10,20,16,.92); border: 1px solid rgba(239,233,219,.14);
  color: #F7F1E1; font-size: .86rem; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 5; white-space: nowrap; } .rf-hint.on { opacity: 1; }

/* ── 1 Nov: one match, one section: the chart, the turning point, who moved it and the scorecard read together ── */
.mt .rp-chart { margin-bottom: 0; }
.mt-hl { position: absolute; left: 0; right: 0; top: 22px; height: clamp(200px, 34vw, 320px); pointer-events: none; }
.mt-tp { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; box-shadow: 0 0 0 2px var(--kit), 0 0 0 6px rgba(239,233,219,.08); transition: opacity .2s; }
.mt-b { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--ink-soft); box-shadow: 0 0 0 2px var(--paper); animation: mt-in .18s ease-out both; }
.mt-b.is-up { background: #7fc49a; } .mt-b.is-dn { background: #e0796b; } .mt-b.is-w { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px currentColor; }
@keyframes mt-in { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.rp-chart.is-hl .mt-tp { opacity: 0; }
.rp-chart .mt-dim { fill: var(--paper); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.rp-chart[data-inn="0"] .mt-dim2, .rp-chart[data-inn="1"] .mt-dim1 { opacity: .55; }

.mt-turn, .mt-most { margin: 10px 0 0; font-size: .92rem; line-height: 1.6; color: var(--ink-soft); max-width: 880px; }
.mt-turn b { font-weight: 700; }
.mt-k { font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); margin-right: 8px; }
.mt-mv { text-decoration: none; color: var(--ink); white-space: nowrap; } .mt-mv b { font-weight: 700; font-variant-numeric: tabular-nums; } .mt-mv.rp-t1 b { color: var(--t1); } .mt-mv.rp-t2 b { color: var(--t2); }
.mt-mv:hover { text-decoration: underline; text-underline-offset: 3px; } .mt-sep { color: var(--ink-faint); margin: 0 8px; }
.mt-tabs { margin-top: 22px; }
.sm-bat td.mt-win, .sm-bowl td.mt-win { font-weight: 650; } .mt-win.rp-t1 { color: var(--t1); } .mt-win.rp-t2 { color: var(--t2); } .mt-win.is-na { color: var(--ink-faint); font-weight: 400; }
.sm-bat thead th.mt-wh, .sm-bowl thead th.mt-wh { color: var(--ink-soft); }
.mt .sm-inn tr[data-pid] { cursor: pointer; transition: background-color .15s; }
.mt .sm-inn tr[data-pid]:hover, .mt .sm-inn tr.is-pin { background: rgba(239,233,219,.04); }
.mt .sm-inn tr.is-pin th .sm-pn { color: var(--kit); }
.mt-key { margin: 16px 0 0; font-size: .8rem; color: var(--ink-faint); max-width: 880px; } .mt-key b { color: var(--ink-soft); font-weight: 600; }
@media (max-width: 480px) { .sm-bat .sm-4 { display: none; } }
.mt .rp-ax-bot { bottom: auto; top: calc(22px + clamp(200px, 34vw, 320px) - 20px); left: 6px; }
.mt .rp-chart { scroll-margin-top: 84px; }
.mt-sep { margin: 0 4px; }
/* 1 Nov: no late jumps: the results count and the head-to-head hold their space while they fill in */
.sx-count, .sx-count:empty { display: block; min-height: 1.4em; }
.h2h-out { min-height: 70vh; }

/* ── 1 Nov: ball by ball, as a map: a row per over, a square per ball, and a panel that explains the one you pick ── */
.bb { margin-top: 44px; }
.bb-lede { color: var(--ink-soft); font-size: .95rem; max-width: 760px; margin: 0 0 18px; }
.bb-k { margin: 0 0 8px; font-family: var(--mono); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); }
.bb-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.bb-grids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.bq-inn { min-width: 0; }
.bq-h { margin: 0 0 8px; font-size: .95rem; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; } .bq-h b { font-family: var(--serif); font-size: 1.1rem; } .bq-h span { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; } .bq-h small { color: var(--ink-faint); }
.bq-r { display: grid; grid-template-columns: 20px minmax(0, 1fr) 24px 30px; gap: 8px; align-items: center; height: 31px; }
.bq-on { font-size: .68rem; color: var(--ink-faint); text-align: right; font-variant-numeric: tabular-nums; }
.bq-cs { display: flex; gap: 3px; min-width: 0; }
.bq { appearance: none; flex: 0 0 auto; width: 27px; height: 27px; border: 0; border-radius: 5px; padding: 0; display: grid; place-items: center; cursor: pointer; font: inherit; font-size: .7rem; font-weight: 700; color: rgba(239,233,219,.92); font-variant-numeric: tabular-nums;
  background: var(--f); box-shadow: inset 0 0 0 1px rgba(239,233,219,.06); transition: transform .12s ease, box-shadow .12s ease, opacity .25s ease; }
.bq:hover { transform: translateY(-1px) scale(1.08); box-shadow: inset 0 0 0 1px rgba(239,233,219,.4); }
.bq.is-x { width: 20px; font-size: .56rem; font-weight: 600; opacity: .9; }
.bq.is-b { font-size: .78rem; }
.bq.is-w { color: #fff; box-shadow: inset 0 0 0 1.5px #f2a79c; }
.bq.is-cur { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--kit); transform: scale(1.06); z-index: 1; }
.bq.is-flash { animation: bq-pop .5s ease-out; } @keyframes bq-pop { 0% { transform: scale(1.35); } 100% { transform: scale(1.06); } }
.bb-grids.is-following .bq.is-dim { opacity: .14; }
.bq-ru { font-size: .78rem; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.bq-sw { font-size: .7rem; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; } .bq-sw.rp-t1 { color: var(--t1); } .bq-sw.rp-t2 { color: var(--t2); }
.bq-ph { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; margin: 4px 0 8px 28px; padding: 5px 0 0; border-top: 1px dashed var(--line-strong); font-size: .74rem; color: var(--ink-faint); }
.bq-ph b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; } .bq-ph em { font-style: normal; font-weight: 600; } .bq-ph em.rp-t1 { color: var(--t1); } .bq-ph em.rp-t2 { color: var(--t2); }
.bq-key { grid-column: 1 / -1; margin: 6px 0 0; font-size: .74rem; color: var(--ink-faint); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.bq-sw1, .bq-sw2 { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: -6px; vertical-align: -2px; background: rgba(110,196,140,.75); } .bq-sw2 { background: rgba(226,112,96,.75); }
/* the panel */
.bb-now { position: sticky; top: 80px; padding: 14px 16px 14px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: .86rem; color: var(--ink-soft); }
.bb-pc { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; }
.bb-ic { appearance: none; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: background-color .15s; }
.bb-ic:hover { background: rgba(239,233,219,.07); } .bb-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bb-play { width: 42px; height: 42px; background: var(--kit); border-color: var(--kit); color: #10140f; } .bb-play:hover { background: #f0b45a; }
.bb-play svg { width: 18px; height: 18px; fill: currentColor; stroke: none; } .bb-play .i-pa, .is-playing .bb-play .i-pl { display: none; } .is-playing .bb-play .i-pa { display: block; }
.bb-pl { margin-left: auto; font-family: var(--mono); font-size: .74rem; color: var(--ink-faint); }
.bp-ball { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bp-x { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-weight: 750; font-size: 1.15rem; color: var(--ink); background: rgba(239,233,219,.07); }
.bp-x.is-b { background: rgba(110,196,140,.28); color: #c6f0d5; } .bp-x.is-w { background: rgba(226,112,96,.3); color: #ffd0c8; }
.bp-t b { display: block; color: var(--ink); font-size: 1rem; font-weight: 650; } .bp-t small { font-size: .78rem; color: var(--ink-faint); }
.bp-k { margin: 12px 0 6px; font-family: var(--mono); font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); } .bp-k small { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: .74rem; margin-left: 4px; }
.bp-big { margin: 0 0 8px; display: flex; align-items: baseline; gap: 8px; } .bp-big b { font-family: var(--serif); font-size: 2rem; line-height: 1; font-weight: 650; } .bp-big b.rp-t1 { color: var(--t1); } .bp-big b.rp-t2 { color: var(--t2); } .bp-big span { font-size: .8rem; color: var(--ink-soft); }
.bp-wb { height: 8px; border-radius: 4px; overflow: hidden; background: var(--t2); } .bp-wb1 { display: block; height: 100%; background: var(--t1); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.bp-wl { display: flex; justify-content: space-between; margin: 5px 0 0; font-size: .76rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.bp-rl { position: relative; height: 44px; margin: 4px 8px 0; }
.bp-rt { position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, rgba(226,112,96,.55), rgba(239,233,219,.12) 45%, rgba(110,196,140,.55)); }
.bp-m { position: absolute; top: 0; transform: translateX(-50%); display: grid; justify-items: center; font-style: normal; }
.bp-m::before { content: ''; width: 2px; height: 14px; background: rgba(239,233,219,.4); margin-top: 5px; }
.bp-m b { font-size: .66rem; color: var(--ink-soft); margin-top: 2px; } .bp-m small { font-size: .62rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.bp-mW::before { background: #e2705f; } .bp-mW b { color: #f2a79c; } .bp-m6::before { background: #6ec48c; } .bp-m6 b { color: #9fd8b4; }
.bp-now { position: absolute; top: 5px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 2px solid var(--paper); background: var(--ink); z-index: 2; transition: left .3s cubic-bezier(.2,.8,.2,1); } .bp-now.is-up { background: #9fd8b4; } .bp-now.is-dn { background: #f2a79c; }
.bp-bef { position: absolute; top: 3px; width: 0; height: 18px; border-left: 1.5px dashed var(--ink-faint); z-index: 1; }
.bp-rs { margin: 4px 0 0; font-size: .76rem; color: var(--ink-faint); } .bp-rs b { color: var(--ink-soft); }
.bp-st { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.bp-sc { margin: 0 0 10px; font-variant-numeric: tabular-nums; } .bp-sc b { font-size: 1.05rem; } .bp-sc b.rp-t1 { color: var(--t1); } .bp-sc b.rp-t2 { color: var(--t2); } .bp-sc small { color: var(--ink-faint); } .bp-sc span { display: block; font-size: .8rem; } .bp-sc span b { font-size: .86rem; color: var(--ink); }
.bb-pd { margin: 0; display: grid; gap: 9px; } .bb-pd dt { font-family: var(--mono); font-size: .6rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-faint); }
.bb-pd dd { margin: 1px 0 0; font-variant-numeric: tabular-nums; line-height: 1.5; } .bb-pd dd b { color: var(--ink); } .bb-pd small { color: var(--ink-faint); }
.bb-n { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(239,233,219,.25); text-underline-offset: 3px; transition: text-decoration-color .15s; } .bb-n:hover { text-decoration-color: var(--ink); }
.bb-fol { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: .8rem; line-height: 1.5; } .bb-fol b { color: var(--ink); } .bb-fol b.rp-t1 { color: var(--t1); } .bb-fol b.rp-t2 { color: var(--t2); }
.bb-unf { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; } .bb-unf:hover { color: var(--ink); }
.bb-keys { margin: 12px 0 0; font-size: .7rem; color: var(--ink-faint); } @media (hover: none) { .bb-keys { display: none; } }
/* the balls that decided it */
.bb-dec { margin-top: 28px; max-width: 720px; }
.bb-decl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.bb-dj { appearance: none; width: 100%; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: center; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 8px 4px; color: var(--ink-soft); font: inherit; cursor: pointer; transition: background-color .15s; }
.bb-dj:hover { background: rgba(239,233,219,.035); } .bb-dn { font-family: var(--serif); color: var(--ink-faint); text-align: center; }
.bb-dt { font-size: .82rem; min-width: 0; } .bb-dt b { color: var(--ink); font-weight: 600; margin-right: 4px; } .bb-dt small { display: block; font-size: .7rem; color: var(--ink-faint); }
.bb-dv { font-weight: 700; font-size: 1.05rem; text-align: right; font-variant-numeric: tabular-nums; } .bb-dv small { display: block; font-size: .62rem; font-weight: 400; color: var(--ink-faint); } .bb-dv.rp-t1 { color: var(--t1); } .bb-dv.rp-t2 { color: var(--t2); }
@media (max-width: 1180px) { .bb-grids { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .bb-wrap { grid-template-columns: minmax(0, 1fr); }
  .bb-decl { grid-template-columns: minmax(0, 1fr); }
  .bq { width: 30px; height: 30px; font-size: .74rem; } .bq-r { height: 34px; grid-template-columns: 18px minmax(0, 1fr) 22px 28px; gap: 6px; }
  /* on a phone the panel is a sheet along the bottom while the map is on screen; tap its top to open it fully */
  .bb-now { position: fixed; left: 6px; right: 6px; bottom: 6px; top: auto; z-index: 40; max-height: 74vh; overflow: auto; padding: 10px 12px; box-shadow: inset 0 0 0 1px var(--line-strong), 0 -10px 40px -10px rgba(0,0,0,.7); transform: translateY(130%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
  .bb.is-in .bb-now { transform: none; }
  .bb-now:not(.is-open) .bp-rng, .bb-now:not(.is-open) .bp-st, .bb-now:not(.is-open) .bb-fol { display: none; }
  .bb-now:not(.is-open) .bp-big { margin-bottom: 6px; } .bb-now:not(.is-open) .bp-k { display: none; }
  .bb-now .bp-big b { font-size: 1.5rem; } .bp-ball { padding-bottom: 8px; } .bb-pc { margin-bottom: 8px; } .bb-ic { width: 30px; height: 30px; } .bb-play { width: 36px; height: 36px; }
  .bb-more { appearance: none; border: 0; background: none; color: var(--ink-soft); font: inherit; font-size: .76rem; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0 0; cursor: pointer; }
  .bb-grids { padding-bottom: 170px; }
}
@media (min-width: 901px) { .bb-more { display: none; } }
.bq-sw1 { background: rgba(var(--t1-rgb), .8); } .bq-sw2 { background: rgba(var(--t2-rgb), .8); }
.bq { color: rgba(239,233,219,.95); text-shadow: 0 1px 1px rgba(0,0,0,.35); }
.bq.is-w { box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); }
.bq-key .bq-k3 { flex-basis: 100%; }
