@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Barlow+Condensed:wght@500;600;700;800&display=swap');

/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
    --bg:         #0d0d14;
    --bg2:        #13131e;
    --bg3:        #1a1a2a;
    --bg4:        #222236;
    --border:     rgba(255,255,255,0.06);
    --border2:    rgba(255,255,255,0.11);
    --text:       #eeeef8;
    --text2:      #8888aa;
    --text3:      #44445a;
    --accent:     #6c63ff;
    --accent2:    #8b84ff;
    --accentglow: rgba(108,99,255,0.18);
    --green:      #22c55e;
    --amber:      #f59e0b;
    --red:        #ef4444;
    --nav-h:      58px;
    --sidebar-w:  320px;
    /*--font:       'Outfit', sans-serif;*/
    --font:       'Poppins', sans-serif;
    --font-c:     'Barlow Condensed', sans-serif;
    --r:          10px;
}

[data-theme="light"] {
    --bg:         #f2f2f8;
    --bg2:        #ffffff;
    --bg3:        #f7f7fd;
    --bg4:        #ebebf8;
    --border:     rgba(0,0,0,0.06);
    --border2:    rgba(0,0,0,0.11);
    --text:       #0d0d14;
    --text2:      #55556a;
    --text3:      #aaaacc;
    --accentglow: rgba(108,99,255,0.08);
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
    font-family: var(--font);
    background:  var(--bg);
    color:       var(--text);
    min-height:  100vh;
    line-height: 1.6;
    transition:  background .2s, color .2s;
}
a   { color:inherit; text-decoration:none; }
img { display:block; }

/* ── TOPNAV ──────────────────────────────────────────────────────────────── */
.topnav {
    position:   sticky;
    top:        0;
    z-index:    200;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    height:     var(--nav-h);
}

.topnav__inner {
    max-width: 1400px;
    margin:    0 auto;
    padding:   0 20px;
    height:    100%;
    display:   flex;
    align-items: center;
    gap:       6px;
}

.nav-logo {
    display:     flex;
    align-items: center;
    gap:         9px;
    margin-right: 24px;
    flex-shrink: 0;
}

.nav-logo__icon {
    width:       34px;
    height:      34px;
    background:  var(--accent);
    border-radius: 9px;
    display:     flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-c);
    font-weight: 800;
    font-size:   19px;
    color:       #fff;
    box-shadow:  0 4px 14px var(--accentglow);
    flex-shrink: 0;
}

.nav-logo__name {
    font-family: var(--font-c);
    font-weight: 700;
    font-size:   21px;
    letter-spacing: .3px;
}

/* Sport tabs */
.sport-tabs {
    display:     flex;
    align-items: center;
    gap:         2px;
    flex:        1;
}

.sport-tab {
    display:     flex;
    align-items: center;
    gap:         6px;
    padding:     6px 12px;
    border-radius: 7px;
    font-size:   14px;
    font-weight: 500;
    color:       var(--text2);
    cursor:      pointer;
    border:      1px solid transparent;
    transition:  all .15s;
    white-space: nowrap;
}

.sport-tab svg {
    stroke:      var(--text2);
    flex-shrink: 0;
    transition:  stroke .15s;
}

.sport-tab:hover {
    background: var(--bg3);
    color:      var(--text);
}

.sport-tab:hover svg { stroke: var(--text); }

.sport-tab.active {
    background:   var(--accentglow);
    color:        var(--accent2);
    border-color: rgba(108,99,255,.2);
}

.sport-tab.active svg { stroke: var(--accent2); }

/* Nav right */
.nav-right {
    display:     flex;
    align-items: center;
    gap:         8px;
    margin-left: auto;
    flex-shrink: 0;
}

/* TZ selector */
.tz-wrap { position:relative; }

.tz-btn {
    display:     flex;
    align-items: center;
    gap:         6px;
    background:  var(--bg3);
    border:      1px solid var(--border2);
    border-radius: 8px;
    padding:     6px 11px;
    font-size:   13px;
    font-family: var(--font);
    color:       var(--text2);
    cursor:      pointer;
    transition:  all .15s;
    white-space: nowrap;
    height:      34px; /* Fiksna visina kao theme-btn */
    line-height: 1;
}

.tz-btn svg {
    display:     block;
    flex-shrink: 0;
    stroke:      var(--text2);
    position:    relative;
    top:         0; /* Reset bilo kakvog offseta */
}

.tz-btn:hover svg { stroke: var(--text); }

.tz-btn:hover { border-color:var(--accent); color:var(--text); }
.tz-btn__icon { font-size:14px; }
.tz-btn__caret { font-size:9px; opacity:.5; }

.tz-dropdown {
    position:   absolute;
    top:        calc(100% + 6px);
    right:      0;
    background: var(--bg2);
    border:     1px solid var(--border2);
    border-radius: 10px;
    padding:    6px;
    min-width:  fit-content; /* Umjesto fiksne širine */
    width:      max-content; /* Samo koliko treba */
    max-width:  320px;       /* Ali ne više od ovoga */
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
    z-index:    300;
    display:    none;
    white-space: nowrap;
}

.tz-dropdown.open { display: block; }

.tz-dropdown__title {
    font-size:    11px;
    color:        var(--text3);
    padding:      4px 10px 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.tz-opt {
    padding:      8px 10px;
    border-radius: 6px;
    font-size:    13px;
    color:        var(--text2);
    cursor:       pointer;
    display:      flex;
    align-items:  center;
    justify-content: space-between;
    transition:   all .1s;
}

.tz-opt:hover  { background:var(--bg3); color:var(--text); }
.tz-opt.active { color:var(--accent2); font-weight: bold; }
/*.tz-opt.active::after { content:'✓'; font-size:11px; }*/

/* Theme btn */
.theme-btn {
    width:       34px;
    height:      34px;
    background:  var(--bg3);
    border:      1px solid var(--border2);
    border-radius: 8px;
    display:     flex;
    align-items: center;
    justify-content: center;
    cursor:      pointer;
    transition:  all .15s;
    flex-shrink: 0;
    padding:     0;
}

.theme-btn svg {
    display: block;
    stroke:  var(--text2);
}

.theme-btn:hover svg { stroke: var(--text); }

.theme-btn:hover { border-color:var(--accent); }

/* Hamburger */
.hamburger {
    display:        none;
    flex-direction: column;
    gap:            5px;
    cursor:         pointer;
    padding:        4px;
    background:     none;
    border:         none;
}

.hamburger span {
    display:    block;
    width:      22px;
    height:     2px;
    background: var(--text2);
    border-radius: 2px;
}

/* Mobile nav */
.mobile-nav {
    display:    none;
    position:   fixed;
    top:        var(--nav-h);
    left:       0;
    right:      0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding:    12px 16px 16px;
    z-index:    190;
    /* Dodaj ovo: */
    min-height: 60px;
    overflow:   visible;
}

.mobile-nav.open {
    display: block;
}

.mob-settings-row {
    display:     flex;
    align-items: center;
    gap:         6px;
    flex-wrap:   wrap;
    min-height:  40px; /* Dodaj ovo */
}

.mobile-nav .sport-tabs { display: flex !important; }

/* ── MAIN CONTENT / PAGE WRAP ────────────────────────────────────────────── */
.main-content { padding: 0; }

.page-wrap {
    max-width: 1400px;
    margin:    0 auto;
    padding:   24px 20px;
    display:   grid;
    grid-template-columns: 1fr var(--sidebar-w);
    gap:       24px;
    align-items: start;
}

.main-col { min-width: 0; }

/* ── DATE BAR ────────────────────────────────────────────────────────────── */
.date-bar {
    display:      flex;
    align-items:  center;
    gap:          10px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    flex-wrap:    wrap;
}

.date-bar__title {
    font-family: var(--font-c);
    font-size:   21px;
    font-weight: 700;
    letter-spacing: .3px;
}

.date-bar__sub  { font-size:13px; color:var(--text3); }

.date-bar__count {
    margin-left:  auto;
    font-size:    12px;
    color:        var(--text3);
    background:   var(--bg3);
    border:       1px solid var(--border);
    padding:      3px 10px;
    border-radius: 20px;
}

/* ── LEAGUE GROUP ────────────────────────────────────────────────────────── */
.league-group { margin-bottom:14px; }

.league-header {
    display:     flex;
    align-items: center;
    gap:         9px;
    padding:     8px 14px;
    background:  var(--bg3);
    border:      1px solid var(--border);
    border-bottom: none;
    border-radius: var(--r) var(--r) 0 0;
}

.league-header__logo {
    width:      20px;
    height:     20px;
    object-fit: contain;
    flex-shrink: 0;
}

.league-header__name {
    font-family: var(--font-c);
    font-size:   13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color:       var(--text);
}

.league-header__flag {
    width:        18px;
    height:       12px;
    object-fit:   cover;
    border-radius: 2px;
    margin-left:  auto;
    opacity:      .65;
}

/* ── MATCH CARD ──────────────────────────────────────────────────────────── */
.match-card {
    display:     grid;
    grid-template-columns: 68px 1fr auto;
    align-items: center;
    gap:         10px;
    padding:     11px 14px;
    background:  var(--bg2);
    border:      1px solid var(--border);
    border-top:  none;
    transition:  all .15s;
    color:       inherit;
    position:    relative;
}

.match-card:last-child       { border-radius: 0 0 var(--r) var(--r); }
.match-card:hover            { background:var(--bg3); border-color:var(--border2); }
.match-card--no-link:hover   { cursor: default; }

/* Time */
.mc-time {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    gap:            2px;
    flex-shrink:    0;
}

.mc-time__hour {
    font-family: var(--font-c);
    font-size:   18px;
    font-weight: 700;
    color:       var(--text);
    letter-spacing: .3px;
    line-height: 1;
}

.mc-time__tz {
    font-size:  10px;
    color:      var(--text3);
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* Teams */
.mc-teams {
    display:        flex;
    flex-direction: column;
    gap:            5px;
    min-width:      0;
}

.mc-team {
    display:     flex;
    align-items: center;
    gap:         8px;
}

.mc-team__logo {
    width:      22px;
    height:     22px;
    object-fit: contain;
    flex-shrink: 0;
}

.mc-team__name {
    font-size:   14px;
    font-weight: 500;
    color:       var(--text);
    line-height: 1.2;
    white-space: nowrap;
    overflow:    hidden;
    text-overflow: ellipsis;
}

/* Right */
.mc-right {
    display:     flex;
    align-items: center;
    gap:         8px;
    flex-shrink: 0;
}

/* Odds */
.mc-odds { display:flex; gap:5px; }

.odds-pill {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    min-width:      44px;
}

.odds-pill__lbl {
    font-size:  9px;
    color:      var(--text3);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 2px;
}

.odds-pill__val {
    font-family: var(--font-c);
    font-size:   14px;
    font-weight: 600;
    color:       var(--text2);
    background:  var(--bg4);
    border:      1px solid var(--border);
    border-radius: 6px;
    padding:     3px 6px;
    width:       100%;
    text-align:  center;
    transition:  all .15s;
}

.match-card:hover .odds-pill__val { color:var(--text); border-color:var(--border2); }

/* Buttons */
.mc-btn {
    display:     flex;
    align-items: center;
    gap:         5px;
    background:  var(--accent);
    color:       #fff;
    font-family: var(--font-c);
    font-size:   13px;
    font-weight: 700;
    letter-spacing: .3px;
    padding:     6px 12px;
    border-radius: 7px;
    white-space: nowrap;
    transition:  all .15s;
}

.match-card:hover .mc-btn { background:var(--accent2); box-shadow:0 4px 14px var(--accentglow); }

.mc-btn--ghost {
    background:  transparent;
    color:       var(--text3);
    border:      1px solid var(--border);
    font-size:   11px;
    padding:     5px 10px;
}

.mc-time__date {
    font-size:  12px;
    color:      var(--text3);
    margin-left: 4px;
}

/* ── RIGHT SIDEBAR ───────────────────────────────────────────────────────── */
.right-sidebar {
    position: sticky;
    top:      calc(var(--nav-h) + 20px);
    display:  flex;
    flex-direction: column;
    gap:      14px;
}

.widget {
    background:   var(--bg2);
    border:       1px solid var(--border);
    border-radius: var(--r);
    overflow:     hidden;
}

.widget__head {
    padding:      10px 14px;
    border-bottom: 1px solid var(--border);
    font-family:  var(--font-c);
    font-size:    12px;
    font-weight:  700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color:        var(--text2);
}

.widget__body        { padding:14px; }
.widget__body--tight { padding:8px; }

/* Ads */
.ad-box {
    background:  var(--bg3);
    border:      1px dashed var(--border2);
    border-radius: 8px;
    display:     flex;
    align-items: center;
    justify-content: center;
    font-size:   11px;
    color:       var(--text3);
    text-transform: uppercase;
    letter-spacing: .3px;
}

.ad-box--250 { height:250px; }
.ad-box--100 { height:100px; }

/* Top leagues */
.league-list-item {
    display:     flex;
    align-items: center;
    gap:         9px;
    padding:     7px 8px;
    border-radius: 7px;
    font-size:   13px;
    color:       var(--text2);
    cursor:      pointer;
    transition:  all .1s;
}

.league-list-item:hover     { background:var(--bg3); color:var(--text); }
.league-list-item__logo     { width:20px; height:20px; object-fit:contain; flex-shrink:0; }
.league-list-item__name     { flex:1; }
.league-list-item__count    { font-size:11px; color:var(--text3); background:var(--bg4); padding:1px 7px; border-radius:20px; }

/* Match info list (sidebar na single) */
.match-info-list { display:flex; flex-direction:column; gap:10px; }

.match-info-row {
    display:     flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size:   13px;
    gap:         8px;
}

.match-info-row span:first-child { color:var(--text3); flex-shrink:0; }
.match-info-row span:last-child  { color:var(--text2); text-align:right; }

/* ── SINGLE ANALYSIS ─────────────────────────────────────────────────────── */
.match-analysis { }

/* Hero */
.analysis-hero {
    background:   var(--bg2);
    border:       1px solid var(--border);
    border-radius: var(--r);
    padding:      22px;
    margin-bottom: 14px;
}

.hero-league {
    display:     flex;
    align-items: center;
    gap:         7px;
    margin-bottom: 16px;
}

.hero-league__logo {
    width:      18px;
    height:     18px;
    object-fit: contain;
}

.hero-league__name {
    font-size:  12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color:      var(--accent2);
}

.hero-league__flag {
    width:        16px;
    height:       11px;
    object-fit:   cover;
    border-radius: 2px;
    opacity:      .65;
    margin-left:  4px;
}

.hero-teams {
    display:     flex;
    align-items: center;
    gap:         16px;
    margin-bottom: 16px;
}

.hero-team {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    gap:            8px;
    flex:           1;
}

.hero-team__logo  { width:60px; height:60px; object-fit:contain; }

.hero-team__name {
    font-family: var(--font-c);
    font-size:   17px;
    font-weight: 700;
    text-align:  center;
    color:       var(--text);
}

.hero-vs {
    font-family: var(--font-c);
    font-size:   20px;
    font-weight: 700;
    color:       var(--text3);
    flex-shrink: 0;
}

.hero-meta {
    display:   flex;
    gap:       14px;
    font-size: 13px;
    color:     var(--text2);
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.hero-meta__item { display:flex; align-items:center; gap:5px; }

/* Odds (single) */
.match-analysis__odds {
    display:       flex;
    gap:           10px;
    padding-top:   14px;
    border-top:    1px solid var(--border);
}

.odds-box {
    flex:          1;
    text-align:    center;
    background:    var(--bg3);
    border:        1px solid var(--border);
    border-radius: 9px;
    padding:       10px;
}

.odds-label {
    display:    block;
    font-size:  11px;
    color:      var(--text3);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 4px;
}

.odds-value {
    display:     block;
    font-family: var(--font-c);
    font-size:   22px;
    font-weight: 700;
    color:       var(--accent2);
}

/* Analysis sections */
.match-analysis__section {
    background:   var(--bg2);
    border:       1px solid var(--border);
    border-radius: var(--r);
    padding:      18px 20px;
    margin-bottom: 12px;
}

.match-analysis__section h2 {
    font-family: var(--font-c);
    font-size:   15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color:       var(--accent2);
    margin-bottom: 10px;
    display:     flex;
    align-items: center;
    gap:         8px;
}

.match-analysis__section h2::before {
    content:    '';
    display:    block;
    width:      3px;
    height:     14px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.match-analysis__section p {
    font-size:   14px;
    color:       var(--text2);
    line-height: 1.8;
}

/* Injuries */
.match-analysis__injuries {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.injuries-col h3 {
    font-size:   13px;
    font-weight: 600;
    color:       var(--text3);
    margin-bottom: 10px;
    display:     flex;
    align-items: center;
}

.injury-item {
    display:     flex;
    justify-content: space-between;
    align-items: center;
    padding:     7px 0;
    border-bottom: 1px solid var(--border);
    font-size:   13px;
}

.injury-item:last-child { border-bottom:none; }
.injury-player          { font-weight:500; color:var(--text); }

.injury-status {
    font-size:    11px;
    padding:      2px 8px;
    border-radius: 20px;
    background:   rgba(239,68,68,.12);
    color:        #fca5a5;
    border:       1px solid rgba(239,68,68,.2);
    white-space:  nowrap;
}

.no-injuries { font-size:13px; color:var(--text3); }

/* Betting tips */
.betting-tips { display:flex; flex-direction:column; gap:10px; }

.tip {
    border-radius: 9px;
    padding:       13px 15px;
    border-left:   4px solid;
}

.tip--safe     { background:rgba(34,197,94,.07);  border-color:var(--green); }
.tip--moderate { background:rgba(245,158,11,.07); border-color:var(--amber); }
.tip--value    { background:rgba(108,99,255,.07); border-color:var(--accent); }

.tip__header {
    display:     flex;
    align-items: center;
    gap:         10px;
    margin-bottom: 7px;
    flex-wrap:   wrap;
}

.tip__type {
    font-size:  10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding:    2px 8px;
    border-radius: 20px;
    background: rgba(255,255,255,.07);
}

.tip__pick   { font-weight:600; font-size:14px; flex:1; }
.tip__odds   { font-family:var(--font-c); font-size:16px; font-weight:700; color:var(--accent2); }
.tip__reason { font-size:13px; color:var(--text2); line-height:1.6; }

/* Verdict */
.match-analysis__verdict {
    background:   var(--accentglow);
    border:       1px solid rgba(108,99,255,.2);
    border-radius: var(--r);
    padding:      18px 20px;
    margin-bottom: 12px;
}

.match-analysis__verdict h2 {
    font-family:  var(--font-c);
    font-size:    15px;
    font-weight:  700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color:        var(--accent2);
    margin-bottom: 10px;
}

.match-analysis__verdict p { font-size:14px; color:var(--text2); line-height:1.8; }

.data-notice {
    font-size:  13px;
    color:      var(--text3);
    text-align: center;
    margin-top: 14px;
    font-style: italic;
}

/* Pagination */
.pagination {
    display:     flex;
    align-items: center;
    justify-content: center;
    gap:         16px;
}

.pagination__prev,
.pagination__next {
    padding:      7px 16px;
    background:   var(--bg2);
    border:       1px solid var(--border2);
    border-radius: 8px;
    font-size:    13px;
    color:        var(--text2);
    transition:   all .15s;
}

.pagination__prev:hover,
.pagination__next:hover { border-color:var(--accent); color:var(--accent2); }

.pagination__info { font-size:13px; color:var(--text3); }

/* Empty state */
.empty-state       { text-align:center; padding:60px 20px; color:var(--text3); }
.empty-state__icon { font-size:36px; margin-bottom:12px; opacity:.4; }
.empty-state__text { font-size:14px; }

/* Footer */
.site-footer {
    background:  var(--bg2);
    border-top:  1px solid var(--border);
    padding:     20px;
    text-align:  center;
    font-size:   13px;
    color:       var(--text3);
    margin-top:  40px;
}

.site-footer__disc { font-size:11px; margin-top:5px; opacity:.5; }
.site-footer .container { max-width:1400px; margin:0 auto; }

.date-nav {
    display:    flex;
    gap:        6px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom:  16px;
    scrollbar-width: none;
}

.date-nav::-webkit-scrollbar { display: none; }

.date-nav__item {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    padding:        7px 12px;
    background:     var(--bg2);
    border:         1px solid var(--border);
    border-radius:  8px;
    font-size:      12px;
    color:          var(--text2);
    white-space:    nowrap;
    transition:     all .15s;
    text-decoration: none;
    flex-shrink:    0;
}

.date-nav__item:hover  { border-color: var(--border2); color: var(--text); }

.date-nav__item.active {
    background:   var(--accentglow);
    border-color: rgba(108,99,255,.3);
    color:        var(--accent2);
}

.date-nav__label { font-weight: 500; }
.date-nav__count { font-size: 10px; color: var(--text3); margin-top: 2px; }

/* ── Archive page ────────────────────────────────────────────────────────── */
.archive-back {
    display:      inline-flex;
    align-items:  center;
    gap:          6px;
    font-size:    13px;
    color:        var(--text3);
    margin-bottom: 20px;
    transition:   color .15s;
}

.archive-back:hover { color: var(--accent2); }

.archive-month {
    margin-bottom: 28px;
}

.archive-month__header {
    font-family:  var(--font-c);
    font-size:    13px;
    font-weight:  700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color:        var(--text3);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}

.archive-days {
    display:   flex;
    flex-wrap: wrap;
    gap:       8px;
}

.archive-day {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    gap:            3px;
    padding:        10px 14px;
    background:     var(--bg2);
    border:         1px solid var(--border);
    border-radius:  var(--r);
    min-width:      64px;
    text-align:     center;
    transition:     all .15s;
    text-decoration: none;
}

.archive-day:hover {
    border-color: var(--border2);
    background:   var(--bg3);
}

.archive-day--today {
    background:   var(--accentglow);
    border-color: rgba(108,99,255,.3);
}

.archive-day__name {
    font-size:  10px;
    color:      var(--text3);
    text-transform: uppercase;
    letter-spacing: .4px;
}

.archive-day--today .archive-day__name { color: var(--accent2); }

.archive-day__num {
    font-family: var(--font-c);
    font-size:   22px;
    font-weight: 700;
    color:       var(--text);
    line-height: 1;
}

.archive-day__count {
    font-size:    11px;
    color:        var(--text3);
    background:   var(--bg3);
    border:       1px solid var(--border);
    border-radius: 20px;
    padding:      1px 7px;
}

.archive-day--today .archive-day__count {
    background:   rgba(108,99,255,.15);
    border-color: rgba(108,99,255,.2);
    color:        var(--accent2);
}

.archive-day__sports {
    display: flex;
    gap:     3px;
    font-size: 11px;
    margin-top: 2px;
}

@media (max-width: 580px) {
    .archive-day { min-width: 52px; padding: 8px 10px; }
    .archive-day__num { font-size: 18px; }
}


/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1060px) {
    :root { --sidebar-w: 240px; }
}

@media (max-width: 860px) {
    .page-wrap { grid-template-columns:1fr; }
    .right-sidebar { display:none; }
    .sport-tabs   { display:none; }
    .hamburger    { display:flex; }
    .tz-btn__label { display:none; }
    .match-analysis__injuries { grid-template-columns:1fr; }

    /* Hide */
    .tz-wrap      { display:none; }
    .theme-btn    { display:none; }

    /* Nav right just hamburger */
    .nav-right    { gap:0; }

    .match-analysis__injuries { grid-template-columns:1fr; }

    .mobile-nav .tz-dropdown {
        position: fixed;
        left:     16px;
        right:    16px;
        width:    auto;
        top:      auto;
    }

    .tz-dropdown__cols--tz {
        width: 100%;
    }
}

@media (max-width: 580px) {
    .page-wrap    { padding:12px 14px; }
    .mc-odds      { display:none; }
    .match-card   { grid-template-columns:54px 1fr auto; gap:7px; padding:10px 11px; }
    .mc-time__hour { font-size:16px; }
    .mc-team__logo { width:18px; height:18px; }
    .mc-team__name { font-size:13px; }
    .mc-btn        { padding:5px 9px; font-size:12px; }
    .hero-team__logo { width:44px; height:44px; }
    .hero-team__name { font-size:14px; }
    .nav-logo__name  { font-size:18px; }
    .topnav__inner   { padding:0 12px; }
}

.tz-opt img {
    flex-shrink: 0;
}

.tz-opt span {
    flex: 1;
}
.tz-dropdown {
    /*min-width: 280px;*/
}

.tz-dropdown__cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:     2px;
    padding: 4px;
}

.tz-dropdown__cols--tz {
    width: 280px;
}

.tz-dropdown__col-title {
    font-size: 10px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 4px 8px 6px;
    text-align: center;
}

.mob-setting-btn {
    padding:    6px 10px;
    font-size:  12px;
    overflow:   visible;
    white-space: nowrap;
}
/* Mobile nav tz-wrap ostaje vidljiv */
.mobile-nav .tz-wrap { display:block; }

.theme-btn svg {
    stroke: var(--text2);
}

.theme-btn:hover svg {
    stroke: var(--text);
}

.league-hero {
    display:       flex;
    align-items:   center;
    gap:           16px;
    padding:       18px 20px;
    background:    var(--bg2);
    border:        1px solid var(--border);
    border-radius: var(--r);
    margin-bottom: 20px;
    flex-wrap:     wrap;
}

.league-hero__logo {
    width:      48px;
    height:     48px;
    object-fit: contain;
    flex-shrink: 0;
}

.league-hero__info  { flex: 1; min-width: 0; }

.league-hero__name {
    font-family: var(--font-c);
    font-size:   22px;
    font-weight: 700;
    color:       var(--text);
}

.league-hero__country {
    display:     flex;
    align-items: center;
    gap:         6px;
    font-size:   13px;
    color:       var(--text2);
    margin-top:  4px;
}

.league-hero__count {
    font-size:  13px;
    color:      var(--text3);
    background: var(--bg3);
    border:     1px solid var(--border);
    padding:    3px 10px;
    border-radius: 20px;
}

.league-hero__back {
    font-size: 13px;
    color:     var(--text3);
    transition: color .15s;
}

.league-hero__back:hover { color: var(--accent2); }

.league-header__link {
    display:     flex;
    align-items: center;
    gap:         9px;
    flex:        1;
    min-width:   0;
    color:       inherit;
    transition:  color .15s;
}

.league-header__link:hover .league-header__name {
    color: var(--accent2);
}

/* Make league-list-item a block link */
a.league-list-item {
    display:         flex;
    align-items:     center;
    gap:             9px;
    padding:         7px 8px;
    border-radius:   7px;
    font-size:       13px;
    color:           var(--text2);
    transition:      all .1s;
    text-decoration: none;
}

a.league-list-item:hover {
    background: var(--bg3);
    color:      var(--text);
}

.sport-tab svg {
    color:       var(--text2);
    flex-shrink: 0;
    transition:  color .15s;
}

.sport-tab:hover svg   { color: var(--text); }
.sport-tab.active svg  { color: var(--accent2); }

.mc-tip {
    display:     flex;
    align-items: center;
    gap:         7px;
    flex-shrink: 0;
}

.mc-tip__label {
    font-size:    10px;
    font-weight:  700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color:        var(--green);
    background:   rgba(34,197,94,.1);
    border:       1px solid rgba(34,197,94,.2);
    padding:      2px 7px;
    border-radius: 20px;
    white-space:  nowrap;
    flex-shrink:  0;
}

.mc-tip__pick {
    font-size:   13px;
    font-weight: 500;
    color:       var(--text);
    white-space: nowrap;
    overflow:    hidden;
    text-overflow: ellipsis;
    min-width:   0;
    flex:        1;
}

.mc-tip__odds {
    font-family: var(--font-c);
    font-size:   15px;
    font-weight: 700;
    color:       var(--accent2);
    white-space: nowrap;
    flex-shrink: 0;
}

.mc-tip__odds {
    font-family:  var(--font-c);
    font-size:    16px;
    font-weight:  700;
    color:        var(--text);
    background:   var(--bg3);
    border:       1px solid var(--border2);
    padding:      3px 9px;
    border-radius: 7px;
    white-space:  nowrap;
    flex-shrink:  0;
    transition:   all .15s;
}

.match-card:hover .mc-tip__odds {
    border-color: var(--accent);
    color:        var(--accent2);
}

.mc-btn {
    display:       flex;
    align-items:   center;
    gap:           5px;
    background:    transparent;
    color:         var(--text3);
    border:        1px solid var(--border2);
    font-family:   var(--font-c);
    font-size:     12px;
    font-weight:   600;
    letter-spacing: .3px;
    padding:       6px 12px;
    border-radius: 7px;
    white-space:   nowrap;
    transition:    all .15s;
}

.match-card:hover .mc-btn {
    color:        var(--accent2);
    border-color: rgba(108,99,255,.4);
    background:   var(--accentglow);
}

@media (max-width: 580px) {
    .mc-tip__pick { max-width: 120px; }
    .mc-odds      { display: none; }
}

@media (max-width: 580px) {
    /* Stack layout on mobile — tip goes below teams */
    .match-card {
        grid-template-columns: 44px 1fr;
        grid-template-rows:    auto auto;
        gap:                   6px 8px;
    }

    /* Time stays in first column, spans both rows */
    .mc-time {
        grid-column: 1;
        grid-row:    1 / 3;
        align-self:  center;
    }

    /* Teams in first row, second column */
    .mc-teams {
        grid-column: 2;
        grid-row:    1;
    }

    /* Tip + button in second row, second column */
    .mc-right {
        grid-column: 2;
        grid-row:    2;
        display:     flex;
        align-items: center;
        gap:         7px;
    }

    .mc-tip__pick  { max-width: 140px; }
    .mc-tip__label { font-size: 9px; padding: 2px 5px; }
    .mc-tip__odds  { font-size: 13px; }
    .mc-btn        { padding: 4px 8px; font-size: 11px; margin-left: auto; }
    .mc-odds       { display: none; }
    .mc-team__logo { width: 18px; height: 18px; }
    .mc-team__name { font-size: 12px; }
}

/* Hide SAFE label everywhere */
.mc-tip__label { display: none; }

/* Hide Analysis button on mobile */
@media (max-width: 580px) {
    .mc-btn { display: none; }
}

@media (max-width: 580px) {
    .mc-tip__pick {
        max-width:     none;  /* Remove character limit */
        white-space:   normal; /* Allow wrapping */
        overflow:      visible;
        text-overflow: unset;
    }

    .mc-right {
        justify-content: space-between; /* Push odds to the right */
    }

    .mc-tip {
        flex:     1;
        flex-wrap: wrap;
        gap:      4px;
    }

    .mc-tip__odds {
        margin-left: auto; /* Push odds right */
        flex-shrink: 0;
    }
}

@media (max-width: 580px) {
    .mc-right {
        border-top:  1px solid var(--border);
        padding-top: 7px;
        margin-top:  2px;
    }

    .mc-tip__pick {
        font-size:  12px;
        color:      var(--text2);
        font-weight: 400;
    }
}