/* ============================================================================
   BetPulse · Midnight Petrol — sistemi vizual i frontend-it te lojtarit
   Nje skedar i vetem: tokens + komponente + responsive.
   Nuk varet nga style.css / klasik-pro.css te vjetra.
   ========================================================================= */

:root {
  /* ── PETROL I PËRMBYSUR ───────────────────────────────────────────────
     E njëjta familje ngjyrash si kuverta e errët — teal, petrol, ar — por
     e kthyer përmbys: drita mban hijen e tealit, jo gri neutrale. Boja e
     tekstit është po ai petrol, i ngopur.
     Kuverta e errët: <html data-theme="dark">. */
  --bg:        #C6DBDE;
  --bg-panel:  #E3EFF0;
  --bg-side:   #D6E6E8;
  --bg-raise:  #A9C9CF;
  --bg-row:    #E3EFF0;
  --bg-field:  #E8F3F4;

  --line:      #83ACB4;
  --line-2:    #9BC0C7;
  --line-3:    #B2CFD4;
  --border:    #6F9CA5;
  --border-hi: #5B8C94;

  --text:      #042026;
  --text-2:    #3B636B;
  --text-3:    #5C828A;
  --text-str:  #0C3038;

  --gold:      #8A5A12;
  --gold-hi:   #6D4607;
  --teal:      #0B7A73;
  --teal-hi:   #06615C;
  --teal-soft: #2E9A92;
  --live:      #0B4F4B;
  --live-soft: #12837C;
  --win:       #1F6B43;
  --lose:      #2E4A50;

  --badge-live-bg: #CFE6E3;  --badge-live-fg: #08625C;
  --badge-win-bg:  #D6EADD;  --badge-win-fg:  #1A5E3A;
  --badge-wait-bg: #F2E6CE;  --badge-wait-fg: #74500E;
  --badge-lose-bg: #D3E2E4;  --badge-lose-fg: #22383D;

  /* Sipërfaqet e qelizave dhe shiritave — të gjitha me hije teali */
  --surf-1: #D9E9EB;
  --surf-2: #C7DEE1;
  --surf-3: #ADCDD3;
  --dash:   #9BBFC5;
  --on-accent: #F1F7F7;
  --mute:   #6B9199;

  --tint-gold:   rgba(138,90,18,.12);
  --tint-gold-2: rgba(138,90,18,.22);
  --tint-live:   rgba(11,79,75,.08);
  --tint-live-solid: #E2F2F0;
  --tint-fav:    rgba(31,107,67,.10);
  --zebra:       rgba(4,32,38,.055);
  --zebra-2:     rgba(6,37,43,.07);
  --zebra-row:   #DBE9EB;

  --band:        #0E6F6A;
  --mom-up:      #0B4F4B;
  --mom-dn:      #6E9F9B;
  --band-fg:     #EAF7F6;
  --band-fg-2:   #AFD9D5;
  --hdr-bg:      #A9C9CF;   /* po ajo si "Futboll" aktiv te shiriti majtas */
  --hdr-fg:      #042026;
  --band-2:      #12837C;

  --scrim:    rgba(11,79,75,.97);
  --shadow-c: rgba(6,37,43,.18);

  --scan:        rgba(6,37,43,.014);
  --edge-glow:   rgba(11,122,115,.26);
  --glow-teal:   rgba(11,122,115,.12);
  --glow-gold:   rgba(138,90,18,.12);
  --grid-line:   rgba(11,122,115,.18);
  --grid-line-2: rgba(11,122,115,.11);
  --grad-1:      #BFDADD;
  --grad-2:      #D2DCE2;

  --r-sm: 6px;  --r-md: 8px;  --r-lg: 11px;  --r-xl: 15px;
  --hdr-h: 56px;
  --font: 'Chakra Petch', 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-num: 'Oxanium', 'Barlow Condensed', ui-monospace, monospace;

  color-scheme: light;
}

/* ── KUVERTA E ERRËT — e njëjta lëkurë, tema tjetër ──────────────────────
   Ndizet me <html data-theme="dark">. Vetëm tokenë: asnjë rregull strukture. */
/* ── E PËRMBYSUR: e zeza te jeshilja, jeshilja te e zeza ─────────────────
   E njëjta kuvertë e errët, por fusha dhe bandat ndërrojnë vend: rreshtat
   rrinë mbi petrolin e gjelbër dhe kokat janë thuajse të zeza.
   Ndizet me <html data-theme="swap">. */
:root[data-theme="swap"] {
  --bg:        #11232A;
  --bg-panel:  #15323A;
  --bg-side:   #0F2A31;
  --bg-raise:  #050C0F;
  --bg-row:    #15323A;
  --bg-field:  #0B1A20;

  --line:      #20454F;
  --line-2:    #1A3A43;
  --line-3:    #143339;
  --border:    #2C5F6B;
  --border-hi: #3C7D8B;

  --text:      #E4F1F3;
  --text-2:    #9EC2C8;
  --text-3:    #6E9AA3;
  --text-str:  #C4DEE2;

  --gold:      #F0B36A;
  --gold-hi:   #FFD4A0;
  --teal:      #2EC4B6;
  --teal-hi:   #5FEADB;
  --teal-soft: #8BF4E8;
  --live:      #5FEADB;
  --live-soft: #8BF4E8;
  --win:       #6FD79A;
  --lose:      #9FC3C8;

  --badge-live-bg: #050C0F;  --badge-live-fg: #5FEADB;
  --badge-win-bg:  #0F2A1B;  --badge-win-fg:  #6FD79A;
  --badge-wait-bg: #2A2112;  --badge-wait-fg: #F0C68E;
  --badge-lose-bg: #0B1A20;  --badge-lose-fg: #9FC3C8;

  --surf-1: rgba(5,12,15,.45);
  --surf-2: #0C1E24;
  --surf-3: #050C0F;
  --dash:   #255159;
  --on-accent: #04171A;
  --mute:   #6E9AA3;

  --tint-gold:   rgba(240,179,106,.14);
  --tint-gold-2: rgba(240,179,106,.24);
  --tint-live:   rgba(95,234,219,.08);
  --tint-live-solid: #0A2A2E;
  --tint-fav:    rgba(111,215,154,.10);
  --zebra:       rgba(0,0,0,.20);
  --zebra-2:     rgba(0,0,0,.28);
  --zebra-row:   #123039;

  --band:        #050C0F;
  --band-fg:     #DCEAEE;
  --band-fg-2:   #7FA3AC;
  --hdr-bg:      #050C0F;
  --hdr-fg:      #DCEAEE;
  --mom-up:      #5FEADB;
  --mom-dn:      #6E9FA8;
  --band-2:      #0A161B;

  --scrim:    rgba(5,12,15,.92);
  --shadow-c: rgba(0,0,0,.5);

  --scan:        rgba(95,234,219,.02);
  --edge-glow:   rgba(95,234,219,.3);
  --glow-teal:   rgba(95,234,219,.22);
  --glow-gold:   rgba(240,179,106,.2);
  --grid-line:   rgba(46,196,182,.22);
  --grid-line-2: rgba(46,196,182,.15);
  --grad-1:      #15323A;
  --grad-2:      #1C2A30;

  color-scheme: dark;
}

:root[data-theme="dark"] {
  --bg:        #050C0F;
  --bg-panel:  #0A161B;
  --bg-side:   #071216;
  --bg-raise:  #112228;
  --bg-row:    #0B171C;
  --bg-field:  #081318;

  --line:      #16303A;
  --line-2:    #102229;
  --line-3:    #0D1D23;
  --border:    #1C3A45;
  --border-hi: #2A5A66;

  --text:      #DCEAEE;
  --text-2:    #7FA3AC;
  --text-3:    #4D6E78;
  --text-str:  #B6CDD3;

  --gold:      #F0B36A;
  --gold-hi:   #FFD4A0;
  --teal:      #2EC4B6;
  --teal-hi:   #5FEADB;
  --teal-soft: #8BF4E8;
  --live:      #E8705F;
  --live-soft: #FF8C78;
  --win:       #6FD79A;
  --lose:      #E8695C;

  --badge-live-bg: #0F2E33;  --badge-live-fg: #5FEADB;
  --badge-win-bg:  #0F2A1B;  --badge-win-fg:  #6FD79A;
  --badge-wait-bg: #2A2112;  --badge-wait-fg: #F0C68E;
  --badge-lose-bg: #2E1714;  --badge-lose-fg: #FF9E8E;

  --surf-1: rgba(18,34,40,.6);
  --surf-2: #112630;
  --surf-3: #11232A;
  --dash:   #1E343C;
  --on-accent: #04171A;
  --mute:   #4D6E78;

  --tint-gold:   rgba(240,179,106,.12);
  --tint-gold-2: rgba(240,179,106,.20);
  --tint-live:   rgba(232,112,95,.06);
  --tint-live-solid: #15100F;
  --tint-fav:    rgba(111,215,154,.08);
  --band:        #11232A;
  --mom-up:      #5FEADB;
  --mom-dn:      #4E8490;
  --band-fg:     #DCEAEE;
  --band-fg-2:   #7FA3AC;
  --hdr-bg:      rgba(5,12,15,.86);
  --hdr-fg:      #DCEAEE;
  --band-2:      #15323A;
  --zebra:       rgba(255,255,255,.016);
  --zebra-2:     rgba(255,255,255,.05);
  --zebra-row:   #0B1518;

  --scrim:    rgba(5,12,15,.86);
  --shadow-c: rgba(0,0,0,.5);

  --scan:        rgba(95,234,219,.018);
  --edge-glow:   rgba(95,234,219,.35);
  --glow-teal:   rgba(95,234,219,.25);
  --glow-gold:   rgba(240,179,106,.22);
  --grid-line:   rgba(46,196,182,.20);
  --grid-line-2: rgba(46,196,182,.14);
  --grad-1:      #0E2A31;
  --grad-2:      #1C1A26;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }

button, input, select, textarea { font-family: inherit; }

:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 2px; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--dash); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--border); }

.num { font-family: var(--font-num); font-weight: 700; font-variant-numeric: tabular-nums; }
.mono-num { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); }
.dim   { color: var(--text-3); }
.gold  { color: var(--gold); }
.teal  { color: var(--teal-hi); }
.hide  { display: none !important; }
.grow  { flex: 1 1 auto; min-width: 0; }
.row   { display: flex; align-items: center; gap: 10px; }
.col   { display: flex; flex-direction: column; }
.ellip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.label-xs {
  font-size: 10px; letter-spacing: .14em; font-weight: 600;
  color: var(--text-3); text-transform: uppercase;
}

/* ─── Butona ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: transparent; color: var(--text);
  font-size: 13px; font-weight: 500; cursor: pointer;
}
.btn:hover { border-color: var(--border-hi); background: var(--surf-2); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary {
  border: 0; background: var(--teal); color: var(--on-accent); font-weight: 700;
}
.btn-primary:hover { background: var(--teal); }
.btn-gold { border: 0; background: var(--gold); color: var(--bg); font-weight: 700; }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ghost { border: 0; color: var(--text-2); }
.btn-ghost:hover { background: var(--bg-raise); color: var(--text); }
.btn-lg { min-height: 50px; font-family: var(--font-num); font-size: 18px;
          letter-spacing: .06em; text-transform: uppercase; }
.btn-sm { min-height: 32px; font-size: 12px; padding: 0 11px; }
.btn-block { width: 100%; }
.btn-icon {
  width: 38px; height: 38px; min-height: 38px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}

/* 05.11.2026 (pronari): nje px me poshte dhe me afer njeri-tjetrit. */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 33px; padding: 0 11px; border-radius: 999px;
  border: 0; background: transparent; color: var(--text-2);
  font-size: 11.5px; font-weight: 500; cursor: pointer; white-space: nowrap;
}

/* Rreshti i filtrave. Chip-at e vegjel e bejne te hyje ne nje vije deri rreth
   480px; nen kete, rreshti thyhet dhe kalendari zbret.
   05.11.2026 — prova e pare ishte `nowrap` + `overflow-x:auto`: mbante nje
   vije gjithmone, por te 360px fshihte dy chip-a pas nje skaji pa shirit
   rreshqitjeje, pra pa asnje shenje se kishte edhe te tjere. Nje filter qe
   nuk duket nuk ekziston per lojtarin; me mire te thyhet rreshti. */
.filtra-rresht { flex-wrap: wrap; justify-content: center; }
/* Butoni i kalendarit pa fjale: katror, sa nje chip i lartesise se njejte. */
.chip.chip-kal { padding: 0 9px; }
.filtra-rresht > * { flex: 0 0 auto; }
.chip:hover { background: var(--surf-2); color: var(--text); }
.chip.on { background: var(--bg-raise); color: var(--text); font-weight: 600; }
.chip.on-gold { background: var(--gold); color: var(--bg); font-weight: 700; }
.chip-count { font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.chip.on .chip-count { color: var(--text-2); }

.seg { display: flex; gap: 3px; background: var(--bg-panel);
       border-radius: var(--r-lg); padding: 4px; }
.seg button {
  flex: 1 1 0; min-height: 36px; border: 0; border-radius: var(--r-sm);
  background: transparent; color: var(--text-2);
  font-size: 12.5px; font-weight: 500; cursor: pointer;
}
.seg button.on { background: var(--bg-raise); color: var(--text); font-weight: 600; }

/* ─── Input ──────────────────────────────────────────────────────────── */
.field { display: block; }
.field > span { display: block; margin-bottom: 7px; }
.input {
  width: 100%; min-height: 44px; padding: 0 12px;
  border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--bg-field); color: var(--text); font-size: 14px;
}
.input:focus { border-color: var(--border-hi); outline: none; }
.input-num {
  font-family: var(--font-num); font-size: 22px; font-weight: 700;
  font-variant-numeric: tabular-nums; min-height: 50px;
}
select.input { appearance: none; padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%),
                    linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

/* ─── Kartat / panelet ───────────────────────────────────────────────── */
.card {
  background: var(--bg-panel); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden;
}
.card-pad { padding: 18px; }
.card-hdr {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 13px 18px; border-bottom: 1px solid var(--line-2); background: var(--surf-1);
}
.card-title { margin: 0; font-size: 14px; font-weight: 600; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
}
.badge-live { background: var(--badge-live-bg); color: var(--badge-live-fg); }
.badge-win  { background: var(--badge-win-bg);  color: var(--badge-win-fg); }
.badge-wait { background: var(--badge-wait-bg); color: var(--badge-wait-fg); }
.badge-lose { background: var(--badge-lose-bg); color: var(--badge-lose-fg); }

.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--live);
       flex-shrink: 0; }
.dot-live { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

.flag { width: 20px; height: 14px; border-radius: 2px; flex-shrink: 0;
        background: var(--border); object-fit: cover; display: block;
        box-shadow: 0 0 0 1px var(--zebra-2) inset; }
img.flag { background: transparent; }
.flag-sm { width: 16px; height: 11px; }
/* Shenja e grupeve pa shtet (Europe, Asia, Other): vizatim, jo flamur —
   pa sfond dhe pa korniz, qe te mos duket si flamur i gabuar. */
.flag-sh { width: 16px; height: 16px; background: none; box-shadow: none;
           color: var(--text-3); }
.flag-sm.flag-sh { width: 14px; height: 14px; }
.side-item.on .flag-sh, .nav-row:hover .flag-sh { color: var(--teal-hi); }

.bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--teal); }

/* ─── Header ─────────────────────────────────────────────────────────── */
.hdr {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  min-height: var(--hdr-h); padding: 0 16px;
  background: var(--bg-panel); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.logo { display: flex; align-items: center; gap: 9px; padding: 9px 0;
        background: none; border: 0; cursor: pointer; color: var(--text); }
.logo-txt {
  font-family: var(--font-num); font-size: 22px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: stretch;
}

/* ══ EMRI: NUMRI DHE FJALA, JO NJE BLLOK I VETEM ═════════════════════
 * "24PLAY" dilte si nje ngjyre e vetme dhe lexohej si tekst, jo si shenje.
 * Numri merr tealin e markes — te njejtin si pika ne qender te shenjes SVG
 * krah tij, qe te dyja te duken pjese e te njejtes gje — dhe fjala mbetet
 * e bardhe, pak me e holle dhe me e hapur. Asgje e shtuar: vetem nje
 * ndryshim peshe midis dy gjysmave. (05.11.2026, pronari) */
/* ══ VERSIONI 4 · RRESHT REZULTATI (06.11.2026, pronari) ══════════════
 * Emri i tere ne nje ngjyre, dhe poshte nje vije tringjyreshe me te njejtat
 * perpjesetime si shiriti i presionit: teal, ar, i erret. Ngjyra vjen nga
 * tokenat, ndaj vija ndjek vete temen e zgjedhur. */
.logo-num { color: var(--text); font-weight: 800; letter-spacing: 0; }
.logo-fjale { color: var(--text); font-weight: 600; letter-spacing: .11em; }
.logo-rresht { display: flex; align-items: baseline; }
.logo-vija { display: flex; height: 3px; border-radius: 2px; overflow: hidden;
             margin-top: 3px; width: 100%; }
.logo-vija i { display: block; height: 100%; }
.logo-vija .v1 { width: 38%; background: var(--teal-hi); }
.logo-vija .v2 { width: 24%; background: var(--gold); }
.logo-vija .v3 { width: 38%; background: var(--line); }
.hnav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; flex: 1 1 auto; }
.hnav button {
  display: flex; align-items: center; gap: 7px;
  min-height: 36px; padding: 0 12px; border-radius: 8px;
  border: 0; background: transparent; color: var(--text-2);
  font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.hnav button:hover { background: var(--surf-2); color: var(--text); }
.hnav button.on { background: var(--bg-raise); color: var(--text); font-weight: 600; }
.hnav button.live-tab { color: var(--live-soft); font-weight: 600; }
.hdr-right { display: flex; align-items: center; gap: 10px; }
.acct-btn {
  display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 12px;
  border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--surf-2); color: var(--text); cursor: pointer;
}
.acct-sep { width: 1px; height: 16px; background: var(--border); }
.bal { font-family: var(--font-num); font-size: 16px; font-weight: 700;
       color: var(--gold); font-variant-numeric: tabular-nums; }

/* ─── Layout ─────────────────────────────────────────────────────────── */
.app { display: flex; flex-wrap: wrap; align-items: stretch;
       min-height: calc(100vh - var(--hdr-h)); }
.side {
  flex: 1 1 250px; min-width: 230px; max-width: 290px;
  background: var(--bg-side); border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.main { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; }
/* ══ QENDRA E NDESHJES NE KOLONEN E DJATHTE (04.11.2026) ═══════════════
   Kolona ndahet ne dy: Qendra lart, kuponi poshte. Kur Qendra s'eshte e
   hapur, `#mc-col` ka lartesi zero dhe kuponi e merr gjithe kolonen —
   pra asgje nuk ndryshon per ate qe nuk e hap. */
.mc-col { flex: 0 0 auto; }

/* ── Shiriti i ndeshjeve live majtas (04.11.2026) ───────────────────────
   Liga si titull me flamur, ndeshja me emrat njeri mbi tjetrin, rezultati
   djathtas, pastaj ora dhe kuotat 1/X/2. */
.sl-g + .sl-g { margin-top: 2px; }
.sl-g-h { display: flex; align-items: center; gap: 8px; padding: 7px 10px;
          background: var(--surf-2); font-size: 11px; font-weight: 700;
          color: var(--text-2); }
.sl-g-h .cnt { font-size: 10.5px; color: var(--text-3);
               font-variant-numeric: tabular-nums; }
.sl-m { padding: 7px 10px 8px; border-bottom: 1px solid var(--line-3); }
.sl-m.on { background: var(--bg-raise); box-shadow: inset 2px 0 0 var(--teal-hi); }
.sl-m-top { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sl-t { font-size: 12px; line-height: 1.3; color: var(--text-str); }
.sl-sc { gap: 2px; align-items: flex-end; font-size: 12px; font-weight: 700;
         color: var(--text-str); font-variant-numeric: tabular-nums; }
.sl-meta { display: flex; align-items: center; gap: 6px; margin-top: 4px;
           font-size: 9.5px; }
.sl-live { font-weight: 800; letter-spacing: .06em; color: var(--live-soft); }
.sl-per { color: var(--text-3); }
.sl-min { color: var(--live-soft); font-size: 10px;
          font-variant-numeric: tabular-nums; }
.sl-odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
           gap: 4px; margin-top: 6px; }
.sl-odd { display: flex; align-items: center; justify-content: space-between;
          gap: 4px; min-height: 28px; padding: 0 7px; border-radius: 6px;
          border: 1px solid var(--border); background: var(--surf-1);
          color: var(--text); cursor: pointer; font-family: inherit; }
.sl-odd:hover { border-color: var(--gold); }
.sl-odd.on { border-color: var(--gold); background: var(--tint-gold); }
.sl-odd.locked { border-style: dashed; opacity: .45; cursor: not-allowed; }
.sl-odd.none { justify-content: center; border: 1px dashed var(--dash);
               color: var(--mute); background: transparent; }
.sl-odd-l { font-size: 10px; color: var(--text-3); }
.sl-odd-v { font-family: var(--font-num); font-size: 12.5px; font-weight: 700;
            color: var(--gold); font-variant-numeric: tabular-nums; }
/* Ne telefon Qendra hapet nen shiritin e saj, brenda rrjedhes se faqes. */
.mc-mob:empty { display: none; }
.mc-mob.on { display: block; background: var(--bg-panel);
             border-bottom: 1px solid var(--line); }
/* Ne telefon banda siper e tregon tashme rezultatin dhe oren — Qendra nuk e
   perserit. Mbeten fusha, veprimi dhe dy shigjetat. (04.11.2026) */
.mc-mob .mc-sc, .mc-mob .mc-sub { display: none; }
.mc-mob .mc-head { padding-bottom: 2px; }
.mc-col.on { border-bottom: 1px solid var(--line); background: var(--bg-panel); }
.slip-inner { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }

.mc-wrap { display: flex; flex-direction: column; }

/* ══ STEMAT E EKIPEVE (06.11.2026, pronari) ═══════════════════════════
 * Serveri i dergonte prej kohesh; ndertuesi i klientit nuk i kalonte dhe
 * asnje pamje nuk i vizatonte. `object-fit: contain` i mban figurat me
 * raporte te ndryshme brenda te njejtes kuti, dhe `flex-shrink: 0` nuk i
 * le te ngjeshen kur emri eshte i gjate. */
.stema { object-fit: contain; flex-shrink: 0; display: block; }
/* Emri me stemen krah: emri shkurtohet, stema jo. */
.nm-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nm-l > .ellip { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-sc-t.nm-l { justify-content: flex-start; }
.mc-sc-t.r.nm-l { justify-content: flex-end; }
.sb-team.h { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.sb-team.a { display: flex; align-items: center; justify-content: flex-start; gap: 10px; }
.mc-head { padding: 10px 12px 8px; }
.mc-sc { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
         gap: 8px; margin-top: 6px; }
.mc-sc-t { font-size: 12.5px; font-weight: 600; text-align: right; }
.mc-sc-t.r { text-align: left; }
.mc-sc-n { display: inline-flex; align-items: baseline; gap: 4px;
           padding: 2px 10px; border-radius: 6px; background: var(--surf-2);
           font-family: var(--font-num); font-size: 19px; font-weight: 700;
           color: var(--text-str); font-variant-numeric: tabular-nums; }
.mc-sc-n i { font-style: normal; color: var(--text-3); }
.mc-sub { display: flex; align-items: center; justify-content: center; gap: 8px;
          margin-top: 4px; font-size: 11px; }
.mc-min { color: var(--live-soft); font-weight: 700; font-variant-numeric: tabular-nums; }
.mc-per, .mc-ht { color: var(--text-3); }
.mc-ht { padding: 1px 6px; border-radius: 4px; background: var(--surf-2); }

/* Fusha: bari me breza, vijat e bardha, topi. Pa figure — vetem CSS. */
.mc-pitch {
  /* 06.11.2026 (pronari): 128px -> 186px. "Formacionet" dhe "Tabela" u hoqen
     dhe fusha zuri vendin e tyre — po aq lartesi, vetem e perdorur me mire. */
  position: relative; height: 186px; margin: 0 10px; border-radius: 8px;
  overflow: hidden; border: 1px solid var(--pitch-line);
  background:
    repeating-linear-gradient(90deg, var(--pitch-a) 0 10%, var(--pitch-b) 10% 20%);
}
/* 05.11.2026: vijat e fushes vijne nga nje SVG i vetem (shih `_vijatEFushes`),
   jo nga div-e. `vector-effect` e mban trashesine e vijes te njejte edhe pse
   SVG-ja shtrihet ne nje kuti me raport tjeter nga fusha reale. */
.mc-p-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.mc-p-svg rect, .mc-p-svg line, .mc-p-svg circle, .mc-p-svg path {
  fill: none; stroke: var(--pitch-line); stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.mc-p-svg .f { fill: var(--pitch-line); stroke: none; }
.mc-p-off { position: absolute; inset: auto 8px 7px; text-align: center;
            font-size: 10px; color: rgba(255,255,255,.72); }
.mc-ball { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px;
           border-radius: 50%; background: #fff;
           box-shadow: 0 0 0 2px rgba(0,0,0,.28), 0 0 14px 3px rgba(255,255,255,.55);
           transition: left .6s ease, top .6s ease; }
/* Ana qe sulmon ndriçohet lehte. */
.mc-pitch.s-home::after, .mc-pitch.s-away::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 34%;
  pointer-events: none;
}
.mc-pitch.s-home::after { left: 0; background: linear-gradient(90deg, var(--pitch-hl), transparent); }
.mc-pitch.s-away::after { right: 0; background: linear-gradient(270deg, var(--pitch-hl), transparent); }

.mc-act { display: flex; align-items: center; gap: 8px; margin: 8px 10px 0;
          padding: 6px 9px; border-radius: 7px; background: var(--surf-2);
          font-size: 11px; }
.mc-act.hot { background: var(--tint-gold); }
.mc-act-t { color: var(--live-soft); font-weight: 700; }
.mc-act-a { font-weight: 700; letter-spacing: .04em; color: var(--text-str); }
.mc-act-w { color: var(--text-2); min-width: 0; }
.mc-tabs-w { padding: 8px 10px 10px; }
/* Fundi: dy shigjeta qe hapin Formacionet dhe Tabelen — asgje tjeter. */
/* `.mc-foot*` u hoq me 06.11.2026 bashke me butonat Formacionet/Tabela. */

:root { --pitch-a: #1F5B3A; --pitch-b: #1B5134; --pitch-line: rgba(255,255,255,.34);
        --pitch-hl: rgba(255,255,255,.12); }

.slip-col {
  flex: 1 1 400px; min-width: 300px; max-width: 420px;
  background: var(--bg-side); border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  position: sticky; top: var(--hdr-h); align-self: flex-start;
  height: calc(100vh - var(--hdr-h));
}
.side { position: sticky; top: var(--hdr-h); align-self: flex-start;
        height: calc(100vh - var(--hdr-h)); overflow-y: auto; }
.main { max-height: none; }
.mlist { max-height: none; }
.pad { padding: 18px; }

.side-head { display: flex; align-items: center; gap: 6px; padding: 10px 12px;
             border-bottom: 1px solid var(--line); }
.side-sec { padding: 14px 12px 6px; }
.side-sec + .side-sec { border-top: 1px solid var(--line-2); margin-top: 6px; }
.side-sec-t { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.side-item {
  width: 100%; display: flex; align-items: center; gap: 10px;
  min-height: 38px; padding: 0 8px; border-radius: 8px; border: 0;
  background: transparent; color: var(--text-str); cursor: pointer;
  text-align: left; font-size: 13px; font-weight: 500;
}
.side-item:hover { background: var(--surf-2); color: var(--text); }
.side-item.on { background: var(--bg-raise); color: var(--text); }
.side-item .cnt { font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* Ndeshjet live ne shiritin majtas (04.11.2026) */
/* Numëruesi te koka e shiritit: temat me bandë i japin një sfond, por pa
   formë — dilte si vijë gri pas shifrës. Këtu merr trajtën e vet. */
.side-head .chip-count {
  flex: 0 0 auto; white-space: nowrap; display: inline-flex;
  align-items: center; justify-content: center; min-width: 20px; height: 18px;
  padding: 0 6px; border-radius: 999px;
}
.side-lg { width: 100%; display: flex; align-items: center; gap: 8px;
           padding: 2px 8px 7px; border: 0; background: transparent; cursor: pointer;
           font-size: 10px; font-weight: 700; letter-spacing: .07em;
           text-transform: uppercase; color: var(--text-3); text-align: left; }
.side-lg:hover { color: var(--text-2); }
.side-m { align-items: center; height: auto; padding-top: 6px; padding-bottom: 6px; }
.side-m-t { font-size: 12px; line-height: 1.35; }
.side-m-s { gap: 1px; align-items: flex-end; font-size: 12px; font-weight: 700;
            color: var(--teal-hi); font-variant-numeric: tabular-nums; }
.side-m-min { min-width: 34px; text-align: right; font-size: 10.5px;
              color: var(--live-soft); font-variant-numeric: tabular-nums; }

.toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 11px 18px; border-bottom: 1px solid var(--line);
}
.toolbar h1 { margin: 0; font-size: 15px; font-weight: 600; }

/* ─── Lista e ndeshjeve ──────────────────────────────────────────────── */
/* 04.11.2026: overflow-x — me shume tregje sesa nxe ekrani, kolonat rreshqasin
   ne vend qe te shtypin emrat. `.mhead` eshte sticky brenda te njejtit
   kontejner, ndaj rreshqet bashke me to dhe mbetet e rreshtuar. */
.mlist { flex: 1 1 auto; overflow-y: auto; overflow-x: auto; }
/* 04.11.2026 · `width: max-content` eshte gjysma tjeter e `.mlist{overflow-x}`.
   Pa te, rreshti mbetej i gjere sa kontejneri dhe elementet mbivendoseshin:
   emrat e ekipeve dilnin SIPER kuotes se pare. Me te, rreshti zgjerohet sa
   permbajtja dhe teprica rreshqet horizontalisht. `min-width: 100%` e mban
   kufirin e poshtem dhe zebrat e plota kur tregjet jane te pakta. */
.mhead, .mrow { display: flex; align-items: center; gap: 14px; padding: 8px 18px;
                width: max-content; min-width: 100%; }
.mhead { background: var(--bg-side); position: sticky; top: 0; z-index: 2; }
.mhead span { font-size: 10px; letter-spacing: .12em; color: var(--text-3); }
.mhead .h-time { width: 56px; flex: 0 0 56px; }
.mhead .h-match { flex: 1 1 auto; min-width: 128px; }
/* Koka tani e perdor `.mrow-top`, njesoj si rreshti. */
.mhead .mrow-top > .h-time { width: 56px; flex: 0 0 56px; }
.mhead .mrow-top > .h-match { flex: 1 1 auto; min-width: 0; }
.mhead .r, .mrow .mmore { width: 56px; flex: 0 0 56px; }

/* ══ GJERESI FIKSE PER ZONEN E NDESHJES (06.11.2026, pronari) ══════════
 * `.mlist` rreshqet horizontalisht, ndaj NUK ka hapesire te lire per ta
 * ndare: `flex: 1 1 auto` i jep secilit thjesht gjeresine e permbajtjes —
 * koka 198px, rreshti 271px. Prej andej dilnin 73px dhembe mes titullit dhe
 * kolones. Nje gjeresi e shkruar e zgjidh.
 *
 * VETEM DESKTOP. Nen 900px `.mrow` behet `flex-direction: column`, dhe aty
 * `flex: 0 0 320px` nuk eshte gjeresi — eshte LARTESI: cdo rresht u be 320px
 * i gjate me nje vrime bosh ne mes. Kjo eshte arsyeja pse rregullat e
 * gjeresise rrine brenda nje media query, jo jashte saj. */
@media (min-width: 901px) {
  .mhead > .mrow-top, .mrow > .mrow-top {
    flex: 0 0 320px; width: 320px; min-width: 320px; max-width: 320px;
  }
  .mrow .mnames { flex: 1 1 auto; min-width: 0; }
}
.mhead .c { width: 72px; flex: 0 0 72px; text-align: center; }
.mhead .r { width: 56px; flex: 0 0 56px; text-align: right; }
.mrow-top { display: flex; align-items: center; gap: 14px; flex: 1 1 auto; min-width: 0; }
.mrow-top > .col:first-child { width: 56px; flex: 0 0 56px; }
/* Numri i qelizave vjen nga tregu (--n), jo nga kodi. Qelizat e linjës janë
   më të ngushta: i njeh nga `.odd-line` / `.h-line`. */
.mrow .odds-cell, .mhead .odds-cell,
.mrow .ou-cell,   .mhead .ou-cell {
  display: grid; grid-auto-columns: 72px; grid-auto-flow: column;
  gap: 8px; flex: 0 0 auto; align-items: center;
}
/* Gjeresia e qelizes llogaritet nga `--n`, jo nga permbajtja: perndryshe
   butonat e kuotave e fryjne qelizen e rreshtit dhe kokat e tekstit jo —
   matur: 243px kundrejt 232px per te njejtat tre kolona. Vetem desktop:
   nen 900px qelizat jane `repeat(3, 1fr)` dhe nje gjeresi fikse do i
   prishte. (06.11.2026) */
@media (min-width: 901px) {
  .mrow .odds-cell, .mhead .odds-cell,
  .mrow .ou-cell,   .mhead .ou-cell {
    width: calc(var(--n) * 72px + (var(--n) - 1) * 8px);
    box-sizing: content-box;
  }
}
.mrow .ou-cell, .mhead .ou-cell { margin-left: 8px; }
/* Pa `min-width: 0` nje buton kuote nuk ngushtohet dot nen permbajtjen e vet
   dhe e fryn pistën 72px: grid-i dilte 243px aty ku CSS-ja thoshte 232px —
   11px qe shtyheshin kolone pas kolone. (06.11.2026) */
.mrow .odds-cell > *, .mrow .ou-cell > *,
.mhead .odds-cell > *, .mhead .ou-cell > * {
  min-width: 0; width: 100%; box-sizing: border-box;
}
.mrow .odd-line, .mhead .h-line { width: 46px; }
.mhead .odds-cell span, .mhead .ou-cell span { text-align: center; }
.mhead .ou-cell span:nth-child(2) { color: var(--text-3); }
.odd-line { font-family: var(--font-num); font-size: 13px; font-weight: 600;
            color: var(--text-2); text-align: center; align-self: center;
            font-variant-numeric: tabular-nums; }
.odd-none { opacity: .35; justify-content: center; cursor: default;
            border-style: dashed; }
.mrow .mmore { width: 56px; flex: 0 0 56px; }
.lgroup {
  display: flex; align-items: center; gap: 9px; padding: 9px 18px;
  background: var(--bg-row); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-2); cursor: pointer;
}
.lgroup-name { font-size: 12px; font-weight: 600; color: var(--text-str);
               overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Yjet te koka e liges rrine djathtas dhe nuk tkurren. (06.11.2026) */
.lgroup > .fav { flex-shrink: 0; width: 24px; height: 24px; min-width: 24px; }
/* Ylli i ndeshjes te lista live. */
.mfav { display: flex; align-items: center; flex-shrink: 0; margin-left: 10px; }
/* Yjet te shiriti anesor: te vegjel, pa e shtyre rreshtin. (06.11.2026) */
.sl-g-h > .fav, .sl-meta > .fav { width: 22px; height: 22px; min-width: 22px;
                                  flex-shrink: 0; margin-left: 2px; }

/* ══ GOLI (06.11.2026, pronari) ═══════════════════════════════════════
 * Numri kthehet si nje fletë që rrotullohet — jo thjeshtë ndryshon — dhe
 * poshtë rreshtit kalon një shirit me emrin e ekipit që shënoi.
 * `prefers-reduced-motion` e heq lëvizjen për ata që e kërkojnë nga sistemi:
 * informacioni mbetet, vetëm animacioni jo. */
@keyframes golKthehet {
  0%   { transform: rotateX(0deg)   scale(1);    color: var(--teal-hi); }
  35%  { transform: rotateX(90deg)  scale(1.35); color: var(--gold); }
  65%  { transform: rotateX(180deg) scale(1.35); color: var(--gold); }
  100% { transform: rotateX(360deg) scale(1);    color: var(--teal-hi); }
}
.gol-nr {
  display: inline-block; animation: golKthehet 900ms ease-in-out 2;
  transform-origin: center; will-change: transform;
}

@keyframes golHyn {
  0%   { opacity: 0; transform: translateY(-6px); }
  12%  { opacity: 1; transform: translateY(0); }
  88%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}
.gol-shirit {
  display: flex; align-items: center; gap: 9px;
  margin: 6px 0 2px; padding: 7px 12px; border-radius: 8px;
  background: linear-gradient(90deg, var(--tint-gold), transparent 78%);
  border-left: 3px solid var(--gold);
  animation: golHyn 9000ms ease-in-out forwards;
}
.gol-fjala {
  font-family: var(--font-num); font-size: 14px; font-weight: 900;
  letter-spacing: .14em; color: var(--gold);
}
.gol-ekipi { font-size: 12.5px; font-weight: 700; color: var(--text); min-width: 0; }
.mrow.ka-gol { background: var(--tint-gold); }

@media (prefers-reduced-motion: reduce) {
  .gol-nr { animation: none; color: var(--gold); }
  .gol-shirit { animation: none; opacity: 1; }
}

/* `.logo-pike` u hoq me 06.11.2026 — pronari zgjodhi versionin 4. */
.lgroup-sub { font-size: 12px; color: var(--text-3); }
.mrow { padding: 9px 18px; border-bottom: 1px solid var(--line-3); }
.mrow:hover { background: var(--surf-2); }
.mtime { font-family: var(--font-num); font-size: 15px; font-weight: 600;
         font-variant-numeric: tabular-nums; }
.mtime.is-live { color: var(--live-soft); }
.mteams { display: flex; align-items: center; gap: 14px; min-width: 0; cursor: pointer;
          flex: 1 1 auto; }
/* Emrat marrin aq sa u duhet, jo gjithë rreshtin — ndryshe rezultati dhe
   vija e presionit shtyhen në skaj dhe mes mbetet një vrimë bosh. */
/* 04.11.2026 · DYSHEMEJA. Me `flex: 0 1 auto; min-width: 0` emrat lejoheshin
   te tkurreshin deri ne ZERO: qelizat e kuotave jane `flex: 0 0 auto` me
   kolona 72px, ndaj me 12 tregje live ato e shtypnin `.mrow-top` dhe emrat
   zhdukeshin fare — teksti rrinte ne DOM me `width: 0`, pra dukej sikur
   serveri nuk i kishte derguar. Tani kane dysheme, dhe teprica rreshqet
   horizontalisht (`.mlist { overflow-x: auto }`). */
/* 06.11.2026 (pronari): pa `max-width` emrat zene gjithe hapesiren e lire,
   ndaj rezultati bie ne TE NJEJTIN piksel te cdo rresht. Me kufirin 260px
   gjeresia varej nga gjatesia e emrave dhe kolona e rezultateve dilte dhembe
   — matur: 273, 276, 280, 298, 301, 303px. */
.mnames { flex: 1 1 auto; min-width: 128px; }
.mteams .nm { font-size: 13px; font-weight: 500; }
.mteams .nm2 { color: var(--text-str); }
.mscore { display: flex; flex-direction: column; gap: 3px; align-items: center;
          font-family: var(--font-num); font-size: 15px; font-weight: 700;
          color: var(--teal-hi); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.mscore i { font-style: normal; color: var(--text-2); }
.mmore { font-size: 11.5px; color: var(--text-3); text-align: right;
         font-variant-numeric: tabular-nums; background: none; border: 0;
         cursor: pointer; }
.mmore:hover { color: var(--gold); }

.odd {
  min-height: 38px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: var(--surf-1);
  color: var(--text); font-family: var(--font-num); font-size: 16px;
  font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: border-color .12s, background .12s;
}
.odd:hover { border-color: var(--gold); }
.odd.on { border-color: var(--gold); background: var(--tint-gold); color: var(--gold); }
.odd.up   { animation: flashUp .9s ease-out; }
.odd.down { animation: flashDown .9s ease-out; }
.odd:disabled, .odd.locked { opacity: .4; cursor: not-allowed; border-style: dashed; }
@keyframes flashUp   { 0% { background: var(--edge-glow) } 100% { background: var(--surf-1) } }
@keyframes flashDown { 0% { background: var(--tint-live) } 100% { background: var(--surf-1) } }
.odd-lbl { font-family: var(--font); font-size: 11px; font-weight: 500;
           color: var(--text-2); }

/* ─── Detaji i ngjarjes ──────────────────────────────────────────────── */
/* Shtresa e holle siper i jep thellesi bandes pa prekur temat: eshte e
   njejta ngjyre e panelit, vetem e ndricuar pak ne krye. (04.11.2026) */
.score-head { padding: 18px 22px; border-bottom: 1px solid var(--line);
              background: linear-gradient(180deg, rgba(255,255,255,.035) 0%,
                          rgba(255,255,255,0) 72%), var(--bg-panel); }
.score-big { font-family: var(--font-num); font-size: 34px; font-weight: 700;
             line-height: 1; font-variant-numeric: tabular-nums; }
/* Prematch: ora e fillimit ne vendin e rezultatit — banda nuk del bosh. */
.ev-vs { min-width: 64px; padding: 2px 10px; border-radius: 10px;
         background: var(--surf-2); }
.ev-vs-t { font-family: var(--font-num); font-size: 19px; font-weight: 700;
           line-height: 1.15; font-variant-numeric: tabular-nums; }
.ev-vs-d { font-size: 10.5px; color: var(--text-3); }

/* ── Banda e ndeshjes, 04.11.2026 ───────────────────────────────────────
   Tri rreshta: meta (liga, live, ylli) · qendra (ekip · rezultat · ekip)
   · fundi (pjesët, kartonat, posedimi). Çdo pjesë fshihet kur s'ka të
   dhëna, ndaj banda nuk ka kurrë kuti bosh. */
/* ══ FUSHA E FUTBOLLIT NE SFOND (04.11.2026) ══════════════════════════
   Banda dukej e zbrazet ne desktop: shume ngjyre e sheshte, asgje per syrin.
   Ketu vizatohet nje fushe — vijat anesore, rrethi i mesit, dy zonat — me
   gradient CSS, jo me figure: pa kerkese rrjeti, pa skedar per te mbajtur,
   dhe i ndjek ngjyrat e temes. `filter: blur()` e ben atmosfere, jo vizatim,
   qe teksti siper te mbetet i lexueshem. `aria-hidden` te HTML: lexuesi i
   ekranit nuk ka pse ta dije qe ekziston. */
.score-head { position: relative; isolation: isolate; }
.sb-fush {
  position: absolute; inset: -18px -10px; z-index: -1; pointer-events: none;
  opacity: .9; filter: blur(4.5px) saturate(.9);
  background:
    /* rrethi i mesit */
    radial-gradient(circle at 50% 50%, transparent 76px,
                    var(--sb-line) 76px, var(--sb-line) 78px, transparent 79px),
    /* pika e mesit */
    radial-gradient(circle at 50% 50%, var(--sb-line) 0 4px, transparent 5px),
    /* vija e mesit */
    linear-gradient(90deg, transparent calc(50% - 1px), var(--sb-line) calc(50% - 1px),
                    var(--sb-line) calc(50% + 1px), transparent calc(50% + 1px)),
    /* zona majtas */
    linear-gradient(90deg, transparent 13%, var(--sb-line) 13%, var(--sb-line) calc(13% + 2px),
                    transparent calc(13% + 2px)),
    /* zona djathtas */
    linear-gradient(90deg, transparent 87%, var(--sb-line) 87%, var(--sb-line) calc(87% + 2px),
                    transparent calc(87% + 2px)),
    /* bari: breza te lehte si kositja */
    repeating-linear-gradient(90deg, var(--sb-bar1) 0 6.25%, var(--sb-bar2) 6.25% 12.5%),
    var(--bg-panel);
}
.score-head.live .sb-fush { opacity: 1; }
/* Vello mbi fushe: teksti rri i lexueshem sado i forte te jete vizatimi. */
.score-head::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%,
              var(--sb-vel-0) 0%, var(--sb-vel-1) 62%, var(--sb-vel-2) 100%);
}
:root { --sb-line: rgba(255,255,255,.30);
        --sb-bar1: rgba(255,255,255,.055); --sb-bar2: rgba(0,0,0,.045);
        --sb-vel-0: rgba(8,22,27,.46); --sb-vel-1: rgba(8,22,27,.60);
        --sb-vel-2: rgba(8,22,27,.78); }
:root[data-theme="light"] { --sb-line: rgba(0,0,0,.16);
        --sb-bar1: rgba(0,0,0,.035); --sb-bar2: rgba(255,255,255,.05);
        --sb-vel-0: rgba(255,255,255,.52); --sb-vel-1: rgba(255,255,255,.66);
        --sb-vel-2: rgba(255,255,255,.82); }

.sb-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
           position: relative; }
.sb-live { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px;
           font-weight: 700; letter-spacing: .08em; color: var(--live-soft); }

.sb-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
           gap: 18px; }
.sb-team { min-width: 0; }
.sb-team.h { text-align: right; }
.sb-team.a { text-align: left; }
.sb-tname { font-size: 20px; font-weight: 650; line-height: 1.2;
            overflow-wrap: anywhere; }
.sb-mid { display: flex; flex-direction: column; align-items: center; gap: 4px;
          min-width: 132px; }
.sb-score { display: flex; align-items: baseline; gap: 8px; }
.sb-colon { font-family: var(--font-num); font-size: 26px; font-weight: 700;
            color: var(--text-3); line-height: 1; }
.sb-vs { display: flex; flex-direction: column; align-items: center; gap: 2px;
         padding: 2px 12px; border-radius: 10px; background: var(--surf-2); }
.sb-clock { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.sb-clock .num { font-family: var(--font-num); font-size: 14px; font-weight: 700;
                 color: var(--live-soft); font-variant-numeric: tabular-nums; }
.sb-per { color: var(--text-3); font-size: 11.5px; }

/* Shënuesit: vendasit majtas, mysafirët djathtas, topi në mes. */
.sb-goals { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
            gap: 10px; margin-top: 10px; }
.sb-scorers { display: flex; flex-direction: column; gap: 2px; align-items: flex-end;
              text-align: right; }
.sb-scorers.r { align-items: flex-start; text-align: left; }
.sb-goal { display: inline-flex; gap: 6px; font-size: 11.5px; color: var(--text-2); }

/* Fundi: pjesët, çiftet e numrave, posedimi — në një rresht që mbështillet. */
.sb-bottom { display: flex; align-items: center; justify-content: center;
             flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; padding-top: 12px;
             border-top: 1px solid var(--line-3); }
.sb-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.sb-chip { display: inline-flex; align-items: center; gap: 6px; height: 24px;
           padding: 0 9px; border-radius: 999px; background: var(--surf-2);
           font-size: 12px; font-variant-numeric: tabular-nums; }
.sb-chip .sb-dash { color: var(--text-3); }
.sb-chip-l { color: var(--text-3); font-size: 10.5px; white-space: nowrap; }
/* Kartonat: ngjyra e vertete e kartonit, jo ngjyra semantike e temes —
   `--lose` eshte nje blu-gri dhe kartoni i kuq dilte gri. (04.11.2026) */
.sb-sq { width: 9px; height: 12px; border-radius: 2px; display: inline-block;
         box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
:root { --card-y: #F2C230; --card-r: #E0453C; }

.sb-pos { display: flex; align-items: center; gap: 8px; min-width: 190px;
          flex: 0 1 340px; font-size: 11.5px; }
.sb-pos-l { color: var(--text-3); white-space: nowrap; }
.sb-back { flex: 0 0 auto; }
.sb-posbar { flex: 1 1 auto; }

/* Prematch: numërimi mbrapsht, ora e fillimit, shanset nga kuotat. */
.sb-cd { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.sb-cd-t { font-family: var(--font-num); font-size: 30px; font-weight: 700;
           line-height: 1; letter-spacing: .01em; color: var(--text-str);
           font-variant-numeric: tabular-nums; }
.sb-cd-u { font-size: 9.5px; letter-spacing: .05em; color: var(--text-3); }
.sb-ko { display: flex; align-items: baseline; gap: 7px; margin-top: 5px; }
.sb-ko-h { font-family: var(--font-num); font-size: 15px; font-weight: 700;
           color: var(--teal-hi); font-variant-numeric: tabular-nums; }
.sb-ko-d { font-size: 11.5px; color: var(--text-3); }

.sb-prob { display: flex; flex-direction: column; gap: 7px;
           width: 100%; max-width: 560px; }
.sb-probbar { height: 7px; }
.sb-problbl { display: flex; align-items: center; justify-content: space-between;
              gap: 14px; font-size: 11.5px; }
.sb-pl { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.sb-pl b { color: var(--text-str); }
.sb-dot { width: 8px; height: 8px; border-radius: 2px; flex: 0 0 auto; }

.sb-halves { border-collapse: collapse; font-size: 11.5px; }
.sb-halves th { padding: 1px 8px; font-size: 9.5px; font-weight: 600;
                letter-spacing: .06em; text-transform: uppercase;
                color: var(--text-3); }
.sb-halves td { padding: 1px 8px; text-align: center; color: var(--text-2); }
.sb-ht-team { text-align: left !important; max-width: 128px; color: var(--text-3) !important; }

@media (max-width: 720px) {
  .sb-tname { font-size: 15px; }
  .sb-main { gap: 10px; }
  .sb-mid { min-width: 96px; }
  .score-big { font-size: 26px; }
  .sb-colon { font-size: 20px; }
  /* Banda zinte mbi nje te treten e ekranit ne telefon — e njejta
     permbajtje, me pak fryme rreth saj. (04.11.2026) */
  .score-head { padding: 12px 14px; }
  .sb-meta { margin-bottom: 8px; }
  .sb-goals { margin-top: 7px; gap: 8px; }
  .sb-goal { font-size: 11px; }
  .sb-bottom { gap: 7px 12px; margin-top: 9px; padding-top: 9px; }
  .sb-chip { height: 22px; padding: 0 8px; font-size: 11.5px; }
  .sb-pos { flex: 1 1 100%; min-width: 0; }
  .sb-halves th, .sb-halves td { padding: 0 6px; }
  .sb-ht-team { max-width: 92px; }
}
/* Ndeshjet e tjera te ligës, majtas: dy rreshta emri + ora/rezultati. */
.ev-side-m { align-items: flex-start; height: auto; padding-top: 7px; padding-bottom: 7px; }
.mkt { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.mkt-h { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.mkt-h h2 { margin: 0; font-size: 13px; font-weight: 600; }
.mkt-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.mkt-grid.c2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.mkt-pick {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 46px; padding: 0 14px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surf-1);
  color: var(--text); cursor: pointer;
}
.mkt-pick:hover { border-color: var(--gold); }
.mkt-pick.on { border-color: var(--gold); background: var(--tint-gold); }
.mkt-pick .nm { font-size: 12.5px; color: var(--text-str); }
.mkt-pick .od { font-family: var(--font-num); font-size: 17px; font-weight: 700;
                color: var(--gold); font-variant-numeric: tabular-nums; }
.mkt-pick.locked { opacity: .45; cursor: not-allowed; border-style: dashed; }

/* ─── Kuponi ─────────────────────────────────────────────────────────── */
.slip-hdr { display: flex; align-items: center; gap: 8px; padding: 13px 16px;
            border-bottom: 1px solid var(--line); }
.slip-ttl { font-family: var(--font-num); font-size: 18px; font-weight: 700;
            letter-spacing: .04em; text-transform: uppercase; }
.slip-cnt { min-width: 18px; height: 18px; border-radius: 999px;
            background: var(--gold); color: var(--bg); font-size: 11px;
            font-weight: 700; line-height: 18px; text-align: center; padding: 0 5px; }
.slip-body { flex: 1 1 auto; overflow-y: auto; min-height: 0; }
.slip-item { padding: 12px 16px; border-top: 1px solid var(--line-2); }
.slip-item.stale { background: var(--badge-wait-bg); }
.slip-pick { font-size: 13px; font-weight: 600; }
.slip-odd { font-family: var(--font-num); font-size: 17px; font-weight: 700;
            color: var(--gold); font-variant-numeric: tabular-nums; }
.slip-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
             border-top: 1px solid var(--line); flex: 0 0 auto; }
.slip-line { display: flex; justify-content: space-between; align-items: baseline;
             font-size: 12px; color: var(--text-2); margin-top: 8px; }
.slip-line b { font-family: var(--font-num); font-size: 17px; font-weight: 700;
               color: var(--text); font-variant-numeric: tabular-nums; }
.slip-win { font-family: var(--font-num); font-size: 24px; font-weight: 700;
            color: var(--gold); font-variant-numeric: tabular-nums; }
.quick { display: flex; gap: 6px; margin-top: 8px; }
.quick button { flex: 1 1 0; min-height: 32px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: transparent; color: var(--text-str);
  font-size: 11.5px; cursor: pointer; }
.quick button:hover { border-color: var(--border-hi); color: var(--text); }
.slip-empty { padding: 36px 20px; text-align: center; color: var(--text-3);
              font-size: 12.5px; line-height: 1.6; }

/* Shiriti i kuponit ne mobile */
.slip-bar {
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; background: var(--teal); color: var(--on-accent);
  position: fixed; left: 0; right: 0; bottom: 56px; z-index: 35; border: 0;
  cursor: pointer; width: 100%;
}
.slip-bar .n { min-width: 22px; height: 22px; border-radius: 999px;
  background: var(--on-accent); color: var(--teal-soft); font-size: 12px; font-weight: 700;
  line-height: 22px; text-align: center; padding: 0 5px; }

/* ─── Bastet e mia ───────────────────────────────────────────────────── */

/* ══ LISTA E BILETAVE — e njejta forme si te `/v1` ════════════════════
 * Titull dite, nje rresht per bilete, bileta hapet ne vend, "Totali" per
 * dite. Emrat e klasave jane ata te origjinalit (`public/css/style.css`),
 * qe te dy pamjet te mos ndahen me kohen. Vlen ne cdo gjeresi — ne
 * origjinal vizatohej vetem nen 768px, por nje liste e ngjeshur lexohet
 * me mire edhe ne desktop se kartat. (05.11.2026, pronari) */
.mbm-lista { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.mbm-day {
  padding: 10px 14px 6px; font-size: 12px; font-weight: 800;
  color: var(--text-2); background: var(--bg-raise);
  border-bottom: 1px solid var(--line);
}
.mbm-row {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mbm-row:hover { background: var(--surf-2); }
.mbm-user { font-size: 12px; font-weight: 700; color: var(--text); flex-shrink: 0; }
.mbm-id   { font-size: 11px; color: var(--text-2); white-space: nowrap;
            overflow: hidden; text-overflow: ellipsis; }
/* `margin-left:auto` shtyn gjendjen djathtas pa nje element te zbrazet ne mes. */
.mbm-stat { margin-left: auto; font-size: 10px; font-weight: 800; white-space: nowrap; }
.mbm-stat.st-win  { color: var(--win); }
.mbm-stat.st-lose { color: var(--lose); }
.mbm-stat.st-void { color: var(--text-3); }
.mbm-stat.st-wait { color: var(--gold); }
.mbm-amt {
  font-size: 12px; font-weight: 800; color: var(--text);
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.mbm-tot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: var(--bg-raise);
  border-bottom: 1px solid var(--line);
}
.mbm-tot-lbl { font-size: 12px; font-weight: 700; color: var(--text-2); }
.mbm-tot-val { font-size: 13px; font-weight: 900; color: var(--text);
               font-variant-numeric: tabular-nums; }

/* E mbyllur nuk ze asnje piksel: pa kete, cdo bilete do linte nje rresht
   bosh me kufi midis rreshtave. */
.mbm-det { display: none; }
.mbm-det.on { display: block; background: var(--bg-raise); }
.mbm-sel {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px;
  border-bottom: 1px solid var(--line); border-left: 3px solid transparent;
}
.mbm-sel.win  { border-left-color: var(--win); }
.mbm-sel.lose { border-left-color: var(--lose); opacity: .7; }
.mbm-sel.void { border-left-color: var(--text-3); opacity: .7; }
.mbm-sel-main { flex: 1; min-width: 0; }
.mbm-sel-ev { font-size: 12px; color: var(--text); font-weight: 600; }
.mbm-sel-ko { font-size: 10px; color: var(--text-3); margin: 2px 0; }
.mbm-sel-mk { font-size: 11px; color: var(--text-2); }
.mbm-sel-odds { flex-shrink: 0; font-size: 13px; font-weight: 800;
                color: var(--gold); font-variant-numeric: tabular-nums; }
.mbm-live {
  font-size: 9px; font-weight: 900; color: var(--live);
  border: 1px solid var(--live); border-radius: 4px;
  padding: 1px 4px; margin-right: 4px;
}
.mbm-foot {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
}
.mbm-foot-i { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mbm-foot-i.right { text-align: right; align-items: flex-end; }
.mbm-foot-i span { font-size: 10px; color: var(--text-3); font-weight: 700; }
.mbm-foot-i b { font-size: 14px; font-weight: 900; color: var(--text);
                font-variant-numeric: tabular-nums; }
/* Veprimet thyhen ne rresht te dyte te telefoni; pa `wrap` dilnin jashte. */
.mbm-veprime { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px;
               border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.stat { background: var(--bg-panel); border: 1px solid var(--line);
        border-radius: var(--r-lg); padding: 14px 16px; }
.stat b { display: block; font-family: var(--font-num); font-size: 26px;
          font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 6px; }

/* Varianti i ulet, per dy treguesit e faqes se basteve. 05.11.2026 (pronari):
   si katrore zinin gjysmen e ekranit per dy numra. Tani etiketa majtas, numri
   djathtas, ne te njejtin rresht. Specifika `.stats.stats-rresht` e mund
   rregullin e mobile-it me poshte, ndaj rreshti mbetet rresht edhe aty. */
.stats.stats-rresht { display: flex; flex-wrap: wrap; gap: 8px; }
/* `flex: 1 1 150px` e jo `1 1 0`: me kater karta (LEK, EUR, USD, Ne loje) te
   nje S26 Ultra secila binte ne ~84px dhe "BALANCA LEK" pritej ne "BALANCA LEI".
   Me nje baze prej 150px ato kalojne vete ne dy rreshta kur s'hyjne, dhe asnje
   etikete nuk pritet. (05.11.2026, pronari) */
.stats.stats-rresht .stat { flex: 1 1 150px; min-width: 0; padding: 9px 13px;
          display: flex; flex-wrap: wrap; align-items: baseline;
          justify-content: space-between; gap: 2px 10px; }
/* Me dy karta etiketa dhe shifra rrine krah per krah. Me kater, "BALANCA EURO"
   plus "1250.00 €" nuk hyjne ne 188px: pa kete, etiketa pritej ne "BALANCA EUR…".
   Tani shifra zbret nje rresht me poshte — asgje nuk fshihet. (05.11.2026) */
.stats.stats-rresht .stat .label-xs { flex: 1 1 auto; min-width: 0; }
.stats.stats-rresht .stat b { flex: 0 0 auto; }
.stats.stats-rresht .stat b { display: inline; font-size: 17px; margin-top: 0; }
.stats.stats-rresht .label-xs { white-space: nowrap; }
.leg { display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
       padding: 11px 0; border-bottom: 1px solid var(--line-3); }
.leg:last-child { border-bottom: 0; }
.leg-dot { width: 18px; height: 18px; border-radius: 999px; flex-shrink: 0;
           display: flex; align-items: center; justify-content: center; }
.bet-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
            padding: 13px 18px; }
.kv { display: flex; flex-direction: column; gap: 2px; }

/* Shiriti i Finances: tre shifrat ndahen barabar ne gjeresine e kartes dhe
   rrine ne mes te pjeses se tyre. Me `gap` fiks rrinin te mbledhura majtas
   dhe gjysma e kartes mbetej bosh. (05.11.2026, pronari) */
.fin-rresht { display: flex; gap: 10px; }
.fin-rresht .kv { flex: 1 1 0; min-width: 0; align-items: center; text-align: center; }
.kv b { font-family: var(--font-num); font-size: 17px; font-weight: 700;
        font-variant-numeric: tabular-nums; }

/* ─── Tabela ─────────────────────────────────────────────────────────── */
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th {
  text-align: left; font-size: 10px; letter-spacing: .12em; color: var(--text-3);
  font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--line);
  text-transform: uppercase;
}
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line-3); }
.tbl tr:hover td { background: var(--surf-2); }
.tbl .r { text-align: right; }

/* ─── Login ──────────────────────────────────────────────────────────── */
.login-wrap {
  position: fixed; inset: 0; z-index: 90; background: var(--bg);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.login-card {
  width: 100%; max-width: 380px; background: var(--bg-panel);
  border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px;
}
.login-card h2 { margin: 0 0 6px; font-family: var(--font-num); font-size: 26px;
  font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.login-card p { margin: 0 0 22px; font-size: 12.5px; color: var(--text-2); }
.login-err { margin-top: 12px; font-size: 12.5px; color: var(--live-soft);
             min-height: 18px; }

/* ─── Modal / toast ──────────────────────────────────────────────────── */
.ovl { position: fixed; inset: 0; z-index: 80; background: var(--scrim);
       display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { width: 100%; max-width: 420px; background: var(--bg-panel);
         border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.modal-b { padding: 18px; }
.modal-f { display: flex; gap: 8px; justify-content: flex-end; padding: 14px 18px;
           border-top: 1px solid var(--line-2); }

.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 95;
          pointer-events: none;
          display: flex; flex-direction: column; gap: 8px; max-width: 340px; }
.toast { padding: 12px 14px; border-radius: var(--r-lg); font-size: 12.5px;
         background: var(--bg-raise); border: 1px solid var(--border);
         color: var(--text); box-shadow: 0 8px 24px var(--shadow-c); }
.toast.err { border-color: var(--badge-lose-bg); background: var(--badge-lose-bg); color: var(--badge-lose-fg); }
.toast.ok  { border-color: var(--badge-win-bg); background: var(--badge-win-bg); color: var(--badge-win-fg); }

.state { padding: 46px 20px; text-align: center; color: var(--text-3); font-size: 13px; }
.spinner { width: 20px; height: 20px; border-radius: 999px; margin: 0 auto 12px;
  border: 2px solid var(--dash); border-top-color: var(--teal-hi);
  animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }

/* ─── Nav mobile: rreshti i SIPËRM (si te origjinali) ────────────────── */
.mtopnav {
  display: none; align-items: center; justify-content: space-between;
  width: 100%; padding: 6px 6px calc(6px + env(safe-area-inset-top));
  gap: 4px;
}
.mtopnav button, .mtopnav .m-logo {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  min-width: 52px; min-height: 48px; justify-content: center;
  border: 0; background: transparent; color: var(--text-2); cursor: pointer;
  padding: 0 4px;
}
.mtopnav button.on { color: var(--gold); }
.mtopnav button span, .mtopnav .m-logo span {
  font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
}
.mtopnav .m-logo { flex: 1 1 auto; cursor: pointer; }
.mtopnav .m-logo b {
  font-family: var(--font-num); font-size: 20px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text);
}
.mtopnav .m-logo .logo-num { color: var(--text); font-weight: 800; letter-spacing: 0; }
.mtopnav .m-logo .logo-fjale { color: var(--text); font-weight: 600; letter-spacing: .10em; }
/* Te telefoni `b` behet kolone: emri siper, vija poshte. */
.mtopnav .m-logo b { display: flex; flex-direction: column; align-items: center; }
.mtopnav .m-logo .logo-vija { height: 2.5px; margin-top: 2px; }
.mtopnav .m-bal {
  font-family: var(--font-num); font-size: 12.5px; font-weight: 700;
  color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: 0;
  text-transform: none;
}
.mtopnav .m-badge {
  position: absolute; transform: translate(14px, -10px);
  min-width: 15px; height: 15px; border-radius: 999px; padding: 0 4px;
  background: var(--gold); color: var(--bg); font-size: 9.5px; font-weight: 700;
  line-height: 15px; text-align: center; letter-spacing: 0;
}

/* Shiriti i ditëve/sporteve (mobile) — i ngjitur nën header */
.subbar {
  display: none; align-items: center; gap: 8px; padding: 9px 12px;
  background: var(--bg-side); border-bottom: 1px solid var(--line-2);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.subbar::-webkit-scrollbar { display: none; }
.subbar .sep { width: 1px; height: 22px; background: var(--border); flex-shrink: 0; }

.drawer-bd { position: fixed; inset: 0; background: var(--scrim); z-index: 59; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; width: 290px; max-width: 86vw;
  background: var(--bg-side); border-right: 1px solid var(--line); z-index: 60;
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer-h { display: flex; align-items: center; gap: 10px; padding: 12px;
            border-bottom: 1px solid var(--line); }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .slip-col { display: none; }
  .slip-col.as-page { display: flex; max-width: none; flex: 1 1 100%;
                      border-left: 0; position: static; height: auto;
                      min-height: calc(100vh - var(--hdr-h) - 60px); }
}
@media (max-width: 900px) {
  .side { display: none; }
  .hnav { display: none; }
  .hdr { padding: 0 12px; }
  .mhead { display: none; }
  .mrow { flex-direction: column; align-items: stretch; gap: 9px; padding: 11px 14px; }
  .mrow .odds-cell { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
  /* Totali i golave rri vetëm në desktop: në mobile rreshti mbetet 1 X 2 dhe
     gola merren duke hapur ndeshjen. */
  .mrow .ou-cell { display: none; }
  .mrow .odd { min-height: 44px; justify-content: space-between; padding: 0 11px; }
  .mrow-top { gap: 10px; }
  .mrow .mmore { width: auto; flex: 0 0 auto; }
  .mtopnav { display: flex; }
  .subbar { display: flex; }
  .logo, .hdr-right { display: none; }
  .hdr { padding: 0; min-height: auto; flex-wrap: nowrap; }
  .slip-bar { bottom: 0; }
  .toasts { bottom: 86px; left: 12px; right: 12px; max-width: none; }
  .slip-bar.show { display: flex; }
  .app { min-height: auto; padding-bottom: 72px; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mkt-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .toolbar { padding: 10px 14px; }
  .pad { padding: 14px; }
  .bet-foot { gap: 14px; padding: 12px 14px; }
  .tbl th:nth-child(n+4), .tbl td:nth-child(n+4) { display: none; }
}
@media (min-width: 901px) {
  .only-mob { display: none !important; }
}
@media (max-width: 900px) {
  .only-desk { display: none !important; }
}
@media print {
  .hdr, .side, .slip-col, .mnav, .slip-bar { display: none !important; }
}

/* ═══ SHTESA: banderola, Match Center, momentum, kalendar, rregullorja,
   dorëzat e kolonave ═══════════════════════════════════════════════ */

/* Banderola e modifikimeve të biletave */
.notice {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 11px 16px; background: var(--badge-wait-bg); border-bottom: 1px solid var(--badge-wait-bg);
  position: sticky; top: var(--hdr-h); z-index: 36;
}

/* Match Center */
.mc-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.mc-tab {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--border); background: transparent; color: var(--text-2);
  font-size: 12px; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.mc-tab:hover { color: var(--text); border-color: var(--border-hi); }
.mc-tab.on { background: var(--bg-raise); color: var(--text); border-color: var(--bg-raise);
             font-weight: 600; }
.mc-panel {
  padding: 16px 22px; background: var(--bg-side);
  border-bottom: 1px solid var(--line); max-height: 360px; overflow-y: auto;
}

/* Shirit dy-krahësh për statistikat */
.bar2 { display: flex; height: 6px; border-radius: 999px; overflow: hidden;
        background: var(--line); }
.bar2 > i, .bar2 > u { display: block; height: 100%; text-decoration: none; }

/* Grafiku i ecurisë (timeline) */
.mom { position: relative; background: var(--surf-3); border-radius: 8px;
       border: 1px solid var(--line-2); overflow: hidden; }
.mom-bar { position: absolute; width: 3px; border-radius: 2px; }
.mom-axis { position: absolute; left: 0; right: 0; top: 50%;
            border-top: 1px dashed var(--line); }

/* Vija e vogël e presionit te rreshti live */
.mom-mini { display: flex; align-items: center; gap: 1px; height: 18px;
            flex: 0 0 auto; opacity: .85; }
/* Te rreshti live rri djathtas, ngjitur me kuotat. */
.mrow-top > .mom-mini { margin-left: auto; }
.mom-mini > span { width: 2px; border-radius: 1px; }

/* Kalendari me interval */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-size: 10px; color: var(--text-3); text-align: center; padding: 4px 0;
           letter-spacing: .06em; }
.cal-day {
  min-height: 38px; border-radius: 8px; border: 1px solid transparent;
  background: transparent; color: var(--text); font-size: 12.5px; cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.cal-day:hover { border-color: var(--border); }
.cal-day.in { background: var(--tint-gold); }
.cal-day.on { background: var(--gold); color: var(--bg); font-weight: 700; }

/* Rregullorja (akordeon) */
.acc-h {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border: 0; background: transparent; color: var(--text);
  cursor: pointer; text-align: left;
}
.acc-h:hover { background: var(--surf-1); }
.acc-b { margin: 0; padding: 0 18px 16px 34px; color: var(--text-2);
         font-size: 12.5px; line-height: 1.7; }
.acc-b li { margin-bottom: 6px; }

/* Rrëshqitësi i cash out-it */
.rangein { width: 100%; accent-color: var(--gold); height: 28px; }

/* Dorëzat e kolonave */
.rz { position: absolute; top: 0; bottom: 0; width: 6px; cursor: col-resize; z-index: 5; }
.rz:hover { background: linear-gradient(90deg, transparent, var(--tint-gold-2), transparent); }
.rz-left { right: -3px; }
.rz-right { left: -3px; }
@media (max-width: 900px) { .rz { display: none; } .notice { top: 0; } }

/* ═══ SHTESA 2: hero, strip, yje, kuota të ngrira ═══════════════════ */

/* Shiriti i statistikave */
.strip {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 11px 18px; background: var(--bg-side);
  border-bottom: 1px solid var(--line);
}
.strip-cell { display: flex; flex-direction: column; gap: 2px; }
.strip-cell b { font-family: var(--font-num); font-size: 18px; font-weight: 700;
                font-variant-numeric: tabular-nums; }

/* Kartela e ndeshjes kryesore */
.hero {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  margin: 14px 18px; padding: 16px 18px;
  background: linear-gradient(135deg, var(--surf-2), var(--bg-panel));
  border: 1px solid var(--border); border-radius: var(--r-xl);
}
.hero-teams {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border: 0; background: transparent; color: var(--text); cursor: pointer;
  padding: 0; text-align: left;
}
.hero-name { font-size: 18px; font-weight: 600; }
.hero-score { font-family: var(--font-num); font-size: 24px; font-weight: 700;
              color: var(--teal-hi); font-variant-numeric: tabular-nums; }
.hero-vs { color: var(--text-3); font-size: 14px; }
.hero-odds { display: grid; grid-template-columns: repeat(3, 92px); gap: 8px; }
.hero-odds .odd { flex-direction: column; gap: 2px; }

/* Ylli i të preferuarave */
.fav {
  width: 26px; height: 26px; min-width: 26px; border: 0; background: transparent;
  color: var(--text-3); cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 6px;
}
.fav:hover { color: var(--gold); background: var(--tint-gold); }
.fav.on { color: var(--gold); }

/* Kuotë e ngrirë: vijë e thyer dhe kursor i ndaluar (titulli jep arsyen) */
.odd.locked, .mkt-pick.locked { border-style: dashed; opacity: .42; }

@media (max-width: 900px) {
  /* Balanca/aktivet/fitimi janë të dhëna financiare: në telefon nuk kanë pse
     të zënë vendin e listës kur hap Futbollin ose Live-n — rrinë te Financa. */
  .strip { display: none; }
  .strip-cell b { font-size: 16px; }
  .hero { margin: 12px 14px; padding: 14px; gap: 14px; }
  .hero-odds { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
}

/* ═══ PAMJA E DENDUR (opsioni D) ═══════════════════════════════════
   Kthimi prapa: Llogaria → "Pamja e listës" → Klasike (ose
   BP_CONFIG.listLayout = 'classic'). Asnjë stil këtu nuk prek klasiken. */
.dense-wrap { overflow-x: auto; }
.dense-inner { min-width: max-content; }

.dgrid {
  display: grid;
  /* Ndeshja · 1 X 2 1X 12 X2 · Lart Total Poshtë Handikap · 1H 2H
     Katër kolonat e mesit janë më të gjera, që titujt e plotë të hyjnë dhe
     kuotat të bien fiks nën to. Pjesa tjetër e hapësirës shkon te ndeshja. */
  /* Shabllonin e jep JS-i sipas tregjeve që dërgon serveri (--dtpl); kjo
     këtu është vetëm rrjeta e sigurisë kur s'ka ende kolona. */
  grid-template-columns: var(--dtpl, minmax(250px, 1fr) repeat(3, 50px));
  gap: 4px; align-items: center; padding: 0 12px;
}
.dhead {
  background: var(--surf-3); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-2); min-height: 34px;
}
.dhead .dcell-match { display: flex; align-items: center; gap: 8px;
                      min-width: 0; overflow: hidden; }
.dhead .dcell-match > span { white-space: nowrap; overflow: hidden;
                             text-overflow: ellipsis; }
.dlbl {
  font-size: 10px; letter-spacing: .04em; color: var(--mute); text-align: center;
  text-transform: uppercase; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; min-width: 0;
}

.drow { min-height: 38px; border-bottom: 1px solid var(--line-3); }
.drow.alt { background: var(--zebra); }
.drow.live { background: var(--tint-live); }
.drow:hover { background: var(--surf-2); }

.dcell-match { display: flex; align-items: center; gap: 10px;
               min-width: 0; overflow: hidden; }
/* 04.11.2026: data dhe ora ne NJE rresht — me pare ishin njera mbi tjetren
   dhe rreshti dukej i larte pa nevoje. */
.dtime { display: flex; align-items: baseline; gap: 5px;
         width: auto; flex: 0 0 auto; min-width: 72px; }
.dtime i { font-style: normal; font-size: 10px; color: var(--text-3); }
.dtime b { font-family: var(--font-num); font-size: 14px; font-weight: 600;
           color: var(--text-str); font-variant-numeric: tabular-nums; }
.drow.live .dtime b { color: var(--live-soft); }
.dmore {
  border: 0; background: transparent; color: var(--gold); font-size: 10.5px;
  font-variant-numeric: tabular-nums; cursor: pointer; padding: 0; flex: 0 0 auto;
}
.dmore:hover { color: var(--gold-hi); text-decoration: underline; }
.dteams {
  border: 0; background: transparent; color: var(--text); cursor: pointer;
  font-size: 13px; font-weight: 500; text-align: left; padding: 0;
  min-width: 0; flex: 0 1 auto; font-family: inherit;
}
.dteams:hover { color: var(--gold-hi); }
.dteams { display: flex; align-items: center; gap: 6px; min-width: 0; }
.dteams .dnm { min-width: 0; }
.dsep { color: var(--text-3); flex: 0 0 auto; }
.dteams .ellip { display: block; max-width: 100%; }
/* Lista klasike, prematch: dita dhe ora ne nje rresht. */
/* ── Navigimi i telefonit: vendet → kampionatet (04.11.2026) ───────────── */
.mnav-list { flex: 1 1 auto; overflow-y: auto; }
.nav-ttl { display: flex; align-items: center; gap: 8px; padding: 10px 14px;
           background: var(--surf-2); font-size: 11px; font-weight: 700;
           letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.nav-ttl .cnt, .nav-row .cnt { font-size: 11px; color: var(--text-3);
                               font-variant-numeric: tabular-nums; }
.nav-row { width: 100%; display: flex; align-items: center; gap: 10px;
           min-height: 48px; padding: 0 14px; border: 0;
           border-bottom: 1px solid var(--line-3); background: transparent;
           color: var(--text-str); font-family: inherit; font-size: 14px;
           text-align: left; cursor: pointer; }
.nav-row:active, .nav-row:hover { background: var(--surf-2); }
.nav-back { width: 100%; display: flex; align-items: center; gap: 8px;
            min-height: 40px; padding: 0 14px; border: 0;
            background: transparent; color: var(--teal-hi);
            font-family: inherit; font-size: 12.5px; cursor: pointer; }

.mtime-pre { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.mtime-pre .mt-d { font-size: 10px; color: var(--text-3); }
/* Emri zë hapësirën e lirë, rezultati rri ngjitur tij — pa boshllëk në mes. */
.dmatchwrap { display: flex; align-items: center; gap: 8px;
              flex: 1 1 auto; min-width: 0; }
.dscore { display: flex; align-items: center; gap: 5px; flex: 0 0 auto; }
.dscore b { font-family: var(--font-num); font-size: 13px; color: var(--teal-hi);
            font-variant-numeric: tabular-nums; }

.dodd {
  min-height: 30px; border-radius: 5px; border: 1px solid var(--border);
  background: var(--surf-1); color: var(--text);
  font-family: var(--font-num); font-size: 14.5px; font-weight: 700;
  font-variant-numeric: tabular-nums; cursor: pointer;
}
.dodd:hover { border-color: var(--gold); }
.dodd.on { border-color: var(--gold); background: var(--tint-gold); color: var(--gold); }
.dodd.locked { border-style: dashed; opacity: .4; cursor: not-allowed; }
.dline { font-size: 11.5px; color: var(--text-2); text-align: center;
         font-variant-numeric: tabular-nums; }
.dnone { font-size: 11.5px; color: var(--mute); text-align: center; }

/* Mobile: grid-i rrëshqet horizontalisht, kolona e ndeshjes mbetet e ngjitur */
@media (max-width: 900px) {
  /* Gjerësia e grid-it varet nga ekrani: kolona e ndeshjes merr gjithçka që
     mbetet pasi `1 X 2` zënë vendin e tyre, plus 8px frymë djathtas. Kështu
     te 360px (Samsung) dhe te 390px (iPhone) pamja del e njëjtë dhe simetrike. */
  .dense-inner { min-width: max-content; }
  /* Në mobile 1X · 12 · X2 hiqen fare: vendi u shkon emrave të ekipeve, që
     duken të plotë. Mbeten: ndeshja · 1 X 2 · Lart Total Poshtë Handikap · 1H 2H */
  .dgrid {
    grid-template-columns: var(--dtpl-m, clamp(150px, calc(100vw - 161px), 320px) repeat(3, 48px));
    padding: 0; gap: 3px;
  }
  /* Në mobile mbetet vetëm tregu kryesor; të tjerat i shënon JS-i. */
  .dgrid > .d-mobhide { display: none; }
  #app.dense-mode .hero { display: none; }
  #app.dense-mode .strip { font-size: 11px; }
  .dcell-match {
    position: sticky; left: 0; z-index: 2;
    background: var(--bg); padding: 0 6px 0 10px;
    box-shadow: 8px 0 8px -8px var(--shadow-c);
  }
  .dcell-match .fav { display: none; }
  .dtime { width: 34px; flex: 0 0 34px; }
  .dtime b { font-size: 13px; }
  .drow.alt .dcell-match { background: var(--zebra-row); }
  .drow.live .dcell-match { background: var(--tint-live-solid); }
  .dhead .dcell-match { background: var(--surf-3); }
  .dteams { font-size: 12.5px; }
  .dmore { font-size: 10.5px; }
  .dcell-match { gap: 7px; }
  .dscore b { font-size: 11.5px; }
  .dscore { gap: 3px; }
  /* ══ 04.11.2026 · RRESHTI I TELEFONIT ═══════════════════════════════
     Si te bastoret e medha: ekipet njeri mbi tjetrin, poshte tyre dita dhe
     ora, dhe kuotat djathtas. Me pare ishte nje rresht i vetem i ngjeshur
     ku emrat priteshin ne gjysme. */
  .dcell-match {
    display: grid; align-items: center; column-gap: 7px; row-gap: 1px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "teams more" "time more";
    padding-top: 6px; padding-bottom: 6px;
  }
  .dcell-match .dmatchwrap { grid-area: teams; flex: 1 1 auto; min-width: 0; }
  .dcell-match .dtime { grid-area: time; min-width: 0; }
  .dcell-match .dmore { grid-area: more; align-self: center; }
  .dteams { flex-direction: column; align-items: flex-start; gap: 2px; }
  .dsep { display: none; }
  .dteams .ellip { white-space: nowrap; }
  .dtime b { font-size: 11.5px; font-weight: 600; }
  .dtime i { font-size: 10px; }
  .dodd { min-height: 34px; font-size: 14px; }
}

/* Pamja e dendur e mban kolonën e kuponit në vendin e vet: vendi fitohet
   duke ngjeshur bllokun e ndeshjes majtas dhe duke ngushtuar kolonat. */
.slip-bar.as-desk { bottom: 0; }
@media (min-width: 901px) {
  .slip-bar.as-desk.show { display: flex; }
}

/* ═══ TREGJET SI BLLOQE ME KOLONA (si bet365) ══════════════════════ */
.mcbar {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 11px 22px; border: 0; border-bottom: 1px solid var(--line);
  background: var(--bg-side); color: var(--text); cursor: pointer;
  font-size: 13px; font-weight: 600; font-family: inherit; text-align: left;
}
.mcbar:hover { background: var(--surf-2); }

.mkt { padding: 0; border-bottom: 0; margin: 10px 0 0; }
.mkt-head {
  width: 100%; display: flex; align-items: center; gap: 10px;
  min-height: 42px; padding: 0 14px; border: 0; border-radius: 10px 10px 0 0;
  background: var(--bg-raise); color: var(--text); cursor: pointer;
  font-family: inherit; text-align: left;
}
.mkt-name { font-size: 13px; font-weight: 600; }
.mkt-chev { display: flex; color: var(--text-2); }

.mkt-cols, .mkt-lines, .mkt-list {
  background: var(--bg-panel); border: 1px solid var(--line);
  border-top: 0; border-radius: 0 0 10px 10px; padding: 10px 12px 12px;
}

.orow, .lhead, .lrow, .lgrid {
  display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  gap: 8px; align-items: center;
}
/* Linja majtas (3 dalje) ose në mes (Lart | Linja | Poshtë) */
.lhead, .lrow { grid-template-columns: 56px repeat(var(--n, 2), minmax(0, 1fr)); }
.mkt-lines.mid .lhead,
.mkt-lines.mid .lrow { grid-template-columns: minmax(0,1fr) 56px minmax(0,1fr); }
.lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lhead { padding: 1px 2px 7px; }
.lhead span {
  font-size: 11.5px; color: var(--text-2); text-align: center;
}
.lhead .lcap { color: var(--text-3); }
/* Linja shfaqet një herë, te kolona e mesit — jo brenda çdo kuote. */
.mkt-lines .ohcap { display: none; }
.lrow { margin-bottom: 7px; }
.lrow:last-child { margin-bottom: 0; }
.lline {
  font-family: var(--font-num); font-size: 14px; font-weight: 600;
  color: var(--text-2); text-align: center; font-variant-numeric: tabular-nums;
}

.ocell {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surf-1); color: var(--text); cursor: pointer;
  font-family: inherit;
}
/* Qelizë me etiketë: emri majtas, kuota djathtas, në një rresht. */
.ocell.wlab {
  justify-content: space-between; gap: 10px; padding: 0 11px; text-align: left;
}
.olab {
  font-size: 12.5px; color: var(--text-2); min-width: 0; flex: 1 1 auto;
}
.ocell.wlab.on .olab { color: var(--text-str); }
.ocell:hover { border-color: var(--gold); }
.ocell.on { border-color: var(--gold); background: var(--tint-gold); }
.ocell.locked { border-style: dashed; opacity: .42; cursor: not-allowed; }
.ocell.empty { border: 1px dashed var(--dash); color: var(--mute); background: transparent; }
.ocell.up   { animation: flashUp .9s ease-out; }
.ocell.down { animation: flashDown .9s ease-out; }
.oval { font-family: var(--font-num); font-size: 17px; font-weight: 700;
        color: var(--gold); font-variant-numeric: tabular-nums; }
.ohcap { font-size: 11.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }

/* ── Telefon: tregu mbetet ne rresht, jo nje qelize per rresht ──────────
   05.11.2026 (pronari): me nje kolone, nje ndeshje me 60 tregje behej nje
   shtylle e pafund dhe duhej rrotulluar gjate per cdo gje. Tani 1X2 dhe
   cdo treg me 2-3 dalje rrine ne te njejtin rresht, si te origjinali:
   emri majtas i shkurtuar me elipse, kuota djathtas e plote.
   Shkronjat ulen vetem sa duhet qe tri kolona te hyjne ne 390px. */
@media (max-width: 560px) {
  .mkt-cols .orow:not(.short) {
    grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  }
  .mkt-cols .orow:not(.short) .ocell { min-height: 40px; }
  .mkt-cols .orow:not(.short) .ocell.wlab { padding: 0 7px; gap: 4px; }
  .mkt-cols .orow:not(.short) .olab { font-size: 10.5px; }
  .mkt-cols .orow:not(.short) .oval { font-size: 13.5px; }
  /* Rezultati i sakte: dy kolona, jo nje — ndryshe lista nuk mbaron kurre. */
  .lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lgrid .olab { font-size: 10.5px; }
  .lgrid .oval { font-size: 13.5px; }
}

@media (max-width: 900px) {
  .mcbar { padding: 11px 14px; }
  .mcbar .dim { display: none; }
  .mkt-cols, .mkt-lines, .mkt-list { padding: 9px 10px 11px; }
  .ocell { min-height: 46px; }
  .ocell.wlab { padding: 0 8px; gap: 6px; }
  .olab { font-size: 11.5px; }
  .oval { font-size: 15.5px; }
  .lhead, .lrow { grid-template-columns: 46px repeat(var(--n, 2), minmax(0, 1fr)); }
  .mkt-lines.mid .lhead,
  .mkt-lines.mid .lrow { grid-template-columns: minmax(0,1fr) 46px minmax(0,1fr); }
}
@media (max-width: 420px) {
  /* 05.11.2026: ishte nje kolone — nje treg si "Rezultati i sakte" behej nje
     shtylle e pafund. Dy kolona hyjne edhe ne 390px kur shkronjat ulen pak. */
  .lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lgrid .ocell.wlab { padding: 0 6px; gap: 3px; }
  .lgrid .olab { font-size: 10px; }
  .lgrid .oval { font-size: 13px; }
}

/* ── Ndryshimi i kuotës te kuponi (vetëm informacion, pa pranim) ──────── */
.odd-moved {
  display: flex; align-items: center; gap: 6px; margin-top: 8px;
  padding: 5px 8px; border-radius: 7px; font-size: 11px;
  background: var(--zebra-2); border: 1px solid var(--line-2);
  font-variant-numeric: tabular-nums;
}
.odd-moved.up   { color: var(--teal-soft); }
.odd-moved.down { color: var(--live-soft); }

/* ── Grupi i të preferuarave në krye të listës ────────────────────────── */
.lgroup.fav-head, .dhead.fav-head { background: var(--tint-fav); }
.dhead.fav-head .dcell-match > span:nth-child(2),
.lgroup.fav-head .lgroup-name { color: var(--gold); }

/* ══════════════════════════════════════════════════════════════════════
   SHTRESA TEKNO — vetëm pamja. Asnjë rregull këtu nuk prek strukturën e
   faqes: të njëjtat klasa dhe i njëjti markup që prodhon JS-i.
   ══════════════════════════════════════════════════════════════════════ */

body {
  background:
    radial-gradient(1200px 760px at 14% -12%, var(--grad-1) 0%, transparent 60%),
    radial-gradient(900px 620px at 98% 112%, var(--grad-2) 0%, transparent 56%),
    var(--bg);
  background-attachment: fixed;
}

/* Shkronjat e vogla me hapësirë — stil instrumenti */
.label-xs, .side-sec-t, .mhead span, .dlbl, .lgroup-name, .lgroup-sub {
  letter-spacing: .16em;
}
/* Pilula e ditës: grafit në dritë (ari del me baltë), ari te kuverta e errët. */
.chip.on-gold { background: var(--text); color: var(--bg-panel); border-color: var(--text); }
:root[data-theme="dark"] .chip.on-gold,
:root[data-theme="swap"] .chip.on-gold {
  background: var(--gold); color: var(--on-accent); border-color: var(--gold);
}

/* Titujt e kolonave duhet të lexohen edhe mbi gri të lehtë. */
.dlbl, .mhead span, .cols span { color: var(--text-2); }
:root[data-theme="dark"] .dlbl,
:root[data-theme="swap"] .dlbl,
:root[data-theme="dark"] .mhead span { color: var(--mute); }
:root[data-theme="swap"] .mhead span { color: var(--mute); }

/* ── Koka: bandë e vet, e ndarë qartë nga përmbajtja ──────────────────── */
.hdr {
  background: var(--scrim);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--edge-glow);
}
.logo .logo-txt { letter-spacing: .2em; font-weight: 700; }
.hnav button.on, .mtopnav button.on {
  background: var(--surf-3);
  box-shadow: inset 0 0 0 1px var(--line);
}
:root[data-theme="dark"] .live-tab .dot-live,
:root[data-theme="swap"] .live-tab .dot-live,
:root[data-theme="dark"] .dot-live { box-shadow: 0 0 10px var(--live); }
:root[data-theme="swap"] .dot-live { box-shadow: 0 0 10px var(--live); }

/* ── Panele: buzë të ndritura në krye ─────────────────────────────────── */
.card, .slip-col, .side, .mkt-cols, .mkt-lines, .mkt-list, .dense-wrap {
  position: relative;
}
.card, .slip-col { box-shadow: 0 1px 2px var(--shadow-c), 0 14px 32px -28px var(--shadow-c); }
:root[data-theme="dark"] .card,
:root[data-theme="swap"] .card,
:root[data-theme="dark"] .slip-col { box-shadow: none; }
:root[data-theme="swap"] .slip-col { box-shadow: none; }
.card::before, .slip-col::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--edge-glow), transparent);
  pointer-events: none;
}

/* ── Rreshtat: skanim i lehtë + theks live ────────────────────────────── */
.dense-wrap, .list, .main {
  background-image: repeating-linear-gradient(0deg, var(--scan) 0 1px, transparent 1px 4px);
}
.drow.live .dcell-match, .mrow .mtime.is-live {
  box-shadow: inset 2px 0 0 var(--live);
}
.dhead, .mhead {
  background: linear-gradient(180deg, var(--surf-3), var(--surf-3));
  border-bottom: 1px solid var(--line);
}
.lgroup {
  background: linear-gradient(90deg, var(--surf-3), transparent);
  border-left: 2px solid var(--teal);
  border-top: 0;
}

/* ── Kuotat: xhami i errët, shkëlqim kur zgjidhen ─────────────────────── */
.odd, .dodd, .ocell, .mkt-pick {
  background: var(--bg-row);
  border-color: var(--line-2);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.odd:hover, .dodd:hover, .ocell:hover, .mkt-pick:hover {
  border-color: var(--teal);
  background: var(--surf-2);
}
.odd.on, .dodd.on, .ocell.on, .mkt-pick.on {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--tint-gold-2), var(--tint-gold));
  box-shadow: 0 0 0 1px var(--gold) inset;
}
:root[data-theme="dark"] .odd.on,
:root[data-theme="swap"] .odd.on,
:root[data-theme="dark"] .dodd.on,
:root[data-theme="swap"] .dodd.on,
:root[data-theme="dark"] .ocell.on,
:root[data-theme="swap"] .ocell.on,
:root[data-theme="dark"] .mkt-pick.on { box-shadow: 0 0 22px -8px var(--gold); }
:root[data-theme="swap"] .mkt-pick.on { box-shadow: 0 0 22px -8px var(--gold); }
:root[data-theme="dark"] .odd .v,
:root[data-theme="swap"] .odd .v,
:root[data-theme="dark"] .oval,
:root[data-theme="swap"] .oval,
:root[data-theme="dark"] .dodd,
:root[data-theme="swap"] .dodd,
:root[data-theme="dark"] .mkt-pick .od { text-shadow: 0 0 14px var(--glow-gold); }
:root[data-theme="swap"] .mkt-pick .od { text-shadow: 0 0 14px var(--glow-gold); }
.odd.locked, .dodd.locked, .ocell.locked, .mkt-pick.locked {
  border-style: dashed;
}

/* ── Kuponi: pirg kartash në thellësi ─────────────────────────────────── */
.slip-col { perspective: 1100px; }
.slip-item {
  border-left: 2px solid var(--teal);
  background: var(--surf-1);
  animation: coreFly .34s cubic-bezier(.2,.9,.3,1) both;
}
@keyframes coreFly {
  from { opacity: 0; transform: translateZ(60px) translateX(-20px) rotateY(12deg); }
  to   { opacity: 1; transform: none; }
}
:root[data-theme="dark"] .slip-odd { text-shadow: 0 0 14px var(--glow-gold); }
:root[data-theme="swap"] .slip-odd { text-shadow: 0 0 14px var(--glow-gold); }
.btn-primary, .btn-gold { letter-spacing: .12em; }
:root[data-theme="dark"] .btn-primary,
:root[data-theme="swap"] .btn-primary,
:root[data-theme="dark"] .btn-gold { box-shadow: 0 10px 28px -14px currentColor; }
:root[data-theme="swap"] .btn-gold { box-shadow: 0 10px 28px -14px currentColor; }

/* ── Numrat e mëdhenj: shkëlqim teal ──────────────────────────────────── */
.score-big, .bal, .num { font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .score-big,
:root[data-theme="swap"] .score-big,
:root[data-theme="dark"] .bal,
:root[data-theme="swap"] .bal,
:root[data-theme="dark"] .num { text-shadow: 0 0 20px var(--glow-teal); }
:root[data-theme="swap"] .num { text-shadow: 0 0 20px var(--glow-teal); }
.score-head {
  background: linear-gradient(180deg, var(--surf-3) 0%, var(--bg-field) 100%);
  border-bottom: 1px solid var(--line);
}

/* ── Vija e presionit ─────────────────────────────────────────────────── */
:root[data-theme="dark"] .mom-mini > span { box-shadow: 0 0 6px currentColor; }
:root[data-theme="swap"] .mom-mini > span { box-shadow: 0 0 6px currentColor; }

/* ── Plani në perspektivë nën kokën e ndeshjes (dekor, pa DOM të ri) ──── */
.score-head { overflow: hidden; }
.score-head::after {
  /* Dekor: nuk zë vend në rrjedhë, vetëm shtrihet në fund të kokës. */
  content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 54px;
  transform: rotateX(64deg); transform-origin: 50% 100%;
  background:
    linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px) repeat-x,
    linear-gradient(180deg, var(--grid-line-2) 0 1px, transparent 1px 20px);
  background-size: 7.6% 100%, 100% 20px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  opacity: .8; pointer-events: none;
}

/* ── Fokusi i dukshëm ─────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--teal-hi); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .slip-item { animation: none; }
}

/* Variablat që shkruan `core3d.js` (vetëm pamje) */
#slip { transform: rotateY(var(--core-sy, 0deg)); transition: transform .3s cubic-bezier(.2,.8,.3,1); transform-style: preserve-3d; }
.score-head {
  transform: perspective(1400px) rotateX(var(--core-rx, 0deg)) rotateY(var(--core-ry, 0deg));
  transition: transform .28s cubic-bezier(.2,.8,.3,1);
}
canvas.core-press { display: block; width: 100%; height: 48px; }
@media (max-width: 900px) {
  #slip, .score-head { transform: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   NDARJA E SIPËRFAQEVE — që syri të kapë zona, jo një fletë të bardhë.
   Çdo seksion merr bandën e vet dhe çdo rresht konturin e vet.
   ══════════════════════════════════════════════════════════════════════ */

/* Shtyllat ndahen nga përmbajtja */
.side { border-right: 1px solid var(--line); background: var(--bg-side); }
.slip-col { border-left: 1px solid var(--line); }
.main { background: var(--bg-panel); }

/* Shiriti i sipërm i listës dhe nën-shiritat: bandë, jo bosh */
.toolbar, .subbar, .side-head {
  background: var(--bg-side);
  border-bottom: 1px solid var(--line);
}

/* Koka e kampionatit: bandë e plotë me vijë teal majtas */
.lgroup, .dhead.fav-head, .lgroup.fav-head {
  background: var(--band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--teal);
}
.lgroup-name { color: var(--text); font-weight: 600; }
.lgroup-sub { color: var(--text-2); }

/* Rreshti i titujve të kolonave: sipërfaqe e vet, e mbyllur poshtë */
.dhead, .mhead {
  background: var(--band-2);
  border-bottom: 1px solid var(--border);
  border-top: 0;
}

/* Rreshtat: vijë në çdo rresht + brezim i dukshëm */
.drow, .mrow {
  border-bottom: 1px solid var(--line-2);
  border-top: 0;
}
.drow.alt { background: var(--zebra); }
.drow:nth-child(even):not(.alt) { background: var(--zebra); }
.mrow:nth-of-type(even) { background: var(--zebra); }
.drow:hover, .mrow:hover { background: var(--surf-2); }

/* Kolona e ndeshjes ndahet nga kuotat */
.dcell-match { border-right: 1px solid var(--line-2); }
/* 06.11.2026: kjo vije ndarese vlen PER TE DYJA anet. Vetem te rreshti,
   ajo shtonte 10px padding qe koka nuk i kishte — dhe aty ishin 11px-at e
   fundit te dhembezimit. */
.mrow .odds-cell, .mhead .odds-cell {
  border-left: 1px solid var(--line-3); padding-left: 10px;
}

/* Qelizat e kuotave: gjithmonë me kontur, kurrë e bardhë mbi të bardhë */
.odd, .dodd, .ocell, .mkt-pick {
  border: 1px solid var(--border);
  background: var(--surf-1);
}

/* Kartat dhe panelet: kontur i qartë, jo vetëm hije */
.card, .slip-item, .mkt-cols, .mkt-lines, .mkt-list, .mkt-head {
  border: 1px solid var(--line);
}
.mkt-head { background: var(--band); border-bottom: 0; }
.mkt-cols, .mkt-lines, .mkt-list { border-top: 0; background: var(--bg-panel); }

/* Kuponi: kokë e theksuar dhe karta me kontur */
.slip-hdr { background: var(--band-2); border-bottom: 1px solid var(--border); }
.slip-item { background: var(--bg-panel); }
.slip-foot { background: var(--bg-side); border-top: 1px solid var(--border); }

/* Koka e ndeshjes: bandë e vet, e ndarë nga tregjet */
.score-head {
  background: linear-gradient(180deg, var(--bg-side), var(--bg-panel));
  border-bottom: 1px solid var(--border);
}

/* Shiriti i Qendrës së ndeshjes */
.mcbar { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Fushat dhe butonat e qetë marrin kontur */
.input, .btn { border: 1px solid var(--border); }
.btn:hover { border-color: var(--border-hi); }

/* Te tema e errët brezimi i fortë nuk duhet — kthehet i butë */
:root[data-theme="dark"] .drow:nth-child(even):not(.alt),
:root[data-theme="swap"] .drow:nth-child(even):not(.alt),
:root[data-theme="dark"] .mrow:nth-of-type(even) { background: transparent; }
:root[data-theme="swap"] .mrow:nth-of-type(even) { background: transparent; }
:root[data-theme="dark"] .main { background: transparent; }
:root[data-theme="swap"] .main { background: transparent; }
:root[data-theme="dark"] .side { background: var(--bg-side); }
:root[data-theme="swap"] .side { background: var(--bg-side); }

/* Hero-ja: kontur i qartë dhe një shirit teal majtas, si bllok i veçuar */
.hero {
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  background: linear-gradient(180deg, var(--bg-side), var(--bg-panel));
}

/* Shiriti i ditëve dhe ai i sportit: bandë me kontur poshtë */
.side-head { background: var(--band-2); }

/* Titulli i listës ("Futboll · Sot") merr bandën e vet */
.toolbar { background: var(--band-2); }

/* Kolona e kuponit nis me bandë dhe mbyllet me bandë */
.slip-body { background: var(--bg-panel); }

/* Banda e kampionatit: pak më e ngjeshur dhe me tekst më të fortë, që të
   funksionojë si ndarës i vërtetë mes blloqeve. */
.lgroup { box-shadow: inset 0 -1px 0 var(--border); }
.lgroup-name { letter-spacing: .14em; }

/* Dy hapësirat që rrinin bosh: shiriti i listës djathtas dhe hero-ja në mes */
.tool-live, .tool-ref {
  appearance: none; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surf-1); color: var(--text-2); cursor: pointer;
  font-family: var(--font); font-size: 11px; letter-spacing: .1em;
  display: flex; align-items: center; gap: 7px; padding: 5px 12px;
  transition: border-color .15s, color .15s;
}
.tool-live { color: var(--live); }
.tool-live:hover, .tool-ref:hover { border-color: var(--teal); color: var(--text); }
.tool-sep { width: 1px; height: 18px; background: var(--line); }

.hero-meta {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-end;
  padding-right: 16px; margin-right: 4px; border-right: 1px solid var(--line-2);
  flex: 0 0 auto;
}
.hero-mkts {
  font-family: var(--font-num); font-size: 15px; font-weight: 700; color: var(--teal);
  font-variant-numeric: tabular-nums;
}
.hero-mk { font-size: 9.5px; letter-spacing: .18em; color: var(--text-3); text-transform: uppercase; }
@media (max-width: 900px) { .hero-meta { display: none; } }

/* ══════════════════════════════════════════════════════════════════════
   BANDA TEAL — zonat ndahen me ngjyrë, jo me nuancë. Rreshtat dhe qelizat
   mbeten të çelëta; vetëm kokat janë teal i plotë.
   ══════════════════════════════════════════════════════════════════════ */

/* Koka e faqes */
.hdr { background: var(--hdr-bg); border-bottom: 1px solid var(--teal-hi); }
.hdr, .hdr button, .hdr .btn, .hdr .acct-btn { color: var(--hdr-fg); }
.hdr .logo-txt { color: var(--hdr-fg); }
.hdr .btn, .hdr .acct-btn {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.24);
}
.hdr .btn:hover, .hdr .acct-btn:hover { background: rgba(255,255,255,.17); }
.hdr .hnav button { color: var(--band-fg-2); }
.hdr .hnav button:hover { color: var(--hdr-fg); }
.hdr .hnav button.on {
  color: var(--hdr-fg); background: rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.hdr .btn-primary {
  background: var(--gold); border-color: var(--gold); color: #1B1205;
}
.hdr .btn-primary:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.hdr .bal { color: var(--gold-hi); }
.hdr .acct-sep { background: rgba(255,255,255,.25); }
:root[data-theme="dark"] .hdr .btn,
:root[data-theme="swap"] .hdr .btn,
:root[data-theme="dark"] .hdr .acct-btn { background: var(--surf-1); border-color: var(--border); }
:root[data-theme="swap"] .hdr .acct-btn { background: var(--surf-1); border-color: var(--border); }
:root[data-theme="dark"] .hdr .btn-primary { background: var(--teal); border-color: var(--teal); color: var(--on-accent); }
:root[data-theme="swap"] .hdr .btn-primary { background: var(--teal); border-color: var(--teal); color: var(--on-accent); }
:root[data-theme="dark"] .hdr .bal { color: var(--gold); }
:root[data-theme="swap"] .hdr .bal { color: var(--gold); }

/* Koka e kampionatit dhe rreshti i titujve: teal i plotë, tekst i çelët */
.lgroup, .dhead, .mhead, .slip-hdr, .toolbar, .side-head, .mcbar, .mkt-head {
  color: var(--band-fg);
}
.lgroup { background: var(--band); border-left-color: var(--gold); }
.lgroup-name { color: var(--band-fg); }
.lgroup-sub, .lgroup .n, .lgroup .chip-count { color: var(--band-fg-2); }
.dhead, .mhead { background: var(--band-2); border-bottom-color: var(--teal-hi); }
.dlbl, .mhead span, .dhead .dcell-match > span { color: var(--band-fg-2); }
.dhead .dcell-match { background: var(--band-2); border-right-color: rgba(255,255,255,.14); }
.toolbar h1, .side-head, .slip-hdr, .mkt-head { color: var(--band-fg); }
.toolbar { background: var(--band-2); }
.toolbar .dim { color: var(--band-fg-2); }
.toolbar .tool-live, .toolbar .tool-ref {
  background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.26); color: var(--band-fg);
}
.toolbar .tool-sep { background: rgba(255,255,255,.25); }
.side-head { background: var(--band); }
.side-head .chip { border-color: rgba(255,255,255,.3); color: var(--band-fg); }
.side-head .chip.on-gold { background: var(--gold); border-color: var(--gold); color: #1B1205; }
.side-head .chip-count { color: var(--band-fg-2); }
.slip-hdr { background: var(--band); border-bottom-color: var(--teal-hi); }
.slip-hdr .slip-ttl { color: var(--band-fg); }
.mkt-head { background: var(--band-2); }
.mkt-head .mkt-name { color: var(--band-fg); }
.mkt-head .mkt-chev { color: var(--band-fg-2); }
.mcbar { background: var(--band-2); }
.mcbar .dim { color: var(--band-fg-2); }

/* Yjet dhe ikonat mbi bandë */
.lgroup .fav, .dhead .fav, .mhead .fav, .toolbar .fav { color: var(--band-fg-2); }
.lgroup .fav.on, .dhead .fav.on { color: var(--gold); }

/* Te tema e errët bandat mbeten petrol, jo teal i plotë */
:root[data-theme="dark"] .lgroup { border-left-color: var(--teal); }
:root[data-theme="swap"] .lgroup { border-left-color: var(--teal); }
:root[data-theme="dark"] .side-head .chip { border-color: var(--border); color: var(--text-2); }
:root[data-theme="swap"] .side-head .chip { border-color: var(--border); color: var(--text-2); }

/* Kontrasti mbi bandat teal: ari dhe koralja duhen të çelëta, jo të errëta */
.hdr .bal { color: #F2C684; }
.hdr .hnav .live-tab { color: var(--band-fg); }
.hdr .hnav .live-tab .dot-live { background: var(--teal-soft); }
.hdr .slip-cnt { background: #1B1205 !important; color: #F2C684 !important; }
.slip-hdr .slip-cnt, .slip-hdr .chip-count {
  background: var(--gold); color: #1B1205;
}
.lgroup .chip-count { background: rgba(255,255,255,.16); color: var(--band-fg); }
:root[data-theme="dark"] .hdr .bal { color: var(--gold); }
:root[data-theme="swap"] .hdr .bal { color: var(--gold); }
:root[data-theme="dark"] .hdr .hnav .live-tab { color: var(--live); }
:root[data-theme="swap"] .hdr .hnav .live-tab { color: var(--live); }
:root[data-theme="dark"] .hdr .hnav .live-tab .dot-live { background: var(--live); }
:root[data-theme="swap"] .hdr .hnav .live-tab .dot-live { background: var(--live); }

/* Çdo kontroll që bie mbi bandë teal duhet të lexohet: chip-at, linja e
   totalit dhe pikat live marrin ngjyrat e bandës, jo ato të panelit. */
.toolbar .chip, .side-head .chip, .slip-hdr .chip {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
  color: var(--band-fg);
}
.toolbar .chip:hover, .side-head .chip:hover { background: rgba(255,255,255,.2); }
.toolbar .chip.on, .side-head .chip.on {
  background: rgba(255,255,255,.2); color: var(--band-fg);
}
.toolbar .dot-live, .slip-hdr .dot-live { background: var(--band-fg); }
.mhead .h-line, .mhead .c-line, .dhead .dlbl-line { color: var(--band-fg-2); }
.toolbar .chip-count, .side-head .chip-count {
  background: rgba(255,255,255,.2); color: var(--band-fg);
}
:root[data-theme="dark"] .toolbar .chip,
:root[data-theme="swap"] .toolbar .chip,
:root[data-theme="dark"] .side-head .chip,
:root[data-theme="swap"] .side-head .chip,
:root[data-theme="dark"] .slip-hdr .chip,
:root[data-theme="swap"] .slip-hdr .chip {
  background: var(--surf-1); border-color: var(--border); color: var(--text-2);
}
:root[data-theme="dark"] .toolbar .dot-live,
:root[data-theme="swap"] .toolbar .dot-live,
:root[data-theme="dark"] .slip-hdr .dot-live { background: var(--live); }
:root[data-theme="swap"] .slip-hdr .dot-live { background: var(--live); }
/* Rregulli bazë `.mhead .ou-cell span:nth-child(2)` ishte më specifik: këtu
   mbishkruhet me të njëjtën peshë, që "Total" të lexohet mbi bandë. */
.mhead .ou-cell span:nth-child(2), .mhead .odds-cell .h-line { color: var(--band-fg-2); }
:root[data-theme="dark"] .mhead .ou-cell span:nth-child(2) { color: var(--text-3); }
:root[data-theme="swap"] .mhead .ou-cell span:nth-child(2) { color: var(--text-3); }

/* ── LIVE FLET ME TEAL ─────────────────────────────────────────────────
   E kuqja doli pa lidhje me paletën: minuta, pika dhe buza e rreshtit live
   marrin tealin e vet chip-it "Live". */
.drow.live .dcell-match, .mrow .mtime.is-live { box-shadow: inset 2px 0 0 var(--live); }
.mtime.is-live, .dtime b.is-live, .drow.live .dtime b { color: var(--live); }
.dot-live { background: var(--live); }
.hdr .hnav .live-tab { color: var(--band-fg); }
.hdr .hnav .live-tab .dot-live { background: var(--teal-soft); box-shadow: 0 0 9px var(--teal-soft); }
.hdr .hnav .live-tab.on { background: rgba(255,255,255,.16); }
.toolbar .dot-live, .slip-hdr .dot-live {
  background: var(--band-fg); box-shadow: 0 0 8px rgba(255,255,255,.5);
}
.lgroup .dot-live { background: var(--band-fg-2); box-shadow: none; }
.side .dot-live { background: var(--live); box-shadow: none; }

:root[data-theme="dark"] .hdr .hnav .live-tab { color: var(--live); }
:root[data-theme="swap"] .hdr .hnav .live-tab { color: var(--live); }
:root[data-theme="dark"] .hdr .hnav .live-tab .dot-live { background: var(--live); }
:root[data-theme="swap"] .hdr .hnav .live-tab .dot-live { background: var(--live); }
:root[data-theme="dark"] .toolbar .dot-live,
:root[data-theme="swap"] .toolbar .dot-live,
:root[data-theme="dark"] .slip-hdr .dot-live { background: var(--live); box-shadow: 0 0 9px var(--live); }
:root[data-theme="swap"] .slip-hdr .dot-live { background: var(--live); box-shadow: 0 0 9px var(--live); }
/* Minuta e ndeshjes live: po ajo ngjyrë si sfondi i chip-it "Live" te koka. */
.mtime.is-live, .drow.live .dtime b { color: var(--live); font-weight: 700; }
.side .dot-live { background: var(--live); }

/* ── KOKA E QETË ───────────────────────────────────────────────────────
   Shiriti i sipërm dhe ai i listës nuk janë më teal i plotë: teali i fortë
   mbetet vetëm te kokat e kampionateve dhe të kolonave, që ato të kapin
   syrin, jo e gjithë faqja. */
.hdr { background: var(--hdr-bg); border-bottom: 1px solid var(--border); }
.hdr, .hdr button, .hdr .btn, .hdr .acct-btn, .hdr .logo-txt { color: var(--text); }
.hdr .btn, .hdr .acct-btn { background: var(--surf-1); border-color: var(--border); }
.hdr .btn:hover, .hdr .acct-btn:hover { background: var(--surf-2); }
.hdr .hnav button { color: var(--text-2); }
.hdr .hnav button:hover { color: var(--text); }
.hdr .hnav button.on { color: var(--text); background: var(--surf-2); box-shadow: inset 0 0 0 1px var(--border); }
.hdr .hnav .live-tab { color: var(--live); }
.hdr .hnav .live-tab .dot-live { background: var(--live); box-shadow: none; }
.hdr .btn-primary { background: var(--teal-hi); border-color: var(--teal-hi); color: #EAF7F6; }
.hdr .btn-primary:hover { background: var(--band); border-color: var(--band); }
.hdr .slip-cnt { background: #EAF7F6 !important; color: var(--teal-hi) !important; }
.hdr .bal { color: var(--gold-hi); }
.hdr .acct-sep { background: var(--line); }

/* Shiriti i listës dhe ai i ditëve: të qetë, me kontur */
.toolbar, .side-head {
  background: var(--bg-side); color: var(--text);
  border-bottom: 1px solid var(--border);
}
.toolbar h1 { color: var(--text); }
.toolbar .dim, .side-head .chip-count { color: var(--text-3); }
.toolbar .chip, .side-head .chip, .toolbar .tool-live, .toolbar .tool-ref {
  background: var(--surf-1); border-color: var(--border); color: var(--text-2);
}
.toolbar .chip:hover, .side-head .chip:hover,
.toolbar .tool-live:hover, .toolbar .tool-ref:hover { color: var(--text); border-color: var(--teal); }
.toolbar .chip.on { background: var(--surf-2); color: var(--text); }
.side-head .chip.on-gold { background: var(--text); border-color: var(--text); color: var(--bg-panel); }
.toolbar .tool-sep { background: var(--line); }
.toolbar .dot-live { background: var(--live); box-shadow: none; }
.toolbar .chip-count { background: var(--surf-2); color: var(--text-2); }

:root[data-theme="dark"] .hdr { background: var(--scrim); }
:root[data-theme="swap"] .hdr { background: var(--scrim); }
:root[data-theme="dark"] .hdr, :root[data-theme="dark"] .hdr button,
:root[data-theme="swap"] .hdr, :root[data-theme="swap"] .hdr button,
:root[data-theme="dark"] .hdr .logo-txt { color: var(--text); }
:root[data-theme="swap"] .hdr .logo-txt { color: var(--text); }
:root[data-theme="dark"] .toolbar,
:root[data-theme="swap"] .toolbar,
:root[data-theme="dark"] .side-head { background: var(--bg-side); }
:root[data-theme="swap"] .side-head { background: var(--bg-side); }

/* Në mobile ora ishte shumë e madhe dhe "+N" dukej sikur rrinte më lart:
   ora rri në dy rreshta, kurse "+N" qendrohej në mes të rreshtit, ndaj binte
   mbi vijën e sipërme. Ora zvogëlohet dhe "+N" ulet sa rreshti i numrit. */
@media (max-width: 900px) {
  .dtime b { font-size: 12px; }
  .dtime i { font-size: 8px; letter-spacing: .1em; }
  .dmore { font-size: 10px; transform: translateY(3px); }
}

/* Vija vertikale te minuta e ndeshjes live u hoq: minuta mjafton vetë. */
.mrow .mtime.is-live, .drow.live .dcell-match { box-shadow: none; }

/* Tri shtyllat nisin në të njëjtën lartësi. Para kësaj shiriti majtas dhe
   kolona e kuponit binin sa lartësia e kokës (56px) më poshtë se lista:
   `position: sticky` me `top: var(--hdr-h)` e shtynte edhe në pushim.
   Tani ngjitja ndodh te 0, kurse mbushja lart e mban përmbajtjen nën kokë. */
@media (min-width: 901px) {
  .side, .slip-col {
    top: 0;
    margin-top: calc(-1 * var(--hdr-h));
    padding-top: var(--hdr-h);
    height: 100vh;
  }
}

/* Rregullim: kur kolonat e kuotave u bënë dinamike, `.odds-cell` kaloi te
   `grid-auto-columns`, ndaj mbishkrimi mobile me `grid-template-columns`
   s'kapte më dhe rreshti dilte jashtë ekranit. */
@media (max-width: 900px) {
  .mrow .odds-cell { grid-auto-columns: minmax(0, 1fr); width: 100%; }
}

/* Mbyllja e faqes rri brenda kokës së kartës, jo në një rresht të vetin. */
.page-x { flex: 0 0 auto; margin: -4px -4px -4px 0; }
.card-hdr .page-x { margin-right: -2px; }

/* ══ BORDI I STATISTIKAVE TE QENDRA E NDESHJES (05.11.2026) ══════════════
   Erdhi nga banda e ndeshjes, ku ishte shtate chip-a te ngjeshur mbi
   rezultatin. Forma: tre disqe lart (sulme · sulme te rrezikshme ·
   posedim), dhe poshte kartonat/kornerët e secilit ekip me gjuajtjet ne
   mes. Pesha e dy ekipeve lexohet nga unaza, jo nga krahasimi i numrave. */
.mcs { margin: 8px 10px 0; padding: 10px 8px 8px; border-radius: 9px;
       background: var(--surf-2); }
.mcs-lart { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mcs-disk, .mcs-gjuaj { display: flex; flex-direction: column; align-items: center;
                        gap: 5px; min-width: 0; }
.mcs-lbl { font-size: 9.5px; letter-spacing: .04em; color: var(--text-3);
           text-align: center; white-space: nowrap; overflow: hidden;
           text-overflow: ellipsis; max-width: 100%; }
.mcs-rresht { display: flex; align-items: center; justify-content: center;
              gap: 8px; width: 100%; }
.mcs-h, .mcs-a { font-size: 13px; font-weight: 700; color: var(--text-str);
                 min-width: 20px; }
.mcs-h { text-align: right; }
.mcs-a { text-align: left; }
/* Unaza: rrethi me dy ngjyra, me nje vrime ne mes ku rri shenja. */
.mcs-unaze { position: relative; flex: 0 0 auto; width: 30px; height: 30px;
             border-radius: 50%; display: grid; place-items: center; }
.mcs-unaze::after { content: ''; position: absolute; inset: 4px;
                    border-radius: 50%; background: var(--surf-2); }
.mcs-unaze > i { position: relative; z-index: 1; font-style: normal;
                 font-size: 10px; font-weight: 700; color: var(--text-2); }

.mcs-poshte { display: grid; grid-template-columns: auto 1fr auto; gap: 8px;
              align-items: center; margin-top: 9px; padding-top: 8px;
              border-top: 1px solid var(--border); }
.mcs-shenjat { display: flex; align-items: center; gap: 9px; }
.mcs-shenje { display: inline-flex; align-items: center; gap: 4px;
              font-size: 11.5px; color: var(--text-str); }
.mcs-katror { width: 8px; height: 11px; border-radius: 2px; display: inline-block; }
.mcs-gjuaj { gap: 4px; min-width: 0; }
.mcs-gjuaj .mcs-rresht { gap: 6px; }
.mcs-gjuaj .mcs-h, .mcs-gjuaj .mcs-a { font-size: 11.5px; min-width: 26px; }
.mcs-shirit { flex: 1 1 auto; display: flex; height: 3px; border-radius: 2px;
              overflow: hidden; background: var(--border); min-width: 26px; }
.mcs-shirit > i { background: var(--teal-hi); }
.mcs-shirit > u { background: var(--gold); text-decoration: none; }

/* Ne telefon paneli eshte me i ngushte: emrat e gjate shkurtohen dhe
   disqet zvogelohen, qe te tre te rrine ne nje rresht. */
@media (max-width: 560px) {
  .mcs { margin: 8px 8px 0; padding: 9px 6px 7px; }
  .mcs-lart { gap: 4px; }
  .mcs-unaze { width: 26px; height: 26px; }
  .mcs-unaze::after { inset: 3.5px; }
  .mcs-h, .mcs-a { font-size: 12px; min-width: 16px; }
  .mcs-rresht { gap: 5px; }
  .mcs-shenjat { gap: 7px; }
  .mcs-lbl { font-size: 9px; }
}

/* ══ STAFI: RRESHTI "LOJTARI" TE KUPONI (05.11.2026) ═════════════════════
   Agjenti zgjedh lojtarin para se te shkruaje shumen; basti zbritet nga
   llogaria e atij lojtari. Rreshti rri mbi shumen, ngjyre e theksuar kur
   s'eshte zgjedhur askush — perndryshe agjenti e shtyp "Vendos bastin" dhe
   merr nje refuzim qe mund ta parandalonte pamja. */
.sf-loj { display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
          padding: 8px 10px; border-radius: 8px; background: var(--surf-2);
          border: 1px solid var(--border); }
.sf-loj > .label-xs { flex: 0 0 auto; color: var(--text-3); }
.sf-loj-sel { flex: 1 1 auto; min-width: 0; height: 30px; padding: 0 8px;
              border-radius: 6px; border: 1px solid var(--border);
              background: var(--surf-1); color: var(--text-str);
              font-family: inherit; font-size: 12.5px; }
.sf-loj.bosh { border-color: var(--gold); background: var(--tint-gold); }
.sf-loj.bosh > .label-xs { color: var(--gold); }
.sf-loj-info { display: block; }
.sf-loj-info > .label-xs { display: block; margin-bottom: 2px; color: var(--gold); }

/* 05.11.2026: kuponi i palosur nga `X` — kolona hiqet nga pamja, por shiriti
   i poshtem mbetet dhe nje kuote e re e rihap vetvetiu (shih `slip.js`). */
.slip-col.slip-palosur { display: none; }

/* ─── Financa sipas produktit (BASTE / CASINO / LIVE / VIRTUAL) ───────────
   06.11.2026 (pronari). E njejta forme si te faqja e vjeter
   (`public/js/financaPamje.js`), por me ngjyrat e kesaj nderfaqeje. Kolona
   e katert eshte `Jackpot` per lojtarin dhe `%` per mbikqyresin — serveri e
   vendos, CSS-ja nuk e di. */
.fin-sek { padding: 0; overflow: hidden; }
.fin-sek-tit {
  padding: 10px 14px; font-family: var(--font-num); font-size: 11.5px;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text); background: var(--surf-2);
  border-bottom: 1px solid var(--line);
}
.fin-tab { font-size: 12.5px; }
.fin-tab th { padding: 8px 14px; }
.fin-tab td { padding: 9px 14px; }
.fin-tab tbody tr:last-child td { border-bottom: none; }
.fin-tab .fin-total td {
  font-weight: 700; background: var(--surf-2);
  border-top: 1px solid var(--line);
}
.fin-tab .fin-bosh {
  text-align: center; color: var(--text-3); font-size: 12px; padding: 16px 14px;
}
.fin-tab tr:hover td { background: transparent; }
.fin-tab .fin-total:hover td { background: var(--surf-2); }

/* Ne telefon kolonat Jackpot dhe Diferenca dilnin jashte ekranit (tabela
   rreshqiste anash dhe lojtari s'i shihte kurre). Hapesira dhe shkrimi
   zvogelohen aq sa te pese kolonat te hyjne ne 412px. */
@media (max-width: 900px) {
  .fin-sek-tit { padding: 9px 10px; font-size: 11px; }
  .fin-tab { font-size: 11px; }
  .fin-tab th { padding: 7px 7px; font-size: 9px; letter-spacing: .06em; }
  .fin-tab td { padding: 8px 7px; }
  .fin-tab th:first-child, .fin-tab td:first-child { padding-left: 10px; }
  .fin-tab th:last-child,  .fin-tab td:last-child  { padding-right: 10px; }
}

/* `.tbl` fsheh kolonat 4+ ne telefon (rregull i historikut te levizjeve).
   Per financat sipas produktit ato dy kolona JANE pergjigjja — Jackpot dhe
   Diferenca — ndaj kthehen; me hapesiren e ngushtuar me lart te pese hyjne
   brenda 412px pa rreshqitje. */
@media (max-width: 900px) {
  .fin-tab th:nth-child(n+4), .fin-tab td:nth-child(n+4) { display: table-cell; }
}

/* ─── Balancat si rresht lart (06.11.2026, pronari) ──────────────────────
   Vetem shumat me shenjen e vet — pa fjalen "Balanca", pa kuti. Rrine ne
   te njejtin rresht me butonin e mbylljes. */
.balanca-krye { position: relative; display: flex; justify-content: center;
                align-items: center; min-height: 40px; padding: 0 52px; }
.balanca-mbyll { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.balanca-rresht { gap: 16px; flex-wrap: wrap; min-width: 0;
                  align-items: baseline; justify-content: center; }
.balanca-shuma {
  font-family: var(--font-num); font-size: 17px; font-weight: 700;
  letter-spacing: .02em; color: var(--text); white-space: nowrap;
}
.balanca-shuma:first-child { color: var(--gold); }
@media (max-width: 900px) {
  .balanca-rresht { gap: 12px; }
  .balanca-shuma { font-size: 15px; }
}

/* ─── Paneli i stafit (06.11.2026, specifika e pronarit) ─────────────────
   Riperdor sa me shume nga ajo qe ekziston: `.mbm-*` per listat dhe
   biletat, `.fin-*` per tabelat e financave, `.chip` per filtrat. Ketu
   vetem ato qe s'i kishte: titulli, shiritat, pema e perdoruesve. */
.sf-titull { font-family: var(--font-num); font-size: 15px; font-weight: 700;
             letter-spacing: .06em; text-transform: uppercase; }
.btn-ikon { padding: 0 9px; min-width: 34px; display: inline-flex;
            align-items: center; justify-content: center; }
.sf-shirit {
  padding: 8px 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-2); background: var(--surf-2);
  border: 1px solid var(--line); border-radius: var(--r-sm);
}
.sf-bosh { padding: 16px 12px; text-align: center; color: var(--text-3); font-size: 12.5px; }

.sf-peme { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sf-urresht {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px;
  border-bottom: 1px solid var(--line-3); min-width: 0;
}
.sf-peme > .sf-u:last-child > .sf-urresht { border-bottom: none; }
.sf-urresht.sf-une, .sf-urresht.sf-koke {
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-raise);
}
.sf-urresht.sf-koke { background: transparent; border-color: transparent; padding-bottom: 2px; }
.sf-urresht.sf-koke .sf-bal { font-size: 9.5px; letter-spacing: .1em;
                              text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.sf-off { opacity: .45; }
.sf-emri { font-size: 12.5px; font-weight: 700; color: var(--text);
           overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-bal { font-size: 12px; font-weight: 600; min-width: 62px; text-align: right;
          font-variant-numeric: tabular-nums; color: var(--text-2); flex-shrink: 0; }
.sf-chev {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 5px; line-height: 1;
  border: 1px solid var(--line); background: var(--surf-2); color: var(--text);
  font-size: 13px; font-weight: 700; cursor: pointer;
}
.sf-chev0 { width: 20px; flex-shrink: 0; }
.sf-deg { border-left: 2px solid var(--line); }

.sf-sel { height: 33px; padding: 0 10px; font-size: 12px; max-width: 220px; }
.sf-krd { padding: 10px 14px; font-size: 12.5px; display: flex;
          flex-direction: column; gap: 4px; }
.sf-ik { width: 16px; height: 16px; flex-shrink: 0; border-radius: 999px;
         display: inline-flex; align-items: center; justify-content: center;
         font-size: 10px; font-weight: 800; color: #06161a; }
.sf-ik-w { background: var(--win); }
.sf-ik-l { background: var(--lose); }
.sf-ik-v { background: var(--text-3); }
.sf-ik-p { background: var(--line); }

@media (max-width: 900px) {
  .sf-bal { min-width: 52px; font-size: 11px; }
  .sf-sel { max-width: 100%; }
}

/* Dritarja e perdoruesit (veprimet e stafit). */
.sf-emri-btn { background: none; border: 0; padding: 0; cursor: pointer;
               text-align: left; font: inherit; color: var(--text); }
.sf-emri-btn:hover { color: var(--teal-hi); text-decoration: underline; }
.sf-sek { padding-top: 2px; }
.sf-balk {
  flex: 1 1 86px; display: flex; flex-direction: column; gap: 2px; cursor: pointer;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-raise); color: var(--text); text-align: left;
}
.sf-balk:hover { border-color: var(--teal-hi); }
.sf-balk small { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
                 color: var(--text-3); }
.sf-balk b { font-size: 14px; }
.sf-pct { max-width: 72px; text-align: right; }
.badge-aktiv { background: rgba(95,234,219,.14); color: var(--teal-hi); }
.sf-kuq { color: var(--live-soft); border-color: var(--live-soft); }

/* ─── Goli te shiriti anesor (06.11.2026, pronari) ───────────────────────
   Ne krah s'ka vend per shiritin "GOOOL" te listes kryesore: emri i ekipit
   qe shenoi merr arin dhe nje shenje te vogel pas tij, dhe numri i tij
   perdor te njejtin animacion `golKthehet`. Ne telefon shenja zvogelohet
   edhe me — hapesira eshte ajo qe eshte. */
.sl-m.ka-gol { background: var(--tint-gold); }
.sl-gol .ellip { color: var(--gold); font-weight: 700; }
.sl-golx {
  flex-shrink: 0; margin-left: 6px; padding: 1px 5px; border-radius: 4px;
  font-family: var(--font-num); font-size: 8.5px; font-weight: 900;
  letter-spacing: .1em; color: var(--bg); background: var(--gold);
  animation: golHyn 9000ms ease-in-out forwards;
}
@media (max-width: 900px) {
  .sl-golx { font-size: 8px; padding: 1px 4px; margin-left: 4px; letter-spacing: .06em; }
}

/* ─── Shenja e TV-se te rreshti live (12.11.2026, pronari) ───────────────
   Tregues, jo buton: klikimi kalon te `.mteams` dhe hap ndeshjen, si gjithe
   rreshti. Rri mes rezultatit dhe yllit. */
.mtv {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-left: 8px; color: var(--teal-hi);
  pointer-events: none;
}
.mtv svg {
  width: 19px; height: 14px; display: block;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round;
}
.mrow:hover .mtv { color: var(--gold); }
@media (max-width: 900px) {
  .mtv { margin-left: 6px; }
  .mtv svg { width: 16px; height: 12px; }
}

/* 16.11.2026: faqja Live pa shiritin anesor; skedat e sporteve me topat */
.side[hidden] { display: none !important; }
.live-sportet { display: inline-flex; gap: 6px; flex-wrap: nowrap; flex-shrink: 0; }
.live-sportet .chip { flex-shrink: 0; white-space: nowrap; }
.live-sportet .chip svg { margin-right: 4px; vertical-align: -3px; }
.live-sportet .chip[disabled] { opacity: .45; cursor: default; }

/* 16.11.2026 (pronari): shiriti anesor i live-it me i gjere, qe te nxene te katër topat */
.side:has(.live-sportet) { flex-basis: 350px; max-width: 360px; }
.live-sportet .topi { display: inline-flex; line-height: 0; margin-right: 5px; }
.live-sportet { gap: 5px; }
.live-sportet .chip { padding-left: 7px; padding-right: 7px; }

/* 18.11.2026: cfare u luajt, ne rreshtin e biletes (Bastet e mia) */
.mbm-pick { flex: 1 1 auto; min-width: 0; font-size: 11.5px; color: var(--text-2);
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 4px; }
.mbm-pick b { color: var(--text); font-weight: 700; }
@media (max-width: 640px) { .mbm-pick { font-size: 11px; } .mbm-id { flex-shrink: 0; font-size: 10.5px; } .mbm-row { gap: 6px; padding: 10px 10px; } }

.mbm-pick { display: flex; gap: 6px; align-items: baseline; }
.mbm-pick > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mbm-pick > b { flex-shrink: 0; }

/* 18.11.2026: ekipet njeri mbi tjetrin, zgjedhja ne krah te te dyve */
.mbm-pick { align-items: center; }
.mbm-ekipet { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mbm-ekipet > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 18.11.2026: zgjedhja ngjitur djathtas, para statusit */
.mbm-pick > b { margin-left: auto; padding-left: 8px; padding-right: 6px; text-align: right; }

/* 18.11.2026 (pronari): ne desktop ekipet ne nje rresht "Vendas — Mysafir"; njeri mbi tjetrin vetem ne mobile */
@media (min-width: 641px) {
  .mbm-ekipet { flex-direction: row; gap: 0; }
  .mbm-ekipet { flex: 1 1 auto; }
  .mbm-ekipet > span { flex-shrink: 1; }
  .mbm-ekipet > span + span::before { content: "\00a0\2014\00a0"; }
}

/* 20.11.2026 (pronari): rreshti i bastit me ngjyre sipas statusit — fitues jeshil, humbes i kuq,
   ne loje portokalli (ngjyra aktuale). Ngjyra eksplicite qe lexohen njesoj ne te dyja temat. */
.mbm-row.st-win  { box-shadow: inset 3px 0 0 #22c55e; background: rgba(34,197,94,.055); }
.mbm-row.st-lose { box-shadow: inset 3px 0 0 #ef4444; background: rgba(239,68,68,.055); }
.mbm-row.st-wait { box-shadow: inset 3px 0 0 var(--gold); }
.mbm-row.st-void { box-shadow: inset 3px 0 0 var(--text-3); }
.mbm-row.st-win:hover  { background: rgba(34,197,94,.11); }
.mbm-row.st-lose:hover { background: rgba(239,68,68,.11); }
.mbm-row.st-win  .mbm-stat.st-win  { color: #22c55e; }
.mbm-row.st-lose .mbm-stat.st-lose { color: #ef4444; }
