/* Self-hosted so the first paint has them: see selfhost_fonts.py */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/static/fonts/barlow-condensed-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/static/fonts/barlow-condensed-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/static/fonts/inter-var-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/static/fonts/inter-var-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --green: #1a7a3c;
  --green-light: #e8f5ed;
  --green-mid: #2d9e55;
  --text: #0f1923;
  --text-2: #4a5568;
  --text-3: #626d7a;
  --border: #e2e8f0;
  --bg: #f7f9fc;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html { overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* HEADER */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1140px; margin: 0 auto; padding: 0 20px; height: 58px; display: flex; align-items: center; gap: 20px; }

.logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-link { font-size: 12.5px; font-weight: 500; color: var(--text-2); padding: 7px 9px; border-radius: 6px; transition: all .15s; }
.nav-link:hover, .nav-link.active { color: var(--green); background: var(--green-light); }

.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* HAMBURGER */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; position: relative; z-index: 102; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .2s; }

/* BREADCRUMB */
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--border); padding: 11px 20px; font-size: 12px; color: var(--text-3); }
.breadcrumb-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-3); transition: color .15s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb-sep { color: var(--border); }

/* LAYOUT */
.page-wrap { max-width: 1140px; margin: 0 auto; padding: 28px 20px; }

/* SECTIONS */
.section { margin-bottom: 32px; }

/* CARDS */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }

/* HERO */
.hero { background: var(--white); border-bottom: 1px solid var(--border); padding: 36px 20px; }
.hero-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-eyebrow { font-size: 11px; font-weight: 600; color: var(--green); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.hero-eyebrow::before { content: ''; display: inline-block; width: 18px; height: 2px; background: var(--green); border-radius: 1px; }
.hero-title { font-family: 'Barlow Condensed', sans-serif; font-size: 52px; font-weight: 700; line-height: .95; color: var(--text); letter-spacing: -.5px; margin-bottom: 14px; }
.hero-title em { color: var(--green); font-style: normal; }
.hero-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; max-width: 420px; }
.hero-stats { display: flex; gap: 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hstat-n { font-family: 'Barlow Condensed', sans-serif; font-size: 32px; font-weight: 700; color: var(--text); line-height: 1; }
.hstat-l { font-size: 11px; color: var(--text-3); margin-top: 2px; text-transform: uppercase; letter-spacing: .8px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 12px 22px; border-radius: 7px; border: none; cursor: pointer; transition: all .15s; text-decoration: none; white-space: nowrap; }
.btn-dark { background: var(--text); color: #fff; box-shadow: 0 2px 12px rgba(15,25,35,.18); }
.btn-dark:hover { background: #1e2d3d; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-mid); }
.hero-cta-buttons { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; max-width: 75%; }
.icon-play { width: 15px; height: 15px; flex-shrink: 0; }

/* WATCH BANNER */
.watch-banner-wrap { margin-bottom: 28px; }
.watch-banner { display: flex; align-items: center; justify-content: center; width: min(720px, 94%); margin: 0 auto; background: var(--green); border-radius: 10px; padding: 13px 24px; gap: 20px; text-decoration: none; cursor: pointer; color: #fff; font-size: 15px; transition: box-shadow .18s, transform .15s; }
.watch-banner:hover { transform: translateY(-2px); }

/* SEO BLOCK */
.seo-block { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 24px 28px; overflow: hidden; }
.seo-block h1, .seo-block h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; color: var(--text); }
.seo-block h1 { font-size: 22px; margin-bottom: 12px; }
.seo-block h2 { font-size: 18px; margin: 16px 0 8px; }
.seo-block h3 { font-size: 15px; font-weight: 600; color: var(--text); margin: 14px 0 6px; }
.seo-block p { font-size: 14px; color: var(--text-2); line-height: 1.75; margin-bottom: 9px; word-break: break-word; overflow-wrap: break-word; }
.seo-block p:last-child { margin-bottom: 0; }
.seo-block a { color: var(--green); font-weight: 500; }
.seo-block .btn-green, .seo-block .btn-green:hover { color: #fff; }
.seo-block ul { padding-left: 20px; margin: 8px 0; }
.seo-block ul li { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 4px; word-break: break-word; overflow-wrap: break-word; }

/* TABLE WRAP — horizontal scroll container for wide tables on mobile */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }

/* FOOTER */
.site-footer { background: var(--white); border-top: 1px solid var(--border); padding: 20px 20px; margin-top: 20px; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: 42px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 4px; }
  .nav-links.open { display: flex; position: absolute; top: 58px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 12px 16px; z-index: 99; }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }

  .hero-stats { gap: 16px; }
  .hero-title { font-size: 36px; }
  .hero-cta-buttons { max-width: 100%; }
}

@media (max-width: 480px) {
  .page-wrap { padding: 20px 14px; }
  .hero { padding: 24px 14px; }
  .seo-block { padding: 16px 14px; }
  .hero-title { font-size: 30px; }
  .watch-banner { flex-direction: column; width: min(380px, 94%); padding: 14px 16px; gap: 6px; text-align: center; }
}

/* SQUAD PENDING */

/* BURGER MENU */
@media (max-width: 768px) {
  .site-header { position: relative; }
  .nav-toggle { display: flex !important; }
  .nav-links { display: none !important; flex-direction: column; gap: 4px; }
  .nav-links.open { display: flex !important; position: absolute; top: 58px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 12px 16px; z-index: 99; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .6; } }

/* BACK TO TOP */
.back-to-top { position: fixed; bottom: 24px; right: 24px; width: 42px; height: 42px; background: var(--green); color: #fff; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(26,122,60,.4); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 200; touch-action: manipulation; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--green-mid); transform: translateY(-2px); }
.back-to-top svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 480px) {
  .back-to-top { bottom: 16px; right: 16px; width: 38px; height: 38px; }
}

/* STANDINGS TABLE — compact on narrow screens */

/* SCHEDULE table mobile — cards on small screens */

@media (max-width: 500px) {
  /* Allow btn to wrap if text is too long */
  .btn { white-space: normal; word-break: break-word; text-align: center; }
  
}

/* ══════════════════════════════════════════════════════════════
   VISUAL OVERHAUL
   ══════════════════════════════════════════════════════════════ */

/* ── Hero section ───────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, #e8f5ed 0%, #f8fff9 40%, #eef6ff 100%);
}
@keyframes pulse-score {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229,57,53,.4); }
  50% { box-shadow: 0 0 0 6px rgba(229,57,53,.1); }
}

/* Watch banner */
.watch-banner {
  background: linear-gradient(120deg, #1a7a3c 0%, #2d9e55 60%, #1a7a3c 100%);
  box-shadow: 0 4px 20px rgba(26,122,60,.3);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.bet-cta-block { background: #0f3d1c; color: #fff; border-radius: 12px; padding: 1.75rem 2rem; text-align: center; margin: 1.25rem 0; }
.bet-cta-block h3 { color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 22px; margin: 0 0 .4rem; }
.bet-cta-block p { color: rgba(255,255,255,.82); font-size: 14px; margin: 0 0 1rem; line-height: 1.55; }
.seo-block details { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 8px; }
.seo-block details summary { padding: 12px 16px; cursor: pointer; font-size: 14px; list-style: none; display: flex; align-items: center; justify-content: space-between; user-select: none; color: var(--text); font-weight: 500; }
.seo-block details summary::-webkit-details-marker { display: none; }
.seo-block details summary::after { content: '+'; font-size: 18px; color: #1a7a3c; margin-left: 8px; flex-shrink: 0; line-height: 1; }
.seo-block details[open] summary::after { content: '\2212'; }
.seo-block details[open] summary { border-bottom: 1px solid var(--border); }
.seo-block details p { padding: 12px 16px; font-size: 14px; color: #555; line-height: 1.7; margin: 0; }
@media (max-width: 600px) {
  .bet-cta-block { padding: 1.25rem 1rem; }
}
.wbb-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #f5c518; margin-bottom: .4rem; }
.wbb-btn { display: inline-block; background: #f5c518; color: #1a0e00 !important; font-weight: 700; font-size: 14px; padding: .55rem 1.4rem; border-radius: 7px; text-decoration: none; cursor: pointer; }
.wbb-btn:hover { background: #e5b800; }

/* ── BET CTA GOLD ───────────────────────────────────────────── */
.bet-cta-gold { background: linear-gradient(135deg, #1a0e00 0%, #5c3200 100%); border: none; }
.bet-cta-gold h3 { color: #f5c518; }
.bet-cta-gold p { color: rgba(255,255,255,.85); }

/* Affiliate disclosure notice — /bet/ and partner blocks */
.disclosure-note { background: #fdf6e3; border-left: 3px solid #d9a520; border-radius: 0 8px 8px 0;
  padding: .85rem 1.1rem; margin: 1.1rem 0; font-size: 14px; line-height: 1.65; color: #4a4335; }
.disclosure-note strong { color: #7a5c00; }
.disclosure-note a { color: #7a5c00; text-decoration: underline; }

/* ── /competitions/ — multi-league section ───────────────────────── */
.page-head { max-width: 1140px; margin: 0 auto; padding: 26px 20px 6px; }
.page-head h1 { font-family: 'Barlow Condensed', sans-serif; font-size: 34px;
  line-height: 1.1; margin: 0 0 6px; color: var(--text); }
.page-sub { color: var(--text-3); font-size: 14px; margin: 0 0 4px; }
/* No max-width here: the long-form prose in .seo-block runs the full
   column, so constraining only this paragraph made it look broken
   rather than deliberate. */
.page-blurb { color: var(--text-2); font-size: 15px; line-height: 1.6; margin: 8px 0 0; }

.lg-section { max-width: 1140px; margin: 0 auto 26px; padding: 0 20px; }
.lg-section h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px;
  margin: 20px 0 10px; color: var(--text); }
.lg-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lg-section-head h2 { margin-bottom: 10px; }
.lg-section-head a { font-size: 13px; color: var(--green); white-space: nowrap; }
.lg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-items: start; }
@media (max-width: 820px) { .lg-two { grid-template-columns: 1fr; } }

/* competition cards */
.lg-grid { max-width: 1140px; margin: 14px auto 0; padding: 0 20px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 14px; }
.lg-card { display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px; text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s; }
.lg-card:hover { border-color: var(--green-mid); transform: translateY(-2px); }
a.lg-card-head { text-decoration: none; color: inherit; }
a.lg-card-head:hover h2 { color: var(--green); }

/* top of the table, inside a card */
.lgc-mini { width: 100%; border-collapse: collapse; margin-top: 12px;
  font-size: 13px; }
.lgc-mini th { font-size: 9.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .6px; color: var(--text-3); text-align: left;
  padding: 0 0 6px; border-bottom: 1px solid var(--border); }
.lgc-mini td { padding: 7px 0; border-bottom: 1px solid #eef2f7; }
.lgc-mini td, .lgc-mini th { vertical-align: middle; }
.lgc-mini tbody tr:last-child td { border-bottom: none; padding-bottom: 0; }
.lgc-pos { width: 20px; padding-right: 6px; font-size: 12px;
  color: var(--text-3); font-variant-numeric: tabular-nums; }
.lgc-team { font-weight: 600; width: 100%; max-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgc-team img { display: inline-block; width: 18px; height: 18px;
  object-fit: contain; vertical-align: middle; margin-right: 7px; }
.lgc-team span { vertical-align: middle; }
/* the th shorthand above resets padding-left, so say it again with weight */
.lgc-mini th.lgc-n, .lgc-mini th.lgc-pts { padding-left: 8px; }
.lgc-mini th.lgc-pos { padding-right: 6px; }
.lgc-n, .lgc-pts { width: 30px; text-align: right; white-space: nowrap;
  padding-left: 8px; font-variant-numeric: tabular-nums; }
.lgc-n { font-size: 12px; color: var(--text-3); }
.lgc-pts { font-weight: 700; }
.lgc-full { display: block; margin-top: auto; padding-top: 10px;
  border-top: 1px solid var(--border); font-size: 12px; font-weight: 600;
  color: var(--green); }
.lgc-full:hover { color: var(--green-mid); }
.lg-card-head { display: flex; align-items: center; gap: 11px; }
.lg-card-head img { object-fit: contain; flex: none; }
.lg-card-head h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 21px; margin: 0; }
.lg-card-meta { font-size: 12px; color: var(--text-3); margin-top: 6px; }
.lg-card-lead { font-size: 14px; color: var(--text-2); margin-top: 12px; }
.lg-card-prog { font-size: 12px; color: var(--text-3); margin-top: 10px;
  border-top: 1px solid var(--border); padding-top: 9px; }

/* league table */
.lg-table { width: 100%; border-collapse: collapse; background: var(--white);
  font-size: 14px; font-variant-numeric: tabular-nums; }
.lg-table th { background: var(--green-light); color: var(--text-2); font-size: 11px;
  text-transform: uppercase; letter-spacing: .04em; font-weight: 600;
  padding: 9px 8px; text-align: left; white-space: nowrap; }
.lg-table td { padding: 9px 8px; border-top: 1px solid var(--border); }
.lg-table .c { text-align: center; }
.lg-table tbody tr:hover { background: #fafcfb; }
.lg-pos { color: var(--text-3); width: 34px; position: relative; }
.lg-pts { font-weight: 700; }
.lg-team { display: flex; align-items: center; gap: 9px; min-width: 165px; }
.lg-crest { object-fit: contain; flex: none; }
.lg-crest-none { display: inline-block; width: 20px; height: 20px;
  border-radius: 50%; background: var(--border); flex: none; }

/* qualification and relegation bands — a rail, not a wash */
.z-ucl .lg-pos::before, .z-uel .lg-pos::before, .z-playoff .lg-pos::before,
.z-down .lg-pos::before { content: ""; position: absolute; left: 0; top: 0;
  bottom: 0; width: 3px; }
.z-ucl .lg-pos::before { background: #1a7a3c; }
.z-uel .lg-pos::before { background: #4a90d9; }
.z-playoff .lg-pos::before { background: #e0a020; }
.z-down .lg-pos::before { background: #c62828; }
.lg-legend { max-width: 1140px; margin: 10px 0 0; font-size: 12px; color: var(--text-3); }
.z-key { display: inline-block; width: 9px; height: 9px; border-radius: 2px; vertical-align: middle; }
.z-key.z-ucl { background: #1a7a3c; } .z-key.z-uel { background: #4a90d9; }
.z-key.z-playoff { background: #e0a020; } .z-key.z-down { background: #c62828; }

/* form strip */
.lg-form { display: inline-flex; gap: 3px; }
.lg-form i { font-style: normal; font-size: 10px; font-weight: 700; line-height: 16px;
  width: 16px; height: 16px; border-radius: 3px; text-align: center; color: #fff; }
.f-w { background: #1a7a3c; } .f-d { background: #6b7684; } .f-l { background: #c62828; }
.lg-form-none { color: var(--text-3); }

/* match rows */
.lg-match { display: flex; align-items: center; gap: 14px; background: var(--white);
  border: 1px solid var(--border); border-radius: 9px; padding: 10px 14px; margin-bottom: 7px; }
.lg-when { font-size: 12px; color: var(--text-3); width: 132px; flex: none; }
.lg-teams { display: flex; align-items: center; justify-content: center;
  gap: 12px; flex: 1; min-width: 0; }
.lg-side { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; font-size: 14px; }
.lg-side span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-home { justify-content: flex-end; text-align: right; }
.lg-away { justify-content: flex-start; }
.lg-score { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
  background: var(--green-light); color: var(--text); border-radius: 5px; padding: 2px 9px; }
.lg-vs { color: var(--text-3); font-size: 11.5px; font-weight: 500;
  letter-spacing: .4px; padding: 2px 9px; white-space: nowrap; }
.lg-live { background: #c62828; color: #fff; animation: lgpulse 1.6s ease-in-out infinite; }
.lg-row-live { border-color: #c62828; }
@keyframes lgpulse { 0%, 100% { opacity: 1; } 50% { opacity: .62; } }
@media (prefers-reduced-motion: reduce) { .lg-live { animation: none; } }
.lg-empty { color: var(--text-3); font-size: 14px; padding: 14px 0; }
.tz { color: var(--text-3); font-size: 11px; }

@media (max-width: 620px) {
  .hide-sm { display: none; }
  .page-head h1 { font-size: 27px; }
  .lg-match { flex-direction: column; align-items: stretch; gap: 7px; }
  .lg-when { width: auto; }
  .lg-table td, .lg-table th { padding: 8px 5px; }
  .lg-team { min-width: 0; }
}

/* ── World Cup 2026 archive ──────────────────────────────────────── */
/* Eight columns do not fit in a 320px card: the points column, the one the
   table exists for, was scrolled out of sight. */
.wc-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(390px, 1fr)); gap: 18px; }
.wc-group h2 { font-size: 18px; margin: 0 0 8px; }
.wc-group .lg-table { font-size: 13px; }
.lg-won span { font-weight: 700; }
.lg-note { display: block; text-align: center; font-size: 11px; color: var(--text-3);
  margin-top: 5px; text-transform: uppercase; letter-spacing: .04em; }
.wc-place { color: var(--text-2); white-space: nowrap; }
@media (max-width: 620px) { .wc-groups { grid-template-columns: 1fr; } }

/* ── where-to-watch guides ───────────────────────────────────────── */
.wt-table td { vertical-align: top; }
.wt-country { font-weight: 600; white-space: nowrap; width: 1%; }
.wt-who { color: var(--green); font-weight: 600; width: 22%; }
.wt-note { color: var(--text-2); font-size: 13px; line-height: 1.6; }
@media (max-width: 620px) {
  .wt-table, .wt-table tbody, .wt-table tr, .wt-table td { display: block; width: auto; }
  .wt-table thead { display: none; }
  .wt-table tr { border-top: 1px solid var(--border); padding: 12px 0; }
  .wt-table td { border: 0; padding: 2px 0; }
  .wt-country { font-size: 15px; }
}

/* ── clubs grid on a league hub ──────────────────────────────────── */
.club-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.club-card { background: var(--white); border: 1px solid var(--border); border-radius: 9px; padding: 11px 13px; }
.club-top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.club-name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.club-meta { display: flex; align-items: baseline; gap: 8px; font-size: 12px; color: var(--text-3); margin-bottom: 7px; }
.club-pos { background: var(--green-light); color: var(--text); border-radius: 4px; padding: 1px 7px; font-weight: 700; }
.club-pts { font-variant-numeric: tabular-nums; }

/* ── week ahead on the homepage ──────────────────────────────────── */
.week-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.week-league h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 17px;
  margin: 0 0 8px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.week-league h3 a { color: var(--text); }
.week-league h3 a:hover { color: var(--green); }
.week-league h3 span { font-size: 12px; color: var(--text-3); font-family: inherit; font-weight: 400; }
.lg-count { font-size: 13px; color: var(--text-3); }
@media (max-width: 820px) { .week-grid { grid-template-columns: 1fr; } }

/* ── season figures ──────────────────────────────────────────────── */
.stat-list { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px;
  margin: 0; font-size: 14px; }
.stat-list dt { color: var(--text-3); font-size: 13px; white-space: nowrap; }
.stat-list dd { margin: 0; color: var(--text); }
@media (max-width: 560px) {
  .stat-list { grid-template-columns: 1fr; gap: 2px 0; }
  .stat-list dd { margin-bottom: 9px; }
}

/* quiet housekeeping note, set apart from the football */
.home-note { font-size: 13px; color: var(--text-3); line-height: 1.65;
  border-top: 1px solid var(--border); padding-top: 12px; margin-top: 18px; }
.home-note a { color: var(--green); }
.seo-block h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 19px;
  margin: 18px 0 4px; }
.seo-block h3 a { color: var(--text); }
.seo-block h3 a:hover { color: var(--green); }

/* ── matchday preview ────────────────────────────────────────────── */
.pv-card { background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px; margin-bottom: 10px;
  box-shadow: var(--sh-1); }
/* The clubs sit either side of the kick-off rather than at opposite edges of
   a wide card, so the eye does not have to cross the page to read a fixture. */
.pv-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px; max-width: 600px; margin: 0 auto; }
.pv-side { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pv-side.pv-away { text-align: right; align-items: flex-end; }
.pv-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pv-pos { flex: none; background: var(--tint-2); color: var(--text-2);
  border-radius: 4px; padding: 1px 7px; font-size: 11px; font-weight: 700;
  font-variant-numeric: tabular-nums; }
.pv-name { font-family: 'Barlow Condensed', sans-serif; font-size: 21px;
  font-weight: 700; line-height: 1.1; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; }
.pv-meta { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pv-kick { display: flex; flex-direction: column; align-items: center; gap: 2px;
  flex: none; padding: 7px 12px; border-radius: var(--r-sm);
  background: var(--tint-1); border: 1px solid var(--border); }
.pv-kick .mhc-day { font-size: 10px; font-weight: 700; letter-spacing: .7px;
  text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.pv-kick .mhc-time { font-family: 'Barlow Condensed', sans-serif; font-size: 22px;
  font-weight: 700; line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums; }
.tz-tbc { font-style: normal; opacity: .85; }
.mhc-tbc { font-size: 15px !important; letter-spacing: .5px; color: var(--text-3) !important; }
.err-code { font-family: 'Barlow Condensed', sans-serif; font-size: 64px;
  font-weight: 700; line-height: 1; color: var(--green); margin: 0 0 4px;
  letter-spacing: -.01em; }
.pv-note { font-size: 13.5px; color: var(--text-2); line-height: 1.6;
  border-top: 1px solid var(--border); margin: 14px 0 0; padding-top: 11px; }
@media (max-width: 560px) {
  .pv-name { font-size: 16px; white-space: normal; }
  .pv-teams { gap: 10px; }
  .pv-kick { padding: 6px 8px; }
  .pv-kick .mhc-time { font-size: 18px; }
}

/* Inside the burger menu: competition names only. The sub-pages would stack
   sixty links deep on a phone, which is a wall, not a menu. */
@media (max-width: 768px) {
  .nav-item { display: block; }
}

@media (max-width: 768px) {
  .nav-item { display: block; }
  .drop { display: block; position: static; box-shadow: none; border: 0; }
  .drop-inner { padding: 2px 0 8px; }
  .has-drop > .nav-link::after { display: none; }
  .nav-link-cta { display: inline-block; margin-top: 6px; }
}

/* ── betting call to action, identical on every page ─────────────── */
.cta-strip { max-width: 1140px; margin: 14px auto 0; padding: 0 20px; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between;
  gap: 18px; background: linear-gradient(135deg, #12331f, #1a7a3c);
  border-radius: 12px; padding: 15px 20px; flex-wrap: wrap; }
.cta-strip-text strong { display: block; color: #fff; font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; line-height: 1.15; }
.cta-strip-text span { display: block; color: rgba(255,255,255,.78); font-size: 12px; margin-top: 3px; }
.cta-strip-text a { color: rgba(255,255,255,.92); text-decoration: underline; }
.cta-strip-btn { background: #f5c518; color: #14231a; font-weight: 700; font-size: 14px;
  padding: 11px 24px; border-radius: 8px; white-space: nowrap; flex: none; }
.cta-strip-btn:hover { background: #ffd633; color: #14231a; }
@media (max-width: 560px) {
  .cta-strip-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-strip-btn { text-align: center; }
}

/* ── competitions rundown on the homepage ────────────────────────── */
.cr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px 22px; }
.cr-item h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; margin: 0; }
.cr-item h3 a { color: var(--text); }
.cr-item h3 a:hover { color: var(--green); }
.cr-country { font-size: 11px; color: var(--text-3); text-transform: uppercase;
  letter-spacing: .8px; margin: 2px 0 7px; }
.cr-item p { font-size: 14px; line-height: 1.65; color: var(--text-2); margin: 0 0 8px; }
.cr-links { display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 12.5px; }
.cr-links a { color: var(--green); background: var(--green-light);
  border-radius: 5px; padding: 3px 9px; }
.cr-links a:hover { background: var(--green); color: #fff; }

/* ── competition header, shared by every page of a competition ───── */
.comp-header { background: linear-gradient(180deg, #0f3d1c, #14532a);
  border-bottom: 3px solid var(--green-mid); }
.ch-inner { max-width: 1140px; margin: 0 auto; padding: 20px 20px 0; }
.ch-id { display: flex; align-items: center; gap: 14px; }
.ch-emblem { object-fit: contain; flex: none;
  background: rgba(255,255,255,.94); border-radius: 9px; padding: 5px; }
.ch-name { font-family: 'Barlow Condensed', sans-serif; font-size: 34px;
  line-height: 1.05; color: #fff; margin: 0; letter-spacing: -.3px; }
.ch-meta { font-size: 12.5px; color: rgba(255,255,255,.72); margin-top: 3px; }
.ch-tabs { display: flex; gap: 2px; margin-top: 16px; overflow-x: auto;
  scrollbar-width: none; }
.ch-tabs::-webkit-scrollbar { display: none; }
.ch-tab { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.72);
  padding: 9px 14px; border-radius: 8px 8px 0 0; white-space: nowrap;
  border-bottom: 3px solid transparent; margin-bottom: -3px; }
.ch-tab:hover { color: #fff; background: rgba(255,255,255,.08); }
.ch-tab.is-on { color: var(--text); background: var(--bg);
  border-bottom-color: var(--bg); }
@media (max-width: 620px) {
  .ch-name { font-size: 26px; }
  .ch-inner { padding: 16px 16px 0; }
  .ch-tab { font-size: 12px; padding: 8px 11px; }
}
.ch-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--green-mid); margin-bottom: 2px; }

/* ── navigation menus ────────────────────────────────────────────── */
/* The item fills the header so the pointer never crosses dead space on
   its way into the panel below. */
/* The whole strip stretches to the header height, so the pointer stays inside
   a hovered item all the way down to where the panel opens. */
.nav-links { align-self: stretch; align-items: center; }
.nav-item { position: static; display: flex; align-items: center; align-self: stretch; }
.nav-link-static { cursor: default; }
/* Same specificity as .nav-link.active, which main.js adds on the current
   section and which otherwise repainted this button pale. */
.nav-link.nav-link-cta { background: var(--green); color: #fff; }
.nav-link.nav-link-cta:hover, .nav-link.nav-link-cta.active {
  background: var(--green-mid); color: #fff; }
.has-drop > .nav-link::after { content: ""; display: inline-block; margin-left: 5px;
  border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px); }

.drop { display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); box-shadow: 0 14px 32px rgba(15,25,35,.10);
  z-index: 60; }
.has-drop:hover > .drop, .has-drop:focus-within > .drop { display: block; }
.drop-inner { max-width: 1140px; margin: 0 auto; padding: 16px 20px 22px; }

@media (max-width: 768px) {
  .nav-item { display: block; align-self: auto; }
  .drop { display: block; position: static; box-shadow: none; border: 0; }
  .drop-inner { padding: 2px 0 8px; }
  .has-drop > .nav-link::after { display: none; }
  .nav-link-cta { display: inline-block; margin-top: 6px; }
}
.dc-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; flex: none; }
.dc-dot.on { background: var(--green-mid); }
.dc-dot.off { background: var(--border); }
.cr-next { font-size: 12.5px; color: var(--text-3); margin: -2px 0 8px; }
.cr-next strong { color: var(--text-2); }
.cr-country { display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
  text-transform: none; letter-spacing: 0; }

/* ── cascading competitions menu ─────────────────────────────────── */
/* Columns are DOM children of the item that opens them, so hovering deep keeps
   every ancestor hovered. They are positioned against the panel, not against
   the item, so they run its full height and sit flush with no gap for the
   pointer to fall through. */
.cs-wrap { position: relative; padding-bottom: 6px; }
.cs-col { display: flex; flex-direction: column; }
.cs-col-head { font-size: 9.5px; text-transform: uppercase; letter-spacing: 1.3px;
  color: var(--text-3); font-weight: 700; padding: 0 9px 6px; white-space: normal;
  max-width: 100%; }
.cs-col1 { width: 200px; }
/* The submenu is measured against the panel, so a one-row menu still needs
   room for what opens beside it. */
.cs-wrap { min-height: 150px; }
.cs-item, .cs-ed { position: static; }
.cs-col2, .cs-col3 { display: none; position: absolute; top: 0; bottom: 6px;
  width: 218px; padding-left: 18px; border-left: 1px solid var(--border); }
/* col2 is measured from the panel's padding box, so 220 = 20px panel padding
   plus the 200px first column: flush, no gap for the pointer to fall into.
   col3 is measured from col2, because an absolutely positioned element becomes
   the containing block for its own absolute descendants. 218 = col2's width. */
.cs-col2 { left: 220px; }
.cs-col3 { left: 217px; }  /* 1px overlap: a hairline gap can still drop hover */
.cs-item:hover > .cs-col2, .cs-item:focus-within > .cs-col2,
.cs-ed:hover > .cs-col3, .cs-ed:focus-within > .cs-col3 { display: flex; }

.cs-name, .cs-ed-name { position: relative; display: block; padding: 5px 22px 5px 9px;
  border-radius: 5px; color: var(--text); font-weight: 600; font-size: 13px;
  cursor: pointer; line-height: 1.35; }
.cs-name > span { display: none; }
.cs-item:hover > .cs-name, .cs-item:focus-within > .cs-name,
.cs-ed:hover > .cs-ed-name, .cs-ed:focus-within > .cs-ed-name {
  background: var(--green-light); color: var(--green); }
.cs-name::after, .cs-ed-name::after { content: "\203A"; position: absolute;
  right: 9px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 14px; }
.cs-status { display: block; font-style: normal; font-size: 10px; font-weight: 500;
  color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; }
.cs-status.on { color: var(--green-mid); }
.cs-status.soon { color: #c07f00; }
/* A row with nothing behind it must not advertise a level that isn't there. */
.cs-ed-name.cs-leaf::after, .cs-name.cs-leaf::after { display: none; }
.cs-ed-name.cs-leaf { padding-right: 9px; }
.cs-col3 a { font-size: 13px; color: var(--text-2); padding: 5px 9px; border-radius: 5px; }
.cs-col3 a:hover { background: var(--green-light); color: var(--green); }
.cs-note { font-size: 12px; color: var(--text-3); padding: 3px 9px; line-height: 1.55; }

@media (max-width: 768px) {
  .cs-col1 { width: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .cs-col2, .cs-col3 { display: none !important; }
  .cs-name::after, .cs-ed-name::after { display: none; }
  .cs-col-head { grid-column: 1 / -1; }
}

/* Each column is a child of the item that opens it, so hovering deep keeps
   every ancestor hovered. Sibling columns would collapse on the way in. */

/* ── design tokens ───────────────────────────────────────────────── */
:root {
  --r-sm: 6px;      /* chips, small buttons, table cells */
  --r-md: 10px;     /* cards, match rows, inputs */
  --r-lg: 14px;     /* panels and feature blocks */
  --sh-1: 0 1px 2px rgba(15,25,35,.04);
  --sh-2: 0 4px 14px rgba(15,25,35,.07);
  --sh-3: 0 14px 32px rgba(15,25,35,.10);
  --ink: #0f1923;
}

/* ── section headings ────────────────────────────────────────────── */
/* A short accent rule anchors every section heading, so the eye finds the
   structure of a long page without reading it. */
.lg-section > h2, .lg-section-head h2, .seo-block h2 {
  position: relative; padding-left: 14px; letter-spacing: -.2px; }
.lg-section > h2::before, .lg-section-head h2::before, .seo-block h2::before {
  content: ""; position: absolute; left: 0; top: .28em; bottom: .22em;
  width: 4px; border-radius: 2px; background: var(--green); }
.seo-block h2 { margin-top: 26px; }
.seo-block h2:first-child { margin-top: 0; }
.seo-block h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 18px;
  color: var(--ink); margin: 18px 0 4px; letter-spacing: -.1px; }

/* ── cards ───────────────────────────────────────────────────────── */
.lg-card, .club-card, .pv-card, .lg-match {
  border-radius: var(--r-md); box-shadow: var(--sh-1);
  transition: box-shadow .16s, border-color .16s, transform .16s; }
.lg-card:hover, .cr-item:hover { box-shadow: var(--sh-2); }
.club-card:hover { border-color: var(--green-mid); box-shadow: var(--sh-2); }
.lg-match:hover { border-color: #cfe3d6; }

/* ── tables ──────────────────────────────────────────────────────── */
.lg-table { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-1); }
.lg-table thead th { background: #f2f7f4; color: var(--text-2);
  border-bottom: 1px solid var(--border); }
.lg-table tbody tr:nth-child(even) { background: #fcfdfc; }
.lg-table tbody tr:hover { background: var(--green-light); }
.lg-table .lg-pos { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--text-2); }
.lg-table .lg-pts { font-size: 15px; }
.lg-table .lg-team span { font-weight: 500; }

/* ── footer ──────────────────────────────────────────────────────── */
.site-footer { background: var(--white); border-top: 1px solid var(--border);
  padding: 34px 20px 24px; margin-top: 34px; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: block; text-align: left; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px 30px; }
.footer-brand .fb-name { font-family: 'Barlow Condensed', sans-serif; font-size: 21px;
  font-weight: 700; color: var(--ink); }
.footer-brand p { font-size: 13px; color: var(--text-3); line-height: 1.65; margin: 6px 0 0; max-width: 34ch; }
.footer-col h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 1.3px;
  color: var(--text-3); font-weight: 700; margin: 0 0 10px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-2); padding: 3px 0; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 26px; padding-top: 16px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-3); }
.footer-bottom a { color: var(--text-3); text-decoration: underline; }
.footer-bottom a:hover { color: var(--green); }
@media (max-width: 820px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; } }

/* ── green ground ────────────────────────────────────────────────── */
/* The neutral leans a few degrees green so the dark bands read as part of the
   palette. Faint on purpose: a saturated page cheapens the accent. */
:root {
  --bg: #f3f7f4;
  --tint-1: #eef5f0;
  --tint-2: #e6f0ea;
}

.hero { background: linear-gradient(178deg, var(--tint-1) 0%, var(--white) 78%);
  border-bottom: 1px solid #dbe8e0; }
.hero-stats { border-top-color: #dbe8e0; }

.site-header { border-bottom-color: #dde7e1; }
.breadcrumb { background: linear-gradient(180deg, var(--white), #fafcfb);
  border-bottom-color: #e3ebe6; }

.site-footer { background: linear-gradient(180deg, var(--white) 0%, var(--tint-1) 100%);
  border-top-color: #dbe8e0; }

/* a band for sections that want lifting off the page */
/* A panel rather than a full-bleed band: inside a max-width container a band
   with hard edges reads as a layout fault. */
.band { background: var(--tint-1); border: 1px solid #dfeae3;
  border-radius: var(--r-lg); padding: 20px 4px 4px; margin: 0 20px 26px; }
.band > .lg-section { margin-bottom: 0; padding: 0 16px; }

/* cards sit on the tint, so their edges warm up to match */
.lg-card, .club-card, .pv-card, .lg-match, .cr-item { border-color: #e0eae4; }
.lg-table { border: 1px solid #e0eae4; }
.seo-block { border-color: #e0eae4; }
.mhc-day { font-size: 11px; font-weight: 600; letter-spacing: .8px;
  text-transform: uppercase; color: rgba(255,255,255,.82); white-space: nowrap; }
.mhc-time { font-family: 'Barlow Condensed', sans-serif; font-size: 26px;
  font-weight: 700; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }

/* ── mobile navigation: an accordion, not a wall ─────────────────── */
@media (max-width: 768px) {
  .nav-links.open { padding: 4px 14px 10px;
    /* the bar centres its items; a list of taps reads down a left edge */
    align-items: stretch; gap: 0; text-align: left; }
  .nav-links.open > * { width: auto; }
  .nav-links > .nav-item, .nav-links > .nav-link { border-bottom: 1px solid var(--border); }
  .nav-links > .nav-item:last-of-type { border-bottom: 0; }
  .nav-links > .nav-item > .nav-link { display: flex; align-items: center;
    justify-content: space-between; padding: 11px 2px; font-size: 14px;
    font-weight: 600; color: var(--ink); border-radius: 0; }
  .nav-links > .nav-link { display: block; padding: 11px 2px; font-size: 14px; font-weight: 600; }

  /* every level closed until tapped */
  .drop, .has-drop:hover > .drop, .has-drop:focus-within > .drop { display: none; }
  .nav-item.has-drop.open > .drop { display: block; }
  .drop-inner { padding: 0 0 10px; }

  .cs-col1 { display: block; width: auto; }
  .cs-col-head { display: none; }
  .cs-col2, .cs-col3 { display: none !important; position: static; width: auto;
    padding: 0 0 4px 11px; border-left: 2px solid var(--green-light);
    margin-left: 2px; top: auto; bottom: auto; }
  .cs-item:hover > .cs-col2, .cs-ed:hover > .cs-col3 { display: none !important; }
  .cs-item.open > .cs-col2, .cs-ed.open > .cs-col3 { display: block !important; }

  .cs-name, .cs-ed-name { display: flex; align-items: center;
    justify-content: space-between; padding: 8px 2px; font-size: 13px; border-radius: 0; }
  .cs-name > span { display: none; }
  .cs-status { display: inline; font-size: 10px; margin-left: 8px; }
  .cs-col3 a { display: block; padding: 7px 2px; font-size: 12.5px; }
  .cs-note { padding: 6px 2px; font-size: 11.5px; }

  /* chevrons point down, and turn when open */
  .has-drop > .nav-link::after, .cs-name::after, .cs-ed-name::after {
    display: inline-block; position: static; transform: none; border: 0;
    content: "\203A"; font-size: 17px; line-height: 1; color: var(--text-3);
    transition: transform .18s; }
  .has-drop > .nav-link::after, .cs-name::after, .cs-ed-name::after { transform: rotate(90deg); }
  .has-drop.open > .nav-link::after, .cs-item.open > .cs-name::after,
  .cs-ed.open > .cs-ed-name::after { transform: rotate(-90deg); color: var(--green); }

  .nav-link-cta { display: block; margin: 10px 0 0; text-align: center;
    padding: 11px; font-size: 14px; border-radius: var(--r-sm); }

  /* Stacked 27px links with no gap make the neighbour as easy to hit as the
     link. Height plus separation, not height alone. */
  .footer-col a { padding: 9px 0; line-height: 1.35; }
  .footer-col a + a { border-top: 1px solid rgba(255,255,255,.07); }
}

/* ── HERO BOARD ────────────────────────────── */
/* Panel in the homepage hero: what is in play, then what is next. */
.hb { background: var(--white); border: 1px solid var(--border);
      border-radius: 10px; overflow: hidden; }
.hb-head { display: flex; align-items: center; gap: 9px; padding: 12px 15px;
           font-size: 11px; font-weight: 600; letter-spacing: 1.3px;
           text-transform: uppercase; color: var(--text-3); }
.hb-head::before { content: ''; width: 3px; height: 13px; flex: none;
                   background: var(--green); border-radius: 2px; }
.hb-live-tag { margin-left: auto; display: inline-flex; align-items: center;
               gap: 6px; background: #fff1f0; color: #e53935;
               border: 1px solid #ffc9c9; border-radius: 20px; padding: 2px 10px;
               font-size: 10px; font-weight: 700; letter-spacing: .8px; }
.hb-live-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%;
                       background: #e53935; flex: none;
                       animation: hbdot 1.6s ease-in-out infinite; }
@keyframes hbdot { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
@media (prefers-reduced-motion: reduce) { .hb-live-tag::before { animation: none; } }

.hb-row { display: grid; grid-template-columns: 88px 1fr auto 1fr;
          align-items: center; gap: 12px; min-height: 46px; padding: 9px 15px;
          border-top: 1px solid var(--border); transition: background .15s; }
.hb-head + .hb-row { border-top-color: #eef2f7; }
.hb-row + .hb-head { border-top: 1px solid var(--border); }
a.hb-row:hover { background: var(--bg); }

.hb-meta { font-size: 10px; font-weight: 600; letter-spacing: .5px;
           color: var(--text-3); text-transform: uppercase; line-height: 1.3; }
.hb-team { display: flex; align-items: center; gap: 9px; min-width: 0;
           font-size: 14px; font-weight: 600; color: var(--text); }
.hb-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-away { flex-direction: row-reverse; }
.hb-row .lg-crest { width: 22px; height: 22px; }

.hb-score { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums;
            white-space: nowrap; color: var(--text); background: var(--bg);
            border-radius: 5px; padding: 3px 10px; }
.hb-score-live { background: #c62828; color: #fff; }
.hb-when { font-size: 12px; font-weight: 500; color: var(--text-3);
           white-space: nowrap; font-variant-numeric: tabular-nums; }

.hb-more { display: block; text-align: center; padding: 11px 15px;
           border-top: 1px solid var(--border); font-size: 12.5px;
           font-weight: 600; color: var(--green); }
.hb-more:hover { background: var(--green-light); }

/* Narrow screens: the league label cannot share a line with three other
   things without breaking mid-word, so it takes a line of its own. */
@media (max-width: 560px) {
  .hb-row { grid-template-columns: 1fr auto 1fr; gap: 4px 9px; padding: 9px 13px; }
  .hb-meta { grid-column: 1 / -1; font-size: 9.5px; letter-spacing: .8px; }
  .hb-team { font-size: 13.5px; gap: 7px; }
  .hb-row .lg-crest { width: 20px; height: 20px; }
  .hb-when { white-space: normal; text-align: center; font-size: 11px; max-width: 92px; }
}
