:root{
      --bg:#0b0b0f;
      --panel: rgba(255,255,255,.03);
      --panel2: rgba(255,255,255,.045);
      --line: rgba(255,255,255,.10);
      --line2: rgba(255,255,255,.16);
      --text: rgba(255,255,255,.92);
      --muted: rgba(255,255,255,.66);
      --gold:#f4c24f;
      --goldBg: rgba(244,194,79,.10);
      --blue:#6aa9ff;
      --green:#2fe39b;
      --red:#ff5a5f;
      --radius: 14px;
      --shadow: 0 14px 38px rgba(0,0,0,.34);
    }
    
    [data-theme="light"]{
      --bg:#ffffff;
      --panel: rgba(0,0,0,.03);
      --panel2: rgba(0,0,0,.045);
      --line: rgba(0,0,0,.12);
      --line2: rgba(0,0,0,.18);
      --text: rgba(0,0,0,.92);
      --muted: rgba(0,0,0,.60);
      --gold:#d4a73b;
      --goldBg: rgba(212,167,59,.12);
      --blue:#4a89df;
      --green:#22b87a;
      --red:#e63946;
      --shadow: 0 14px 38px rgba(0,0,0,.12);
    }
    *{box-sizing:border-box}
    body{
      margin:0;
      font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      color: var(--text);
      background: var(--bg);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      transition: background-color .3s ease, color .3s ease;
      position: relative;
    }
    
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background:
        radial-gradient(900px 500px at 18% 12%, rgba(244,194,79,.07), transparent 60%),
        radial-gradient(900px 500px at 85% 22%, rgba(106,169,255,.07), transparent 60%);
      pointer-events: none;
      z-index: 0;
    }
    
    [data-theme="light"] body::before {
      background:
        radial-gradient(900px 500px at 18% 12%, rgba(212,167,59,.08), transparent 60%),
        radial-gradient(900px 500px at 85% 22%, rgba(74,137,223,.08), transparent 60%);
    }
    
    .container {
      position: relative;
      z-index: 1;
    }
    .container{width:min(1280px, 92vw); margin:0 auto;}
    
    /* HEADER */
    .site-header {
      border-bottom: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
      backdrop-filter: blur(20px);
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 4px 20px rgba(0,0,0,.2);
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 0;
      gap: 20px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--text);
      transition: transform .2s ease;
    }
    .logo:hover {
      transform: translateY(-1px);
    }
    .logo-icon {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: linear-gradient(135deg, var(--gold), #e8a832);
      display: grid;
      place-items: center;
      font-size: 22px;
      box-shadow: 0 4px 12px rgba(244,194,79,.25);
    }
    .logo-text h1 {
      margin: 0;
      font-size: 18px;
      font-weight: 900;
      letter-spacing: -.02em;
    }
    .logo-text p {
      margin: 2px 0 0;
      font-size: 11px;
      color: var(--muted);
      font-weight: 600;
    }
    
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .nav-link {
      padding: 9px 16px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 800;
      color: var(--muted);
      text-decoration: none;
      transition: all .2s ease;
      border: 1px solid transparent;
    }
    .nav-link:hover {
      color: var(--text);
      background: rgba(255,255,255,.04);
      border-color: var(--line);
    }
    .nav-link.active {
      color: var(--gold);
      background: var(--goldBg);
      border-color: rgba(244,194,79,.45);
    }
    
    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .theme-toggle {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.02);
      display: grid;
      place-items: center;
      cursor: pointer;
      font-size: 18px;
      transition: all .2s ease;
      user-select: none;
    }
    [data-theme="light"] .theme-toggle {
      background: rgba(0,0,0,.02);
    }
    .theme-toggle:hover {
      background: rgba(255,255,255,.05);
      border-color: var(--line2);
      transform: rotate(15deg);
    }
    [data-theme="light"] .theme-toggle:hover {
      background: rgba(0,0,0,.05);
    }
    .theme-icon-dark { display: none; }
    .theme-icon-light { display: block; }
    [data-theme="light"] .theme-icon-dark { display: block; }
    [data-theme="light"] .theme-icon-light { display: none; }
    .menu-toggle {
      display: none;
      width: 40px;
      height: 40px;
      border-radius: 12px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.02);
      cursor: pointer;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
    }
    .menu-toggle span {
      width: 18px;
      height: 2px;
      background: var(--text);
      border-radius: 2px;
      transition: all .3s ease;
    }
    
    .page-wrap{
      padding:20px 0 30px;
      flex: 1;
      position: relative;
      z-index: 1;
    }
    .layout{
      display:grid;
      grid-template-columns: 240px 1fr 270px;
      gap:10px;
      align-items:start;
    }

    /* Panels */
    .panel{
      border:1px solid var(--line);
      border-radius: var(--radius);
      background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
      box-shadow: var(--shadow);
      overflow:hidden;
      min-width:0;
    }
    .panel .hd{
      padding:10px 12px;
      border-bottom:1px solid var(--line);
      display:flex; align-items:center; justify-content:space-between; gap:10px;
      background: rgba(255,255,255,.02);
    }
    .panel .hd h2, .panel .hd h3{
      margin:0;
      font-size:12px;
      font-weight:1000;
      letter-spacing:.02em;
    }
    .panel .hd .mini{color:var(--muted);font-size:11px;font-weight:900;}
    .panel .bd{padding:10px 12px;}

    /* Left Countries */
    .country-list{display:flex; flex-direction:column; gap:8px;}
    .country-item{
      display:flex; align-items:center; justify-content:space-between; gap:10px;
      padding:9px 10px;
      border:1px solid var(--line);
      border-radius: 12px;
      background: rgba(255,255,255,.02);
      cursor:pointer;
      user-select:none;
      min-width:0;
      transition: border-color .12s ease, background .12s ease, transform .08s ease;
    }
    .country-item:hover{border-color: var(--line2); background: rgba(255,255,255,.04); transform: translateY(-1px);}
    .country-item.active{border-color: rgba(244,194,79,.45); background: rgba(244,194,79,.10);}
    .c-left{display:flex; align-items:center; gap:10px; min-width:0;}
    .flag{
      width:30px;height:30px;border-radius:11px;
      display:grid;place-items:center;
      border:1px solid var(--line);
      background: rgba(255,255,255,.03);
      font-size:14px;
      flex:0 0 auto;
    }
    .c-name{
      font-weight:1000;
      font-size:12px;
      white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
      max-width: 135px;
    }
    .c-count{color:var(--muted);font-weight:1000;font-size:12px;white-space:nowrap;}

    /* Center header tools */
    .topbar{
      padding:10px 12px;
      border-bottom:1px solid var(--line);
      display:flex; gap:10px; align-items:flex-start; justify-content:space-between; flex-wrap:wrap;
      background: rgba(255,255,255,.015);
    }
    .titlewrap{min-width:240px; flex: 1 1 320px; min-width:0;}
    .titlewrap h1{margin:0; font-size:16px; font-weight:1000;}
    .titlewrap p{
      margin:6px 0 0;
      font-size:12px;
      color:var(--muted);
      line-height:1.45;
      white-space:normal;
      word-break:break-word;
    }

    .tools{
      display:flex; gap:8px; align-items:center; flex-wrap:wrap;
      justify-content:flex-end;
      flex:0 0 auto;
    }
    .search{
      display:flex; align-items:center; gap:8px;
      border:1px solid var(--line);
      background: rgba(255,255,255,.02);
      border-radius:999px;
      padding:8px 11px;
      min-width: 260px;
      flex: 1 1 260px;
    }
    .search input{
      width:100%;
      background:transparent; border:0; outline:none;
      color:var(--text); font-weight:800; font-size:12px;
    }

    .btn{
      border:1px solid var(--line);
      background: rgba(255,255,255,.02);
      color: var(--text);
      padding:8px 10px;
      border-radius: 999px;
      font-weight:1000;
      font-size:11px;
      cursor:pointer;
      user-select:none;
      display:inline-flex; align-items:center; gap:8px;
      white-space:nowrap;
      transition: all .2s ease;
    }
    .btn:hover {
      background: rgba(255,255,255,.05);
      border-color: var(--line2);
      transform: translateY(-1px);
    }
    .btn.active{border-color: rgba(244,194,79,.45); background: rgba(244,194,79,.10); color: var(--gold);}

    /* Date */
    .date-pill{
      border:1px solid var(--line);
      background: linear-gradient(135deg, rgba(106,169,255,.08), rgba(106,169,255,.03));
      border-radius:999px;
      padding:8px 14px;
      display:flex; align-items:center; gap:10px;
      font-weight:900;
      font-size:12px;
      user-select:none;
      cursor:pointer;
      white-space:nowrap;
      transition: all .2s ease;
      position: relative;
    }
    [data-theme="light"] .date-pill {
      background: linear-gradient(135deg, rgba(74,137,223,.10), rgba(74,137,223,.04));
    }
    .date-pill:hover {
      background: linear-gradient(135deg, rgba(106,169,255,.14), rgba(106,169,255,.06));
      border-color: rgba(106,169,255,.3);
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(106,169,255,.15);
    }
    [data-theme="light"] .date-pill:hover {
      background: linear-gradient(135deg, rgba(74,137,223,.16), rgba(74,137,223,.08));
      box-shadow: 0 4px 12px rgba(74,137,223,.12);
    }
    .date-pill-icon {
      font-size: 16px;
      filter: drop-shadow(0 2px 4px rgba(106,169,255,.3));
    }
    .date-pill-label {
      font-weight: 900;
      letter-spacing: 0.01em;
    }
    .date-pill-arrow {
      opacity: .7;
      margin-left: 2px;
    }

    /* 7-day tabs - REMOVED */

    /* League blocks */
    .league-block{border-top:1px solid var(--line);}
    .league-hd{
      padding:10px 12px;
      display:flex; align-items:center; justify-content:space-between; gap:10px;
      background: rgba(255,255,255,.012);
    }
    .lh-left{display:flex; align-items:center; gap:10px; min-width:0;}
    .lh-text{min-width:0;}
    .lh-text .name{
      font-weight:1000;
      font-size:12px;
      white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
      max-width: 560px;
    }
    .lh-text .sub{
      margin-top:2px;
      font-size:11px;
      color:var(--muted);
      font-weight:900;
    }

    .lh-right{display:flex; align-items:center; gap:10px; flex:0 0 auto;}
    .caret{
      width:34px;height:34px;border-radius:12px;
      border:1px solid var(--line);
      background: rgba(255,255,255,.02);
      display:grid;place-items:center;
      cursor:pointer;
      user-select:none;
      transition: all .2s ease;
    }
    .caret:hover {
      background: rgba(255,255,255,.05);
      border-color: var(--line2);
    }

    /* Table header per league (professional) */
    .table-head{
      padding:8px 12px;
      border-top:1px solid var(--line);
      border-bottom:1px solid var(--line);
      background: rgba(255,255,255,.02);
      display:grid;
      grid-template-columns: 76px 1fr 40px 64px 64px 64px 76px;
      gap:8px;
      align-items:center;
      font-size:11px;
      font-weight:1000;
      color: var(--muted);
    }
    .table-head .center{text-align:center;}
    .table-head .right{text-align:right;}

    /* Match rows */
    .matches{padding:0 0 6px;}
    .match-row{
      padding:10px 12px;
      display:grid;
      grid-template-columns: 76px 1fr 40px 64px 64px 64px 76px;
      gap:8px;
      align-items:center;
      border-bottom:1px solid rgba(255,255,255,.06);
      min-width:0;
      background: rgba(255,255,255,.00);
      transition: background .2s ease;
    }
    .match-row:nth-child(2n){background: rgba(255,255,255,.012);}
    .match-row:hover{background: rgba(255,255,255,.028);}
    .time{
      color:var(--muted);
      font-weight:1000;
      font-size:11px;
      white-space:nowrap;
      display:flex; align-items:center; gap:8px;
    }
    .liveDot{width:6px;height:6px;border-radius:999px;background:var(--red);box-shadow:0 0 0 6px rgba(255,90,95,.12);}
    .teams{min-width:0;}
    .home, .away{
      font-weight:1000;
      font-size:12.5px;
      line-height:1.15;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
      max-width:100%;
    }
    .away{color:var(--muted); font-weight:900; margin-top:4px;}

    .star{
      width:30px;height:30px;border-radius:12px;
      border:1px solid var(--line);
      background: rgba(255,255,255,.02);
      display:grid;place-items:center;
      cursor:pointer;
      user-select:none;
      color: rgba(255,255,255,.55);
      font-size:12px;
      justify-self:center;
      transition: all .2s ease;
    }
    .star:hover {
      background: rgba(255,255,255,.05);
      border-color: var(--line2);
    }
    .star.active{color:var(--gold); border-color: rgba(244,194,79,.45); background: rgba(244,194,79,.09);}

    .odd{
      height:34px;
      border:1px solid var(--line);
      background: rgba(255,255,255,.02);
      border-radius:10px;
      display:grid;
      place-items:center;
      text-align:center;
      font-weight:1000;
      font-size:12px;
      padding:0 6px;
      transition: all .2s ease;
    }
    .odd:hover {
      background: rgba(255,255,255,.05);
      border-color: var(--line2);
    }
    .odd.best{
      border-color: rgba(244,194,79,.45);
      background: var(--goldBg);
      box-shadow: inset 0 0 0 1px rgba(244,194,79,.10);
    }

    .status{
      justify-self:end;
      display:inline-flex; align-items:center; gap:7px;
      padding:7px 10px;
      border-radius:999px;
      border:1px solid var(--line);
      background: rgba(255,255,255,.02);
      font-size:10px;
      font-weight:1000;
      color: var(--muted);
      white-space:nowrap;
    }
    .status.live{border-color: rgba(255,90,95,.45); background: rgba(255,90,95,.12); color: rgba(255,255,255,.92);}
    .status.ft{border-color: rgba(47,227,155,.35); background: rgba(47,227,155,.10); color: rgba(255,255,255,.92);}

    /* Right panel */
    .seg{
      display:flex; gap:8px; flex-wrap:wrap;
    }
    .chip{
      border:1px solid var(--line);
      background: rgba(255,255,255,.02);
      padding:7px 10px;
      border-radius:999px;
      font-size:11px;
      font-weight:1000;
      cursor:pointer;
      user-select:none;
      white-space:nowrap;
      display:inline-flex; align-items:center; gap:8px;
      transition: all .2s ease;
    }
    .chip:hover {
      background: rgba(255,255,255,.05);
      border-color: var(--line2);
    }
    .chip.active{border-color: rgba(244,194,79,.45); background: rgba(244,194,79,.10); color: var(--gold);}
    .box{
      border:1px solid var(--line);
      background: rgba(255,255,255,.02);
      border-radius:12px;
      overflow:hidden;
    }
    .box .bh{
      padding:9px 10px;
      border-bottom:1px solid var(--line);
      display:flex; align-items:center; justify-content:space-between; gap:10px;
      color: var(--muted);
      font-size:11px;
      font-weight:1000;
    }
    .box .bb{padding:10px;}
    .hotlist{display:flex; flex-direction:column; gap:8px;}
    .hotitem{
      border:1px solid var(--line);
      background: rgba(255,255,255,.02);
      border-radius:12px;
      padding:9px 10px;
      display:flex; align-items:center; justify-content:space-between; gap:10px;
      cursor:pointer; user-select:none;
      min-width:0;
      transition: all .2s ease;
    }
    .hotitem:hover{border-color: var(--line2); background: rgba(255,255,255,.04); transform: translateY(-1px);}
    .hotitem .t{
      font-weight:1000;
      font-size:11px;
      white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
      max-width: 170px;
    }
    .hotitem .s{
      margin-top:2px;
      color:var(--muted);
      font-size:11px;
      font-weight:900;
    }
    .badge{
      width:34px;height:34px;border-radius:999px;
      border:1px solid rgba(244,194,79,.50);
      background: rgba(244,194,79,.14);
      display:grid;place-items:center;
      font-weight:1000;color:var(--gold);
      font-size:12px;
      flex:0 0 auto;
    }

    /* FOOTER */
    .site-footer {
      margin-top: 60px;
      border-top: 1px solid var(--line);
      background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
      position: relative;
      z-index: 1;
    }
    [data-theme="light"] .site-footer {
      background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.00));
    }
    
    /* SEO CONTENT SECTION - LANDING PAGE STYLE */
    .seo-content-section {
      margin-top: 60px;
      padding: 50px 0;
      background: transparent;
      border-top: 1px solid var(--line);
      position: relative;
      z-index: 1;
    }
    
    .seo-article-main {
      max-width: 1000px;
      margin: 0 auto;
    }
    
    .seo-article-main .seo-article-header {
      margin-bottom: 30px;
      text-align: center;
    }
    
    .seo-article-main h2 {
      margin: 0;
      font-size: 32px;
      font-weight: 900;
      letter-spacing: -.03em;
      line-height: 1.2;
      color: var(--text);
    }
    
    .seo-article-content {
      padding-top: 0;
    }
    
    .lead-paragraph {
      font-size: 16px;
      line-height: 1.7;
      color: var(--muted);
      margin: 0 0 25px;
      font-weight: 400;
    }
    
    .seo-article-content h3 {
      margin: 35px 0 15px;
      font-size: 22px;
      font-weight: 800;
      line-height: 1.3;
      letter-spacing: -.02em;
      color: var(--text);
    }
    
    .seo-article-content h4 {
      margin: 25px 0 12px;
      font-size: 18px;
      font-weight: 700;
      line-height: 1.4;
      color: var(--text);
    }
    
    .seo-article-content p {
      font-size: 15px;
      line-height: 1.7;
      color: var(--muted);
      margin: 0 0 16px;
      font-weight: 400;
    }
    
    .seo-article-content strong {
      color: var(--text);
      font-weight: 700;
    }
    
    .content-list {
      margin: 16px 0;
      padding-left: 25px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    .content-list li {
      font-size: 15px;
      line-height: 1.6;
      color: var(--muted);
    }
    
    .content-list li strong {
      color: var(--text);
    }
    
    .cta-box {
      margin-top: 40px;
      padding: 24px;
      border-radius: 14px;
      background: linear-gradient(135deg, rgba(244,194,79,.10), rgba(106,169,255,.10));
      border: 1px solid rgba(244,194,79,.25);
    }
    
    [data-theme="light"] .cta-box {
      background: linear-gradient(135deg, rgba(212,167,59,.12), rgba(74,137,223,.12));
      border-color: rgba(212,167,59,.3);
    }
    
    .cta-box h4 {
      margin: 0 0 10px;
      font-size: 20px;
      font-weight: 800;
      color: var(--text);
    }
    
    .cta-box p {
      margin: 0;
      font-size: 15px;
      line-height: 1.6;
      color: var(--text);
      font-weight: 500;
    }
    
    @media (max-width: 820px) {
      .seo-article-main h2 {
        font-size: 26px;
      }
      .seo-article-content h3 {
        font-size: 20px;
      }
      .seo-article-content h4 {
        font-size: 17px;
      }
      .lead-paragraph {
        font-size: 15px;
      }
      .seo-article-content p {
        font-size: 14px;
      }
      .content-list li {
        font-size: 14px;
      }
    }
    .footer-inner {
      padding: 40px 0 24px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 30px;
      margin-bottom: 32px;
    }
    .footer-col h4 {
      margin: 0 0 16px;
      font-size: 13px;
      font-weight: 900;
      letter-spacing: .02em;
      color: var(--text);
    }
    .footer-col p {
      margin: 0 0 14px;
      font-size: 12px;
      line-height: 1.6;
      color: var(--muted);
    }
    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-links a {
      font-size: 12px;
      font-weight: 600;
      color: var(--muted);
      text-decoration: none;
      transition: color .2s ease;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .footer-links a:hover {
      color: var(--gold);
    }
    .social-links {
      display: flex;
      gap: 10px;
      margin-top: 16px;
    }
    .social-link {
      width: 38px;
      height: 38px;
      border-radius: 11px;
      border: 1px solid var(--line);
      background: rgba(255,255,255,.02);
      display: grid;
      place-items: center;
      text-decoration: none;
      font-size: 16px;
      transition: all .2s ease;
    }
    .social-link:hover {
      background: rgba(255,255,255,.05);
      border-color: var(--line2);
      transform: translateY(-2px);
    }
    .footer-bottom {
      padding: 20px 0;
      border-top: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }
    .footer-bottom p {
      margin: 0;
      font-size: 11px;
      color: var(--muted);
      font-weight: 600;
    }
    .footer-meta {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }
    .footer-meta a {
      font-size: 11px;
      color: var(--muted);
      text-decoration: none;
      font-weight: 700;
      transition: color .2s ease;
    }
    .footer-meta a:hover {
      color: var(--text);
    }

    /* Mobile */
    @media (max-width: 1040px){
      .layout{grid-template-columns:1fr; gap:10px;}
      .footer-grid {
        grid-template-columns: 1fr 1fr;
      }
      
      /* Hide Countries sidebar on tablet */
      .layout > aside:first-child {
        display: none;
      }
    }
    @media (max-width: 820px){
      .header-inner {
        position: relative;
      }
      .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: -4vw;
        right: -4vw;
        background: var(--bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--line);
        gap: 8px;
        box-shadow: 0 8px 24px rgba(0,0,0,.3);
        z-index: 999;
      }
      [data-theme="light"] .nav-menu {
        background: rgba(255,255,255,.98);
        box-shadow: 0 8px 24px rgba(0,0,0,.1);
      }
      .nav-menu.active {
        display: flex;
      }
      .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        font-size: 14px;
        background: rgba(255,255,255,.02);
      }
      [data-theme="light"] .nav-link {
        background: rgba(0,0,0,.02);
      }
      .nav-link:hover {
        background: rgba(255,255,255,.06);
      }
      [data-theme="light"] .nav-link:hover {
        background: rgba(0,0,0,.04);
      }
      .menu-toggle {
        display: flex;
      }
      .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }
      .menu-toggle.active span:nth-child(2) {
        opacity: 0;
      }
      .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
      }
      .tools{width:100%;}
      .search{min-width:100%; flex:1 1 100%;}
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .footer-bottom {
        flex-direction: column;
        text-align: center;
      }
      
      /* MOBILE DRAWER - Countries Sidebar */
      .layout > aside:first-child {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        z-index: 2000;
        background: var(--bg);
        box-shadow: 4px 0 24px rgba(0,0,0,.3);
        transition: left .3s ease;
        overflow-y: auto;
        border-right: 1px solid var(--line);
      }
      
      [data-theme="light"] .layout > aside:first-child {
        background: var(--bg);
        box-shadow: 4px 0 24px rgba(0,0,0,.15);
      }
      
      .layout > aside:first-child.drawer-open {
        left: 0;
      }
      
      /* Drawer overlay */
      .drawer-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,.5);
        z-index: 1999;
        transition: opacity .3s ease;
      }
      
      .drawer-overlay.active {
        display: block;
      }
      
      [data-theme="light"] .drawer-overlay {
        background: rgba(0,0,0,.3);
      }
      
      /* Filter button - add to topbar */
      .filter-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        border: 1px solid var(--line);
        background: rgba(255,255,255,.02);
        color: var(--text);
        border-radius: 999px;
        font-weight: 900;
        font-size: 11px;
        cursor: pointer;
        user-select: none;
        transition: all .2s ease;
      }
      
      [data-theme="light"] .filter-btn {
        background: rgba(0,0,0,.02);
      }
      
      .filter-btn:hover {
        background: rgba(255,255,255,.05);
        border-color: var(--line2);
        transform: translateY(-1px);
      }
      
      [data-theme="light"] .filter-btn:hover {
        background: rgba(0,0,0,.05);
      }
      
      .filter-btn.active {
        border-color: rgba(244,194,79,.45);
        background: rgba(244,194,79,.10);
        color: var(--gold);
      }
      
      /* Drawer close button */
      .drawer-close {
        position: sticky;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        z-index: 10;
      }
      
      .drawer-close-title {
        font-weight: 900;
        font-size: 14px;
        color: var(--text);
      }
      
      .drawer-close-btn {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        border: 1px solid var(--line);
        background: rgba(255,255,255,.02);
        display: grid;
        place-items: center;
        cursor: pointer;
        font-size: 18px;
        transition: all .2s ease;
        color: var(--text);
      }
      
      [data-theme="light"] .drawer-close-btn {
        background: rgba(0,0,0,.02);
      }
      
      .drawer-close-btn:hover {
        background: rgba(255,255,255,.05);
        border-color: var(--line2);
        transform: rotate(90deg);
      }
      
      [data-theme="light"] .drawer-close-btn:hover {
        background: rgba(0,0,0,.05);
      }
      
      /* MOBILE: Keep desktop match card layout - RESPONSIVE FIT */
      
      /* Adjust table header to fit mobile screens */
      .table-head {
        display: grid;
        grid-template-columns: 50px 1fr 32px 48px 48px 48px 56px;
        gap: 4px;
        padding: 8px 8px;
        font-size: 10px;
      }
      
      /* Adjust match row to fit mobile screens */
      .match-row {
        display: grid;
        grid-template-columns: 50px 1fr 32px 48px 48px 48px 56px;
        gap: 4px;
        padding: 10px 8px;
      }
      
      /* Adjust element sizes for mobile */
      .time {
        font-size: 10px;
      }
      
      .teams {
        min-width: 0;
      }
      
      .home, .away {
        font-size: 11px;
      }
      
      .star {
        width: 28px;
        height: 28px;
        font-size: 11px;
      }
      
      .odd {
        height: 30px;
        font-size: 11px;
        padding: 0 4px;
      }
      
      .status {
        padding: 6px 8px;
        font-size: 9px;
      }
      
      /* Hide mobile helper divs since we're keeping desktop layout */
      .match-top,
      .match-mid,
      .odds3 {
        display: none !important;
      }
    }