/* GameDay Oracle UI rules shared by every page (loaded after page styles). */
/* ===== Touch targets (phones): at least ~40px tall for anything tappable ===== */
@media (max-width:760px){
  .breadcrumbs a{display:inline-flex;align-items:center;min-height:40px;padding:0 4px}
  .link-pill,.channel-pill{min-height:40px!important;display:inline-flex!important;align-items:center}
  .pg-sub a{min-height:40px}
  .gx-sub a,.gx-inj li a{display:inline-flex;align-items:center;min-height:36px}
  .site-score-meta a{display:inline-flex;align-items:center;min-height:36px}
  /* Whole player card is the link, not just the name */
  .compact-player-card,.squad-player{position:relative}
  .gdo-player-link::after,.squad-player .n a::after{content:"";position:absolute;inset:0}
  .wc-groups-grid .match a,.match a{display:inline-flex;align-items:center;min-height:36px}
}

/* ===== Hold space while data loads (prevents layout jumps) ===== */
.pg-main{min-height:100vh}
@media (min-width:761px) and (max-width:1099px){ #hero-stats-row:empty{min-height:150px} }
@media (min-width:1100px){ #hero-stats-row:empty{min-height:86px} }
/* Desktop headers hold their final height from first paint, so content below doesn't jump */
@media (min-width:761px){
  body.gdo-match .hero{min-height:614px}
  /* Once the header has drawn, let it be its real height (a pre-game header is shorter, which left a blank band above the tabs) */
  body.gdo-match .hero:has(.hero-team){min-height:0}
}

/* ===== Never squish or cut off information ===== */
/* Match "What to know" values: wrap onto lines instead of "…" */
.snapshot-grid .snapshot-card .v{white-space:pre-line!important;overflow:visible!important;text-overflow:clip!important;height:auto!important}
.snapshot-grid{align-items:start!important}
/* Team names in score rows and tables wrap rather than truncate */
.lc-name,.trr-opp span,.vn-side span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.25}
#roster-wrap strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.25}
/* Officials: one per row on phones so names have room */
@media (max-width:760px){
  .officials-grid,.officials-grid.single{grid-template-columns:minmax(0,1fr)!important}
  .official-item{min-width:0}
  .official-item > div{min-width:0;flex:1}
}

@media (max-width:760px){
}
/* Match pages on phones: comfortable tap targets for box score names and play-by-play tabs */
@media (max-width:760px){
  .bx-table .bx-player a{display:inline-flex;align-items:center;min-height:36px}
  .event-filter-btn,#match-events-section button,#match-events-section .link-pill{min-height:40px!important;display:inline-flex;align-items:center}
  .gx-inj li a{display:inline-flex;align-items:center;min-height:36px}
}

@media (max-width:760px){ .note a,.intro a{display:inline-block;padding:9px 0} }

/* League header: the intro line keeps its space from first paint (no fixed header height, no empty box) */
body.gdo-league #league-intro{min-height:3.1em}
body.gdo-league #hero-meta{min-height:34px}
/* League pages: the competition switcher row keeps its space from first paint */

/* League pages: main area is laid out but invisible until its first full draw */
body.gdo-league:not(.gdo-ready) #main-grid-wrap{visibility:hidden}

/* ===== Wordmark: Big Shoulders Display, capitals, gold "ORACLE" (same on every page) ===== */
header .logo-text, .logo .logo-text{
  font-family:'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif!important;
  font-weight:800!important; text-transform:uppercase; letter-spacing:.035em!important;
  font-size:27px!important; line-height:1!important; font-style:normal!important; white-space:nowrap; color:#f8fafc;
}
header .logo-text span, .logo .logo-text span{ color:var(--accent-gold,#f0b429)!important; font:inherit!important; letter-spacing:inherit!important; }
@media (max-width:760px){ header .logo-text, .logo .logo-text{ font-size:22px!important } }
@media (max-width:360px){ header .logo-text, .logo .logo-text{ font-size:19px!important } }

/* Header icon uses the exact favicon artwork, so tab and page match */
header .logo-icon{background:url("/assets/favicon.svg?v=2") center/100% 100% no-repeat!important;color:transparent!important;font-size:0!important;box-shadow:none!important;border:0!important}

/* ===== Metric-matched fallback fonts: text keeps its size while web fonts load (no re-wrapping) ===== */
@font-face{font-family:'Jakarta Fallback';src:local('Arial'),local('Helvetica'),local('Liberation Sans');size-adjust:102.4%;ascent-override:94%;descent-override:24%;line-gap-override:0%}
@font-face{font-family:'Serif Display Fallback';src:local('Georgia'),local('Times New Roman');size-adjust:106.8%;ascent-override:92%;descent-override:28%;line-gap-override:0%}
:root{
  --font-body:'Plus Jakarta Sans','Jakarta Fallback',system-ui,sans-serif;
  --font-display:'DM Serif Display','Serif Display Fallback',Georgia,serif;
}

@media (max-width:760px){ #hero-stats-row:empty{min-height:132px} }
/* Every page's header uses the same 1200px site width as its content */
header nav{max-width:1200px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
/* Competition badge keeps one size whether it shows text or the league logo (no shift on swap) */
body.gdo-team .gdo-competition-badge, body.gdo-match .gdo-competition-badge{height:64px!important;min-height:64px;box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;overflow:hidden}

/* Team header: reserve space for the match cards only while they are loading (no permanent empty gap) */
html:not(.gdo-feed-painted) body.gdo-team #hero-last-match{min-height:212px}
html:not(.gdo-feed-painted) body.gdo-team #hero-next-match:empty{min-height:0}

/* Team page: section tabs sit above the header so the page's depth is visible at once; stats in one row on wide screens */
body.gdo-team .center-nav-wrap{margin:14px 0 14px}
@media (min-width:1100px){ body.gdo-team #hero-stats-row .hero-intel-strip, body.gdo-team #hero-stats-row .hero-stats-strip{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:8px!important} body.gdo-team #hero-stats-row .hss-item{padding:12px 10px!important;min-width:0} }

/* Team header card uses the full content width */
body.gdo-team section.hero > #overview{max-width:none!important;width:100%}
/* Tab row holds its height before its tabs are drawn */
body.gdo-team .center-nav-wrap{min-height:67px;box-sizing:border-box}

/* New team sections: space held while the first ones load */
html:not(.gdo-feed-painted) body.gdo-team #tx-wrap{min-height:700px}
body.gdo-team #tx-wrap .tc-root:not(:has(.tc-card)){min-height:640px}

/* Phone header, applied from first paint so the page doesn't jump when gdo-shell.js runs.
   (gdo-shell.js still injects the same rules; the homepage has its own header, hence :has(.tabbar).) */
@media (max-width:760px){
  html:not(:has(.tabbar)) body{padding-bottom:calc(66px + env(safe-area-inset-bottom,0px)) !important}
  html:not(:has(.tabbar)) header nav{flex-wrap:nowrap !important;gap:8px !important;padding-left:14px !important;padding-right:14px !important}
  html:not(:has(.tabbar)) header nav .logo-text{white-space:nowrap}
  html:not(:has(.tabbar)) header nav > div:not(.logo):not(.logo-text){flex-wrap:nowrap !important;gap:6px !important;margin-left:auto;overflow-x:auto;scrollbar-width:none}
  html:not(:has(.tabbar)) header nav .nav-link, html:not(:has(.tabbar)) header nav > div > a{padding:8px 11px !important;font-size:12px !important;white-space:nowrap}
}
@media (max-width:420px){ html:not(:has(.tabbar)) header nav > div:not(.logo) > a:nth-child(n+2){display:none} }

/* Phones: comfortable tap targets for season leaders and source credits */
@media (max-width:760px){
  .tc-lead li{position:relative;min-height:40px;display:flex;align-items:center}
  .tc-lead li a{display:inline-flex;align-items:center;min-height:40px}
  .tc-lead li a::after{content:"";position:absolute;inset:0}
  .tc-credit a,.tx-credit a{display:inline-block;padding:6px 0;margin:-6px 0}
}

/* No underlines anywhere: links show their state with colour instead. */
a, a:hover, a:focus, a:active, abbr, abbr[title], .gl-term { text-decoration: none !important; }
.gl-term { cursor: default !important; }

/* ===== Layout fixes from the template audit (Nov 2) ===== */
/* LINE-BREAK RULE (written down in R118):
   1. A value that reads as one unit never breaks inside: records (2-5-1), scores (3–1), times (7:30 PM),
      dates (Nov 12), game clocks (10:58 - 4th), form strings, abbreviations with numbers.
   2. When one line lists two teams, it may break only between the teams, never inside one team's part.
      Where a card has room, each team gets its own row with its crest (as "Recent form" and "Records" do).
   3. Long names may wrap between words; they are never broken mid-word or hyphenated.
   4. A value in a fact tile never flows onto a second line. If it doesn't fit at the current width, the tile
      moves into a thin full-width list under the grid (assets/gdo-fit.js, R120). Long text belongs in its own
      full-width row or section, not in a tile.
   Short values never break across lines: */
.team-record, .trr-score, .rv-when, .lc-full, .lc-short, .lc-name, .ll-form-c { white-space: nowrap; }

/* Homepage, phones: league header name gets its own row, chips wrap under it */
@media (max-width: 760px) {
  .league-section-header { flex-wrap: wrap !important; row-gap: 10px; }
  .league-section-info { flex: 1 1 calc(100% - 64px) !important; min-width: 0 !important; width: auto !important; }
  .league-section-badges { flex: 1 1 100% !important; min-width: 0; flex-wrap: wrap; }
}

/* Breadcrumbs stay on one line; a long last item is shortened with an ellipsis */
.breadcrumbs { flex-wrap: nowrap !important; min-width: 0; overflow: hidden; }
.breadcrumbs > :last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* League page: no empty tab strip inside the hero */
.top-tabs:empty, .sub-tabs:empty { display: none !important; }


/* Match page: cards keep their own height instead of stretching to the tallest neighbour */
.three-col, .leader-groups, .match-staff-grid, .team-context-grid { align-items: start !important; }
/* A single officials card uses the full width, with the crew in columns */
.officials-grid.single { grid-template-columns: minmax(0, 1fr) !important; }
.officials-grid.single .officials-list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important; }
/* "Where they stand" cards stack, so names and records fit on one line */
/* Venue and coverage sit side by side; "What's at stake" takes the full row below,
   with the standings on the left and the links on the right, so no column is left half empty. */
@media (min-width: 900px) {
  .three-col:has(#explore-card) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .three-col > #explore-card { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 28px; align-items: start; }
  #explore-card > .section-title { grid-column: 1 / -1; }
  #explore-card > #gx-ctx { grid-column: 1; }
  #explore-card > .context-list { grid-column: 1; }
  #explore-card > .explore-list { grid-column: 2; grid-row: 2 / span 3; margin-top: 0 !important; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
  #explore-card > .explore-list > * { margin: 0 !important; }
  #explore-card:not(:has(#gx-ctx)):not(:has(.context-list)) > .explore-list { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) { .gx-pos-grid { grid-template-columns: minmax(0, 1fr) !important; } }
/* League page: the table sits in the narrow side column on desktop, so it uses the short club names there,
   and the two columns only sit side by side once there is room for the full table. */
@media (min-width: 761px) { aside .lc-table .lc-full { display: none !important; } aside .lc-table .lc-short { display: inline !important; } }
@media (min-width: 980px) and (max-width: 1199px) { body:not(.wc-tournament-center) .main-grid { grid-template-columns: minmax(0, 1fr) !important; } }
.lc-table .standing-team { min-width: 0; }
.lc-table .lc-short { max-width: 9.5em; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
aside .lc-table th, aside .lc-table td { padding-left: 4px !important; padding-right: 4px !important; }
@media (max-width: 760px) { .lc-table .lc-short { max-width: 6.6em; display: inline-block !important; } table.lc-table[data-ll-col] th, table.lc-table[data-ll-col] td, .lc-table th, .lc-table td { padding-left: 3px !important; padding-right: 3px !important; } }
.tabs-wrap[hidden], #tabs-wrap[hidden] { display: none !important; }
@media (max-width: 760px) { .lc-table .standing-team { gap: 6px !important; } .lc-table .standing-team img { width: 18px !important; height: 18px !important; } .lc-table .lc-short { max-width: 5.4em !important; } }

/* Match page, phones (R57): teams side by side on top, score and status underneath, as on the homepage banner */
@media (max-width: 640px) {
  .hero-scoreline { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; grid-template-areas: "away home" "mid mid" !important; align-items: start !important; column-gap: 12px !important; row-gap: 14px !important; }
  .hero-scoreline > .hero-team:first-child { grid-area: away !important; }
  .hero-scoreline > .hero-team:last-child { grid-area: home !important; }
  .hero-scoreline > .hero-center-stack { grid-area: mid !important; max-width: none !important; min-width: 0 !important; }
  .hero-scoreline .hero-team img, .hero-scoreline .hero-team .team-badge-fallback { width: 60px !important; height: 60px !important; }
  .hero-scoreline .hero-team-name { font-size: 16.5px !important; line-height: 1.15 !important; min-height: 2.3em !important; display: flex !important; align-items: flex-end !important; justify-content: center !important; text-align: center !important; }
  .hero-big-score { font-size: 46px !important; }
  .hero-dense-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* Homepage: the featured game card fills the space reserved for it, with its content centred,
   instead of leaving a blank band under a shorter card. */
.fg-wrap { display: flex; flex-direction: column; }
.fg-wrap > .fg-card { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
/* R92: on phones the banner (teams side by side, score below) is about 473px; hold that space so the page does not jump when it loads */
@media (max-width: 760px) { .fg-wrap { min-height: 473px !important; } }
/* Pre-game countdown: the "Status: Upcoming" tile repeated the "Starts in…" chip and was cut off on phones */
.timer-card.status { display: none !important; }
.timer-grid:has(.timer-card.status) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
/* Before kick-off: no empty "—" scores, and the countdown is shown once, not three times */
.hero-scoreline.is-pre .hero-team-score, .hero-scoreline.is-pre .hero-center-note { display: none !important; }
/* Team page: when the second card of a two-column row is hidden, the first takes the full width */
.two-col:has(> :nth-child(2)[style*="display: none"]), .two-col:has(> :nth-child(2)[hidden]) { grid-template-columns: minmax(0, 1fr) !important; }
.collectibles-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; }
header .back-link { white-space: nowrap; flex-shrink: 0; }
/* Match "What to know" header, phones: crest above the name for both teams, no repeated sub-line */
@media (max-width: 640px) {
  .snapshot-hero { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important; gap: 8px !important; align-items: center !important; }
  .snapshot-side { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 6px !important; min-width: 0 !important; }
  .snapshot-side img { order: -1; }
  .snapshot-side .meta { display: block !important; min-width: 0 !important; width: 100% !important; }
  .snapshot-side .name { font-size: 14px !important; line-height: 1.25 !important; }
  .snapshot-side .sub { display: none !important; }
}
/* Phones: a section heading and its side label wrap onto separate lines instead of squeezing the heading */
@media (max-width: 640px) { .section-head { flex-wrap: wrap !important; row-gap: 4px; } }
/* League hero cards: long text values ("Nothing on track", "Max Verstappen") wrap instead of being cut off */
.hero-side .value { white-space: normal !important; overflow-wrap: break-word; text-wrap: balance; line-height: 1.15; }
/* F1 sessions: names in one column, the top three in three even columns, so rows line up and nothing wraps alone */
.f1-sess { display: grid !important; grid-template-columns: 170px minmax(0, 1fr) !important; align-items: center; column-gap: 14px; }
.f1-top3 { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 4px 14px; }
.f1-top3 > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .f1-sess { grid-template-columns: minmax(0, 1fr) !important; row-gap: 8px; } .f1-top3 { grid-template-columns: minmax(0, 1fr) !important; } }
/* F1 hero mark: the logo is wide and short, so it gets a wide tile instead of a small square */
#league-competition-badge:has(img[src*="/f1.png"]) { width: auto !important; height: auto !important; min-height: 0 !important; }
#league-competition-badge img[src*="/f1.png"] { width: 176px !important; height: 88px !important; max-width: none !important; max-height: none !important; box-sizing: border-box; padding: 20px 24px 22px !important; border-radius: 18px; background: linear-gradient(135deg, #15151e, #20202c); border: 1px solid rgba(225, 6, 0, .35); box-shadow: inset 0 -3px 0 #e10600, 0 10px 30px rgba(225, 6, 0, .12); object-fit: cover; object-position: 50% 50%; }
@media (max-width: 760px) { #league-competition-badge img[src*="/f1.png"] { width: 132px !important; height: 66px !important; padding: 12px 16px 14px !important; } }

/* One header for every page: same five links as the homepage */
.gdo-site-nav{display:flex;align-items:center;gap:6px;margin-left:auto;min-width:0}
.gdo-site-nav a{font:600 13px "Plus Jakarta Sans",system-ui,sans-serif;color:#94a3b8;padding:8px 14px;border-radius:10px;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s}
.gdo-site-nav a:hover{background:rgba(255,255,255,.05);color:#f1f5f9;text-decoration:none}
.gdo-site-nav a[aria-current="page"]{color:#f1f5f9}
@media (max-width:860px){.gdo-site-nav a{padding:8px 10px}}
@media (max-width:760px){.gdo-site-nav{display:none}}

/* Phones: name links in lists get a finger-sized tap area without moving the layout */
@media (max-width:760px){
  .team-name-link,.mgr-link,.tc-rival-name,.gdo-player-link,.fg-cta,.standings-table a,.tm-table a,table a{display:inline-block;padding-block:10px;margin-block:-10px}
}

/* One standard gap between stacked cards, on every page (R13) */
.panel + .panel{margin-top:20px}

/* Powered by line in the footer */
.gdo-powered{margin:10px 0 0;font-size:11px;letter-spacing:.02em;color:var(--text-muted,#64748b);opacity:.85}.gdo-powered a,.gdo-powered a:hover{color:inherit;text-decoration:none;border:0}.gdo-powered a:hover{color:var(--accent-gold,#f0b429)}
/* One footer look on every page (match, league and race pages had none before) */
footer:has(.footer-links){padding:28px 0 calc(28px + env(safe-area-inset-bottom,0px));border-top:1px solid rgba(255,255,255,.06);text-align:center;color:var(--text-muted,#64748b);font-size:12px;line-height:1.6}
footer:has(.footer-links)>.container{padding-top:0;padding-bottom:0}
footer:has(.footer-links) p{margin:0 0 6px;font-size:12px;color:var(--text-muted,#64748b)}
footer:has(.footer-links) .footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin:10px 0 0}
footer:has(.footer-links) .footer-links a{font-size:13px;color:var(--accent-gold,#f0b429);text-decoration:none}
footer:has(.footer-links) .footer-links a:hover{text-decoration:none;opacity:.8}
@media(max-width:760px){footer:has(.footer-links){padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}footer:has(.footer-links) .footer-links{gap:0 18px}footer:has(.footer-links) .footer-links a{display:inline-flex;align-items:center;min-height:40px;font-size:14px}}
/* R51: college ranking number before a team name (e.g. "5 Alabama") */
.gdo-rank{display:inline-block;flex:0 0 auto;margin-left:6px;padding:1px 6px;border-radius:999px;background:rgba(148,163,184,.14);color:var(--text-secondary,#cbd5e1);font:700 11px/1.45 var(--font-mono,ui-monospace,monospace);letter-spacing:0;vertical-align:middle;white-space:nowrap}
.gdo-rankline{display:block;min-height:1.35em;font:600 12px/1.35 var(--font-body,inherit);letter-spacing:.01em;color:var(--accent-gold,#f0b429);text-align:center}
/* R51: college league pages */
#events-list.gdo-top25 .lc-row[data-ranked="0"]{display:none}
.gdo-game-switch{display:inline-flex;gap:4px;padding:4px;margin:0 0 16px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.gdo-game-switch button{border:0;background:none;color:var(--text-muted,#94a3b8);font:inherit;font-size:13px;font-weight:600;padding:7px 14px;border-radius:999px;cursor:pointer}
.gdo-game-switch button[aria-pressed="true"]{background:var(--accent-gold,#f0b429);color:#0a0e17}
.gdo-conf-pick{display:flex;align-items:center;gap:10px;margin:0 0 12px;font-size:13px;color:var(--text-muted,#94a3b8)}
.gdo-conf-pick select{flex:1;min-width:0;font:inherit;font-size:14px;color:var(--text-primary,#f1f5f9);background:var(--bg-card-alt,#1a2236);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:8px 10px}
#college-rank-panel .cr-move{font-size:11px;font-weight:700;white-space:nowrap}.cr-up{color:#34d399}.cr-down{color:#f87171}.cr-new{color:var(--accent-gold,#f0b429)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gb-head{font-size:15px;margin:18px 0 8px}.gb-list{display:grid;gap:6px}
.gdo-bowl-row{display:grid;grid-template-columns:104px minmax(0,1fr) minmax(0,150px);gap:14px;align-items:center;padding:11px 14px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);color:var(--text-primary,#f1f5f9);text-decoration:none}
.gdo-bowl-row .gb-when{font-size:12px;font-weight:700;color:var(--text-muted,#94a3b8)}
.gdo-bowl-row .gb-main{display:flex;flex-direction:column;gap:2px;min-width:0}.gdo-bowl-row .gb-main strong{font-size:14px}
.gdo-bowl-row .gb-main span{font-size:13px;color:var(--text-secondary,#cbd5e1)}.gdo-bowl-row .gb-main em{font-style:normal;color:var(--text-muted,#94a3b8);margin:0 4px}
.gdo-bowl-row .gb-main small{font-size:12px;color:var(--text-muted,#94a3b8)}.gdo-bowl-row .gb-tv{font-size:12px;color:var(--text-muted,#94a3b8);text-align:right}
.gb-fold .gdo-bowl-row.lc-extra{display:none}.gb-fold.show-all .gdo-bowl-row.lc-extra{display:grid}
@media(max-width:640px){.gdo-bowl-row{grid-template-columns:1fr;gap:4px}.gdo-bowl-row .gb-tv{text-align:left}}
.gdo-team-rank{margin:4px 0 0;font-size:14px;font-weight:600;color:var(--accent-gold,#f0b429)}
/* R51: guide tables */
.gw-h2{font-family:var(--font-display,inherit);font-size:24px;margin:28px 0 12px}
.gw-table-wrap{overflow-x:auto;margin:0 0 20px}
.gw-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.5}
.gw-table th,.gw-table td{text-align:left;vertical-align:top;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.07)}
.gw-table thead th{font-size:12px;font-weight:700;color:var(--text-muted,#94a3b8)}
.gw-table tbody th{font-weight:700;color:var(--text-primary,#f1f5f9);width:34%}
.gw-table td{color:var(--text-secondary,#cbd5e1)}
@media(max-width:600px){.gw-table tbody th{width:auto}.gw-table th,.gw-table td{padding:10px 8px}}
.cta-box a+a{margin-left:10px}
@media (max-width:600px){.gdo-rankline .grl-label{display:none}}
/* R59: cricket (cricket.html) */
.ck-hub{display:grid;gap:22px}.ck-loading,.ck-empty{color:var(--text-muted,#94a3b8)}
.ck-switch{margin:0}
.ck-sec h2{font-size:22px;margin:0 0 12px}
.ck-comp{margin:0 0 18px}.ck-comp h3{font-size:14px;font-weight:700;color:var(--text-secondary,#cbd5e1);margin:0 0 8px}
.ck-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.ck-card{display:grid;gap:8px;padding:14px 16px;border-radius:16px;background:var(--bg-card,#141b2d);border:1px solid rgba(148,163,184,.12);color:var(--text-primary,#f1f5f9);text-decoration:none}
.ck-card:hover{border-color:rgba(240,180,41,.4);text-decoration:none}
.ck-card.state-in{border-color:rgba(239,68,68,.35)}
.ck-meta{font-size:12px;color:var(--text-muted,#94a3b8);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ck-fmt{font:700 10.5px var(--font-mono,ui-monospace,monospace);text-transform:uppercase;letter-spacing:.04em;padding:2px 7px;border-radius:999px;background:rgba(148,163,184,.14);color:var(--text-secondary,#cbd5e1)}
.ck-teams{display:grid;gap:6px}
.ck-team{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:10px;align-items:center}
.ck-team img,.ck-logo-gap{width:24px;height:24px;object-fit:contain;display:block}
.ck-tn{display:flex;flex-direction:column;min-width:0}.ck-team b{font-weight:600;font-size:15px;line-height:1.25}.ck-tn small{font:600 11px var(--font-mono,ui-monospace,monospace);color:var(--text-muted,#94a3b8)}
.ck-team em{font:800 15px var(--font-mono,ui-monospace,monospace);font-style:normal;color:var(--text-secondary,#cbd5e1);text-align:right}
.ck-team.won b,.ck-team.won em{color:var(--accent-gold,#f0b429)}
.ck-status,.ck-when{font-size:13px;font-weight:600;color:var(--text-secondary,#cbd5e1)}
.ck-status.live{color:#f87171}.ck-status.live i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ef4444;margin-right:7px;vertical-align:middle;animation:pulse-live 1.5s infinite}
.ck-venue{font-size:12px;color:var(--text-muted,#94a3b8)}
/* match page */
.ck-match{padding:12px 0 40px;display:grid;gap:20px}
.ck-crumbs{font-size:13px;color:var(--text-muted,#94a3b8)}.ck-crumbs a{color:var(--accent-gold,#f0b429);text-decoration:none}
.ck-hero{position:relative;padding:24px;border-radius:24px;background:var(--bg-card,#141b2d);border:1px solid rgba(148,163,184,.14);display:grid;gap:14px;justify-items:center;text-align:center}
.ck-hero.is-live{border-color:rgba(239,68,68,.35);background:radial-gradient(120% 140% at 50% -20%,rgba(239,68,68,.14),transparent 55%),var(--bg-card,#141b2d)}
.ck-kicker{font:800 11px var(--font-body,inherit);letter-spacing:.1em;text-transform:uppercase;color:var(--accent-gold,#f0b429)}
.ck-hero h1{font-family:var(--font-display,serif);font-size:clamp(28px,4vw,48px);line-height:1.08;margin:0}
.ck-scoreline{display:grid;grid-template-columns:minmax(0,1fr) 140px minmax(0,1fr);align-items:center;width:100%;max-width:820px;gap:10px}
.ck-side{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.ck-side img,.ck-logo-gap.big{width:84px;height:84px;object-fit:contain}
.ck-side strong{font-family:var(--font-display,serif);font-weight:400;font-size:clamp(20px,2.4vw,30px);line-height:1.1}
.ck-big{font:800 clamp(30px,4vw,48px)/1 var(--font-mono,ui-monospace,monospace);white-space:nowrap}
.ck-overs{font:600 12px var(--font-mono,ui-monospace,monospace);color:var(--text-muted,#94a3b8);text-align:center;overflow-wrap:anywhere}
.ck-side.won strong,.ck-side.won .ck-big{color:var(--accent-gold,#f0b429)}
.ck-mid{display:flex;justify-content:center}
.ck-summary{font-weight:700;font-size:16px;color:var(--accent-gold,#f0b429);margin:0}
.ck-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:12px;width:100%;text-align:left}
.ck-facts div{padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(148,163,184,.1);display:grid;gap:4px}
.ck-facts span{font:700 11px var(--font-body,inherit);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted,#94a3b8)}
.ck-facts b{font-weight:600;font-size:14px}
.ck-guide{margin:0;font-size:14px}.ck-guide a{color:var(--accent-gold,#f0b429);text-decoration:none}
.ck-now{max-width:640px}.ck-now .hn-v{display:block}
.ck-card-sec{padding:20px 24px;border-radius:20px;background:var(--bg-card,#141b2d);border:1px solid rgba(148,163,184,.12)}
.ck-card-sec h2{font-size:20px;margin:0 0 12px}
.ck-inn-tabs{margin:0 0 14px;flex-wrap:wrap;border-radius:16px}
.ck-table-wrap{overflow-x:auto;margin:0 0 14px}
.ck-table{width:100%;border-collapse:collapse;font-size:14px}
.ck-table th,.ck-table td{padding:8px 10px;border-bottom:1px solid rgba(148,163,184,.08);text-align:left;white-space:nowrap}
.ck-table th{font-size:11px;font-weight:700;color:var(--text-muted,#94a3b8);text-transform:uppercase;letter-spacing:.04em}
.ck-table .n{text-align:right;font-family:var(--font-mono,ui-monospace,monospace)}.ck-table .strong{font-weight:800;color:var(--text-primary,#f1f5f9)}
.ck-table .ck-how{color:var(--text-muted,#94a3b8);font-size:13px}
.ck-total td{font-weight:700;border-bottom:0}
.ck-dnb{font-size:13px;color:var(--text-muted,#94a3b8);margin:-6px 0 14px}
.ck-squads{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.ck-squads h3{font-size:15px;margin:0 0 8px}.ck-squads ol{margin:0;padding-left:22px;display:grid;gap:4px;font-size:14px;color:var(--text-secondary,#cbd5e1)}
.ck-c{font:700 10px var(--font-mono,ui-monospace,monospace);padding:1px 5px;border-radius:4px;background:rgba(240,180,41,.18);color:var(--accent-gold,#f0b429)}
@media (max-width:640px){
  .ck-hero{padding:18px 14px}
  .ck-scoreline{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"a h" "m m";row-gap:12px}
  .ck-scoreline>.ck-side:first-child{grid-area:a}.ck-scoreline>.ck-side:last-child{grid-area:h}.ck-scoreline>.ck-mid{grid-area:m}
  .ck-side img,.ck-logo-gap.big{width:56px;height:56px}.ck-side strong{font-size:19px}.ck-big{font-size:30px}
  .ck-table .ck-how{display:none}
  .ck-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.ck-facts div{min-width:0;overflow-wrap:anywhere}
  .ck-card-sec{padding:16px 14px}
  .ck-list{grid-template-columns:1fr}
}
.ck-mid .hero-status,.ck-hero .hero-status{display:inline-flex;align-items:center;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(148,163,184,.14);font:600 13px var(--font-mono,ui-monospace,monospace);color:var(--text-secondary,#cbd5e1);white-space:nowrap}
.ck-hero .hero-status.live{color:#f87171;background:rgba(239,68,68,.1);border-color:rgba(239,68,68,.3)}
.ck-hero .hero-status.live i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#ef4444;margin-right:8px;animation:pulse-live 1.5s infinite}
@keyframes pulse-live{0%,100%{opacity:1}50%{opacity:.35}}
.ck-home{margin-top:22px}.ck-home[hidden]{display:none}
.ck-home-head{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 12px}.ck-home-head h2{font-size:22px;margin:0}.ck-home-head a{color:var(--accent-gold,#f0b429);text-decoration:none;font-weight:600;font-size:14px}
.ck-match>*,.ck-hero>*{min-width:0;max-width:100%}.ck-scoreline>*{min-width:0}

/* R59: the "Live now" box, shared by match pages and cricket pages (first written in match.html, R58) */
.hero-now{width:100%;max-width:640px;display:grid;gap:0;padding:6px 16px 8px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(148,163,184,.12);text-align:left}
.hn-title{display:flex;align-items:center;gap:8px;padding:8px 0 6px;font:800 11px var(--font-body,inherit);letter-spacing:.1em;text-transform:uppercase;color:#f87171}
.hn-title i{width:7px;height:7px;border-radius:50%;background:#ef4444;animation:pulse-live 1.5s infinite}
.hn-row{display:grid;grid-template-columns:84px minmax(0,1fr) auto;gap:12px;align-items:baseline;padding:9px 0;border-top:1px solid rgba(148,163,184,.08);font-size:13.5px;line-height:1.5}
.hn-k{font:700 11px var(--font-body,inherit);letter-spacing:.06em;text-transform:uppercase;color:var(--text3,#64748b)}
.hn-v{display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:8px;row-gap:6px;align-items:start;color:var(--text2,#cbd5e1);min-width:0}
.hn-txt{min-width:0}
.hn-v b{color:var(--text,#f1f5f9)}
.hn-t{font:600 12px var(--font-mono,ui-monospace,monospace);color:var(--text3,#64748b);white-space:nowrap}
.hn-crest{display:block;width:18px;height:18px;object-fit:contain;margin-top:1px}
.hn-chip{font:700 12px var(--font-mono,ui-monospace,monospace);color:var(--text,#f1f5f9);background:rgba(148,163,184,.12);border-radius:999px;padding:1px 8px;white-space:nowrap}
.hn-red{font-style:normal;font-weight:700;color:#f87171}
.hn-field{position:relative;display:block;grid-column:1/-1;height:14px;margin:6px 0 2px;border-radius:5px;background:linear-gradient(90deg,rgba(148,163,184,.22) 0 8%,rgba(34,197,94,.16) 8% 92%,rgba(148,163,184,.22) 92%)}
.hn-field.red{background:linear-gradient(90deg,rgba(148,163,184,.22) 0 8%,rgba(34,197,94,.16) 8% 75.2%,rgba(239,68,68,.25) 75.2% 92%,rgba(148,163,184,.22) 92%)}
.hn-ez{position:absolute;top:50%;transform:translateY(-50%);font:700 8.5px/1 var(--font-mono,ui-monospace,monospace);font-style:normal;color:var(--text3,#94a3b8)}.hn-ez.l{left:3px}.hn-ez.r{right:3px}
.hn-ball{position:absolute;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;z-index:1;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 2px #0a0e17}
.hn-gain{position:absolute;top:-2px;bottom:-2px;width:2px;margin-left:-1px;background:#facc15}
/* R138: phones stack the label above the line (this copy of the Live now styles loads after the match page's own,
   so without this rule phones got the desktop's 84px label column and the text was squeezed into a strip) */
@media (max-width:560px){.hn-row{grid-template-columns:minmax(0,1fr) auto;gap:2px 10px}.hn-k{grid-column:1/-1}}
.ck-now .hn-v{display:block}
#ck-live{width:100%;display:flex;justify-content:center}#ck-live:empty{display:none}.ck-now{width:100%}
/* R60: cricket marks (flags and crests in a fixed box, so every side lines up), live detail, performers, moments */
.ck-mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.ck-mark img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.ck-mark-s{width:28px;height:28px}.ck-mark-l{width:96px;height:96px}
.ck-initials{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:6px;background:rgba(148,163,184,.16);font:800 10px var(--font-mono,ui-monospace,monospace);color:var(--text-secondary,#cbd5e1)}
.ck-mark-l .ck-initials{font-size:20px;border-radius:12px}
.ck-team{grid-template-columns:28px minmax(0,1fr) auto!important}
.ck-batting{font:700 11px var(--font-body,inherit);letter-spacing:.06em;text-transform:uppercase;color:#f87171;min-height:1.3em}
.ck-batting i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ef4444;margin-right:6px;vertical-align:middle;animation:pulse-live 1.5s infinite}
.ck-side strong{min-height:2.3em;display:flex;align-items:flex-end;justify-content:center}
.ck-now .hn-v{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 12px}
.ck-now small{color:var(--text-muted,#94a3b8);font-size:12px}
.ck-bat{display:inline-flex;align-items:center;gap:5px}.ck-bat b{color:var(--text-primary,#f1f5f9)}
.ck-strike{width:8px;height:8px;border-radius:50%;background:var(--accent-gold,#f0b429);display:inline-block}.ck-strike.off{background:transparent;border:1px solid rgba(148,163,184,.4)}
.ck-balls{display:inline-flex;flex-wrap:wrap;gap:5px}
.ck-ball{font:700 11px/1 var(--font-mono,ui-monospace,monospace);font-style:normal;min-width:24px;height:24px;padding:0 5px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:rgba(148,163,184,.14);color:var(--text-secondary,#cbd5e1)}
.ck-ball.b4{background:rgba(59,130,246,.25);color:#bfdbfe}.ck-ball.b6{background:rgba(168,85,247,.28);color:#e9d5ff}.ck-ball.w{background:rgba(239,68,68,.3);color:#fecaca}.ck-ball.x{background:rgba(240,180,41,.18);color:var(--accent-gold,#f0b429)}
.ck-perf{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.ck-perf-col h3{display:flex;align-items:center;gap:8px;font-size:16px;margin:0 0 8px}
.ck-perf-col h4{font:700 11px var(--font-body,inherit);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted,#94a3b8);margin:12px 0 6px}
.ck-perf-col ol{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.ck-perf-col li{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:10px;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.03)}
.ck-perf-col li span{font-weight:600}.ck-perf-col li b{grid-row:1/3;grid-column:2;align-self:center;font:800 20px var(--font-mono,ui-monospace,monospace);color:var(--text-primary,#f1f5f9)}
.ck-perf-col li small{font-size:12px;color:var(--text-muted,#94a3b8)}
.ck-moments{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:20px}
.ck-moments h3{font-size:14px;margin:0 0 8px;color:var(--text-secondary,#cbd5e1)}
.ck-moments ul{margin:0;padding:0 0 0 16px;display:grid;gap:6px;font-size:13.5px;color:var(--text-secondary,#cbd5e1)}
.ck-dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px 16px;margin:0;font-size:14px}
.ck-dl dt{font:700 11px var(--font-body,inherit);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted,#94a3b8);padding-top:3px}
.ck-dl dd{margin:0;color:var(--text-secondary,#cbd5e1);display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}
.ck-off{display:inline-flex;align-items:center;gap:6px}.ck-off img{width:20px;height:14px;object-fit:contain}
.ck-link{color:var(--accent-gold,#f0b429);text-decoration:none;font-weight:600}
.ck-squads h3{display:flex;align-items:center;gap:8px}
@media (max-width:640px){
  .ck-mark-l{width:64px;height:64px}
  .ck-perf{grid-template-columns:1fr}
  .ck-dl{grid-template-columns:1fr;gap:2px}.ck-dl dd{margin-bottom:10px}
}

.ck-moments.ck-fold{max-height:340px;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,#000 75%,transparent)}.ck-more{margin-top:10px;width:100%}
.ck-more{min-height:40px;border-radius:10px;border:1px solid rgba(148,163,184,.18);background:transparent;color:var(--accent-gold,#f0b429);font:700 13px var(--font-body,inherit);cursor:pointer}
.ck-comp-name{font:700 11px var(--font-body,inherit);letter-spacing:.04em;text-transform:uppercase;color:var(--accent-gold,#f0b429);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ck-count{font:700 13px var(--font-mono,ui-monospace,monospace);color:var(--text-muted,#94a3b8);margin-left:6px}
.ck-team.batting b::after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#ef4444;margin-left:7px;vertical-align:middle;animation:pulse-live 1.5s infinite}
/* R61: cricket header in the match-page structure */
.ck-crest{display:flex;justify-content:center}
.ck-crest img,.ck-crest-icon{width:72px;height:72px;object-fit:contain;padding:10px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(148,163,184,.16);display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.ck-kicker{text-decoration:none}.ck-kicker span{opacity:.7}
.ck-ctx{font-size:13px;color:var(--text-secondary,#cbd5e1);margin-top:-8px}
.ck-topline{display:flex;justify-content:center}
.ck-pill{display:inline-flex;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid rgba(148,163,184,.14);font-size:13px;font-weight:600;color:var(--text-secondary,#cbd5e1)}
.ck-scoreline{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;max-width:1000px!important;column-gap:28px!important}
.ck-side{padding:0 6px}
.ck-side strong{min-height:0!important;display:block!important;text-wrap:balance}
.ck-sub{font-size:13px;color:var(--text-muted,#94a3b8)}
.ck-mid{flex-direction:column;align-items:center;gap:12px}
.ck-score{display:flex;align-items:flex-start;gap:14px}
.ck-sc{display:flex;flex-direction:column;align-items:center;gap:4px}
.ck-sc b{font:800 clamp(44px,5.6vw,68px)/1 var(--font-mono,ui-monospace,monospace);letter-spacing:-.02em;white-space:nowrap;color:var(--text-primary,#f1f5f9)}
.ck-sc small{font:600 12px var(--font-mono,ui-monospace,monospace);color:var(--text-muted,#94a3b8);white-space:nowrap}
.ck-sc.won b{color:var(--accent-gold,#f0b429)}
.ck-score em{font-style:normal;font:700 18px var(--font-body,inherit);color:var(--text-muted,#94a3b8);padding-top:clamp(12px,1.8vw,22px)}
.ck-score.sm .ck-sc b{font-size:clamp(34px,4.2vw,52px)}.ck-score.xs .ck-sc b{font-size:clamp(26px,3.2vw,40px)}
.ck-start{font:800 clamp(30px,4vw,44px)/1 var(--font-mono,ui-monospace,monospace)}
@media (max-width:640px){
  .ck-scoreline{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  .ck-sc b{font-size:34px}.ck-score.sm .ck-sc b{font-size:28px}.ck-score.xs .ck-sc b{font-size:22px}
  .ck-sc small{white-space:normal;text-align:center;max-width:9em}
  .ck-crest img,.ck-crest-icon{width:56px;height:56px}
}
/* R63: cricket run charts, fall of wickets, partnerships, extras */
.ck-note{font-size:13px;color:var(--text-muted,#94a3b8);margin:-6px 0 10px}
.ck-chart{margin:16px 0 4px}.ck-chart h3,.ck-parts h3{font-size:14px;margin:0 0 8px;color:var(--text-secondary,#cbd5e1)}
.ck-chart .gc-chart,.ck-card-sec .gc-chart{width:100%;height:auto;display:block}
.ck-chart-key{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:12px;color:var(--text-muted,#94a3b8);margin:6px 0 0}
.ck-chart-key i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:-6px}.ck-chart-key .k-gold{background:#f0b429}.ck-chart-key .k-red{background:#ef4444}
.ck-extras td{color:var(--text-muted,#94a3b8)}
.ck-fow{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:var(--text-secondary,#cbd5e1);margin:-4px 0 16px;line-height:1.5}
.ck-fow b{color:var(--text-primary,#f1f5f9);margin-right:4px}.ck-fow small{color:var(--text-muted,#94a3b8)}
.ck-parts{margin:8px 0 10px;display:grid;gap:6px}
.ck-part{display:grid;grid-template-columns:40px minmax(80px,1fr) 110px minmax(0,1.4fr);gap:10px;align-items:center;font-size:13px}
.ck-part-wk{font:700 11px var(--font-mono,ui-monospace,monospace);color:var(--text-muted,#94a3b8)}
.ck-part-bar{height:10px;border-radius:5px;background:rgba(148,163,184,.1);overflow:hidden}.ck-part-bar i{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#f0b429,#f59e0b)}
.ck-part-v b{font-family:var(--font-mono,ui-monospace,monospace);color:var(--text-primary,#f1f5f9)}.ck-part-v small{color:var(--text-muted,#94a3b8)}
.ck-part-who{color:var(--text-secondary,#cbd5e1);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:640px){.ck-part{grid-template-columns:34px minmax(0,1fr) auto;row-gap:2px}.ck-part-who{grid-column:2/-1;white-space:normal;font-size:12px}}
/* R64: top cards fit the first screen. One standard for match, cricket and team headers:
   identity in two short lines (crest + competition, context + date), a smaller title, teams and score, status.
   Live detail, facts and coaches follow as their own cards right below. */
.ck-hero{gap:10px!important;padding:18px 24px 20px!important}
.ck-idrow{display:flex;align-items:center;justify-content:center;gap:10px}
.ck-idrow .ck-crest img,.ck-idrow .ck-crest-icon{width:40px!important;height:40px!important;padding:6px!important;border-radius:10px!important}
.ck-idrow .ck-crest-icon svg{width:24px;height:24px}
.ck-ctx{margin-top:-4px!important}
.ck-hero h1{font-size:clamp(26px,3.2vw,40px)!important}
.ck-mark-l{width:76px!important;height:76px!important}
.ck-sc b{font-size:clamp(40px,4.6vw,60px)!important}.ck-score.sm .ck-sc b{font-size:clamp(32px,3.8vw,48px)!important}.ck-score.xs .ck-sc b{font-size:clamp(24px,3vw,38px)!important}
.ck-mid{gap:8px!important}.ck-summary{margin:0!important}
.ck-live-sec{display:flex;justify-content:center}.ck-live-sec .ck-now{max-width:880px}
.ck-facts-sec{display:grid;gap:10px}
@media (max-width:640px){
  .ck-hero{padding:14px 12px 16px!important}
  .ck-hero h1{font-size:24px!important}
  .ck-mark-l{width:52px!important;height:52px!important}
  .ck-side strong{font-size:17px!important}
  .ck-sc b{font-size:30px!important}.ck-score.sm .ck-sc b{font-size:26px!important}.ck-score.xs .ck-sc b{font-size:21px!important}
}
/* R66: no underlines on links (stadium links in match cards used a dotted line) */
.venue-inline-link,.venue-inline-link:hover{border-bottom:0!important;text-decoration:none!important}.venue-inline-link:hover{color:var(--accent-gold,#f0b429)!important}
/* R66: links never underline on hover (the site standard), anywhere */
a:hover,a:focus-visible{text-decoration:none!important}
/* R66: tennis */
.tn-tour{margin:0 0 18px}.tn-tour a{border:0;background:none;color:var(--text-muted,#94a3b8);font-size:13px;font-weight:600;padding:7px 14px;border-radius:999px;text-decoration:none}
.tn-tour a[aria-pressed="true"]{background:var(--accent-gold,#f0b429);color:#0a0e17}
.tn-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;align-items:start}
#tn-main{display:grid;gap:20px;min-width:0}
.tn-tourn{padding:18px 20px;border-radius:20px;background:var(--bg-card,#141b2d);border:1px solid rgba(148,163,184,.12)}
.tn-tourn-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-bottom:6px}.tn-tourn-head h2{font-size:20px;margin:0}.tn-tourn-head p{margin:0;font-size:13px;color:var(--text-muted,#94a3b8);flex:1}
.tn-kind{margin:0}
.tn-sec h3{font-size:14px;margin:14px 0 8px;color:var(--text-secondary,#cbd5e1)}
.tn-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}
.tn-fold .tn-extra{display:none}
.tn-match{display:grid;gap:6px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(148,163,184,.08)}
.tn-match.state-in{border-color:rgba(239,68,68,.35)}
.tn-head{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:center;font-size:11.5px;color:var(--text-muted,#94a3b8)}
.tn-round{font-weight:700;text-transform:uppercase;letter-spacing:.04em}.tn-court{margin-left:auto}
.tn-when.live{color:#f87171;font-weight:700}.tn-when.live i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#ef4444;margin-right:5px;vertical-align:middle;animation:pulse-live 1.5s infinite}
.tn-p{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:8px;align-items:center;font-size:14px}
.tn-p b{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tn-p b small{font-weight:500;color:var(--text-muted,#94a3b8);font-size:11px}
.tn-p.won b{color:var(--accent-gold,#f0b429)}.tn-p.lost b{color:var(--text-secondary,#cbd5e1)}
.tn-flag{width:22px;height:16px;object-fit:contain;display:block}
.tn-sets{display:flex;gap:4px}
.tn-set{min-width:20px;text-align:center;font:700 14px var(--font-mono,ui-monospace,monospace);color:var(--text-muted,#94a3b8)}
.tn-set.w{color:var(--text-primary,#f1f5f9)}.tn-set sup{font-size:9px;margin-left:1px;color:var(--text-muted,#94a3b8)}
.tn-rank .tn-rk-name{display:flex;align-items:center;gap:8px}
.tn-card .tn-match{background:none;border:0;padding:0}
@media (max-width:960px){.tn-layout{grid-template-columns:1fr}}
@media (max-width:640px){.tn-tourn{padding:14px 12px}.tn-list{grid-template-columns:1fr}}
.tn-rank{padding:16px 18px;border-radius:20px;background:var(--bg-card,#141b2d);border:1px solid rgba(148,163,184,.12)}
.tn-rank h3{font-size:16px;margin:0}.tn-rank .section-head p{margin:2px 0 10px;font-size:12px;color:var(--text-muted,#94a3b8)}
.tn-rank table{width:100%;border-collapse:collapse;font-size:13.5px}
.tn-rank th{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted,#94a3b8);text-align:left;padding:6px 6px;border-bottom:1px solid rgba(148,163,184,.12)}
.tn-rank td{padding:7px 6px;border-bottom:1px solid rgba(148,163,184,.07)}
.tn-rank .num{text-align:right;font-family:var(--font-mono,ui-monospace,monospace)}.tn-rank .lc-rank{color:var(--text-muted,#94a3b8);font-family:var(--font-mono,ui-monospace,monospace);width:28px}
.tn-rank .cr-move{font-size:11px;font-weight:700;white-space:nowrap}
.tn-rank tr.lc-extra{display:none}.tn-rank .show-all tr.lc-extra{display:table-row}
/* R67: phone names. In centred layouts (homepage banner, match header) phones show the short team name
   ESPN gives ("Notre Dame", "Pacers", "Leeds"); the full name stays on wider screens, in the title and in tooltips. */
.nm-short{display:none}
@media (max-width:600px){.nm-full{display:none}.nm-short{display:inline}}
/* R67: long channel names wrap inside game cards ("NBA League Pass (out-of-market)", "Arizona's Family 3TV") */
.game-meta .broadcast{white-space:normal!important;max-width:100%;overflow-wrap:anywhere;text-align:left}
/* the homepage filter rows ended 2px past the screen edge on tablets */
.scores-controls,.sport-filter,.league-filter,.channel-filter,.standings-league-picker,.fixtures-league-filter,.compare-league-filter{max-width:100%;box-sizing:border-box;margin-right:0!important}
/* R68: tennis match page */
a.tn-match{color:inherit;text-decoration:none}a.tn-match:hover{border-color:rgba(240,180,41,.4)}
.tn-sets-table sup{font-size:10px;color:var(--text-muted,#94a3b8);margin-left:1px}.tn-sets-table tr.tn-won td:first-child{color:var(--accent-gold,#f0b429);font-weight:700}
.tn-road{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.tn-road li{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.03);font-size:13.5px}
.tn-road-r{font:700 11px var(--font-body,inherit);text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted,#94a3b8)}
.tn-road b{font-family:var(--font-mono,ui-monospace,monospace);font-size:13px}
.tn-dl{grid-template-columns:120px minmax(0,1fr)!important}
@media (max-width:640px){.tn-road li{grid-template-columns:1fr auto}.tn-road-r{grid-column:1/-1}.tn-dl{grid-template-columns:110px minmax(0,1fr)!important}.tn-dl dt{padding-top:0}}

/* R68: phone match header. The score has to show with the browser bars on screen (about 600px visible on an iPhone):
   no separate league badge (the league link names it), no context line, a smaller title, smaller crests,
   and no reserved blank lines under the teams. */
@media (max-width:640px){
  #overview{gap:6px!important}
  #overview>.match-competition-badge-slot{display:none!important}
  #overview>div:nth-child(2){display:flex;flex-direction:column;gap:2px}
  #overview>div:nth-child(2)>*:not(.eyebrow){display:none}
  #overview .eyebrow{margin:0!important}
  #overview .title{font-size:19px!important;line-height:1.15!important;margin:2px 0 0!important}
  #overview .hero-topline{margin:0!important}#overview .hero-topline .hero-meta-pill{padding:3px 10px!important;font-size:11.5px!important}
  #overview .hero-scoreline{margin-top:2px!important;row-gap:8px!important}
  #overview .hero-scoreline .hero-team{gap:2px!important}
  #overview .hero-scoreline .hero-team img,#overview .hero-scoreline .hero-team .team-badge-fallback{width:44px!important;height:44px!important}
  #overview .hero-scoreline .hero-team-name{min-height:0!important;font-size:17px!important;margin-top:2px}
  #overview .hero-team-meta{min-height:0!important;font-size:11.5px!important;line-height:1.3!important}
  #overview .hero-team-record{margin-top:0!important;font-size:11.5px!important}
  #overview .gdo-rankline{font-size:11.5px!important;min-height:0!important}
  #overview .hero-big-score{font-size:42px!important}
  #overview .hero-center-stack{gap:6px!important}
}
@media (max-width:640px){
  #overview>div:nth-child(2){align-items:center;text-align:center}
  /* cricket and tennis headers follow the same phone rules */
  .ck-hero{gap:6px!important}
  .ck-idrow .ck-crest{display:none}
  .ck-hero h1{font-size:19px!important;line-height:1.15!important}
  .ck-ctx{font-size:11.5px!important}
  .ck-mark-l{width:44px!important;height:44px!important}
  .ck-side{gap:2px!important}.ck-side strong{font-size:16.5px!important}
  .ck-sub,.ck-batting{font-size:11px!important}
}
/* R69: tennis match page extras */
.tn-face{position:relative;display:inline-block;width:96px;height:96px}
.tn-face>img:first-child{width:96px;height:96px;border-radius:50%;object-fit:cover;object-position:50% 20%;border:2px solid rgba(148,163,184,.25);background:rgba(255,255,255,.04)}
.tn-face-flag{position:absolute;right:-2px;bottom:4px;width:30px;height:22px;object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
.ck-side.won .tn-face>img:first-child{border-color:var(--accent-gold,#f0b429)}
.tn-tape{display:grid;gap:6px}
.tn-tape-head{display:grid;grid-template-columns:minmax(0,1fr) 190px minmax(0,1fr);font-weight:700;font-size:14px;margin-bottom:4px}.tn-tape-head span:last-child{text-align:right}
.tn-tape-row{display:grid;grid-template-columns:minmax(0,1fr) 190px minmax(0,1fr);gap:10px;align-items:center}
.tn-tl{text-align:center;font:700 11px var(--font-body,inherit);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted,#94a3b8)}
.tn-tv{position:relative;display:flex;justify-content:flex-start;align-items:center;min-height:30px;padding:0 10px;font:700 14px var(--font-mono,ui-monospace,monospace);color:var(--text-secondary,#cbd5e1);overflow:hidden;border-radius:8px}
.tn-tv.r{justify-content:flex-end}
.tn-tv i{position:absolute;top:0;bottom:0;right:0;background:rgba(148,163,184,.12);border-radius:8px;z-index:0}.tn-tv.r i{left:0;right:auto}
.tn-tv.lead{color:var(--text-primary,#f1f5f9)}.tn-tv.lead i{background:rgba(240,180,41,.28)}
.tn-tv{z-index:0}.tn-tv>*{z-index:1}.tn-tv{isolation:isolate}
.tn-nums{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.tn-nums div{padding:14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid rgba(148,163,184,.1);display:grid;gap:4px}
.tn-nums b{font:800 26px var(--font-mono,ui-monospace,monospace);color:var(--accent-gold,#f0b429)}.tn-nums span{font-size:13px;color:var(--text-secondary,#cbd5e1)}
.tn-draw{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;align-items:center}
.tn-draw-col{display:grid;gap:8px}.tn-draw-col h3{font-size:13px;margin:0 0 2px;color:var(--text-muted,#94a3b8);text-transform:uppercase;letter-spacing:.06em}
.tn-match.tn-this{border-color:var(--accent-gold,#f0b429)!important;box-shadow:0 0 0 1px rgba(240,180,41,.35)}
.tn-source{margin:4px 2px 0}
@media (max-width:640px){
  .tn-face,.tn-face>img:first-child{width:60px;height:60px}.tn-face-flag{width:22px;height:16px}
  .tn-tape-head,.tn-tape-row{grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr);gap:6px}
  .tn-tl{font-size:9.5px;letter-spacing:.02em}.tn-tv{font-size:12px;padding:0 6px}
  .tn-nums{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.ck-side .tn-face>img:first-child{width:96px!important;height:96px!important}
.ck-side .tn-face .tn-face-flag{width:30px!important;height:22px!important;border-radius:2px!important}
@media (max-width:640px){.ck-side .tn-face>img:first-child{width:60px!important;height:60px!important}.ck-side .tn-face .tn-face-flag{width:22px!important;height:16px!important}}
.tn-bio{font-size:13.5px;line-height:1.55;color:var(--text-secondary,#cbd5e1);margin:0 0 10px}
.tn-stake{margin:12px 0 0;font-size:14px;color:var(--text-secondary,#cbd5e1)}.tn-stake b{color:var(--accent-gold,#f0b429);margin-right:6px}
a.sport-link{text-decoration:none}a.sport-link .sport-count{color:var(--accent-gold,#f0b429)}
.tn-chip{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:rgba(148,163,184,.14);font-size:11.5px;font-weight:600;color:var(--text-secondary,#cbd5e1)}
/* R71: tennis court graphic and venue photos */
.tn-court{width:100%;height:auto;display:block;border-radius:18px}
.tn-court-sec .ck-note{margin:-4px 0 12px}
.tn-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:14px}
.tn-photos figure{margin:0;border-radius:12px;overflow:hidden;background:rgba(255,255,255,.03)}
.tn-photos img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.tn-photos figcaption{font-size:11px;color:var(--text-muted,#94a3b8);padding:6px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tn-bye span:nth-child(2){color:var(--text-muted,#94a3b8);font-style:italic}
/* R73: small court beside the tournament facts; venue photos as a thumbnail strip (no large images near the top) */
.tn-tour-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:start}
.tn-court-mini{margin:0}.tn-court-mini .tn-court{border-radius:12px}
.tn-court-mini figcaption{font-size:12px;color:var(--text-muted,#94a3b8);margin-top:6px;text-align:center}
.tn-tour-facts{grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr))!important}
.tn-photos{grid-template-columns:repeat(auto-fill,minmax(150px,180px))!important;gap:10px!important}
.tn-photos img{aspect-ratio:16/10!important}
.tn-photos figcaption{font-size:10px!important;padding:4px 6px!important}
@media (max-width:760px){.tn-tour-grid{grid-template-columns:1fr}.tn-court-mini{max-width:360px;margin:0 auto}.tn-photos{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.tn-place{font-size:13px;color:var(--text-muted,#94a3b8);font-weight:500}
/* R86: team-mate duels fit narrow phones */
.rw-h2h-grid{grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr))!important}.rw-h2h{min-width:0;max-width:100%}
/* R96: one page width and one side margin for the header and every page section, so the menu, the logo and the
   cards below all line up (pages had 14, 16, 20 or 28px side margins). Content stays at most 1200px wide. */
:root{--gdo-gutter:20px}
@media (max-width:760px){:root{--gdo-gutter:14px}}
header > nav,.container{max-width:1200px!important;padding-left:var(--gdo-gutter)!important;padding-right:var(--gdo-gutter)!important;box-sizing:border-box}
/* R96: seven menu items (Cricket and Tennis added) fit tablets without pushing the page sideways */
@media (min-width:761px) and (max-width:1000px){.gdo-site-nav{gap:0!important}.gdo-site-nav a{padding-left:8px!important;padding-right:8px!important;font-size:13.5px!important}}

/* CARD CURSOR RULE (R133): a card that opens something as a whole (a game, a race, a player, a ground) shows the
   normal arrow, like the game cards on the scoreboard; the hand is kept for real links and buttons inside it
   (team names, venue, "Match center →", Watch, filters). Every such card answers the mouse the same way instead:
   a brighter border and a slight lift, so it still reads as clickable. Keyboard focus gets the same ring. */
html body :is(.game-card, .fg-card, a.live-strip-card, a.f1-strip, a.ck-card, a.tn-card, a.tn-match, a.watch-card,
  a.lc-row, a.f1-rc, a.ll-ground, a.tc-ground, a.tc-comp, a.collectible-card, a.explore-link, a.explore-mini,
  a.ptw-card, a.clip-card) { cursor: default; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease; }
html body :is(.game-card, .fg-card, a.live-strip-card, a.f1-strip, a.ck-card, a.tn-card, a.tn-match, a.watch-card,
  a.f1-rc, a.ll-ground, a.tc-ground, a.tc-comp, a.collectible-card, a.explore-link, a.explore-mini,
  a.ptw-card, a.clip-card):is(:hover:not(:has(a:hover, button:hover, .team-name-hit:hover)), :focus-visible) {
  border-color: rgba(240,180,41,.45) !important; box-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 0 1px rgba(240,180,41,.18); transform: translateY(-2px); text-decoration: none;
}
/* league-page match rows sit in a list: they brighten instead of lifting */
html body a.lc-row:is(:hover, :focus-visible) { background: rgba(240,180,41,.06); box-shadow: inset 3px 0 0 rgba(240,180,41,.6); text-decoration: none; }
html body :is(.game-card, .fg-card, a.live-strip-card, a.f1-strip, a.ck-card, a.tn-card, a.tn-match, a.watch-card, a.lc-row,
  a.f1-rc, a.ll-ground, a.tc-ground, a.tc-comp, a.collectible-card, a.explore-link, a.explore-mini, a.ptw-card, a.clip-card):focus-visible { outline: 2px solid rgba(240,180,41,.7); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html body :is(.game-card, .fg-card, a.live-strip-card, a.f1-strip, a.ck-card, a.tn-card, a.tn-match, a.watch-card,
    a.f1-rc, a.ll-ground, a.tc-ground, a.tc-comp, a.collectible-card, a.explore-link, a.explore-mini, a.ptw-card, a.clip-card):hover { transform: none; }
}

/* SECTION BAR (R136): the pill menu under the header on league and team pages sits flush against the header (its
   real height comes from gdo-shell.js as --gdo-hdr-h) on a solid, blurred background, so no strip of page shows
   above it and content doesn't show through it. The match page keeps its own placement next to the score bar. */
html body:is(.gdo-league, .gdo-team) .center-nav-wrap { top: calc(var(--gdo-hdr-h, 67px) - 1px) !important; background: rgba(10,14,23,.95) !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
/* the pill for the section on screen */
html body .center-nav a.is-active { color: #f0b429; background: rgba(240,180,41,.12); border-color: rgba(240,180,41,.45); }
