/* ── MATCHDAY — main stylesheet ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600&display=swap');

:root {
  --pitch:   #162016;
  --mid:     #1c2c1c;
  --line:    rgba(255,255,255,0.06);
  --gold:    #f0b429;
  --gdim:    #c8941e;
  --text:    #f0ede4;
  --mut:     rgba(240,237,228,0.50);
  --dim:     rgba(240,237,228,0.22);
  --card:    rgba(255,255,255,0.04);
  --bdr:     rgba(255,255,255,0.08);
  --sel:     rgba(240,180,41,0.12);
  --selbdr:  rgba(240,180,41,0.45);
  --green:   #4ade80;
  --red:     #f87171;
  --blue:    #60a5fa;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--pitch);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  min-height: 100vh;
}

/* pitch line background */
.bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    repeating-linear-gradient(90deg, transparent, transparent 59px, var(--line) 59px, var(--line) 60px),
    linear-gradient(180deg, transparent 49%, var(--line) 49%, var(--line) 51%, transparent 51%);
  opacity: .45;
}

/* ── LAYOUT ──────────────────────────────────────────────────────── */
.app { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 0 20px 120px; }

header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0 16px; border-bottom: 1px solid var(--line);
  margin-bottom: 18px; flex-wrap: wrap; gap: 10px;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-badge { width: 36px; height: 36px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.logo h1 { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 2px; color: var(--gold); }
.logo p { font-size: 11px; color: var(--mut); margin-top: -3px; }

/* ── AD BANNER (top of page, below header) ───────────────────────── */
.ad-banner {
  width: 100%; min-height: 90px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--dim);
  margin-bottom: 18px;
  overflow: hidden;
}

/* ── TABS ─────────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 3px; background: rgba(0,0,0,0.3); border-radius: 9px; padding: 3px; }
.tab { padding: 7px 18px; border-radius: 6px; border: none; cursor: pointer; font-size: 13px; font-family: 'Inter', sans-serif; font-weight: 500; color: var(--mut); background: transparent; transition: all .2s; }
.tab.on { background: var(--gold); color: #111a0a; font-weight: 600; }
.tab:hover:not(.on) { color: var(--text); background: rgba(255,255,255,0.06); }

/* ── SECTION HEADER ──────────────────────────────────────────────── */
.sh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; flex-wrap: wrap; gap: 8px; }
.stitle { font-family: 'Bebas Neue', sans-serif; font-size: 18px; letter-spacing: 2px; color: var(--gold); display: flex; align-items: center; gap: 8px; }
.stitle::after { content: ''; display: inline-block; width: 60px; height: 1px; background: var(--line); vertical-align: middle; margin-left: 4px; }

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.cbadge { font-size: 11px; color: var(--mut); background: rgba(240,180,41,0.1); border-radius: 20px; padding: 3px 10px; border: 1px solid rgba(240,180,41,0.2); }
.rbtn { display: flex; align-items: center; gap: 5px; background: rgba(240,180,41,0.1); border: 1px solid rgba(240,180,41,0.3); color: var(--gold); padding: 6px 14px; border-radius: 7px; cursor: pointer; font-size: 12px; font-family: 'Inter', sans-serif; font-weight: 500; transition: all .15s; }
.rbtn:hover { background: rgba(240,180,41,0.2); }
.rbtn:disabled { opacity: .4; cursor: not-allowed; }

/* ── LEAGUE FILTER ───────────────────────────────────────────────── */
.lf { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.lb { padding: 5px 12px; border-radius: 20px; border: 1px solid var(--bdr); background: var(--card); cursor: pointer; font-size: 11px; color: var(--mut); font-family: 'Inter', sans-serif; transition: all .15s; }
.lb.on { border-color: var(--gdim); background: rgba(240,180,41,0.12); color: var(--gold); }
.lb:hover:not(.on) { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* ── BROWSE GRID ─────────────────────────────────────────────────── */
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 9px; }
.tc {
  background: var(--card); border: 1px solid var(--bdr); border-radius: 12px;
  padding: 13px 9px; cursor: pointer; transition: all .2s;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative; overflow: hidden;
}
.tc::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--sc, transparent); }
.tc:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-2px); }
.tc.sel { border-color: var(--selbdr); background: var(--sel); }
.tc.sel::after { content: '✓'; position: absolute; top: 6px; right: 8px; color: var(--gold); font-size: 12px; font-weight: 700; }
.tc-logo { width: 44px; height: 44px; object-fit: contain; margin-bottom: 8px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.tc-logo-fallback { width: 44px; height: 44px; margin-bottom: 8px; }
.tc-logo-fallback svg { width: 100%; height: 100%; }
.tn { font-size: 11px; font-weight: 500; line-height: 1.3; color: var(--text); }
.tl { font-size: 10px; color: var(--dim); margin-top: 2px; }

/* ── MY TEAMS LIST ───────────────────────────────────────────────── */
.mylist { display: flex; flex-direction: column; gap: 12px; }
.mc { background: var(--card); border: 1px solid var(--bdr); border-radius: 14px; overflow: hidden; }
.mh { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); position: relative; }
.mh::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--sc, var(--gold)); }
.mh-logo { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.4)); }
.mn { font-weight: 600; font-size: 15px; }
.ml { font-size: 11px; color: var(--mut); }
.xbtn { margin-left: auto; background: none; border: none; color: var(--dim); cursor: pointer; font-size: 16px; padding: 5px; border-radius: 50%; transition: all .15s; line-height: 1; }
.xbtn:hover { color: var(--red); background: rgba(248,113,113,0.1); }

/* form pills */
.form { display: flex; gap: 3px; }
.fp { width: 16px; height: 16px; border-radius: 3px; font-size: 9px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fp-w { background: rgba(74,222,128,0.2); color: var(--green); }
.fp-d { background: rgba(148,163,184,0.2); color: #94a3b8; }
.fp-l { background: rgba(248,113,113,0.2); color: var(--red); }

.standing { font-size: 11px; color: var(--mut); margin-left: auto; margin-right: 8px; }
.pos-num { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: var(--gold); margin-right: 3px; }

/* ── CARD TABS + DATA ────────────────────────────────────────────── */
.td { padding: 12px 16px; }
.dt { display: flex; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.dtb { padding: 6px 12px; font-size: 11px; cursor: pointer; border: none; background: none; color: var(--mut); font-family: 'Inter', sans-serif; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all .15s; font-weight: 500; }
.dtb.on { color: var(--gold); border-bottom-color: var(--gold); }

/* ── FIXTURES ────────────────────────────────────────────────────── */
.fx { display: flex; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12px; gap: 8px; }
.fx:last-child { border-bottom: none; }
.fxl { flex: 1; min-width: 0; }
.fxv { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fxm { font-size: 10px; color: var(--mut); margin-top: 2px; }
.fxs { border-radius: 5px; padding: 2px 8px; font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: 1px; min-width: 48px; text-align: center; flex-shrink: 0; }
.fx-result { cursor: pointer; border-radius: 6px; padding: 7px 6px; margin: 0 -6px; transition: background .15s; }
.fx-result:hover { background: rgba(255,255,255,0.05); }
.live-dot { display: inline-block; width: 6px; height: 6px; background: var(--red); border-radius: 50%; margin-right: 4px; animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:.3 } }

/* ── PLAYERS ─────────────────────────────────────────────────────── */
.pr { display: flex; align-items: center; gap: 9px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.pr:last-child { border-bottom: none; }
.pn { width: 24px; height: 24px; background: rgba(255,255,255,0.07); border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--gold); flex-shrink: 0; }
.pp { font-size: 10px; padding: 2px 6px; border-radius: 3px; background: rgba(255,255,255,0.06); color: var(--mut); flex-shrink: 0; }
.pos-gk  { background: rgba(253,191,18,0.15); color: #fdbe12; }
.pos-def { background: rgba(59,130,246,0.15);  color: var(--blue); }
.pos-mid { background: rgba(34,197,94,0.15);   color: var(--green); }
.pos-att { background: rgba(239,68,68,0.15);   color: var(--red); }

/* ── MISC ────────────────────────────────────────────────────────── */
.sl { font-size: 10px; letter-spacing: .8px; color: var(--mut); font-weight: 600; text-transform: uppercase; margin: 10px 0 5px; }
.sl:first-child { margin-top: 0; }
.srch { width: 100%; padding: 9px 14px; border-radius: 8px; border: 1px solid var(--bdr); background: rgba(0,0,0,0.3); color: var(--text); font-family: 'Inter', sans-serif; font-size: 13px; margin-bottom: 13px; outline: none; }
.srch:focus { border-color: var(--gdim); }
.srch::placeholder { color: var(--dim); }
.empty { text-align: center; padding: 60px 20px; color: var(--mut); }
.spin { display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(240,180,41,0.3); border-top-color: var(--gold); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.err-msg { font-size: 12px; color: var(--red); padding: 8px 0; }
.info-msg { font-size: 12px; color: var(--mut); padding: 8px 0; font-style: italic; }

/* ── MATCH MODAL ─────────────────────────────────────────────────── */
.modal-bg {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,18,10,0.85);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-bg.open { opacity: 1; pointer-events: all; }
.modal {
  background: #1c2c1c; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; width: 100%; max-width: 560px; max-height: 88vh;
  overflow-y: auto; transform: translateY(20px); transition: transform .25s;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.modal-bg.open .modal { transform: translateY(0); }
.modal-header {
  position: sticky; top: 0; z-index: 2; background: #1c2c1c;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--line);
}
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: rgba(255,255,255,0.07); border: none; color: var(--mut); cursor: pointer;
  width: 28px; height: 28px; border-radius: 50%; font-size: 15px;
  display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.modal-close:hover { background: rgba(255,255,255,0.14); color: var(--text); }
.match-score-bar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 8px; }
.team-name-modal { font-size: 13px; font-weight: 600; flex: 1; display: flex; align-items: center; gap: 8px; }
.team-name-modal.right { flex-direction: row-reverse; text-align: right; }
.team-logo-sm { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.score-big { font-family: 'Bebas Neue', sans-serif; font-size: 42px; letter-spacing: 3px; color: var(--gold); line-height: 1; flex-shrink: 0; }
.match-meta { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 11px; color: var(--mut); flex-wrap: wrap; }
.modal-body { padding: 14px 20px 20px; }
.modal-section { margin-bottom: 18px; }
.modal-section:last-child { margin-bottom: 0; }
.msec-title { font-size: 10px; letter-spacing: 1px; font-weight: 700; color: var(--mut); text-transform: uppercase; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.msec-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* timeline */
.timeline { display: flex; flex-direction: column; gap: 4px; }
.tl-row { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; padding: 5px 8px; border-radius: 7px; transition: background .15s; }
.tl-row:hover { background: rgba(255,255,255,0.04); }
.tl-row.away { flex-direction: row-reverse; text-align: right; }
.tl-min { font-family: 'Bebas Neue', sans-serif; font-size: 14px; color: var(--gold); width: 32px; flex-shrink: 0; text-align: right; padding-top: 1px; }
.tl-row.away .tl-min { text-align: left; }
.tl-icon { width: 20px; text-align: center; flex-shrink: 0; font-size: 14px; }
.tl-info { flex: 1; }
.tl-player { font-weight: 500; }
.tl-team { font-size: 10px; color: var(--mut); margin-top: 1px; }
.tl-note { font-size: 10px; color: var(--dim); font-style: italic; }
.sub-off { color: var(--red); }
.sub-on  { color: var(--green); }

/* stat bars */
.stat-row { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.stat-lbl { width: 100px; text-align: center; font-size: 10px; color: var(--mut); flex-shrink: 0; }
.stat-bar-wrap { flex: 1; display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,0.06); }
.stat-bar-h { border-radius: 3px 0 0 3px; transition: width .4s; }
.stat-bar-a { border-radius: 0 3px 3px 0; transition: width .4s; }
.stat-val { width: 28px; font-weight: 600; font-size: 12px; }
.stat-val.r { text-align: right; }

.att-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(240,180,41,0.08); border: 1px solid rgba(240,180,41,0.2); border-radius: 8px; padding: 6px 14px; font-size: 13px; font-weight: 500; }
.att-badge span { color: var(--gold); font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 1px; }

/* ── AD SIDEBAR (sticky on wider screens) ────────────────────────── */
.layout { display: flex; gap: 20px; align-items: flex-start; }
.main-col { flex: 1; min-width: 0; }
.ad-sidebar {
  width: 160px; flex-shrink: 0;
  position: sticky; top: 20px;
  display: none; /* shown on wider screens */
}
.ad-sidebar .ad-unit {
  width: 160px; height: 600px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--dim);
  overflow: hidden;
}
@media (min-width: 800px) { .ad-sidebar { display: block; } }

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 520px) {
  .tgrid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .match-score-bar { gap: 8px; }
  .score-big { font-size: 32px; }
}

/* ── SSR PAGE STYLES ─────────────────────────────────────────────── */
.site-nav { display: flex; gap: 4px; }
.nav-link { padding: 7px 14px; border-radius: 6px; color: var(--mut); text-decoration: none; font-size: 13px; font-weight: 500; transition: all .2s; }
.nav-link:hover, .nav-link.on { color: var(--text); background: rgba(255,255,255,0.08); }

.breadcrumb { font-size: 12px; color: var(--dim); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--mut); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

.page-h1 { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px; color: var(--text); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.h1-logo { width: 36px; height: 36px; object-fit: contain; }
.page-intro { font-size: 13px; color: var(--mut); margin-bottom: 16px; line-height: 1.6; }

/* League cards */
.league-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 12px; }
.league-card { background: var(--card); border: 1px solid var(--bdr); border-radius: 10px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; text-decoration: none; color: var(--text); font-size: 12px; font-weight: 500; transition: all .2s; }
.league-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.league-logo { width: 40px; height: 40px; object-fit: contain; }
.league-country { font-size: 10px; color: var(--dim); }

.league-cards-big { display: flex; flex-direction: column; gap: 10px; }
.league-card-big { background: var(--card); border: 1px solid var(--bdr); border-radius: 12px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); transition: all .2s; }
.league-card-big:hover { border-color: var(--gold); background: rgba(240,180,41,0.06); }
.league-logo-big { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.lcb-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.lcb-country { font-size: 11px; color: var(--mut); margin-bottom: 4px; }
.lcb-desc { font-size: 12px; color: var(--dim); }

/* Standings table */
.table-wrap { overflow-x: auto; margin-bottom: 8px; }
.standings-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.standings-table th { text-align: left; padding: 6px 8px; font-size: 10px; font-weight: 600; letter-spacing: .8px; color: var(--mut); text-transform: uppercase; border-bottom: 1px solid var(--line); }
.standings-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); }
.standings-table tr:last-child td { border-bottom: none; }
.standings-table tr:hover td { background: rgba(255,255,255,0.03); }
.standings-table .rank { color: var(--mut); font-size: 12px; width: 28px; }
.standings-table .pts { font-weight: 700; color: var(--gold); }
.standings-table .team-cell a { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 500; }
.standings-table .team-cell a:hover { color: var(--gold); }
.table-logo { width: 20px; height: 20px; object-fit: contain; }

/* Team page header */
.team-header { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--card); border-radius: 12px; margin-bottom: 16px; }
.team-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--mut); margin-top: 4px; }
.team-meta a { color: var(--mut); text-decoration: none; }
.team-meta a:hover { color: var(--gold); }

/* Next match box */
.next-match-box { background: rgba(240,180,41,0.06); border: 1px solid rgba(240,180,41,0.2); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.nm-label { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.nm-label a { color: var(--gold); }
.nm-teams { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.nm-team { flex: 1; }
.nm-team a { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 13px; }
.nm-team a:hover { color: var(--gold); }
.nm-logo { width: 28px; height: 28px; object-fit: contain; }
.nm-vs { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: var(--dim); flex-shrink: 0; }
.nm-meta { font-size: 12px; color: var(--mut); margin-bottom: 4px; }
.nm-venue { font-size: 11px; color: var(--dim); }

/* Next match big (dedicated page) */
.next-match-big { padding: 24px; }
.nm-teams-big { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 20px; }
.nm-team-big { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; }
.nm-logo-big { width: 72px; height: 72px; object-fit: contain; }
.nm-team-name { font-weight: 700; font-size: 15px; color: var(--text); text-decoration: none; text-align: center; }
.nm-team-name:hover { color: var(--gold); }
.nm-team-label { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: .8px; }
.nm-vs-big { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--dim); flex-shrink: 0; }
.nm-details { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text); border-top: 1px solid var(--line); padding-top: 16px; }

/* Squad */
.squad-grp { font-size: 11px; letter-spacing: .8px; font-weight: 700; color: var(--mut); text-transform: uppercase; margin: 14px 0 6px; }
.player-photo { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* Misc layout */
.fx-list { display: flex; flex-direction: column; }
.vs { color: var(--dim); flex-shrink: 0; margin: 0 4px; }
.venue-tag { font-size: 11px; color: var(--mut); flex-shrink: 0; }
.logo-xs { width: 18px; height: 18px; object-fit: contain; vertical-align: middle; margin-right: 3px; }
.logo-sm { width: 24px; height: 24px; object-fit: contain; }

/* Prose (privacy policy) */
.prose h2 { font-size: 15px; font-weight: 600; margin: 20px 0 8px; color: var(--gold); }
.prose p  { font-size: 13px; color: var(--mut); line-height: 1.7; margin-bottom: 10px; }
.prose a  { color: var(--gold); }

/* Footer */
footer { margin-top: 48px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 11px; color: var(--dim); display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--dim); text-decoration: none; }
footer a:hover { color: var(--mut); }

/* ── COMPACT BROWSE LIST ─────────────────────────────────────────── */
.browse-list { display: flex; flex-direction: column; gap: 2px; }
.browse-row {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer; transition: all .15s;
  position: relative;
}
.browse-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; border-radius: 3px 0 0 3px;
  background: var(--sc, transparent);
  opacity: 0; transition: opacity .15s;
}
.browse-row:hover { background: var(--card); border-color: var(--bdr); }
.browse-row:hover::before { opacity: 1; }
.browse-row.sel { background: var(--sel); border-color: var(--selbdr); }
.browse-row.sel::before { opacity: 1; }
.browse-strip { width: 20px; height: 23px; flex-shrink: 0; }
.browse-strip svg { width: 100%; height: 100%; }
.browse-logo { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.browse-name { flex: 1; font-size: 13px; font-weight: 500; color: var(--text); }
.browse-pos {
  font-family: 'Bebas Neue', sans-serif; font-size: 14px;
  color: var(--dim); width: 22px; text-align: right; flex-shrink: 0;
}
.browse-tick {
  width: 18px; text-align: center; color: var(--gold);
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   PLAYER PROFILES & STATS
══════════════════════════════════════════════════════════════════ */

/* Player profile header */
.player-header {
  display: flex; align-items: center; gap: 20px;
  background: var(--card); border: 1px solid var(--bdr);
  border-radius: 14px; padding: 20px; margin-bottom: 18px;
}
.player-photo-lg {
  width: 90px; height: 90px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 3px solid var(--gold);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.player-photo-placeholder {
  width: 90px; height: 90px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 3px solid var(--bdr);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; flex-shrink: 0;
}
.player-info h1 { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px; margin-bottom: 6px; }
.player-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.player-badge {
  font-size: 11px; padding: 3px 10px; border-radius: 20px;
  background: rgba(255,255,255,0.07); color: var(--mut);
  display: flex; align-items: center; gap: 5px;
}
.player-badge.gold { background: rgba(240,180,41,0.15); color: var(--gold); border: 1px solid rgba(240,180,41,0.3); }
.player-team-link { font-size: 12px; color: var(--mut); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.player-team-link:hover { color: var(--gold); }
.player-team-link img { width: 20px; height: 20px; object-fit: contain; }

/* Season stats grid */
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px; margin-bottom: 18px;
}
.stat-card {
  background: var(--card); border: 1px solid var(--bdr);
  border-radius: 10px; padding: 12px; text-align: center;
}
.stat-card-val {
  font-family: 'Bebas Neue', sans-serif; font-size: 32px;
  letter-spacing: 1px; color: var(--gold); line-height: 1;
  margin-bottom: 4px;
}
.stat-card-lbl { font-size: 10px; color: var(--mut); text-transform: uppercase; letter-spacing: .8px; }

/* Stat bars on player page */
.player-stat-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.psb-row { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.psb-label { width: 130px; flex-shrink: 0; color: var(--mut); }
.psb-track { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.psb-fill { height: 100%; border-radius: 3px; background: var(--gold); transition: width .5s; }
.psb-fill.green { background: var(--green); }
.psb-fill.red   { background: var(--red); }
.psb-fill.blue  { background: var(--blue); }
.psb-val { width: 36px; text-align: right; font-weight: 600; color: var(--text); }

/* Rating badge */
.rating-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px;
  font-family: 'Bebas Neue', sans-serif; font-size: 22px;
  font-weight: 700; flex-shrink: 0;
}
.rating-high   { background: rgba(74,222,128,0.15);  color: var(--green); border: 1px solid rgba(74,222,128,0.3); }
.rating-mid    { background: rgba(240,180,41,0.15);  color: var(--gold);  border: 1px solid rgba(240,180,41,0.3); }
.rating-low    { background: rgba(248,113,113,0.15); color: var(--red);   border: 1px solid rgba(248,113,113,0.3); }

/* Match-by-match performance table */
.perf-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.perf-table th {
  text-align: left; padding: 6px 8px; font-size: 10px; font-weight: 600;
  letter-spacing: .8px; color: var(--mut); text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.perf-table td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.perf-table tr:last-child td { border-bottom: none; }
.perf-table tr:hover td { background: rgba(255,255,255,0.03); }
.perf-table .started { color: var(--green); font-size: 10px; }
.perf-table .subbed  { color: var(--gold);  font-size: 10px; }

/* Top scorers table */
.scorers-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.scorers-table th {
  text-align: left; padding: 8px 10px; font-size: 10px; font-weight: 600;
  letter-spacing: .8px; color: var(--mut); text-transform: uppercase;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.scorers-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.scorers-table tr:last-child td { border-bottom: none; }
.scorers-table tr:hover td { background: rgba(255,255,255,0.03); }
.scorers-table .rank-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 18px;
  color: var(--dim); width: 32px;
}
.scorers-table .rank-num.top3 { color: var(--gold); }
.scorers-table .player-cell { display: flex; align-items: center; gap: 10px; }
.scorers-table .player-cell img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.scorers-table .player-cell .pname { font-weight: 600; }
.scorers-table .player-cell .pteam { font-size: 11px; color: var(--mut); }
.scorers-table .goals-val {
  font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: var(--gold);
}
.scorers-table .assists-val { font-family: 'Bebas Neue', sans-serif; font-size: 18px; color: var(--blue); }
.scorers-table .cards-val   { font-family: 'Bebas Neue', sans-serif; font-size: 18px; }

/* League stats tabs */
.league-stats-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.lst-btn {
  padding: 7px 16px; border-radius: 8px; border: 1px solid var(--bdr);
  background: var(--card); cursor: pointer; font-size: 12px; font-weight: 500;
  font-family: 'Inter', sans-serif; color: var(--mut); transition: all .15s;
}
.lst-btn.on { background: rgba(240,180,41,0.12); border-color: var(--gdim); color: var(--gold); }
.lst-btn:hover:not(.on) { color: var(--text); border-color: rgba(255,255,255,0.2); }

/* Injury list */
.injury-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid var(--line); font-size: 12px;
}
.injury-row:last-child { border-bottom: none; }
.injury-type {
  font-size: 10px; padding: 2px 8px; border-radius: 4px; flex-shrink: 0;
  background: rgba(248,113,113,0.12); color: var(--red);
  border: 1px solid rgba(248,113,113,0.25);
}
.injury-type.suspended {
  background: rgba(240,180,41,0.12); color: var(--gold);
  border-color: rgba(240,180,41,0.25);
}
.injury-player { font-weight: 500; flex: 1; }
.injury-reason { font-size: 11px; color: var(--mut); }
.injury-until  { font-size: 10px; color: var(--dim); }

/* Transfer history */
.transfer-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid var(--line); font-size: 12px;
}
.transfer-row:last-child { border-bottom: none; }
.transfer-arrow { color: var(--gold); font-size: 14px; flex-shrink: 0; }
.transfer-clubs { flex: 1; }
.transfer-from { color: var(--mut); }
.transfer-to   { font-weight: 600; }
.transfer-date { font-size: 11px; color: var(--dim); }
.transfer-fee  {
  font-size: 11px; padding: 2px 8px; border-radius: 4px; flex-shrink: 0;
  background: rgba(74,222,128,0.1); color: var(--green);
  border: 1px solid rgba(74,222,128,0.2);
}

/* Trophy list */
.trophy-row {
  display: flex; align-items: center; gap: 10px; padding: 7px 0;
  border-bottom: 1px solid var(--line); font-size: 12px;
}
.trophy-row:last-child { border-bottom: none; }
.trophy-icon { font-size: 18px; flex-shrink: 0; }
.trophy-name { flex: 1; font-weight: 500; }
.trophy-season { font-size: 11px; color: var(--mut); }
.trophy-winner {
  font-size: 10px; padding: 2px 7px; border-radius: 4px;
  background: rgba(240,180,41,0.12); color: var(--gold);
  border: 1px solid rgba(240,180,41,0.25);
}

/* Injuries on team page — compact widget */
.injuries-widget { margin-top: 4px; }

/* Squad stats table */
.squad-stats-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 6px; }
.squad-stats-table th {
  text-align: right; padding: 5px 8px; font-size: 10px; font-weight: 600;
  letter-spacing: .8px; color: var(--mut); text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.squad-stats-table th:first-child,
.squad-stats-table th:nth-child(2) { text-align: left; }
.squad-stats-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.squad-stats-table td:first-child,
.squad-stats-table td:nth-child(2) { text-align: left; }
.squad-stats-table tr:last-child td { border-bottom: none; }
.squad-stats-table tr:hover td { background: rgba(255,255,255,0.03); }
.squad-stats-table .player-link { color: var(--text); text-decoration: none; font-weight: 500; }
.squad-stats-table .player-link:hover { color: var(--gold); }
.squad-stats-table .stat-hi { color: var(--gold); font-weight: 600; }

@media (max-width: 520px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .player-header { flex-direction: column; text-align: center; }
  .player-badges { justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════
   PREDICTIONS & ODDS
══════════════════════════════════════════════════════════════════ */

/* Prediction summary card */
.prediction-card {
  background: var(--card); border: 1px solid var(--bdr);
  border-radius: 14px; padding: 20px; margin-bottom: 18px;
}
.prediction-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 8px;
}
.prediction-title { font-family: 'Bebas Neue', sans-serif; font-size: 16px; letter-spacing: 1px; color: var(--gold); }
.prediction-updated { font-size: 10px; color: var(--dim); }

/* Win probability bars */
.prob-bar-wrap {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 8px; margin-bottom: 16px;
}
.prob-segment { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.prob-label { font-size: 11px; color: var(--mut); font-weight: 500; }
.prob-bar-outer {
  width: 100%; height: 8px; background: rgba(255,255,255,0.06);
  border-radius: 4px; overflow: hidden;
}
.prob-bar-inner { height: 100%; border-radius: 4px; transition: width .5s; }
.prob-bar-home { background: var(--gold); }
.prob-bar-draw { background: #94a3b8; }
.prob-bar-away { background: var(--blue); }
.prob-pct { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 1px; }
.prob-pct.gold { color: var(--gold); }
.prob-pct.grey { color: #94a3b8; }
.prob-pct.blue { color: var(--blue); }

/* Prediction chips */
.pred-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.pred-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 500;
  border: 1px solid var(--bdr); background: var(--card);
}
.pred-chip.winner { background: rgba(240,180,41,0.12); border-color: rgba(240,180,41,0.35); color: var(--gold); }
.pred-chip.goals  { background: rgba(96,165,250,0.1);  border-color: rgba(96,165,250,0.3);  color: var(--blue); }
.pred-chip.btts   { background: rgba(74,222,128,0.1);  border-color: rgba(74,222,128,0.3);  color: var(--green); }

/* H2H comparison */
.h2h-comparison {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 10px; align-items: center; margin-bottom: 14px;
}
.h2h-team { text-align: center; }
.h2h-team-name { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.h2h-stat-val { font-family: 'Bebas Neue', sans-serif; font-size: 24px; color: var(--gold); }
.h2h-stat-lbl { font-size: 10px; color: var(--dim); margin-top: 2px; }
.h2h-vs { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: var(--dim); text-align: center; }
.h2h-recent { margin-top: 10px; }
.h2h-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 12px;
}
.h2h-row:last-child { border-bottom: none; }
.h2h-score {
  font-family: 'Bebas Neue', sans-serif; font-size: 16px;
  padding: 1px 10px; border-radius: 5px; background: rgba(255,255,255,0.05);
}

/* Odds section */
.odds-section { margin-bottom: 18px; }
.odds-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; flex-wrap: wrap; gap: 6px;
}
.odds-title { font-size: 13px; font-weight: 600; color: var(--text); }
.odds-disclaimer { font-size: 10px; color: var(--dim); font-style: italic; }
.odds-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.bookmaker-card {
  background: var(--card); border: 1px solid var(--bdr);
  border-radius: 10px; overflow: hidden; transition: all .2s;
}
.bookmaker-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.bookmaker-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.bookmaker-name { font-size: 12px; font-weight: 600; color: var(--text); }
.bookmaker-body { padding: 10px 12px; }
.odds-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px; font-size: 12px;
}
.odds-row:last-child { margin-bottom: 0; }
.odds-label { color: var(--mut); }
.odds-val {
  font-family: 'Bebas Neue', sans-serif; font-size: 16px;
  color: var(--gold); letter-spacing: .5px;
}
.odds-frac { font-size: 11px; color: var(--mut); }
.bet-btn {
  display: block; width: 100%; margin-top: 10px;
  padding: 8px; border-radius: 6px; text-align: center;
  font-size: 12px; font-weight: 600; text-decoration: none;
  background: rgba(240,180,41,0.12); color: var(--gold);
  border: 1px solid rgba(240,180,41,0.3); transition: all .15s;
  font-family: 'Inter', sans-serif;
}
.bet-btn:hover { background: rgba(240,180,41,0.25); }

/* Best odds highlight */
.odds-best { color: var(--green) !important; }
.odds-best-label {
  font-size: 9px; background: rgba(74,222,128,0.15);
  color: var(--green); padding: 1px 5px; border-radius: 3px;
  margin-left: 4px; vertical-align: middle;
}

/* Over/under odds */
.ou-grid { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.ou-chip {
  display: flex; flex-direction: column; align-items: center;
  background: var(--card); border: 1px solid var(--bdr);
  border-radius: 8px; padding: 8px 14px; font-size: 11px;
  color: var(--mut); min-width: 70px;
}
.ou-chip .ou-val { font-family: 'Bebas Neue', sans-serif; font-size: 18px; color: var(--gold); }
.ou-chip .ou-label { font-size: 10px; margin-top: 2px; }

/* Affiliate disclaimer */
.affiliate-disclaimer {
  font-size: 11px; color: var(--dim); line-height: 1.6;
  padding: 10px 14px; background: rgba(255,255,255,0.02);
  border: 1px solid var(--line); border-radius: 8px; margin-top: 14px;
}
.affiliate-disclaimer a { color: var(--mut); }

/* Responsible gambling */
.rg-banner {
  display: flex; align-items: center; gap: 10px;
  background: rgba(248,113,113,0.06); border: 1px solid rgba(248,113,113,0.15);
  border-radius: 8px; padding: 10px 14px; font-size: 11px;
  color: var(--mut); margin-top: 10px; line-height: 1.5;
}
.rg-banner a { color: var(--red); }

/* Prediction on upcoming fixture row */
.fx-pred {
  display: flex; gap: 4px; align-items: center; margin-top: 3px;
}
.fx-pred-bar {
  display: flex; height: 4px; border-radius: 2px; overflow: hidden;
  width: 80px; gap: 1px;
}
.fx-pred-h { background: var(--gold); border-radius: 2px; }
.fx-pred-d { background: #94a3b8; border-radius: 2px; }
.fx-pred-a { background: var(--blue); border-radius: 2px; }
.fx-pred-lbl { font-size: 10px; color: var(--dim); }

@media (max-width:520px) {
  .odds-grid { grid-template-columns: 1fr 1fr; }
  .prob-bar-wrap { gap: 4px; }
}

/* ── COLLAPSIBLE CARD SECTIONS ───────────────────────────────────── */
.card-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px; cursor: pointer;
  border-top: 1px solid var(--line);
  user-select: none; transition: background .15s;
}
.card-toggle:first-child { border-top: none; }
.card-toggle:hover { background: rgba(255,255,255,0.03); }
.card-toggle-left { display: flex; align-items: center; gap: 8px; }
.card-toggle-title {
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  color: var(--mut); text-transform: uppercase;
}
.card-toggle-count {
  font-size: 11px; color: var(--dim);
  background: rgba(255,255,255,0.05);
  border-radius: 10px; padding: 1px 7px;
}
.card-toggle-arrow {
  font-size: 11px; color: var(--dim);
  transition: transform .25s; display: inline-block;
}
.card-toggle.open .card-toggle-arrow { transform: rotate(180deg); }
.card-collapsible {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.card-collapsible.open { max-height: 2000px; }
.card-collapsible-inner { padding: 4px 16px 12px; }

/* ══════════════════════════════════════════════════════════════════
   LIVE SCORES TICKER
══════════════════════════════════════════════════════════════════ */
.live-ticker {
  background: rgba(226,75,75,0.08);
  border: 1px solid rgba(226,75,75,0.2);
  border-radius: 10px; margin-bottom: 16px;
  overflow: hidden; display: none;
}
.live-ticker.active { display: block; }
.live-ticker-header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-bottom: 1px solid rgba(226,75,75,0.15);
  background: rgba(226,75,75,0.06);
}
.live-ticker-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #f87171;
  display: flex; align-items: center; gap: 5px;
}
.live-ticker-updated { font-size: 10px; color: var(--dim); margin-left: auto; }
.live-ticker-scroll {
  display: flex; gap: 0; overflow-x: auto;
  scrollbar-width: none; padding: 0;
}
.live-ticker-scroll::-webkit-scrollbar { display: none; }
.live-match {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 16px; border-right: 1px solid rgba(226,75,75,0.1);
  cursor: pointer; transition: background .15s; flex-shrink: 0; min-width: 160px;
}
.live-match:hover { background: rgba(226,75,75,0.06); }
.live-match-teams {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; white-space: nowrap; margin-bottom: 4px;
}
.live-match-score {
  font-family: 'Bebas Neue', sans-serif; font-size: 18px;
  color: #f87171; letter-spacing: 1px;
}
.live-match-time {
  font-size: 10px; color: var(--dim); margin-top: 2px;
  display: flex; align-items: center; gap: 3px;
}

/* ══════════════════════════════════════════════════════════════════
   TODAY'S MATCHES
══════════════════════════════════════════════════════════════════ */
.todays-matches { margin-bottom: 20px; }
.todays-league-group { margin-bottom: 14px; }
.todays-league-header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px; padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.todays-league-logo { width: 18px; height: 18px; object-fit: contain; }
.todays-league-name { font-size: 11px; font-weight: 600; color: var(--mut); text-transform: uppercase; letter-spacing: .6px; }
.todays-fx {
  display: flex; align-items: center; gap: 8px; padding: 7px 0;
  border-bottom: 1px solid var(--line); font-size: 12px;
}
.todays-fx:last-child { border-bottom: none; }
.todays-fx-teams { flex: 1; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.todays-fx-time { font-size: 11px; color: var(--mut); flex-shrink: 0; min-width: 42px; text-align: right; }
.todays-fx-score {
  font-family: 'Bebas Neue', sans-serif; font-size: 16px;
  padding: 1px 8px; border-radius: 5px; flex-shrink: 0;
}
.todays-fx-score.live { color: #f87171; background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.25); }
.todays-fx-score.ft   { color: var(--mut); background: rgba(255,255,255,0.04); }
.todays-fx-score.ns   { color: var(--dim); background: transparent; font-size: 12px; font-family: 'Inter',sans-serif; }

/* ══════════════════════════════════════════════════════════════════
   LEAGUE TABLE WIDGET
══════════════════════════════════════════════════════════════════ */
.standings-widget { margin-bottom: 16px; }
.sw-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.sw-logo { width: 22px; height: 22px; object-fit: contain; }
.sw-name { font-size: 12px; font-weight: 600; color: var(--text); flex: 1; }
.sw-link { font-size: 11px; color: var(--mut); text-decoration: none; }
.sw-link:hover { color: var(--gold); }
.sw-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sw-table th { text-align: right; padding: 3px 6px; font-size: 10px; color: var(--dim); font-weight: 600; text-transform: uppercase; }
.sw-table th:first-child, .sw-table th:nth-child(2) { text-align: left; }
.sw-table td { padding: 5px 6px; border-bottom: 1px solid var(--line); text-align: right; }
.sw-table td:first-child, .sw-table td:nth-child(2) { text-align: left; }
.sw-table tr:last-child td { border-bottom: none; }
.sw-table tr:hover td { background: rgba(255,255,255,0.03); }
.sw-table .sw-rank { color: var(--dim); font-size: 11px; width: 20px; }
.sw-table .sw-team { font-weight: 500; display: flex; align-items: center; gap: 6px; }
.sw-table .sw-team a { color: var(--text); text-decoration: none; }
.sw-table .sw-team a:hover { color: var(--gold); }
.sw-table .sw-pts { font-weight: 700; color: var(--gold); }
.sw-table .sw-highlight td { background: rgba(240,180,41,0.07); }
/* Zone indicators */
.sw-zone { width: 3px; height: 100%; border-radius: 2px; display: inline-block; margin-right: 2px; flex-shrink: 0; }
.sw-zone.cl  { background: #60a5fa; }
.sw-zone.el  { background: #4ade80; }
.sw-zone.rel { background: #f87171; }
.sw-zone.non { background: transparent; }

/* ══════════════════════════════════════════════════════════════════
   PUSH NOTIFICATIONS
══════════════════════════════════════════════════════════════════ */
.notif-banner {
  display: flex; align-items: center; gap: 10px;
  background: rgba(240,180,41,0.07); border: 1px solid rgba(240,180,41,0.2);
  border-radius: 10px; padding: 10px 14px; margin-bottom: 14px;
  font-size: 12px; color: var(--mut);
}
.notif-banner.hidden { display: none; }
.notif-btn {
  padding: 5px 14px; border-radius: 6px; border: 1px solid rgba(240,180,41,0.35);
  background: rgba(240,180,41,0.12); color: var(--gold); cursor: pointer;
  font-size: 11px; font-weight: 600; font-family: 'Inter',sans-serif;
  white-space: nowrap; transition: all .15s; flex-shrink: 0;
}
.notif-btn:hover { background: rgba(240,180,41,0.25); }
.notif-dismiss {
  margin-left: auto; background: none; border: none; color: var(--dim);
  cursor: pointer; font-size: 16px; padding: 2px; flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════════
   SOCIAL SHARE
══════════════════════════════════════════════════════════════════ */
.share-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 12px 0; border-top: 1px solid var(--line); margin-top: 16px;
}
.share-label { font-size: 11px; color: var(--dim); font-weight: 600; text-transform: uppercase; letter-spacing: .8px; }
.share-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 8px; border: 1px solid var(--bdr);
  background: var(--card); color: var(--mut); text-decoration: none;
  font-size: 12px; font-weight: 500; transition: all .15s; cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.share-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.2); transform: translateY(-1px); }
.share-btn.twitter:hover  { border-color: rgba(29,161,242,0.5); color: #1da1f2; background: rgba(29,161,242,0.08); }
.share-btn.facebook:hover { border-color: rgba(66,103,178,0.5); color: #4267b2; background: rgba(66,103,178,0.08); }
.share-btn.whatsapp:hover { border-color: rgba(37,211,102,0.5); color: #25d366; background: rgba(37,211,102,0.08); }
.share-btn.copy:hover     { border-color: rgba(240,180,41,0.5); color: var(--gold); background: rgba(240,180,41,0.08); }
.share-btn.copied { border-color: rgba(74,222,128,0.5); color: var(--green); background: rgba(74,222,128,0.08); }
