/* ==========================================================
   Golavio redesign layer: loaded last, overrides older styles
   Tokens: layered surfaces, sparing lime accent, Inter type
   ========================================================== */
:root{
  --r-bg:#0b0e14;--r-bg-2:#0f131a;--r-surface:#161b22;--r-surface-2:#1c222b;--r-surface-3:#232a34;
  --r-border:#21262d;--r-border-2:#2d343e;--r-text:#e6edf3;--r-text-2:#c4cdd6;--r-muted:#8b949e;--r-faint:#6e7681;
  --r-accent:#a1e435;--r-accent-ink:#0b1203;--r-accent-soft:rgba(161,228,53,.12);--r-accent-line:rgba(161,228,53,.35);
  --r-live:#ff4d4f;--r-radius:14px;--r-radius-sm:10px;--r-ease:cubic-bezier(.2,.8,.2,1);
  --r-font:"Inter","IBM Plex Sans Arabic",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  /* remap legacy tokens so older files follow the new palette */
  --bg:var(--r-bg);--panel:var(--r-surface);--line:var(--r-border);--muted:var(--r-muted);--green:var(--r-accent);--soft-green:var(--r-accent-soft);
  --gv-card:var(--r-surface);--gv-card-2:var(--r-surface-2);--gv-line:var(--r-border);--gv-text:var(--r-text);--gv-muted:var(--r-muted);--gv-green:var(--r-accent);
  --font-sans:var(--r-font);
}
html body{background:var(--r-bg)!important;color:var(--r-text);font-family:var(--r-font)!important;font-feature-settings:"cv11","ss01","tnum" 0;-webkit-font-smoothing:antialiased;letter-spacing:-.005em}
html body :is(button,input,select,textarea){font-family:inherit!important}
html body :is(h1,h2,h3){letter-spacing:-.02em}
html body :is(time,.score,.pts,.gv-count,.result-count,[class*=count],[class*=points]){font-variant-numeric:tabular-nums}
::selection{background:var(--r-accent);color:var(--r-accent-ink)}
:focus-visible{outline:2px solid var(--r-accent)!important;outline-offset:2px}

/* ---------- Header: anchored, blurred ---------- */
html body .app-header{background:rgba(11,14,20,.72)!important;backdrop-filter:saturate(160%) blur(16px);-webkit-backdrop-filter:saturate(160%) blur(16px);border-bottom:1px solid var(--r-border)!important;box-shadow:none!important}
html body .app-header .menu-toggle{background:transparent!important;border:1px solid transparent!important;border-radius:10px!important;color:var(--r-text-2)!important;transition:background .2s}
html body .app-header .menu-toggle:hover{background:var(--r-surface)!important}
html body .mobile-brand{font-weight:800!important;letter-spacing:-.03em!important}
html body .language-select select,html body #language-picker{appearance:none;-webkit-appearance:none;background:var(--r-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center!important;border:1px solid var(--r-border)!important;border-radius:999px!important;color:var(--r-text)!important;font-weight:600!important;font-size:13px!important;padding-inline:12px 28px!important;height:36px!important;min-height:36px!important;box-shadow:none!important}
html[dir=rtl] body #language-picker{background-position:left 10px center!important;padding-inline:12px 28px!important}
/* avatar */
html body #header-account-trigger,html body #header-google-trigger{border-radius:999px!important;background:var(--r-surface)!important;border:1px solid var(--r-border)!important;box-shadow:none!important;transition:border-color .2s,background .2s}
html body #header-account-trigger:hover,html body #header-google-trigger:hover{border-color:var(--r-border-2)!important;background:var(--r-surface-2)!important}
html body #header-account-trigger .header-player-avatar{width:30px!important;height:30px!important;border-radius:50%!important;background:linear-gradient(135deg,#a1e435,#3fbf8f)!important;color:var(--r-accent-ink)!important;font-weight:800!important;box-shadow:0 0 0 2px var(--r-bg),0 0 0 3px var(--r-accent-line)!important;display:grid!important;place-items:center!important}
html body #header-account-trigger::after{content:"";width:8px;height:8px;margin-inline:2px 6px;border-right:2px solid var(--r-muted);border-bottom:2px solid var(--r-muted);transform:rotate(45deg) translateY(-2px);flex:none;transition:transform .2s var(--r-ease)}
html body #header-account-trigger[aria-expanded=true]::after{transform:rotate(225deg) translateY(-2px)}
html body #header-google-trigger .header-google-mark{background:#fff!important;color:#4285f4!important;font-weight:800!important}

/* account menu as a dropdown */
@media (min-width:701px){
  html body #player-account-dialog[open]{position:fixed!important;inset:64px 16px auto auto!important;margin:0!important;width:340px!important;max-height:calc(100vh - 90px)!important;border-radius:16px!important;border:1px solid var(--r-border-2)!important;background:var(--r-surface)!important;box-shadow:0 24px 60px rgba(0,0,0,.55)!important;animation:r-drop .18s var(--r-ease)}
  html[dir=rtl] body #player-account-dialog[open]{inset:64px auto auto 16px!important}
  html body #player-account-dialog::backdrop{background:transparent!important;backdrop-filter:none!important}
}
@keyframes r-drop{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}

/* ---------- Side menu ---------- */
html body aside.sidebar{background:rgba(15,19,26,.92)!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-color:var(--r-border)!important}
html body aside.sidebar nav button{border-radius:10px!important;color:var(--r-text-2)!important;background:transparent!important;border:0!important;font-weight:600!important;transition:background .18s,color .18s}
html body aside.sidebar nav button:hover{background:var(--r-surface)!important;color:var(--r-text)!important}
html body aside.sidebar nav button:is(.active,[aria-current=page]){background:var(--r-accent-soft)!important;color:var(--r-accent)!important;box-shadow:inset 3px 0 0 var(--r-accent)}
html[dir=rtl] body aside.sidebar nav button:is(.active,[aria-current=page]){box-shadow:inset -3px 0 0 var(--r-accent)}

/* ---------- Page heading ---------- */
html body #page-title{font-size:28px!important;font-weight:800!important;letter-spacing:-.03em!important;color:var(--r-text)!important}
html body #page-description{color:var(--r-muted)!important;font-size:14px!important;font-weight:400!important}
html body #section-title{font-weight:700!important;letter-spacing:-.02em!important}
html body .result-count,html body .gv-count,html body .league-count{background:var(--r-surface-3)!important;color:var(--r-text-2)!important;border:0!important;border-radius:999px!important;font-weight:600!important;font-size:11.5px!important}

/* ---------- Buttons ---------- */
html body button.secondary,html body a.secondary{background:var(--r-surface)!important;border:1px solid var(--r-border)!important;color:var(--r-text)!important;box-shadow:none!important;font-weight:600!important;transition:background .18s,border-color .18s,transform .12s}
html body button.secondary:hover{background:var(--r-surface-2)!important;border-color:var(--r-border-2)!important}
html body button.primary,html body a.primary{background:var(--r-accent)!important;color:var(--r-accent-ink)!important;border:0!important;font-weight:700!important;box-shadow:0 6px 18px -8px rgba(161,228,53,.55)!important;transition:filter .18s,transform .12s}
html body button.primary:hover{filter:brightness(1.06)}
html body :is(button.primary,button.secondary):active{transform:scale(.98)}
/* repeated CTAs inside list cards: calm outline instead of big lime blocks */
html body .game-upcoming-card button.primary{background:transparent!important;color:var(--r-accent)!important;border:1px solid var(--r-accent-line)!important;box-shadow:none!important}
html body .game-upcoming-card button.primary:hover{background:var(--r-accent-soft)!important}
html body .competition-match-actions button.primary{background:var(--r-accent-soft)!important;color:var(--r-accent)!important;border:1px solid var(--r-accent-line)!important;box-shadow:none!important}

/* ---------- Quick links on Matches (Competitions / Standings / …) ---------- */
html body #simple-match-links{gap:8px!important}
html body #simple-match-links button{background:var(--r-surface)!important;border:1px solid var(--r-border)!important;border-radius:12px!important;min-height:44px!important;font-weight:600!important;color:var(--r-text)!important;transition:background .18s,border-color .18s}
html body #simple-match-links button:hover{border-color:var(--r-border-2)!important;background:var(--r-surface-2)!important}
html body #simple-match-links button svg{color:var(--r-accent)!important}

/* ---------- Segmented tabs: minimal pill, accent text ---------- */
html body :is(.toolbar .tabs,.standings-choices,.gv-seg,.competition-tabs,.gv-cl-tabs,.detail-tabs,.match-tabs){background:var(--r-bg-2)!important;border:1px solid var(--r-border)!important;border-radius:12px!important;padding:4px!important;gap:4px!important;box-shadow:none!important}
html body :is(.toolbar .tabs,.standings-choices,.gv-seg,.competition-tabs,.gv-cl-tabs) > button{background:transparent!important;color:var(--r-muted)!important;border:0!important;border-radius:9px!important;box-shadow:none!important;font-weight:600!important;transition:color .2s var(--r-ease),background .25s var(--r-ease)}
html body :is(.toolbar .tabs,.standings-choices,.gv-seg,.competition-tabs,.gv-cl-tabs) > button:hover{color:var(--r-text)!important}
html body :is(.toolbar .tabs,.standings-choices,.gv-seg,.competition-tabs,.gv-cl-tabs) > button:is(.selected,.active,[aria-pressed=true],[aria-selected=true]){background:var(--r-surface-3)!important;color:var(--r-text)!important;box-shadow:inset 0 -2px 0 var(--r-accent),0 1px 2px rgba(0,0,0,.35)!important}
html body .toolbar .tabs > button b{background:transparent!important;color:var(--r-faint)!important;font-weight:600!important}
html body .toolbar .tabs > button:is(.selected,[aria-pressed=true]) b{color:var(--r-accent)!important}
html body .toolbar .tabs > button[data-filter=live] b{color:var(--r-live)!important}
.r-tab-in{animation:r-fade-up .28s var(--r-ease)}
@keyframes r-fade-up{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* ---------- Day strip ---------- */
html body #fixture-days{gap:8px!important;scrollbar-width:none}
html body #fixture-days::-webkit-scrollbar{display:none}
html body #fixture-days button{background:var(--r-surface)!important;border:1px solid var(--r-border)!important;border-radius:12px!important;color:var(--r-text-2)!important;box-shadow:none!important;transition:border-color .18s,background .18s}
html body #fixture-days button span{color:var(--r-faint)!important}
html body #fixture-days button[aria-pressed=true]{background:var(--r-accent-soft)!important;border-color:var(--r-accent-line)!important;color:var(--r-accent)!important}
html body #fixture-days button[aria-pressed=true] span{color:var(--r-accent)!important;opacity:.8}
html body .fixture-date-controls :is(button,input){background:var(--r-surface)!important;border:1px solid var(--r-border)!important;color:var(--r-text)!important;box-shadow:none!important}
html body #live-source-bar{background:transparent!important;border:0!important}
html body .source-indicator{color:var(--r-accent)!important;font-weight:600!important}

/* ---------- Search: sticky glass bar with shortcut hint ---------- */
html body :is(.toolbar label.search,.gv-ps-field){position:relative;background:rgba(22,27,34,.78)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid var(--r-border-2)!important;border-radius:12px!important;box-shadow:0 8px 24px -16px rgba(0,0,0,.8)!important;transition:border-color .2s,box-shadow .2s}
html body :is(.toolbar label.search,.gv-ps-field):focus-within{border-color:var(--r-accent-line)!important;box-shadow:0 0 0 3px var(--r-accent-soft)!important}
html body :is(.toolbar label.search,.gv-ps-field) input:is(input){background:transparent!important;background-color:transparent!important;border:0!important;box-shadow:none!important;color:var(--r-text)!important;font-weight:500!important}
html body :is(.toolbar label.search,.gv-ps-field) input::placeholder{color:var(--r-faint)!important}
html body section#gv-player-search{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
html body .toolbar{position:static!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body .toolbar label.search{position:sticky!important;top:84px;z-index:20}
html body .toolbar label.search::before{content:"";position:absolute;inset:-10px -16px -8px;z-index:-1;background:linear-gradient(var(--r-bg) 75%,transparent);pointer-events:none}
html body .r-kbd{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);font:600 11px/1 var(--r-font);color:var(--r-muted);background:var(--r-surface-3);border:1px solid var(--r-border-2);border-bottom-width:2px;border-radius:6px;padding:4px 7px;pointer-events:none}
html body .r-search-ico{width:16px;height:16px;color:var(--r-muted);flex:none}
@media (hover:none),(max-width:700px){html body .r-kbd{display:none}}

/* ---------- League cards (compact rows, chevrons, hover) ---------- */
html body #matches .league{background:var(--r-surface)!important;border:1px solid var(--r-border)!important;border-radius:var(--r-radius)!important;box-shadow:none!important;margin-bottom:8px!important;overflow:hidden;transition:border-color .2s}
html body #matches .league:hover{border-color:var(--r-border-2)!important}
html body .league-header-row{background:transparent!important;border:0!important}
html body .league-heading{background:transparent!important;border:0!important;box-shadow:none!important;transition:background .18s}
html body .league-heading:hover{background:var(--r-surface-2)!important}
html body .league-title strong{font-weight:700!important;color:var(--r-text)!important;letter-spacing:-.01em}
html body .league-title small{color:var(--r-faint)!important;font-weight:500!important}
html body .league-status-chip{background:transparent!important;border:0!important;color:var(--r-muted)!important;padding:0!important;font-weight:500!important}
html body .league-status-chip.status-live{color:var(--r-live)!important}
html body .league-status-chip.status-live b::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--r-live);margin-inline-end:5px;vertical-align:1px;animation:r-pulse 1.4s infinite}
@keyframes r-pulse{0%{box-shadow:0 0 0 0 rgba(255,77,79,.6)}70%{box-shadow:0 0 0 6px rgba(255,77,79,0)}100%{box-shadow:0 0 0 0 rgba(255,77,79,0)}}
html body .collapse-icon{background:transparent!important;color:var(--r-muted)!important;border:0!important;transition:transform .25s var(--r-ease)}
html body .league-heading[aria-expanded=false] .collapse-icon{transform:rotate(180deg)}
html body :is(.competition-star,.league-info-button){background:transparent!important;border:0!important;color:var(--r-faint)!important;box-shadow:none!important}
html body .competition-star[aria-pressed=true]{color:#f5c542!important}
html body .league-matches{border-top:1px solid var(--r-border)!important;background:var(--r-bg-2)!important}

/* country / league badges: round, bordered, soft shadow */
html body :is(.league-emblem,.standings-competition-grid > button .competition-country-flag,.standings-competition-grid > button .gv-league-logo){background:var(--r-surface-3)!important;border:0!important}
html body .league-emblem{width:32px!important;height:32px!important;min-width:32px!important;border-radius:50%!important;overflow:hidden;display:grid!important;place-items:center!important;box-shadow:0 0 0 1px rgba(255,255,255,.08),0 2px 6px rgba(0,0,0,.45)!important}
html body .league-emblem img.competition-country-flag{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;box-shadow:none!important}
html body .league-emblem img.gv-league-logo{width:72%!important;height:72%!important;object-fit:contain!important}
html body img.competition-country-flag{border-radius:50%!important;object-fit:cover!important;aspect-ratio:1;box-shadow:0 0 0 1px rgba(255,255,255,.1),0 2px 6px rgba(0,0,0,.45)!important}

/* match rows */
html body #matches .match{background:transparent!important;border:0!important;border-bottom:1px solid var(--r-border)!important;box-shadow:none!important;transition:background .15s}
html body #matches .match:last-child{border-bottom:0!important}
html body #matches .match:hover{background:rgba(255,255,255,.025)!important}
html body #matches .match :is(.team,.score){background:transparent!important;border:0!important;box-shadow:none!important}
html body #matches .team-name{font-weight:600!important;color:var(--r-text)!important}
html body #matches .score{font-weight:800!important;color:var(--r-text)!important}
html body #matches .score.upcoming{font-weight:700!important;color:var(--r-text-2)!important}
html body .match-status{background:transparent!important;border:0!important;color:var(--r-faint)!important;font-weight:600!important}
html body .match-status.live{color:var(--r-live)!important}
html body .kickoff-countdown{color:var(--r-faint)!important}
html body .favorite{background:transparent!important;border:0!important;color:var(--r-faint)!important}
html body .favorite.active,html body .favorite[aria-pressed=true]{color:#f5c542!important}

/* ---------- Standings: competition grid ---------- */
html body .standings-competition-grid{display:grid!important;grid-template-columns:1fr!important;gap:0!important;background:var(--r-surface)!important;border:1px solid var(--r-border)!important;border-radius:var(--r-radius)!important;overflow:hidden}
@media (min-width:900px){html body .standings-competition-grid{grid-template-columns:1fr 1fr!important;gap:10px!important;background:transparent!important;border:0!important;overflow:visible}html body .standings-competition-grid > button{border:1px solid var(--r-border)!important;border-radius:12px!important}}
html body .standings-competition-grid > button{display:flex!important;align-items:center!important;gap:12px!important;min-height:56px!important;padding:10px 14px!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--r-border)!important;border-radius:0!important;box-shadow:none!important;text-align:start!important;transition:background .18s,transform .18s var(--r-ease)}
html body .standings-competition-grid > button:last-child{border-bottom:0!important}
html body .standings-competition-grid > button:hover{background:var(--r-surface-2)!important}
html body .standings-competition-grid > button:hover > span:last-child{transform:translateX(3px);color:var(--r-accent)!important}
html[dir=rtl] body .standings-competition-grid > button:hover > span:last-child{transform:translateX(-3px)}
html body .standings-competition-grid > button strong{flex:1;font-weight:600!important;color:var(--r-text)!important;font-size:15px!important}
html body .standings-competition-grid > button :is(.competition-country-flag,.gv-league-logo){width:30px!important;height:30px!important;min-width:30px!important;border-radius:50%!important;object-fit:cover!important;padding:0!important}
html body .standings-competition-grid > button .gv-league-logo{object-fit:contain!important;padding:5px!important;background:var(--r-surface-3)!important;box-shadow:0 0 0 1px rgba(255,255,255,.1),0 2px 6px rgba(0,0,0,.45)!important}
html body .standings-competition-grid > button > span:last-child{font-size:0!important;width:18px;height:18px;flex:none;color:var(--r-faint)!important;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .2s var(--r-ease),color .2s}
html[dir=rtl] body .standings-competition-grid > button > span:last-child{transform:scaleX(-1)}
html body .r-meta{display:block;font-size:12px;font-weight:500;color:var(--r-faint);margin-top:1px}
html body .r-meta .r-live{color:var(--r-live);font-weight:600}

/* ---------- Generic surfaces ---------- */
html body :is(section#match-alerts,details#simple-match-extra,.rail-card,.fr-card,.game-profile-form,.game-upcoming-card,.player-id-start,.simple-room-start,details.game-rules,.rooms-help,.game-hub-banner,.competition-match-card,.room-card,.friends-page>section,.gv-cl-row,.simple-alert-empty){background:var(--r-surface)!important;border:1px solid var(--r-border)!important;box-shadow:none!important}
html body :is(.competition-match-card,.game-upcoming-card){transition:border-color .2s,transform .2s var(--r-ease)}
html body :is(.competition-match-card,.game-upcoming-card):hover{border-color:var(--r-border-2)!important}
html body :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]){background-color:var(--r-bg-2)!important;border-color:var(--r-border-2)!important;color:var(--r-text)!important}
html body dialog{background:var(--r-bg)!important;color:var(--r-text)}
html body dialog::backdrop{background:rgba(5,7,10,.6)!important;backdrop-filter:blur(4px)}
html body .gv-dlg-bar{background:rgba(11,14,20,.78)!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--r-border)!important}
html body .competition-tabs{position:sticky;top:64px;z-index:5}

/* ---------- Bottom navigation ---------- */
html body .mobile-nav{background:rgba(11,14,20,.8)!important;backdrop-filter:saturate(160%) blur(18px);-webkit-backdrop-filter:saturate(160%) blur(18px);border-top:1px solid var(--r-border)!important;box-shadow:0 -10px 30px -20px rgba(0,0,0,.9)!important}
html body .mobile-nav button{position:relative;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--r-faint)!important;padding:8px 2px 10px!important;gap:4px!important;transition:color .2s var(--r-ease)}
html body .mobile-nav button span{font-size:10.5px!important;font-weight:600!important;letter-spacing:0!important}
html body .mobile-nav button svg{transition:transform .3s var(--r-ease),filter .3s}
html body .mobile-nav button::before{content:"";position:absolute;top:0;left:50%;width:0;height:3px;border-radius:0 0 3px 3px;background:var(--r-accent);transform:translateX(-50%);transition:width .3s var(--r-ease);box-shadow:0 0 12px var(--r-accent)}
html body .mobile-nav button:is(.active,[aria-current=page]){color:var(--r-accent)!important}
html body .mobile-nav button:is(.active,[aria-current=page])::before{width:28px}
html body .mobile-nav button:is(.active,[aria-current=page]) svg{transform:translateY(-1px) scale(1.08);filter:drop-shadow(0 0 6px rgba(161,228,53,.55))}
html body .mobile-nav button:active svg{transform:scale(.88)}

/* ---------- Skeleton loaders ---------- */
html body :is(.competition-loading,.game-loading,.loading-state,.account-menu-loading,.play-pool-state:empty){position:relative;color:var(--r-faint)!important;font-size:12px!important;background:transparent!important;border:0!important;padding:0 0 0!important;min-height:0}
html body :is(.competition-loading,.game-loading,.loading-state)::after{content:"";display:block;margin-top:10px;height:212px;border-radius:12px;
  background:
   linear-gradient(90deg,transparent 0,rgba(255,255,255,.05) 50%,transparent 100%) -300px 0/300px 100% no-repeat,
   linear-gradient(var(--r-surface) 0 0) 0 0/100% 64px no-repeat,
   linear-gradient(var(--r-surface) 0 0) 0 74px/100% 64px no-repeat,
   linear-gradient(var(--r-surface) 0 0) 0 148px/100% 64px no-repeat;
  animation:r-shimmer 1.3s linear infinite}
@keyframes r-shimmer{to{background-position:calc(100% + 300px) 0,0 0,0 74px,0 148px}}
html body .r-skel{display:grid;gap:8px}
html body .r-skel i{display:block;height:62px;border-radius:14px;background:linear-gradient(90deg,var(--r-surface) 0,var(--r-surface-2) 50%,var(--r-surface) 100%) 0 0/200% 100%;animation:r-sk 1.3s linear infinite;border:1px solid var(--r-border)}
@keyframes r-sk{from{background-position:100% 0}to{background-position:-100% 0}}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion:reduce){html body *{animation:none!important;transition:none!important}}

/* ---------- v2 refinements ---------- */
html body #page-title{font-size:24px!important}
html body #page-description{font-size:13px!important;line-height:1.45!important}
html body .league-heading{gap:12px!important;padding:10px 8px 10px 12px!important;min-height:56px!important}
html body .league-title{flex:1 1 auto!important;min-width:0!important;max-width:none!important;display:flex!important;flex-direction:column!important;gap:2px!important}
html body .league-title strong{font-size:14.5px!important;line-height:1.25!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body #matches .league-title .league-status-summary{display:flex!important;gap:8px;font-size:11.5px!important;line-height:1.2}
html body .league-status-chip{font-size:11.5px!important}
html body .league-status-chip b{font-weight:700!important;color:var(--r-text-2)!important;margin-inline-end:2px}
html body .league-status-chip.status-live b{color:var(--r-live)!important}
html body .league-status-chip.status-finished{color:var(--r-faint)!important}
html body .league-header-row .competition-star{width:40px!important;font-size:18px!important}
html body #matches{display:flex!important;flex-direction:column!important;gap:8px!important}
html body #matches .league{margin:0!important}
html body :is(.toolbar label.search,.gv-ps-field) input:not([type=checkbox]):not([type=radio]):not([type=range]){background:transparent!important;background-color:transparent!important;border:0!important;box-shadow:none!important}

/* ---------- Boosted rules (beat older #id selectors) ---------- */
html :is(#r-boost,body) :is(.competition-tabs,.gv-cl-tabs,.standings-choices,.toolbar .tabs) > button{background:transparent!important;color:var(--r-muted)!important;border:0!important;box-shadow:none!important}
html :is(#r-boost,body) :is(.competition-tabs,.gv-cl-tabs,.standings-choices,.toolbar .tabs) > button:is(.selected,.active,[aria-pressed=true],[aria-selected=true]){background:var(--r-surface-3)!important;color:var(--r-text)!important;box-shadow:inset 0 -2px 0 var(--r-accent),0 1px 2px rgba(0,0,0,.35)!important}
html :is(#r-boost,body) .rankings-navigation button{background:var(--r-surface)!important;border:1px solid var(--r-border)!important;color:var(--r-muted)!important;box-shadow:none!important;font-weight:600!important}
html :is(#r-boost,body) .rankings-navigation button:is([aria-pressed=true],.active,.selected){background:var(--r-accent-soft)!important;border-color:var(--r-accent-line)!important;color:var(--r-accent)!important}

/* standings table */
html :is(#r-boost,body) table.competition-table{background:var(--r-surface)!important;border:1px solid var(--r-border)!important;border-radius:var(--r-radius)!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden}
html :is(#r-boost,body) table.competition-table thead{background:var(--r-bg-2)!important}
html :is(#r-boost,body) table.competition-table thead th{background:transparent!important;color:var(--r-faint)!important;font-size:11px!important;font-weight:600!important;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--r-border)!important}
html :is(#r-boost,body) table.competition-table tbody :is(td,th){background:transparent!important;border-bottom:1px solid var(--r-border)!important;color:var(--r-text-2)!important}
html :is(#r-boost,body) table.competition-table tbody tr:last-child :is(td,th){border-bottom:0!important}
html :is(#r-boost,body) table.competition-table tbody tr{transition:background .15s}
html :is(#r-boost,body) table.competition-table tbody tr:hover{background:rgba(255,255,255,.025)!important}
html :is(#r-boost,body) table.competition-table tbody th .competition-club-button{color:var(--r-text)!important;font-weight:600!important;background:transparent!important}
html :is(#r-boost,body) table.competition-table .table-points{background:transparent!important;color:var(--r-text)!important;font-weight:800!important}
html :is(#r-boost,body) table.competition-table .competition-rank{color:var(--r-muted)!important;font-weight:600!important;box-shadow:inset 3px 0 0 var(--qual-color,transparent)}
html[dir=rtl] body :is(#r-boost,*) table.competition-table .competition-rank{box-shadow:inset -3px 0 0 var(--qual-color,transparent)}
html :is(#r-boost,body) .competition-table-scroll{background:transparent!important;border:0!important;box-shadow:none!important}
