/* OddVora — Main Stylesheet
   Path: assets/css/main.css
*/

/* ─────────────────────────────────────
   TOKENS
───────────────────────────────────── */
:root {
  --f: 'Inter', system-ui, sans-serif;
  --fm: 'JetBrains Mono', monospace;
  --red: #dc2626;
  --red2: #b91c1c;
  --grn: #16a34a;
  --amb: #d97706;
  --blu: #2563eb;
  --pur: #7c3aed;
  --r4: 4px;
  --r8: 8px;
  --r12: 12px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* Dark theme */
[data-theme="dark"] {
  --bg:   #0c0c0c;
  --bg1:  #111;
  --bg2:  #171717;
  --bg3:  #1f1f1f;
  --card: #141414;
  --hov:  #1a1a1a;
  --b1:   #252525;
  --b2:   #383838;
  --tx:   #f1f1f1;
  --tx2:  #888;
  --tx3:  #4a4a4a;
  --rlt:  rgba(220,38,38,.1);
  --rbd:  rgba(220,38,38,.3);
  --glt:  rgba(22,163,74,.1);
  --gbd:  rgba(22,163,74,.3);
  --alt:  rgba(217,119,6,.1);
  --abd:  rgba(217,119,6,.3);
  --blt:  rgba(37,99,235,.1);
  --bbd:  rgba(37,99,235,.3);
  --plt:  rgba(124,58,237,.1);
  --pbd:  rgba(124,58,237,.3);
  --trk:  #1f1f1f;
}

/* Light theme */
[data-theme="light"] {
  --bg:   #f4f4f4;
  --bg1:  #fff;
  --bg2:  #f0f0f0;
  --bg3:  #e8e8e8;
  --card: #fff;
  --hov:  #f8f8f8;
  --b1:   #e0e0e0;
  --b2:   #c4c4c4;
  --tx:   #111;
  --tx2:  #666;
  --tx3:  #aaa;
  --rlt:  rgba(220,38,38,.08);
  --rbd:  rgba(220,38,38,.22);
  --glt:  rgba(22,163,74,.08);
  --gbd:  rgba(22,163,74,.22);
  --alt:  rgba(217,119,6,.1);
  --abd:  rgba(217,119,6,.25);
  --blt:  rgba(37,99,235,.08);
  --bbd:  rgba(37,99,235,.22);
  --plt:  rgba(124,58,237,.08);
  --pbd:  rgba(124,58,237,.22);
  --trk:  #e8e8e8;
}

/* ─────────────────────────────────────
   RESET
───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f);
  background: var(--bg);
  color: var(--tx);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font-family: var(--f); cursor: pointer; border: none; background: none; }

/* ─────────────────────────────────────
   TOP BAR
───────────────────────────────────── */
.topbar {
  background: var(--red);
  padding: 0 20px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-stat { font-size: 11px; color: rgba(255,255,255,.8); }
.topbar-stat strong { color: #fff; font-weight: 700; }
.topbar-sep { width: 1px; height: 12px; background: rgba(255,255,255,.25); }
.topbar-right { display: flex; gap: 14px; }
.topbar-right a { font-size: 11px; color: rgba(255,255,255,.7); transition: color .15s; }
.topbar-right a:hover { color: #fff; }

/* ─────────────────────────────────────
   HEADER
───────────────────────────────────── */
.header {
  background: var(--bg1);
  border-bottom: 1px solid var(--b1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.logo-text { font-size: 26px; font-weight: 900; letter-spacing: -1px; color: var(--tx); line-height: 1; }
.logo-text em { color: var(--red); font-style: normal; }

/* Search */
.header-search {
  flex: 1;
  max-width: 340px;
}
.header-search input {
  width: 100%;
  height: 36px;
  background: var(--bg2);
  border: 1px solid var(--b1);
  border-radius: 6px;
  padding: 0 14px;
  font-family: var(--f);
  font-size: 13px;
  color: var(--tx);
  outline: none;
  transition: border-color .15s;
}
.header-search input::placeholder { color: var(--tx3); }
.header-search input:focus { border-color: var(--b2); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hbtn {
  height: 36px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid var(--b1);
  background: var(--bg2);
  color: var(--tx2);
  font-size: 12px;
  font-weight: 600;
  transition: border-color .15s, color .15s;
}
.hbtn:hover { border-color: var(--b2); color: var(--tx); }
.hbtn.sq { width: 36px; padding: 0; display: grid; place-items: center; }

.ham-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--b1);
  background: var(--bg2);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.ham-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--tx2);
  border-radius: 1px;
  transition: transform .2s, opacity .15s;
}
.ham-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ham-btn.open span:nth-child(2) { opacity: 0; }
.ham-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─────────────────────────────────────
   NAV
───────────────────────────────────── */
.nav {
  background: var(--bg1);
  border-bottom: 1px solid var(--b1);
  position: sticky;
  top: 60px;
  z-index: 200;
}
.nav-scroll { width: 100%; }
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
}
.nav-a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  height: 42px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tx2);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .12s, border-color .12s;
}
.nav-a:hover { color: var(--tx); }
.nav-a.act { color: var(--red); border-bottom-color: var(--red); }
.nav-chevron-icon {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px,-1px);
  transition: transform .15s;
  opacity: .5;
}

/* Dropdown */
.nav-item { position: relative; }
.nav-item .nav-a { cursor: pointer; }
.nav-drop {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  background: var(--card);
  border: 1px solid var(--b2);
  border-top: 2px solid var(--red);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
  z-index: 9999;
  min-width: 180px;
  padding: 6px;
  animation: fdrop .15s ease;
}
.nav-drop.wide {
  width: 700px;
  max-width: calc(100vw - 40px);
  left: 0;
  right: auto;
  transform: none;
}
.nav-item:hover > .nav-drop { display: block; }
.nav-item.open > .nav-drop { display: block; }
.nav-item:hover .nav-chevron-icon,
.nav-item.open .nav-chevron-icon { transform: rotate(-135deg) translate(-1px,-1px); opacity: 1; }
@keyframes fdrop { from { opacity:0; transform:translateY(-4px) } to { opacity:1; transform:translateY(0) } }

.mega-g { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 16px; padding: 4px; }
.mega-section-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: 4px 8px 8px;
  border-bottom: 1px solid var(--b1);
  margin-bottom: 4px;
  font-family: var(--fm);
}
.drop-a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--tx2);
  gap: 8px;
  transition: background .1s, color .1s;
}
.drop-a:hover { background: var(--bg3); color: var(--tx); }
.drop-a-name { font-weight: 600; color: var(--tx); font-size: 12.5px; }
.drop-a-sub { font-size: 11px; color: var(--tx3); }
.drop-badge {
  font-family: var(--fm);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 3px;
  background: var(--bg3);
  color: var(--tx2);
  flex-shrink: 0;
  font-weight: 500;
}

/* ─────────────────────────────────────
   MOBILE DRAWER
───────────────────────────────────── */
.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.mob-overlay.open { opacity: 1; pointer-events: all; }

.mob-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 100vw);
  height: 100%;
  background: var(--bg1);
  border-left: 1px solid var(--b1);
  z-index: 400;
  display: flex;
  flex-direction: column;
  transition: right .28s var(--ease);
  overflow: hidden;
}
.mob-drawer.open { right: 0; }

.mob-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--b1);
  flex-shrink: 0;
}
.mob-logo { font-size: 22px; font-weight: 900; letter-spacing: -1px; color: var(--tx); }
.mob-logo em { color: var(--red); font-style: normal; }
.mob-x {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--b1);
  background: var(--bg2);
  color: var(--tx2);
  font-size: 16px;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: color .12s;
}
.mob-x:hover { color: var(--tx); }

.mob-kpis {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-bottom: 1px solid var(--b1);
  flex-shrink: 0;
}
.mob-kpi {
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid var(--b1);
}
.mob-kpi:last-child { border-right: none; }
.mob-kpi-v { font-size: 18px; font-weight: 800; letter-spacing: -.5px; line-height: 1; margin-bottom: 2px; }
.mob-kpi-v.r { color: var(--red); }
.mob-kpi-v.g { color: var(--grn); }
.mob-kpi-v.a { color: var(--amb); }
.mob-kpi-l { font-size: 9.5px; color: var(--tx2); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

.mob-body { flex: 1; overflow-y: auto; padding: 10px 14px 20px; }
.mob-section-lbl {
  font-size: 9px;
  font-weight: 700;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 10px 8px 4px;
  font-family: var(--fm);
}
.mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tx2);
  transition: background .1s, color .1s;
}
.mob-link:hover, .mob-link.act { background: var(--bg3); color: var(--tx); }
.mob-link.act { color: var(--red); }
.mob-link .arr { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .35; }
.mob-acc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tx2);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .1s, color .1s;
}
.mob-acc-toggle:hover { background: var(--bg3); color: var(--tx); }
.mob-acc-toggle .carr {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px,-1px);
  opacity: .4;
  transition: transform .18s;
}
.mob-acc-toggle.open .carr { transform: rotate(-135deg) translate(-1px,-1px); }
.mob-sub { display: none; padding-left: 12px; border-left: 1px solid var(--b1); margin: 2px 0 4px 10px; }
.mob-sub.open { display: flex; flex-direction: column; }
.mob-sub a { padding: 8px 10px; font-size: 12.5px; color: var(--tx2); border-radius: 5px; display: block; transition: color .1s, background .1s; }
.mob-sub a:hover { color: var(--tx); background: var(--bg3); }
.mob-sep { height: 1px; background: var(--b1); margin: 8px 0; }

.mob-foot { padding: 14px 20px; border-top: 1px solid var(--b1); flex-shrink: 0; }
.mob-foot-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; }
.mob-foot-links a { font-size: 11.5px; color: var(--tx2); transition: color .12s; }
.mob-foot-links a:hover { color: var(--tx); }
.mob-disc { font-size: 10.5px; color: var(--tx3); line-height: 1.6; }

/* ─────────────────────────────────────
   PAGE LAYOUT
───────────────────────────────────── */
.page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
  width: 100%;
  min-width: 0;
}
main { min-width: 0; overflow: hidden; }
main > * { max-width: 100%; box-sizing: border-box; }

/* ─────────────────────────────────────
   PAGE H1 — SEO-first, visually integrated
   Must be the first element inside <main>.
   Keyword-rich title rendered as a styled
   banner, consistent with OddVora's card style.
───────────────────────────────────── */
.page-h1 {
  font-size: 22px;
  font-weight: 900;
  color: var(--tx);
  letter-spacing: -.4px;
  line-height: 1.3;
  margin-bottom: 16px;
  padding: 14px 20px;
  background: var(--card);
  border: 1px solid var(--b1);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--r8) var(--r8) 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.page-h1-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--tx3);
  font-family: var(--fm);
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ─────────────────────────────────────
   SECTION HEADER
───────────────────────────────────── */
.sec-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 8px; }
/* sec-title is now a <p> in the sub-header, not an <h1> */
.sec-title { font-size: 16px; font-weight: 800; color: var(--tx); letter-spacing: -.3px; }
.sec-link { font-size: 11.5px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .04em; transition: opacity .12s; white-space: nowrap; font-family: var(--fm); }
.sec-link:hover { opacity: .7; }

/* ─────────────────────────────────────
   STATS BAND
───────────────────────────────────── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  background: var(--card);
  border: 1px solid var(--b1);
  border-radius: var(--r8);
  overflow: hidden;
  margin-bottom: 16px;
}
.stat-cell { padding: 16px 10px; text-align: center; border-right: 1px solid var(--b1); }
.stat-cell:last-child { border-right: none; }
.stat-v { font-size: 22px; font-weight: 800; letter-spacing: -.5px; line-height: 1; margin-bottom: 4px; }
.stat-v.r { color: var(--red); }
.stat-v.g { color: var(--grn); }
.stat-v.a { color: var(--amb); }
.stat-v.b { color: var(--blu); }
.stat-v.p { color: var(--pur); }
.stat-l { font-size: 10px; color: var(--tx2); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* ─────────────────────────────────────
   BANKER
───────────────────────────────────── */
.banker {
  background: var(--card);
  border: 1px solid var(--b1);
  border-left: 3px solid var(--red);
  border-radius: var(--r8);
  padding: 18px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.banker-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: var(--red);
  border-radius: 3px;
  font-size: 9.5px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
  font-family: var(--fm);
}
.banker-match { font-size: 18px; font-weight: 800; color: var(--tx); letter-spacing: -.3px; margin-bottom: 3px; }
.banker-league { font-size: 12px; color: var(--tx2); margin-bottom: 10px; }
.banker-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.banker-tip {
  padding: 4px 12px;
  background: var(--rlt);
  border: 1px solid var(--rbd);
  border-radius: 4px;
  font-family: var(--fm);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--red);
}
.banker-conf { font-size: 12px; color: var(--tx2); }
.banker-conf strong { color: var(--tx); }
.banker-odds-block { flex-shrink: 0; text-align: center; }
.banker-odds { font-size: 36px; font-weight: 900; color: var(--amb); letter-spacing: -1.5px; line-height: 1; display: block; }
.banker-odds-lbl { font-size: 9.5px; color: var(--tx2); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-family: var(--fm); }

/* ─────────────────────────────────────
   ACCUMULATOR
───────────────────────────────────── */
.acc {
  background: var(--card);
  border: 1px solid var(--b1);
  border-radius: var(--r8);
  overflow: hidden;
  margin-bottom: 16px;
}
.acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--b1);
  background: var(--bg2);
}
.acc-tag {
  font-family: var(--fm);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--amb);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 2px;
}
.acc-title { font-size: 14px; font-weight: 700; color: var(--tx); }
.acc-odds-big { font-size: 26px; font-weight: 900; color: var(--grn); letter-spacing: -1px; line-height: 1; }
.acc-odds-lbl { font-size: 9px; color: var(--tx2); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-family: var(--fm); text-align: right; }
.acc-legs { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; }
.acc-leg {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg2);
  border: 1px solid var(--b1);
  border-radius: 6px;
  flex: 1 1 180px;
  min-width: 0;
}
.acc-leg-team { font-size: 13px; font-weight: 700; color: var(--tx); }
.acc-leg-dot { color: var(--tx3); }
.acc-leg-market { font-family: var(--fm); font-size: 11px; font-weight: 600; color: var(--amb); }
.acc-leg-odd { margin-left: auto; font-family: var(--fm); font-size: 12px; color: var(--tx2); font-weight: 500; }

/* ─────────────────────────────────────
   MARKET FILTERS
───────────────────────────────────── */
.mkt-filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  margin-bottom: 16px;
  padding-bottom: 4px;
  max-width: 100%;
}
.mkt-filters::-webkit-scrollbar { display: none; }
.mkt-pill {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tx2);
  background: var(--card);
  border: 1px solid var(--b1);
  white-space: nowrap;
  transition: all .12s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.mkt-pill:hover { border-color: var(--b2); color: var(--tx); }
.mkt-pill.act { background: var(--red); border-color: var(--red); color: #fff; }

/* ─────────────────────────────────────
   LEAGUE BLOCK
───────────────────────────────────── */
.league-block {
  background: var(--card);
  border: 1px solid var(--b1);
  border-radius: var(--r8);
  overflow: hidden;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
  contain: layout;
}

/* League header */
.league-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--b1);
  background: var(--bg2);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.league-flag { width: 20px; height: 13px; flex-shrink: 0; border-radius: 2px; overflow: hidden; border: 1px solid rgba(128,128,128,.2); }
.league-flag svg { display: block; }
.league-name { font-size: 13px; font-weight: 800; color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 1; min-width: 0; }
.league-info { font-size: 11.5px; color: var(--tx2); white-space: nowrap; flex-shrink: 0; }
.league-pills { margin-left: auto; display: flex; gap: 4px; flex-shrink: 0; }
.lp {
  font-family: var(--fm);
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.lp-r { background: var(--rlt); color: var(--red); }
.lp-g { background: var(--glt); color: var(--grn); }
.lp-p { background: var(--plt); color: var(--pur); }
.lp-a { background: var(--alt); color: var(--amb); }
.lp-b { background: var(--blt); color: var(--blu); }

/* ─────────────────────────────────────
   DESKTOP TABLE HEADER
───────────────────────────────────── */
.desktop-col-hdr {
  display: grid;
  grid-template-columns: 48px 1fr 90px 48px 48px 48px 88px 60px 24px;
  padding: 5px 16px;
  border-bottom: 1px solid var(--b1);
  background: var(--bg);
}
.dch-cell {
  font-family: var(--fm);
  font-size: 9px;
  font-weight: 600;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: .06em;
  text-align: center;
}
.dch-cell:nth-child(1),
.dch-cell:nth-child(2) { text-align: left; }

/* ─────────────────────────────────────
   DESKTOP MATCH ROW
───────────────────────────────────── */
.match-desktop {
  display: grid;
  grid-template-columns: 48px 1fr 90px 48px 48px 48px 88px 60px 24px;
  align-items: center;
  min-height: 60px;
  padding: 0 16px;
  border-bottom: 1px solid var(--b1);
  cursor: pointer;
  transition: background .1s;
  user-select: none;
}
.match-desktop:hover,
.match-desktop.is-open { background: var(--hov); }
.match-desktop:last-of-type { border-bottom: none; }

.md-time { font-family: var(--fm); font-size: 11px; color: var(--tx2); font-weight: 500; }
.md-home { font-size: 13.5px; font-weight: 700; color: var(--tx); line-height: 1.3; }
.md-away { font-size: 12px; color: var(--tx2); margin-top: 1px; }
.md-c { text-align: center; }
.md-odd { font-family: var(--fm); font-size: 12.5px; font-weight: 600; color: var(--tx); }
.md-odd.dim { color: var(--tx3); font-weight: 400; font-size: 12px; }

/* tip badges */
.tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--fm);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.t-dc  { background: var(--rlt); color: var(--red);  border: 1px solid var(--rbd); }
.t-ou  { background: var(--glt); color: var(--grn);  border: 1px solid var(--gbd); }
.t-bt  { background: var(--plt); color: var(--pur);  border: 1px solid var(--pbd); }
.t-cs  { background: var(--alt); color: var(--amb);  border: 1px solid var(--abd); }
.t-1x2 { background: var(--blt); color: var(--blu);  border: 1px solid var(--bbd); }

/* confidence */
.conf-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.conf-pct { font-family: var(--fm); font-size: 11.5px; font-weight: 600; color: var(--tx); }
.conf-track { width: 50px; height: 3px; background: var(--trk); border-radius: 2px; overflow: hidden; }
.conf-fill { height: 100%; border-radius: 2px; }
.cf-hi { background: var(--grn); }
.cf-md { background: var(--amb); }
.cf-lo { background: var(--red); }

/* result */
.res {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--fm);
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.res-p { background: var(--bg3); color: var(--tx3); }
.res-w { background: var(--glt); color: var(--grn); }
.res-l { background: var(--rlt); color: var(--red); }

/* chevron */
.chev-cell { display: flex; align-items: center; justify-content: center; }
.chev-icon {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chev-icon::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--tx3);
  border-bottom: 1.5px solid var(--tx3);
  transform: rotate(45deg) translate(-1px,-1px);
  transition: transform .18s;
}
.match-desktop.is-open .chev-icon::after { transform: rotate(-135deg) translate(-1px,-1px); }

/* ─────────────────────────────────────
   MOBILE MATCH CARD
───────────────────────────────────── */
.match-mobile {
  display: none;
  border-bottom: 1px solid var(--b1);
  cursor: pointer;
  transition: background .1s;
  user-select: none;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.match-mobile:hover { background: var(--hov); }
.match-mobile:last-of-type { border-bottom: none; }

.mm-main {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 72px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Left: time strip */
.mm-time-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  flex-shrink: 0;
  border-right: 1px solid var(--b1);
  padding: 8px 4px;
  gap: 4px;
}
.mm-time {
  font-family: var(--fm);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--tx2);
  writing-mode: horizontal-tb;
}

/* Middle: team names + tip */
.mm-body {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
}
.mm-home {
  font-size: 14px;
  font-weight: 700;
  color: var(--tx);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.mm-vs { font-size: 10px; color: var(--tx3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.mm-away {
  font-size: 12.5px;
  color: var(--tx2);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.mm-tip-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; flex-wrap: wrap; }

/* Right: confidence */
.mm-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  gap: 6px;
  flex-shrink: 0;
  border-left: 1px solid var(--b1);
  min-width: 64px;
  width: 64px;
}
.mm-conf-pct { font-family: var(--fm); font-size: 13px; font-weight: 700; color: var(--tx); }
.mm-conf-track { width: 40px; height: 3px; background: var(--trk); border-radius: 2px; overflow: hidden; }
.mm-conf-fill { height: 100%; border-radius: 2px; }

/* Toggle chevron row */
.mm-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  border-top: 1px solid var(--b1);
  background: var(--bg2);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  gap: 8px;
}
.mm-odds-row { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.mm-odd-cell { display: flex; flex-direction: column; align-items: center; min-width: 32px; }
.mm-odd-lbl { font-size: 9px; color: var(--tx3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-family: var(--fm); margin-bottom: 1px; }
.mm-odd-val { font-family: var(--fm); font-size: 13px; font-weight: 700; color: var(--tx2); }
.mm-odd-val.highlight { color: var(--tx); }
.mm-chev {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--tx3);
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
}
.mm-chev-arrow {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid var(--b1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mm-chev-arrow::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--tx3);
  border-bottom: 1.5px solid var(--tx3);
  transform: rotate(45deg) translate(-1px,-1px);
  transition: transform .18s;
}
.match-mobile.is-open .mm-chev-arrow::after { transform: rotate(-135deg) translate(-1px,-1px); }

/* ─────────────────────────────────────
   ANALYSIS PANEL
───────────────────────────────────── */
.analysis-panel {
  display: none;
  border-top: 1px solid var(--b1);
  background: var(--bg);
}
.analysis-panel.open { display: block; }
.ap-inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  padding: 18px 18px 18px;
}
.ap-s-title {
  font-family: var(--fm);
  font-size: 9px;
  font-weight: 600;
  color: var(--tx3);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--b1);
}

/* form dots */
.form-row { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.form-team { font-size: 11.5px; color: var(--tx2); width: 80px; flex-shrink: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form-dots { display: flex; gap: 3px; flex-wrap: wrap; }
.fd { width: 18px; height: 18px; border-radius: 3px; font-family: var(--fm); font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.fd.w { background: var(--glt); color: var(--grn); }
.fd.d { background: var(--bg3); color: var(--tx2); }
.fd.l { background: var(--rlt); color: var(--red); }

/* h2h */
.h2h-row { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.h2h-d { font-family: var(--fm); font-size: 9.5px; color: var(--tx3); width: 36px; flex-shrink: 0; }
.h2h-t { flex: 1; font-size: 11.5px; color: var(--tx2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.h2h-t strong { color: var(--tx); font-weight: 700; }
.h2h-s { font-family: var(--fm); font-size: 12px; font-weight: 700; color: var(--tx); flex-shrink: 0; }

/* stat bars */
.sbar { margin-bottom: 8px; }
.sbar-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--tx2); margin-bottom: 3px; gap: 4px; }
.sbar-labels span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.sbar-labels strong { font-family: var(--fm); font-size: 11px; color: var(--tx); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.sbar-track { height: 3px; background: var(--trk); border-radius: 2px; overflow: hidden; }
.sbar-fill { height: 100%; border-radius: 2px; background: var(--red); }
.sbar-fill.g { background: var(--grn); }

/* analysis note */
.ap-note {
  grid-column: 1 / -1;
  background: var(--card);
  border: 1px solid var(--b1);
  border-left: 3px solid var(--red);
  border-radius: 0 6px 6px 0;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--tx2);
  line-height: 1.75;
}
.ap-note strong { color: var(--red); font-weight: 700; }

/* ─────────────────────────────────────
   VIEW MORE
───────────────────────────────────── */
.view-more { text-align: center; padding: 16px 0 4px; }
.view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--card);
  border: 1px solid var(--b2);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--tx2);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-family: var(--fm);
  transition: border-color .12s, color .12s;
}
.view-more-btn:hover { border-color: var(--red); color: var(--red); }
.view-more-count { font-family: var(--fm); font-size: 11px; color: var(--tx3); margin-top: 8px; }

/* ─────────────────────────────────────
   SIDEBAR
───────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 14px; }
.sb-card { background: var(--card); border: 1px solid var(--b1); border-radius: var(--r8); overflow: hidden; }
.sb-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--b1);
  background: var(--bg2);
}
.sb-bar { width: 3px; height: 13px; background: var(--red); border-radius: 2px; flex-shrink: 0; }
.sb-label { font-size: 11px; font-weight: 700; color: var(--tx2); text-transform: uppercase; letter-spacing: .05em; font-family: var(--fm); }

/* perf grid */
.perf-g { display: grid; grid-template-columns: 1fr 1fr; }
.perf-cell { padding: 14px 12px; text-align: center; border-right: 1px solid var(--b1); border-bottom: 1px solid var(--b1); }
.perf-cell:nth-child(2n) { border-right: none; }
.perf-cell:nth-last-child(-n+2) { border-bottom: none; }
.perf-v { font-size: 22px; font-weight: 800; letter-spacing: -.5px; line-height: 1; margin-bottom: 3px; }
.perf-v.r { color: var(--red); }
.perf-v.g { color: var(--grn); }
.perf-v.a { color: var(--amb); }
.perf-l { font-size: 9.5px; color: var(--tx2); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* hot picks */
.hp-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--b1); transition: background .1s; }
.hp-row:last-child { border-bottom: none; }
.hp-row:hover { background: var(--hov); }
.hp-num { font-family: var(--fm); font-size: 10.5px; font-weight: 700; color: var(--red); width: 20px; flex-shrink: 0; }
.hp-body { flex: 1; min-width: 0; }
.hp-match { font-size: 12.5px; font-weight: 700; color: var(--tx); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-meta { font-family: var(--fm); font-size: 10px; color: var(--tx3); margin-top: 1px; }
.hp-tip { font-family: var(--fm); font-size: 10px; padding: 3px 8px; border-radius: 100px; background: var(--rlt); color: var(--red); flex-shrink: 0; font-weight: 600; }

/* win rates */
.wr-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--b1); }
.wr-row:last-child { border-bottom: none; }
.wr-name { font-size: 12.5px; font-weight: 500; color: var(--tx); flex: 1; }
.wr-track { width: 64px; height: 3px; background: var(--trk); border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.wr-fill { height: 100%; background: var(--grn); border-radius: 2px; }
.wr-pct { font-family: var(--fm); font-size: 12px; font-weight: 700; color: var(--tx); width: 34px; text-align: right; flex-shrink: 0; }

/* market links */
.mlink { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--b1); font-size: 13px; font-weight: 500; color: var(--tx2); transition: background .1s, color .1s; }
.mlink:last-child { border-bottom: none; }
.mlink:hover { background: var(--hov); color: var(--tx); }
.mlink-code { font-family: var(--fm); font-size: 9.5px; font-weight: 600; padding: 3px 7px; border-radius: 4px; flex-shrink: 0; }
.mlink-count { margin-left: auto; font-family: var(--fm); font-size: 10.5px; color: var(--tx3); background: var(--bg3); border: 1px solid var(--b1); padding: 2px 7px; border-radius: 4px; }

/* odds table */
.odds-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.odds-tbl { width: 100%; border-collapse: collapse; min-width: 200px; }
.odds-tbl th { padding: 7px 10px; background: var(--bg2); font-family: var(--fm); font-size: 9px; font-weight: 600; color: var(--tx3); text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--b1); text-align: center; }
.odds-tbl th:first-child { text-align: left; }
.odds-tbl td { padding: 9px 10px; border-bottom: 1px solid var(--b1); font-family: var(--fm); font-size: 12.5px; color: var(--tx2); text-align: center; font-weight: 500; }
.odds-tbl tr:last-child td { border-bottom: none; }
.odds-tbl td:first-child { text-align: left; font-family: var(--f); font-size: 12.5px; color: var(--tx); font-weight: 600; }
.odds-tbl tr:hover td { background: var(--hov); }
.best-odd { color: var(--grn) !important; font-weight: 700 !important; }

/* fixtures */
.fix-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--b1); transition: background .1s; }
.fix-row:last-child { border-bottom: none; }
.fix-row:hover { background: var(--hov); }
.fix-time { font-family: var(--fm); font-size: 11px; color: var(--tx3); width: 36px; flex-shrink: 0; font-weight: 500; }
.fix-body { flex: 1; }
.fix-match { font-size: 12.5px; font-weight: 600; color: var(--tx); }
.fix-comp { font-family: var(--fm); font-size: 10px; color: var(--tx3); margin-top: 1px; }

/* ─────────────────────────────────────
   ARTICLES
───────────────────────────────────── */
.art-wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px 60px; }

.feat {
  display: grid;
  grid-template-columns: 260px 1fr;
  border: 1px solid var(--b1);
  border-radius: var(--r8);
  overflow: hidden;
  background: var(--card);
  margin-bottom: 14px;
  transition: border-color .15s;
}
.feat:hover { border-color: var(--b2); }
.feat-img {
  background: linear-gradient(135deg, #1a0000, #2a0000, #0a0a0a);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}
.feat-num { font-size: 80px; font-weight: 900; color: rgba(255,255,255,.07); letter-spacing: -3px; line-height: 1; user-select: none; }
.feat-body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.feat-cat { font-family: var(--fm); font-size: 9.5px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }
.feat-title { font-size: 20px; font-weight: 800; color: var(--tx); letter-spacing: -.3px; line-height: 1.25; margin-bottom: 10px; }
.feat-title a:hover { color: var(--red); transition: color .12s; }
.feat-excerpt { font-size: 13px; color: var(--tx2); line-height: 1.75; margin-bottom: 14px; flex: 1; }
.feat-meta { font-family: var(--fm); font-size: 10.5px; color: var(--tx3); display: flex; gap: 12px; flex-wrap: wrap; }
.feat-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-family: var(--fm); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--red); transition: opacity .12s; }
.feat-more:hover { opacity: .7; }

.art-g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 12px; }
.art-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.art-card { background: var(--card); border: 1px solid var(--b1); border-radius: var(--r8); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .18s; }
.art-card:hover { border-color: var(--b2); transform: translateY(-2px); }
.art-stripe { height: 2px; }
.art-stripe.r { background: var(--red); }
.art-stripe.g { background: var(--grn); }
.art-stripe.b { background: var(--blu); }
.art-stripe.a { background: var(--amb); }
.art-stripe.p { background: var(--pur); }
.art-body { padding: 16px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.art-cat { font-family: var(--fm); font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 7px; }
.art-cat.r { color: var(--red); }
.art-cat.g { color: var(--grn); }
.art-cat.b { color: var(--blu); }
.art-cat.a { color: var(--amb); }
.art-cat.p { color: var(--pur); }
.art-title { font-size: 15px; font-weight: 800; color: var(--tx); letter-spacing: -.2px; line-height: 1.3; margin-bottom: 8px; }
.art-title a:hover { color: var(--red); transition: color .12s; }
.art-excerpt { font-size: 12px; color: var(--tx2); line-height: 1.7; flex: 1; margin-bottom: 10px; }
.art-meta { font-family: var(--fm); font-size: 10px; color: var(--tx3); display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--b1); padding-top: 10px; margin-top: auto; }

/* ─────────────────────────────────────
   EDITORIAL
───────────────────────────────────── */
.ed-wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px 60px; }
.ed-card { background: var(--card); border: 1px solid var(--b1); border-radius: var(--r8); overflow: hidden; }
.ed-hero { padding: 32px 36px 24px; background: var(--bg2); border-bottom: 1px solid var(--b1); }
.ed-tag { display: inline-flex; padding: 3px 9px; background: var(--rlt); border: 1px solid var(--rbd); border-radius: 3px; font-family: var(--fm); font-size: 9.5px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
.ed-h1 { font-size: 26px; font-weight: 900; color: var(--tx); letter-spacing: -.5px; line-height: 1.2; max-width: 760px; margin-bottom: 12px; }
.ed-meta { display: flex; gap: 14px; font-family: var(--fm); font-size: 10.5px; color: var(--tx3); flex-wrap: wrap; }
.ed-body { padding: 26px 36px 36px; }
.ed-intro { font-size: 14px; color: var(--tx2); line-height: 1.85; margin-bottom: 24px; padding-left: 16px; border-left: 3px solid var(--red); }
.ed-h2 { font-size: 17px; font-weight: 800; color: var(--tx); letter-spacing: -.3px; margin: 24px 0 14px; display: flex; align-items: center; gap: 10px; }
.ed-h2::after { content: ''; flex: 1; height: 1px; background: var(--b1); }
.ed-p { font-size: 13.5px; color: var(--tx2); line-height: 1.85; margin-bottom: 14px; }

/* ─────────────────────────────────────
   RANKING LIST
───────────────────────────────────── */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid var(--b1);
  border-radius: var(--r8);
  overflow: hidden;
}
.rank-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-height: 72px;
  background: var(--card);
  border-bottom: 1px solid var(--b1);
  transition: background .12s;
  overflow: hidden;
}
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: var(--hov); }

.rank-num {
  width: 64px;
  min-width: 64px;
  max-width: 64px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fm);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1px;
  flex-shrink: 0;
  border-right: 1px solid var(--b1);
  position: relative;
}
.rank-num::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.rn-1 { background: rgba(217,119,6,.10); color: var(--amb); }
.rn-1::before { background: var(--amb); }
.rn-2 { background: rgba(148,163,184,.08); color: #8ea3ba; }
.rn-2::before { background: #8ea3ba; }
.rn-3 { background: rgba(180,83,9,.09); color: #b45309; }
.rn-3::before { background: #b45309; }
.rn-n { background: var(--bg2); color: var(--tx3); }
.rn-n::before { background: transparent; }

.rank-content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 14px 18px;
  align-self: stretch;
}
h3.rank-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--tx);
  margin: 0;
  padding: 0;
  letter-spacing: -.2px;
  line-height: 1.3;
  white-space: normal;
}
.rank-desc {
  display: block;
  font-size: 12px;
  color: var(--tx2);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--fm);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  margin-left: 14px;
  margin-right: 18px;
  letter-spacing: .02em;
}
.rb-g { background: var(--glt); color: var(--grn); border: 1px solid var(--gbd); }
.rb-b { background: var(--blt); color: var(--blu); border: 1px solid var(--bbd); }
.rb-p { background: var(--plt); color: var(--pur); border: 1px solid var(--pbd); }
.rb-a { background: var(--alt); color: var(--amb); border: 1px solid var(--abd); }

/* key points */
.kpts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.kpt { padding: 14px; background: var(--bg2); border: 1px solid var(--b1); border-left: 3px solid var(--red); border-radius: 0 6px 6px 0; }
.kpt-title { font-family: var(--fm); font-size: 10px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.kpt-text { font-size: 12px; color: var(--tx2); line-height: 1.65; }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
footer { background: var(--bg1); border-top: 1px solid var(--b1); padding: 44px 20px 24px; }
.ft-in { max-width: 1320px; margin: 0 auto; }
.ft-g { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.ft-brand-name { font-size: 22px; font-weight: 900; color: var(--tx); letter-spacing: -1px; margin-bottom: 10px; }
.ft-brand-name em { color: var(--red); font-style: normal; }
.ft-brand-p { font-size: 12.5px; color: var(--tx2); line-height: 1.8; max-width: 200px; }
.ft-col h4 { font-family: var(--fm); font-size: 9.5px; font-weight: 700; color: var(--tx2); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--b1); }
.ft-col a { display: block; font-size: 12.5px; color: var(--tx3); margin-bottom: 8px; transition: color .12s; }
.ft-col a:hover { color: var(--tx); }
.ft-bot { padding-top: 20px; border-top: 1px solid var(--b1); display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ft-copy { display: flex; align-items: center; gap: 8px; font-family: var(--fm); font-size: 11px; color: var(--tx3); }
.ft-18 { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--tx3); font-size: 8px; font-weight: 700; flex-shrink: 0; }
.ft-disc { font-size: 11.5px; color: var(--tx3); max-width: 440px; text-align: right; line-height: 1.7; }

/* ─────────────────────────────────────
   UTILITY CLASSES
───────────────────────────────────── */
.nav-drop.nav-drop-right { right: 0; left: auto; }
.acc-odds-block { text-align: right; }
.mm-conf-lbl {
  font-size: 9.5px;
  color: var(--tx3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-family: var(--fm);
}
.mlink-r { background: var(--rlt); color: var(--red); }
.mlink-g { background: var(--glt); color: var(--grn); }
.mlink-p { background: var(--plt); color: var(--pur); }
.mlink-a { background: var(--alt); color: var(--amb); }
.mlink-b { background: var(--blt); color: var(--blu); }

/* ─────────────────────────────────────
   SEO & ACCESSIBILITY
───────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 99999;
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: 2px; }

.sec-title-date { font-weight: 600; color: var(--tx2); font-size: 0.9em; }

/* Semantic heading overrides */
h2.ed-h1 {
  font-size: 26px;
  font-weight: 900;
  color: var(--tx);
  letter-spacing: -.5px;
  line-height: 1.2;
  max-width: 760px;
  margin-bottom: 12px;
}
h2.ed-h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--tx);
  letter-spacing: -.3px;
  margin: 24px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
h2.ed-h2::after { content: ''; flex: 1; height: 1px; background: var(--b1); }
h2.feat-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--tx);
  letter-spacing: -.3px;
  line-height: 1.25;
  margin-bottom: 10px;
}
h3.art-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--tx);
  letter-spacing: -.2px;
  line-height: 1.3;
  margin-bottom: 8px;
}
section.league-block {
  background: var(--card);
  border: 1px solid var(--b1);
  border-radius: var(--r8);
  overflow: hidden;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
  contain: layout;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Minimum tap targets */
.nav-a, .mkt-pill, .mob-link, .hp-row, .mlink, .fix-row { min-height: 44px; }

/* Print */
@media print {
  .topbar, .header, .nav, .mob-overlay, .mob-drawer,
  .sidebar, .mkt-filters, .view-more,
  .art-wrap, .ed-wrap { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .league-block, section.league-block { border: 1px solid #ccc; margin-bottom: 12pt; }
  a { color: #000; text-decoration: underline; }
  footer { display: block; border-top: 1px solid #ccc; padding: 12pt; font-size: 9pt; color: #666; }
}

/* ─────────────────────────────────────
   RESPONSIVE — 1100px
───────────────────────────────────── */
@media (max-width: 1100px) {
  .two-col { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .stats-band { grid-template-columns: repeat(3,1fr); }
  .stats-band .stat-cell:nth-child(4),
  .stats-band .stat-cell:nth-child(5) { display: none; }
  .ft-g { grid-template-columns: 1fr 1fr 1fr; }
  .art-g3 { grid-template-columns: 1fr 1fr; }
  .feat { grid-template-columns: 200px 1fr; }
}

/* ─────────────────────────────────────
   RESPONSIVE — 768px
───────────────────────────────────── */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; width: 100%; max-width: 100vw; }
  body > * { max-width: 100%; box-sizing: border-box; }

  .topbar { display: none; }
  .header-search { display: none; }
  .ham-btn { display: flex; }
  .header { top: 0; }
  .header-inner { height: 56px; padding: 0 16px; gap: 12px; }
  .logo-text { font-size: 22px; }
  .nav { display: none; }

  .page { padding: 14px 14px 48px; overflow: hidden; max-width: 100%; width: 100%; }
  .art-wrap, .ed-wrap { padding-left: 14px; padding-right: 14px; max-width: 100%; overflow: hidden; box-sizing: border-box; }

  /* page-h1 on mobile */
  .page-h1 { font-size: 17px; padding: 12px 14px; gap: 8px; }
  .page-h1-date { font-size: 11px; }

  .stats-band { grid-template-columns: 1fr 1fr; }
  .stats-band .stat-cell:nth-child(3) { display: none; }
  .stat-v { font-size: 20px; }

  .banker { flex-direction: column; gap: 12px; }
  .banker-odds-block { display: flex; align-items: baseline; gap: 10px; }
  .banker-odds { font-size: 30px; }

  .acc-legs { flex-direction: column; }
  .acc-leg { flex: none; width: 100%; }

  .mkt-filters { padding-left: 0; padding-right: 0; margin-left: 0; width: 100%; }

  .desktop-col-hdr { display: none; }
  .match-desktop { display: none !important; }
  .match-mobile { display: block; }

  .ap-inner { display: flex !important; flex-direction: column !important; gap: 14px !important; padding: 14px !important; }
  .ap-note { width: 100%; box-sizing: border-box; }

  .sidebar { display: flex; flex-direction: column; }

  .feat { grid-template-columns: 1fr; }
  .feat-img { min-height: 120px; }
  .feat-body { padding: 18px; }
  .feat-title { font-size: 17px; }
  .art-g3, .art-g2 { grid-template-columns: 1fr; }

  .ed-hero { padding: 20px 18px 16px; }
  .ed-h1 { font-size: 20px; }
  .ed-body { padding: 18px 18px 24px; }
  .ed-intro { font-size: 13px; padding-left: 14px; }
  .kpts { grid-template-columns: 1fr; }

  footer { padding: 28px 14px 20px; }
  .ft-g { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ft-disc { text-align: left; max-width: 100%; }
  .ft-bot { flex-direction: column; gap: 12px; }

  /* rank list tablet */
  .rank-num { width: 52px; min-width: 52px; max-width: 52px; font-size: 18px; }
  .rank-content { padding: 12px 14px; }
  h3.rank-name { font-size: 13px; }
  .rank-desc { font-size: 11.5px; }
  .rank-badge { font-size: 10.5px; padding: 4px 11px; margin-left: 10px; margin-right: 12px; }
}

/* ─────────────────────────────────────
   RESPONSIVE — 480px
───────────────────────────────────── */
@media (max-width: 480px) {
  .page, .art-wrap, .ed-wrap { padding-left: 12px; padding-right: 12px; }
  .logo-text { font-size: 20px; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat-v { font-size: 18px; }
  .page-h1 { font-size: 15px; padding: 10px 12px; }
  .page-h1-date { font-size: 10.5px; }
  .mm-time-strip { width: 42px; }
  .mm-right { width: 58px; min-width: 58px; padding: 8px; }
  .mm-conf-track { width: 34px; }
  .mm-home { font-size: 13.5px; }
  .mm-away { font-size: 12px; }
  .mm-odd-val { font-size: 12px; }
  .mm-odds-row { gap: 12px; }
  .banker-match { font-size: 16px; }
  .ft-g { grid-template-columns: 1fr; }
  .ed-h1 { font-size: 18px; }
  .league-pills { display: none; }

  /* rank list small */
  .rank-num { width: 44px; min-width: 44px; max-width: 44px; font-size: 16px; }
  .rank-content { padding: 10px 12px; gap: 2px; }
  h3.rank-name { font-size: 12.5px; }
  .rank-desc { font-size: 11px; }
  .rank-badge { font-size: 10px; padding: 4px 9px; margin-left: 6px; margin-right: 10px; }
}

/* ─────────────────────────────────────
   RESPONSIVE — 360px
───────────────────────────────────── */
@media (max-width: 360px) {
  .stats-band { grid-template-columns: 1fr 1fr; }
  .mm-right { display: none; }
  .banker-odds { font-size: 26px; }
  .mm-odds-row { gap: 8px; }
  .mm-odd-val { font-size: 11px; }
  .mm-time-strip { width: 38px; }
  .mm-time { font-size: 9.5px; }
  .rank-badge { display: none; }
  .rank-num { width: 38px; min-width: 38px; max-width: 38px; font-size: 14px; }
  .page-h1 { font-size: 14px; padding: 10px 10px; }
  .page-h1-date { display: none; }
}