:root{
  --bg:#ffffff;

  /* panels: slightly warmer + cleaner */
  --panel:#f7f8fc;
  --panel2:#eef2ff;

  /* text */
  --text:#0b1220;
  --muted:#667085;
  --line:rgba(15,23,42,.10);
  --black:#070a12;

  /* NEW: calmer primary + meaningful accent */
  --blue:#2f5bff;     /* deeper, less neon */
  --blue2:#1f3fd6;    /* deeper shade */
  --cyan:#12b5a6;     /* teal accent (vibrant, premium) */

  /* status */
  --good:#16b364;
  --warn:#f79009;
  --bad:#f04438;

  --shadow: 0 14px 40px rgba(2, 6, 23, .10);
  --shadow2: 0 10px 24px rgba(2, 6, 23, .08);

  --radius:16px;
  --radius2:22px;
  --max:1180px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

    *{box-sizing:border-box}
html,body{width:100%;max-width:100%;overflow-x:hidden}
    img,svg,video,canvas{max-width:100%;height:auto}
    /* Prevent grid/flex children from forcing overflow */
    .layout, .layout > section, .layout > aside{min-width:0}
    html,body{height:100%}
    body{
      margin:0;
      font-family:var(--font);
      color:var(--text);
      background:
        radial-gradient(1200px 500px at 18% -10%, rgba(43,108,255,.12), transparent 60%),
        radial-gradient(900px 450px at 90% 10%, rgba(0,183,255,.10), transparent 55%),
        var(--bg);
    }
    a{color:inherit;text-decoration:none}
    .container{max-width:var(--max);margin:0 auto;padding:0 14px}

    /* Top ribbon */
    .ribbon{
      background:linear-gradient(90deg, rgba(43,108,255,.16), rgba(0,183,255,.10));
      border-bottom:1px solid var(--line);
      font-size:12.5px;
      color:rgba(12,18,34,.85);
    }
    .ribbon .inner{
      display:flex; align-items:center; justify-content:space-between;
      gap:10px; padding:8px 0;
    }
    .ribbon .pill{
      display:inline-flex; gap:8px; align-items:center;
      padding:6px 10px; border-radius:999px;
      background:rgba(255,255,255,.7);
      border:1px solid rgba(43,108,255,.18);
      box-shadow: 0 6px 18px rgba(2,6,23,.05);
      backdrop-filter: blur(10px);
    }
    .dot{width:7px;height:7px;border-radius:50%;background:var(--good);box-shadow:0 0 0 4px rgba(25,195,125,.14)}
    .muted{color:var(--muted)}
    .ribbon .links{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
    .ribbon .links a{
      padding:6px 8px;border-radius:10px;border:1px solid transparent;
      transition:.2s ease;
    }
    .ribbon .links a:hover{
      border-color:rgba(43,108,255,.25);
      background:rgba(255,255,255,.65);
      transform:translateY(-1px);
    }

    /* Header */
    header{
      position:sticky; top:0; z-index:50;
      background:linear-gradient(180deg, rgba(7,10,18,.98), rgba(7,10,18,.94));
      border-bottom:1px solid rgba(255,255,255,.08);
      box-shadow: 0 10px 25px rgba(0,0,0,.22);
      backdrop-filter: blur(14px);
    }
    .nav{
      display:flex; align-items:center; gap:14px;
      padding:12px 0;
    }
    .brand{
      display:flex; align-items:center; gap:10px; min-width:210px;
    }
    .logo{
      width:36px;height:36px;border-radius:12px;
      background:
        radial-gradient(14px 14px at 30% 30%, rgba(255,255,255,.35), transparent 60%),
        linear-gradient(135deg, var(--blue), var(--cyan));
      box-shadow: 0 10px 24px rgba(43,108,255,.35);
      position:relative;
      overflow:auto;
      max-height: calc(100vh - 96px);
      -webkit-overflow-scrolling: touch;
    }
    .logo:after{
      content:"";
      position:absolute; inset:-20px;
      background:conic-gradient(from 180deg, rgba(255,255,255,.18), transparent 35%, rgba(255,255,255,.12), transparent 70%, rgba(255,255,255,.18));
      animation:spin 5.5s linear infinite;
    }
    @keyframes spin{to{transform:rotate(360deg)}}
    .brand strong{
      color:#fff; font-size:16px; letter-spacing:.2px;
    }
    .brand span{
      display:block; font-size:12px; color:rgba(255,255,255,.65); margin-top:2px;
    }

    .menu{
      display:flex; align-items:center; gap:6px; flex:1;
      overflow:auto; scrollbar-width:none;
    }
    .menu::-webkit-scrollbar{display:none}
    .menu a{
      color:rgba(255,255,255,.88);
      padding:10px 12px;
      border-radius:14px;
      font-weight:650;
      font-size:13.5px;
      border:1px solid transparent;
      transition:.2s ease;
      white-space:nowrap;
    }
    .menu a:hover{
      background:rgba(255,255,255,.06);
      border-color:rgba(255,255,255,.12);
      transform:translateY(-1px);
    }
    .menu a.active{
      background:linear-gradient(135deg, rgba(43,108,255,.35), rgba(0,183,255,.20));
      border-color:rgba(43,108,255,.45);
    }

    .rightbar{
      display:flex; align-items:center; gap:10px;
      justify-content:flex-end;
      min-width:340px;
    }

    .selectBadge{
      display:inline-flex; align-items:center; gap:8px;
      color:#fff; font-weight:750; font-size:13px;
      padding:8px 10px;
      border-radius:14px;
      border:1px solid rgba(255,255,255,.14);
      background:rgba(255,255,255,.06);
      white-space:nowrap;
    }
    .badgeCount{
      width:20px;height:20px;border-radius:8px;
      display:grid;place-items:center;
      background:#fff; color:var(--black);
      font-size:12px; font-weight:900;
    }

    .dropdowns{
      display:flex; gap:8px; align-items:center;
    }
    .dd{position:relative}
    .dd button{
      cursor:pointer;
      border:1px solid rgba(255,255,255,.14);
      background:rgba(255,255,255,.06);
      color:#fff;
      padding:9px 10px;
      border-radius:14px;
      font-weight:700;
      font-size:12.5px;
      display:flex; align-items:center; gap:8px;
      transition:.2s ease;
      white-space:nowrap;
    }
    .dd button:hover{transform:translateY(-1px); background:rgba(255,255,255,.08)}
    .ddpanel{
      position:absolute; right:0; top:42px;
      width:240px;
      border-radius:16px;
      background:rgba(255,255,255,.96);
      border:1px solid rgba(15,23,42,.12);
      box-shadow: var(--shadow2);
      overflow:auto;
      max-height: calc(100vh - 96px);
      -webkit-overflow-scrolling: touch;
      display:none;
    }
    .ddpanel a{
      display:flex; gap:10px; align-items:center;
      padding:11px 12px;
      font-size:13px;
      border-bottom:1px solid rgba(15,23,42,.06);
      transition:.15s ease;
    }
    .ddpanel a:hover{background:rgba(43,108,255,.08)}
    .dd.open .ddpanel{display:block}
    .dd i{
      width:18px;height:18px;border-radius:8px;
      background:linear-gradient(135deg, rgba(43,108,255,.25), rgba(0,183,255,.18));
      border:1px solid rgba(43,108,255,.22);
      display:inline-block;
    }

    .search{flex:1; display:flex; justify-content:flex-end}
    .searchBox{
      width:100%;
      max-width:320px;
      display:flex; align-items:center; gap:10px;
      padding:10px 12px;
      border-radius:16px;
      background:rgba(255,255,255,.92);
      border:1px solid rgba(15,23,42,.10);
      box-shadow: 0 10px 22px rgba(2,6,23,.12);
    }
    .searchBox input{
      border:none; outline:none; background:transparent;
      width:100%; font-size:13.5px;
    }
   /* ===== Compact header search (desktop) ===== */
@media (min-width: 721px){

  /* Reduce how much space the search eats */
  .searchBox{
    max-width: 240px;        /* was 320px */
    padding: 8px 10px;       /* was 10px 12px */
    border-radius: 14px;     /* slightly smaller */
    gap: 8px;
  }

  .searchBox input{
    font-size: 12.4px;       /* was 13.5px */
  }

  /* Make CTRL+K badge smaller */
  .kbd{
    font-size: 10px;         /* was 11px */
    padding: 4px 6px;        /* was 5px 7px */
    border-radius: 9px;      /* was 10px */
  }

  /* Optional: slightly reduce rightbar width pressure */
  .rightbar{
    min-width: 300px;        /* was 340px */
    gap: 8px;
  }
}

/* Extra tight screens (laptops): keep menu clean */
@media (min-width: 721px) and (max-width: 1050px){
  .searchBox{ max-width: 200px; }
}
 
    
    .kbd{
      font-size:11px; font-weight:800;
      padding:5px 7px;border-radius:10px;
      border:1px solid rgba(15,23,42,.12);
      background:rgba(15,23,42,.04);
      color:rgba(15,23,42,.55);
    }

    /* Mobile menu */
    .burger{
      display:none;
      width:42px;height:42px;border-radius:14px;
      border:1px solid rgba(255,255,255,.14);
      background:rgba(255,255,255,.06);
      color:#fff;
      cursor:pointer;
      transition:.2s ease;
      align-items:center; justify-content:center;
    }
    .burger:hover{transform:translateY(-1px); background:rgba(255,255,255,.08)}
    .burgerBars{
      width:18px;height:14px; position:relative;
    }
    .burgerBars span{
      position:absolute; left:0; right:0;
      height:2px; border-radius:2px;
      background:rgba(255,255,255,.92);
      transition:.2s ease;
    }
    .burgerBars span:nth-child(1){top:0}
    .burgerBars span:nth-child(2){top:6px; opacity:.9}
    .burgerBars span:nth-child(3){top:12px}

    .mMenuBackdrop{
      position:fixed; inset:0;
      background:rgba(2,6,23,.52);
      backdrop-filter: blur(6px);
      display:none;
      z-index:80;
    }
    .mMenu{
      position:fixed; left:12px; right:12px; top:74px;
      border-radius:18px;
      border:1px solid rgba(255,255,255,.14);
      background:linear-gradient(180deg, rgba(7,10,18,.96), rgba(7,10,18,.92));
      box-shadow: 0 18px 40px rgba(0,0,0,.28);
      display:none;
      z-index:90;
      overflow:auto;
      max-height: calc(100vh - 96px);
      -webkit-overflow-scrolling: touch;
    }
    .mMenuHead{
      display:flex; align-items:center; justify-content:space-between;
      padding:12px;
      border-bottom:1px solid rgba(255,255,255,.10);
      color:#fff;
      font-weight:900;
    }
    .mMenuHead button{
      width:38px;height:38px;border-radius:14px;
      border:1px solid rgba(255,255,255,.14);
      background:rgba(255,255,255,.06);
      color:#fff;
      cursor:pointer;
    }
    .mMenuGrid{
      display:grid;
      grid-template-columns: 1fr;
    }
    .mMenuGrid a{
      padding:12px 12px;
      color:rgba(255,255,255,.88);
      border-bottom:1px solid rgba(255,255,255,.08);
      font-weight:850;
      display:flex; align-items:center; gap:10px;
    }
    .mMenuGrid a:last-child{border-bottom:none}
    .mMenuGrid a:hover{background:rgba(255,255,255,.06)}
    .mMenuDot{
      width:8px;height:8px;border-radius:99px;
      background:linear-gradient(135deg, var(--blue), var(--cyan));
      box-shadow:0 0 0 4px rgba(43,108,255,.12);
    }

/* Mobile menu extras: holds header right-panel items on small screens */
.mMenuExtras{
  padding:12px;
  display:grid;
  gap:10px;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
}
.mMenuExtras .selectBadge{
  width:100%;
  justify-content:space-between;
  padding:10px 12px;
  border-radius:16px;
  font-size:12.6px;
}
.mMenuExtras .dropdowns{
  display:grid;
  gap:8px;
}
.mMenuExtras .dd{width:100%}
.mMenuExtras .dd button{
  width:100%;
  justify-content:space-between;
  padding:10px 12px;
  border-radius:16px;
  font-size:12.4px;
}
.mMenuExtras .ddpanel{
  position:static;
  width:100%;
  margin-top:8px;
  border-radius:16px;
  background:rgba(255,255,255,.94);
}
.mMenuExtras .ddpanel a{font-size:12.6px}
.mMenuExtras .search{justify-content:stretch}
.mMenuExtras .searchBox{max-width:none; border-radius:16px; padding:9px 10px}
.mMenuExtras .searchBox input{font-size:13px}
    body.mmenu-open .mMenuBackdrop,
    body.mmenu-open .mMenu{display:block}

    /* Page title strip */
    .heroStrip{
      margin-top:16px;
      background:linear-gradient(135deg, rgba(43,108,255,.12), rgba(0,183,255,.08));
      border:1px solid rgba(43,108,255,.16);
      border-radius:22px;
      padding:14px 14px;
      display:flex; align-items:center; justify-content:space-between;
      gap:12px;
      box-shadow: var(--shadow2);
    }
    .heroStrip h1{margin:0; font-size:18px; letter-spacing:.2px}
    .heroStrip p{margin:3px 0 0 0; font-size:12.8px; color:rgba(12,18,34,.70)}
    .spark{
      width:40px;height:40px;border-radius:18px;
      background:
        radial-gradient(18px 18px at 30% 30%, rgba(255,255,255,.4), transparent 60%),
        linear-gradient(135deg, var(--blue), var(--cyan));
      box-shadow: 0 14px 28px rgba(43,108,255,.28);
      display:grid;place-items:center;color:#fff;font-weight:950;
    }

    /* Layout */
    .layout{
      display:grid;
      grid-template-columns: minmax(0,1fr) minmax(0,340px);
      gap:14px;
      margin-top:14px;
      align-items:start;
    }

    /* Date tabs (scroll) */
    .dateBar{
      background:rgba(255,255,255,.82);
      border:1px solid rgba(15,23,42,.10);
      border-radius:18px;
      padding:10px;
      box-shadow: var(--shadow2);
      overflow:auto;
      max-height: calc(100vh - 96px);
      -webkit-overflow-scrolling: touch;
    }
    .dates{
      display:flex; gap:8px; align-items:center;
      overflow:auto; scrollbar-width:none;
      padding-bottom:4px;
    }
    .dates::-webkit-scrollbar{display:none}
    .dateBtn{
      border:1px solid rgba(15,23,42,.10);
      background:rgba(15,23,42,.04);
      color:rgba(12,18,34,.86);
      padding:9px 12px;
      border-radius:14px;
      font-weight:800;
      font-size:12.5px;
      cursor:pointer;
      transition:.2s ease;
      white-space:nowrap;
    }
    .dateBtn:hover{transform:translateY(-1px)}
    .dateBtn.active{
      background:linear-gradient(135deg, rgba(43,108,255,.18), rgba(0,183,255,.12));
      border-color:rgba(43,108,255,.28);
      color:rgba(12,18,34,.92);
    }
    .scrollHint{
      height:6px; margin-top:8px; border-radius:999px;
      background:linear-gradient(90deg, rgba(43,108,255,.18), rgba(15,23,42,.05));
      opacity:.55;
    }

    /* Tabs */
    .tabs{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
    .tab{
      cursor:pointer;
      padding:10px 12px;
      border-radius:14px;
      border:1px solid rgba(15,23,42,.10);
      background:rgba(15,23,42,.03);
      font-weight:850;
      font-size:12.6px;
      transition:.2s ease;
      display:inline-flex; gap:8px; align-items:center;
    }
    .tab:hover{transform:translateY(-1px)}
    .tab.active{
      background:linear-gradient(135deg, rgba(43,108,255,.18), rgba(0,183,255,.12));
      border-color:rgba(43,108,255,.26);
    }
    .chip{
      font-size:11px;
      font-weight:900;
      padding:4px 8px;
      border-radius:999px;
      background:rgba(43,108,255,.12);
      border:1px solid rgba(43,108,255,.18);
      color:rgba(12,18,34,.76);
    }

    /* Popular cards */
    .popular{
      max-width:100%;
      margin-top:12px;
      background:rgba(255,255,255,.82);
      border:1px solid rgba(15,23,42,.10);
      border-radius:18px;
      box-shadow: var(--shadow2);
      overflow:auto;
      max-height: calc(100vh - 96px);
      -webkit-overflow-scrolling: touch;
    }
    .popularHead{
      display:flex; justify-content:space-between; align-items:center;
      padding:12px 12px;
      border-bottom:1px solid rgba(15,23,42,.06);
    }
    .popularHead h2{
      margin:0; font-size:13px; letter-spacing:.6px;
      text-transform:uppercase;
      color:rgba(12,18,34,.75);
    }
    .pNav{display:flex; gap:8px}
    .pBtn{
      width:34px;height:34px;border-radius:14px;
      border:1px solid rgba(15,23,42,.10);
      background:rgba(15,23,42,.03);
      cursor:pointer;
      transition:.2s ease;
      display:grid;place-items:center;
    }
    .pBtn:hover{transform:translateY(-1px)}
    .pTrack{
      display:flex; gap:10px;
      padding:12px;
      overflow:auto;
      scroll-snap-type:x mandatory;
      scrollbar-width:none;
    }
    .pTrack::-webkit-scrollbar{display:none}
    .pCard{
      min-width: 280px;
      scroll-snap-align:start;
      background:linear-gradient(135deg, rgba(43,108,255,.08), rgba(0,183,255,.05));
      border:1px solid rgba(43,108,255,.14);
      border-radius:16px;
      padding:12px;
      box-shadow: 0 10px 20px rgba(2,6,23,.06);
    }
    .pTop{display:flex; justify-content:space-between; align-items:center; gap:10px}
    .pTop strong{font-size:13.5px}
    .tiny{font-size:12px;color:rgba(12,18,34,.72);margin-top:4px}
    .probRow{display:flex; gap:8px; margin-top:10px}
    .prob{
      flex:1;
      border-radius:14px;
      padding:8px 10px;
      border:1px solid rgba(15,23,42,.10);
      background:rgba(255,255,255,.65);
      font-size:12px;
      display:flex; justify-content:space-between; align-items:center;
      font-weight:850;
    }
    .prob span{color:rgba(12,18,34,.70); font-weight:800}
    .pFooter{margin-top:10px; display:flex; justify-content:space-between; align-items:center; gap:10px}
    .softBtn{
      border:none; cursor:pointer;
      padding:9px 10px;
      border-radius:14px;
      font-weight:900;
      font-size:12px;
      color:#fff;
      background:linear-gradient(135deg, var(--blue), var(--cyan));
      box-shadow: 0 12px 24px rgba(43,108,255,.25);
      transition:.2s ease;
      white-space:nowrap;
    }
    .softBtn:hover{transform:translateY(-1px); filter:saturate(1.05)}
    .ghostBtn{
      border:1px solid rgba(15,23,42,.12);
      background:rgba(255,255,255,.75);
      padding:9px 10px;
      border-radius:14px;
      font-weight:900;
      font-size:12px;
      cursor:pointer;
      transition:.2s ease;
      white-space:nowrap;
    }
    .ghostBtn:hover{transform:translateY(-1px); background:rgba(43,108,255,.07); border-color:rgba(43,108,255,.18)}
    .broadcast{
      margin-top:10px;
      font-size:12px;
      color:rgba(12,18,34,.74);
      font-weight:800;
    }
    .broadcast b{
      color:rgba(43,108,255,.95);
      font-weight:950;
    }

    /* League + match list */
    .board{
      margin-top:12px;
      border-radius:18px;
      overflow:auto;
      max-height: calc(100vh - 96px);
      -webkit-overflow-scrolling: touch;
      border:1px solid rgba(15,23,42,.10);
      background:rgba(255,255,255,.82);
      box-shadow: var(--shadow2);
    }
    .leagueHead{
      display:flex; align-items:center; justify-content:space-between; gap:10px;
      padding:10px 12px;
      background:linear-gradient(180deg, rgba(12,18,34,.84), rgba(12,18,34,.92));
      color:#fff;
      border-bottom:1px solid rgba(255,255,255,.08);
    }
    .leagueHead strong{font-size:13px}
    .leagueHead .mini{
      font-size:12px; color:rgba(255,255,255,.70); font-weight:750;
      display:flex; align-items:center; gap:10px;
    }
    .flag{
      width:18px;height:18px;border-radius:6px;
      background:linear-gradient(135deg, rgba(43,108,255,.8), rgba(0,183,255,.55));
      box-shadow: 0 8px 16px rgba(43,108,255,.18);
    }
    .standLink{
      font-weight:950;
      font-size:12px;
      padding:7px 10px;
      border-radius:12px;
      border:1px solid rgba(255,255,255,.16);
      background:rgba(255,255,255,.06);
      color:#fff;
      cursor:pointer;
      transition:.2s ease;
      white-space:nowrap;
    }
    .standLink:hover{transform:translateY(-1px); background:rgba(255,255,255,.10)}
    .colHead{
      display:grid;
      grid-template-columns: 26px 1.6fr 170px 110px 110px 70px;
      gap:10px;
      padding:10px 12px;
      border-bottom:1px solid rgba(15,23,42,.06);
      font-size:12px;
      font-weight:950;
      color:rgba(12,18,34,.70);
      background:rgba(15,23,42,.02);
    }
    .colHead .oddsHead{display:grid; grid-template-columns: repeat(3, 1fr); gap:8px}
    .colHead .oddsHead span{
      text-align:center;
      padding:6px 0;
      border-radius:12px;
      border:1px solid rgba(15,23,42,.10);
      background:rgba(255,255,255,.72);
    }

    .matchRow{
      display:grid;
      grid-template-columns: 26px minmax(0,1.6fr) minmax(0,170px) minmax(0,110px) minmax(0,110px) minmax(0,70px);
      gap:10px;
      align-items:center;
      padding:12px;
      border-bottom:1px solid rgba(15,23,42,.06);
    }

    .teams,.predCol,.goalsCol,.scoreCol{min-width:0}
    .predCol,.goalsCol,.scoreCol{word-break:break-word}
    .matchRow:hover{background:rgba(43,108,255,.045)}
    .star{
      width:26px;height:26px;border-radius:10px;
      display:grid;place-items:center;
      border:1px solid rgba(15,23,42,.10);
      background:rgba(255,255,255,.75);
      cursor:pointer;
      transition:.2s ease;
      font-size:14px;
    }
    .star:hover{transform:translateY(-1px)}
    .star.on{
      border-color:rgba(43,108,255,.28);
      background:rgba(43,108,255,.10);
      color:rgba(43,108,255,.95);
    }

    .teams{min-width:0}
    .teams .t1,.teams .t2{font-weight:900; font-size:13.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
    .teams .t2{color:rgba(12,18,34,.75); font-weight:850; margin-top:3px}
    .subLine{
      margin-top:6px;
      display:flex; align-items:center; gap:8px; flex-wrap:wrap;
      font-size:12px;
      color:rgba(12,18,34,.70);
      font-weight:850;
    }
    .pillStatus{
      padding:5px 8px; border-radius:999px; font-size:11px; font-weight:950;
      border:1px solid rgba(15,23,42,.10);
      background:rgba(15,23,42,.04);
    }
    .pillStatus.live{background:rgba(25,195,125,.12); border-color:rgba(25,195,125,.24); color:rgba(13,107,72,.95)}
    .pillStatus.fin{background:rgba(12,18,34,.06); border-color:rgba(12,18,34,.12); color:rgba(12,18,34,.72)}
    .pillStatus.up{background:rgba(255,176,32,.12); border-color:rgba(255,176,32,.26); color:rgba(149,82,0,.95)}

    .oddsGrid{
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap:8px;
    }
    .oddBox{
      border-radius:14px;
      padding:8px 10px;
      border:1px solid rgba(15,23,42,.10);
      background:rgba(255,255,255,.72);
      font-size:12px;
      font-weight:950;
      display:flex; justify-content:space-between; align-items:center;
      gap:8px;
      min-width:0;
    }
    .oddBox em{font-style:normal; color:rgba(12,18,34,.62); font-weight:900}

    .predCol{
      display:flex; align-items:center; gap:10px; justify-content:flex-start;
    }
    .predPick{
      width:40px;height:36px;border-radius:14px;
      display:grid;place-items:center;
      font-weight:950;
      border:1px solid rgba(15,23,42,.10);
      background:linear-gradient(135deg, rgba(12,18,34,.92), rgba(12,18,34,.82));
      color:#fff;
      flex:0 0 auto;
    }
    .predPct{
      font-size:12.5px;
      font-weight:950;
      color:rgba(12,18,34,.78);
    }

    .goalsCol{
      display:flex; justify-content:flex-start;
    }
    .gTag{
      font-size:12px;font-weight:950;
      padding:7px 10px;border-radius:999px;
      border:1px solid rgba(43,108,255,.20);
      background:rgba(43,108,255,.10);
      color:rgba(12,18,34,.74);
      white-space:nowrap;
    }

    .scoreCol{
      font-weight:950;
      font-size:12.5px;
      color:rgba(12,18,34,.80);
      text-align:center;
    }

    /* Sidebar */
    aside{position:sticky; top:86px}
    .sideCard{
      border-radius:18px;
      background:rgba(255,255,255,.86);
      border:1px solid rgba(15,23,42,.10);
      box-shadow: var(--shadow2);
      overflow:auto;
      max-height: calc(100vh - 96px);
      -webkit-overflow-scrolling: touch;
      margin-bottom:12px;
    }
    .sideTitle{
      padding:12px 12px;
      font-weight:950;
      border-bottom:1px solid rgba(15,23,42,.06);
      display:flex; justify-content:space-between; align-items:center;
    }
    .sideList a{
      display:flex; gap:10px; align-items:center;
      padding:11px 12px;
      border-bottom:1px solid rgba(15,23,42,.06);
      transition:.15s ease;
      font-size:13px;
    }
    .sideList a:hover{background:rgba(43,108,255,.07)}
    .bullet{
      width:8px;height:8px;border-radius:50%;
      background:linear-gradient(135deg, var(--blue), var(--cyan));
      box-shadow:0 0 0 4px rgba(43,108,255,.10);
      flex:0 0 auto;
    }
    .sideSmall{font-size:12px;color:rgba(12,18,34,.70); padding:10px 12px; line-height:1.6}
    .leagueItem{display:flex; align-items:center; justify-content:space-between; gap:10px}
    .leagueItem .left{display:flex; align-items:center; gap:10px}
    .tinyCount{
      font-size:11px;font-weight:950;
      padding:5px 8px;border-radius:999px;
      border:1px solid rgba(15,23,42,.10);
      background:rgba(15,23,42,.03);
      color:rgba(12,18,34,.70);
    }

    /* Footer */
    footer{
      margin-top:18px;
      background:linear-gradient(180deg, rgba(12,18,34,.94), rgba(7,10,18,.98));
      color:#fff;
      border-top:1px solid rgba(255,255,255,.08);
    }
    .footerGrid{
      padding:28px 0;
      display:grid;
      grid-template-columns: 1.1fr 1fr 1fr 1.2fr;
      gap:18px;
    }
    .footTitle{
      font-weight:950;
      letter-spacing:.6px;
      margin:0 0 10px 0;
      font-size:13px;
      color:rgba(255,255,255,.92);
      text-transform:uppercase;
    }
    .foot a{
      display:inline-flex;
      padding:7px 0;
      color:rgba(255,255,255,.78);
      font-size:13px;
      border-bottom:1px solid transparent;
      transition:.2s ease;
    }
    .foot a:hover{
      color:#fff;
      transform:translateX(2px);
      text-shadow: 0 10px 24px rgba(43,108,255,.25);
    }
    .contactBox{
      display:flex; flex-direction:column; gap:10px;
      color:rgba(255,255,255,.78);
      font-size:13px;
      line-height:1.6;
    }
    .socialRow{display:flex; gap:10px; margin-top:6px}
    .social{
      width:40px;height:40px;border-radius:14px;
      border:1px solid rgba(255,255,255,.14);
      background:rgba(255,255,255,.06);
      display:grid;place-items:center;
      cursor:pointer;
      transition:.2s ease;
    }
    .social:hover{transform:translateY(-2px); background:rgba(255,255,255,.10)}
    .footNote{
      border-top:1px solid rgba(255,255,255,.10);
      padding:14px 0;
      color:rgba(255,255,255,.62);
      font-size:12px;
      display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
    }

    /* Back to top */
    .toTop{
      position:fixed; right:16px; bottom:16px;
      width:52px; height:52px; border-radius:18px;
      border:none; cursor:pointer;
      background:linear-gradient(135deg, var(--blue), var(--cyan));
      box-shadow: 0 16px 30px rgba(43,108,255,.26);
      color:#fff;
      display:grid; place-items:center;
      transform: translateY(20px);
      opacity:0;
      pointer-events:none;
      transition:.22s ease;
      z-index:60;
    }
    .toTop.show{
      transform: translateY(0);
      opacity:1;
      pointer-events:auto;
    }

    /* Responsive */
    @media (max-width: 1020px){
      .layout{grid-template-columns: 1fr}
      aside{position:static}
      .rightbar{min-width:unset}
      .brand{min-width:unset}
      .searchBox{max-width:unset}
    }
    @media (max-width: 720px){
      .nav{flex-wrap:wrap}
      .burger{display:inline-flex}
      .menu{display:none}
      .brand{flex:1}
      .rightbar{display:none}
      .dropdowns{display:none}

/* Put the header right-panel items inside the mobile menu */
.mMenu .dropdowns{display:grid}
.mMenu .ddpanel{right:auto; top:auto}
.mMenu .search{justify-content:stretch}

/* Slightly smaller, cleaner typography on mobile */
body{font-size:13px}
.brand strong{font-size:15px}
.brand span{font-size:11px}
.heroStrip h1{font-size:16.5px}
.heroStrip p{font-size:12.2px}
.mMenuHead{padding:10px 12px;font-size:13px}
.mMenuGrid a{padding:10px 12px;font-size:13px}
      .colHead{display:none} /* mobile looks like screenshot (no column header row) */

      /* Match rows: compact, table-like, no overflow */
      .matchRow{
        padding:10px;
        gap:6px;
        grid-template-columns: 26px minmax(0,1fr) 60px 66px 48px 38px;
        align-items:center;
      }
      .teams .t1,.teams .t2{font-size:13px}
      .teams .t2{margin-top:2px}
      .subLine{margin-top:4px; font-size:11.5px; gap:6px}
      .pillStatus{display:none} /* screenshot-style: keep it clean */

      /* Odds: stacked pills (1X2) like the screenshot */
      .oddsGrid{grid-template-columns: 1fr; gap:6px; justify-items:center}
      .oddBox{
        width:56px;
        padding:6px 0;
        justify-content:center;
        border-radius:12px;
        font-size:12px;
      }
      .oddBox em{display:none}

      /* Prediction: small square + % on one line */
      .predCol{display:flex; align-items:center; gap:8px}
      .predPick{width:26px;height:26px;border-radius:10px;font-size:12px}
      .predPct{font-size:12.5px; font-weight:950}

      /* Goals: plain text (Ov2.5 / Un2.5) */
      .goalsCol{font-size:12.5px}
      .gTag{padding:0;border:0;background:transparent;font-weight:950}

      .scoreCol{font-size:12.5px;text-align:right}

      /* League header 'Standings' should feel like text */
      .standLink{
        padding:0;
        border:none;
        background:transparent;
        font-weight:950;
        opacity:.95;
      }

      .footerGrid{grid-template-columns: 1fr; padding:22px 0}
    }

    @media (max-width: 380px){
      .matchRow{
        padding:9px;
        gap:5px;
        grid-template-columns: 24px minmax(0,1fr) 54px 60px 42px 32px;
      }
      .oddBox{width:50px; padding:5px 0; font-size:11.5px}
      .predPick{width:24px;height:24px;border-radius:9px}
      .predPct{font-size:12px}
      .goalsCol{font-size:12px}
      .scoreCol{font-size:12px}
    }

  
    /* ====== Enhanced, more realistic toolbar styling (no layout change) ====== */
    .dateBar{
      position:relative;
      padding:14px;
      border-radius:22px;
      background:rgba(255,255,255,.88);
      backdrop-filter:saturate(140%) blur(10px);
      -webkit-backdrop-filter:saturate(140%) blur(10px);
      box-shadow: 0 18px 50px rgba(2,6,23,.08), 0 1px 0 rgba(255,255,255,.8) inset;
    }
    .dateBar::before{
      content:"";
      position:absolute;
      inset:0;
      border-radius:22px;
      pointer-events:none;
      border:1px solid rgba(43,108,255,.16);
      box-shadow: 0 0 0 1px rgba(15,23,42,.06) inset;
    }

    .dates{
      gap:10px;
      padding:2px 2px 8px;
      scroll-snap-type:x mandatory;
    }
    .dates > *{ scroll-snap-align:start; }

    .dateBtn{
      background:rgba(15,23,42,.92);
      color:#fff;
      border:1px solid rgba(255,255,255,.10);
      box-shadow: 0 10px 22px rgba(2,6,23,.18);
      padding:10px 14px;
      border-radius:14px;
      letter-spacing:.2px;
    }
    .dateBtn:hover{
      transform:translateY(-1px);
      filter:brightness(1.06);
    }
    .dateBtn.isToday{
      border-color:rgba(239,68,68,.35);
      box-shadow: 0 10px 22px rgba(2,6,23,.18), 0 0 0 3px rgba(239,68,68,.10);
    }
    .dateBtn.active{
      background:linear-gradient(135deg, rgba(43,108,255,.98), rgba(0,183,255,.72));
      border-color:rgba(255,255,255,.14);
      box-shadow: 0 12px 26px rgba(43,108,255,.22), 0 10px 22px rgba(2,6,23,.14);
      color:#fff;
    }
    .dateBtn.active.isToday{
      background:linear-gradient(135deg, rgba(239,68,68,.98), rgba(249,115,22,.78));
      box-shadow: 0 12px 26px rgba(239,68,68,.18), 0 10px 22px rgba(2,6,23,.14);
    }

    .scrollHint{
      height:8px;
      margin-top:10px;
      opacity:.7;
      background:
        linear-gradient(90deg, rgba(15,23,42,.10), rgba(43,108,255,.22), rgba(0,183,255,.14), rgba(15,23,42,.06));
    }

    .tabs{ gap:10px; }

    /* Status tabs (ALL/UPCOMING/LIVE/FINISHED) */
    .tabsStatus{
      margin-top:12px !important;
      padding:4px;
      border-radius:18px;
      background:rgba(15,23,42,.03);
      border:1px solid rgba(15,23,42,.08);
      box-shadow: 0 10px 26px rgba(2,6,23,.06);
    }
    .tabsStatus .tab{
      border-radius:16px;
      padding:12px 14px;
      font-size:12.8px;
      background:rgba(255,255,255,.78);
      border:1px solid rgba(15,23,42,.10);
      box-shadow: 0 8px 18px rgba(2,6,23,.06);
      transform:none;
    }
    .tabsStatus .tab::before{
      font-weight:900;
      opacity:.75;
    }
    .tabsStatus .tab[data-status="all"]::before{ content:"▦"; }
    .tabsStatus .tab[data-status="upcoming"]::before{ content:"◷"; }
    .tabsStatus .tab[data-status="live"]::before{ content:"●"; }
    .tabsStatus .tab[data-status="finished"]::before{ content:"✓"; }

    .tabsStatus .tab[data-status="live"]::before{ color:rgba(239,68,68,.9); }
    .tabsStatus .tab.active{
      background:linear-gradient(135deg, rgba(43,108,255,.22), rgba(0,183,255,.10));
      border-color:rgba(43,108,255,.32);
      box-shadow: 0 14px 30px rgba(43,108,255,.14), 0 8px 18px rgba(2,6,23,.06);
    }

    .chip{
      background:rgba(15,23,42,.06);
      border-color:rgba(15,23,42,.10);
      color:rgba(12,18,34,.80);
    }
    .tabsStatus .tab.active .chip{
      background:rgba(255,255,255,.70);
      border-color:rgba(43,108,255,.22);
    }

    /* Mode tabs (Pred 1X2, Double chance, etc.) */
    .tabsMode{
      margin-top:12px !important;
      gap:10px;
    }
    .tabsMode .tab{
      border-radius:999px;
      padding:11px 16px;
      background:rgba(15,23,42,.92);
      color:#fff;
      border:1px solid rgba(255,255,255,.10);
      box-shadow: 0 10px 22px rgba(2,6,23,.16);
      transform:none;
    }
    .tabsMode .tab:hover{ filter:brightness(1.06); }
    .tabsMode .tab.active{
      background:linear-gradient(135deg, rgba(43,108,255,.98), rgba(0,183,255,.78));
      border-color:rgba(255,255,255,.14);
      box-shadow: 0 12px 28px rgba(43,108,255,.20), 0 10px 22px rgba(2,6,23,.14);
    }

    /* Mobile: keep everything neat and scrollable (no overflow) */
    @media (max-width: 760px){
      .dates{ padding-bottom:10px; }
      .tabs{
        flex-wrap:nowrap !important;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        padding-bottom:8px;
      }
      .tabs::-webkit-scrollbar{ display:none; }
      .tab{ white-space:nowrap; flex:0 0 auto; }
      .tabsStatus{ padding:6px; }
      .tabsStatus .tab{ min-height:44px; }
    }


/* ====== Size tune: smaller pills & text (requested) ====== */
.dateBar{ padding:12px; border-radius:20px; }
.dates{ gap:8px; }
.dateBtn{ padding:8px 12px; border-radius:13px; font-size:12px; }
.tabs{ gap:8px; }
.tabsStatus{ padding:3px; border-radius:16px; }
.tabsStatus .tab{ padding:10px 12px; font-size:12.2px; border-radius:14px; }
.tabsStatus .tab::before{ font-size:12px; }
.chip{ font-size:10.5px; padding:3px 7px; }

.tabsMode{ margin-top:10px !important; gap:8px; }
.tabsMode .tab{ padding:10px 14px; font-size:12.4px; }

@media (max-width: 760px){
  .dateBar{ padding:10px; border-radius:18px; }
  .dateBtn{ padding:7px 10px; font-size:11.5px; border-radius:12px; }
  .tabsStatus .tab{ padding:9px 10px; font-size:11.5px; border-radius:13px; }
  .tabsMode .tab{ padding:9px 12px; font-size:11.8px; }
  .chip{ font-size:10px; padding:3px 6px; }
}


/* --- Blog / Latest News block --- */
.blogBlock{padding:22px 0 6px}
.blogHead{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 14px}
.blogBadge{
  width:40px;height:40px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#4f7cff,#7b44ff);
  box-shadow:0 10px 24px rgba(23,36,61,.18), inset 0 1px 0 rgba(255,255,255,.35);
  border:1px solid rgba(255,255,255,.55);
}
.blogBadge svg{width:18px;height:18px;fill:#fff;filter:drop-shadow(0 2px 6px rgba(0,0,0,.25))}
.blogTitle{font-size:18px;font-weight:950;letter-spacing:.02em;color:var(--ink);text-transform:uppercase}
.blogGrid{
  display:grid;gap:14px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
}
.blogCard{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 14px 12px;
  box-shadow:0 10px 30px rgba(20,32,55,.08);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  min-height:94px;
}
.blogCard:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(20,32,55,.12);border-color:rgba(79,124,255,.35)}
.blogCard a{color:inherit;text-decoration:none;display:block}
.blogCard h3{margin:0 0 10px;font-size:15px;line-height:1.28;font-weight:900}
.blogMeta{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}
.blogDot{width:6px;height:6px;border-radius:999px;background:rgba(79,124,255,.8)}
@media (max-width:900px){
  .blogTitle{font-size:16px}
  .blogGrid{grid-template-columns:1fr}
  .blogCard{min-height:auto}
}



/* --- Article / SEO block --- */
.articleBlock{padding:10px 0 28px}
.articleCard{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.articleTop{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:10px}
.articlePill{
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  padding:6px 10px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,var(--primary),#8ab3ff);
  box-shadow:0 10px 20px rgba(43,108,255,.25);
}
.articleMeta{font-size:12px;color:var(--muted)}
.articleTitle{margin:10px 0 10px;font-size:22px;line-height:1.25;letter-spacing:-.02em;color:var(--ink)}
.articleCard h3{margin-top:14px;font-size:15.5px;color:var(--ink)}
.articleCard p{margin:8px 0;color:#27324a;line-height:1.8;font-size:14px}
.articleNote{
  margin-top:10px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  color:var(--muted);
}
@media (max-width: 760px){
  .articleCard{padding:14px;border-radius:16px}
  .articleTitle{font-size:18px}
  .articleCard p{font-size:13.4px}
}


/* =========================================================
   FIX: Smaller match-table typography on desktop
   + Better top-ribbon link layout on mobile
   ========================================================= */

/* 1) Desktop/tablet: reduce match table content size a bit */
@media (min-width: 721px){
  .colHead{ font-size:11px; }
  .matchRow{ padding:10px 12px; gap:8px; }
  .star{ width:24px; height:24px; border-radius:9px; font-size:13px; }

  .teams .t1,.teams .t2{ font-size:12.5px; }
  .teams .t2{ margin-top:2px; }
  .subLine{ margin-top:4px; font-size:11px; gap:6px; }

  .oddBox{ font-size:11px; padding:7px 9px; border-radius:13px; }
  .predPick{ width:40px; height:36px; border-radius:12px; font-size:12px; }
  .predPct{ font-size:11.5px; }
  .gTag{ font-size:11px; padding:6px 9px; }
  .scoreCol{ font-size:11.5px; }
}

/* 2) Mobile: keep the top ribbon links neatly aligned (2x2 grid) */
@media (max-width: 720px){
  .ribbon .inner{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
  .ribbon .pill{ width:100%; }
  .ribbon .links{
    width:100%;
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:8px;
    justify-content:unset;
  }
  .ribbon .links a{
    text-align:center;
    padding:8px 10px;
    border-color:rgba(43,108,255,.18);
    background:rgba(255,255,255,.65);
  }
}
/* ===== Color balance patch (reduces blue dominance) ===== */

/* Softer background glow */
body{
  background:
    radial-gradient(1200px 500px at 18% -10%, rgba(47,91,255,.08), transparent 60%),
    radial-gradient(900px 450px at 90% 10%, rgba(18,181,166,.07), transparent 55%),
    var(--bg);
}

/* Make blue hover states neutral (clean) */
.matchRow:hover{ background: rgba(15,23,42,.03); }
.sideList a:hover{ background: rgba(15,23,42,.03); }
.ddpanel a:hover{ background: rgba(15,23,42,.04); }

/* Chips + goal tags become “soft neutral” instead of blue blocks */
.chip{
  background:rgba(15,23,42,.06);
  border-color:rgba(15,23,42,.10);
  color:rgba(12,18,34,.80);
}
.gTag{
  border-color:rgba(15,23,42,.12);
  background:rgba(15,23,42,.06);
  color:rgba(12,18,34,.74);
}

/* Bullets: use teal accent (meaningful + not over-blue) */
.bullet{
  background:linear-gradient(135deg, var(--cyan), rgba(47,91,255,.70));
  box-shadow:0 0 0 4px rgba(18,181,166,.12);
}

/* Primary buttons keep gradient but calmer glow */
.softBtn, .toTop{
  background:linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 28px rgba(47,91,255,.18);
}

/* Active tabs: still special, but not screaming */
.tab.active{
  background:linear-gradient(135deg, rgba(47,91,255,.16), rgba(18,181,166,.10));
  border-color:rgba(47,91,255,.22);
}
.menu a.active{
  background:linear-gradient(135deg, rgba(47,91,255,.26), rgba(18,181,166,.12));
  border-color:rgba(47,91,255,.30);
}
