
:root{
  --text:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;
  --bg:#f5f6f8;
  --red:#f11224;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  width:100%;
  overflow-x:clip;
  font-family:Inter,Arial,sans-serif;
  background:var(--green-dark);
  color:var(--text);
  scroll-padding-top:110px;
  max-width:100% !important;
}

body{
  padding-bottom:58px;
}

a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button{font-family:inherit}

/* HEADER */
.cf-header{
  background:linear-gradient(180deg,var(--green),var(--green-dark));
  color:#fff;
  position:sticky;
  top:0;
  width:100%;
  z-index:99999;
  box-shadow:0 2px 10px rgba(0,0,0,.12);
}

.cf-header-main{
  height:62px;
  max-width:760px;
  margin:auto;
  padding:0 14px;
  display:flex;
  align-items:center;
  gap:12px;
}

.icon-btn{
  border:0;
  background:transparent;
  color:white;
  width:25px;
  height:25px;
  padding:0;
  font-size:20px;
  display:grid;
  place-items:center;
}

.menu-btn{display:grid}

.cf-logo{
  flex:1;
  color:#fff;
  line-height:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.cf-logo strong{
  display:block;
  font-size:25px;
  font-weight:900;
  font-style:italic;
  letter-spacing:-1.2px;
  line-height:1;
}

.cf-logo span{
  display:block;
  font-size:7px;
  letter-spacing:2.2px;
  margin-top:8px;
  padding-left:6px;
  line-height:1;
  opacity:.95;
}

.header-icons{
  display:flex;
  align-items:center;
  gap:12px;
}

.notify{position:relative}

.notify span{
  position:absolute;
  top:-7px;
  right:-6px;
  width:17px;
  height:17px;
  border-radius:50%;
  background:#ef1740;
  color:white;
  font-size:10px;
  display:grid;
  place-items:center;
  font-weight:800;
}

.desktop-nav,
.login-link,
.signup-link,
.desktop-only{
  display:none!important;
}

.mobile-tabs{
  height:48px;
  padding:0 14px;
  display:flex;
  align-items:center;
  gap:30px;
  overflow-x:auto;
  scrollbar-width:none;
}

.mobile-tabs::-webkit-scrollbar{display:none}

.mobile-tabs a{
  height:48px;
  display:flex;
  align-items:center;
  color:white;
  font-size:14px;
  font-weight:800;
  white-space:nowrap;
  border-bottom:3px solid transparent;
}

.mobile-tabs a.active{
  color:var(--accent);
  border-bottom-color:var(--accent);
}

/* PAGE */
.cf-page{
  background:var(--bg);
  padding:12px 12px 0;
  max-width:760px;
  margin:auto;
}

.cf-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:9px;
}

.cf-section-head h2{
  margin:0;
  font-size:16px;
  font-weight:900;
}

.cf-section-head a{
  color:#007456;
  font-size:13px;
  font-weight:800;
}

/* MATCH CARDS */
.match-slider{
  display:flex;
  gap:8px;
  overflow-x:auto;
  margin:0 -12px;
  padding:0 12px 4px;
  scrollbar-width:none;
}

.match-slider::-webkit-scrollbar{display:none}

.match-card{
  flex:0 0 178px;
  background:white;
  border:1px solid var(--border);
  border-radius:8px;
  padding:10px;
  box-shadow:0 1px 5px rgba(0,0,0,.04);
}

.match-top{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:10px;
  margin-bottom:9px;
}

.live-badge,
.gray-badge{
  min-height:18px;
  padding:0 6px;
  border-radius:3px;
  font-size:8px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
}

.live-badge{background:var(--red);color:white}
.gray-badge{background:#eee;color:#222}

.match-teams{
  display:grid;
  grid-template-columns:1fr 26px 1fr;
  gap:6px;
  align-items:center;
}

.match-teams div:last-child{text-align:right}
.match-teams div:last-child img{margin-left:auto}

.match-teams img{
  width:30px;
  height:22px;
  object-fit:cover;
  border-radius:3px;
  margin-bottom:5px;
}

.match-teams b{
  display:block;
  font-size:13px;
  font-weight:900;
}

.match-teams small{
  display:block;
  margin-top:2px;
  font-size:9px;
  color:#333;
}

.vs{
  width:26px;
  height:26px;
  border:1px solid var(--border);
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:9px;
  color:#555;
}

.match-card h3{
  margin:10px 0 3px;
  text-align:center;
  font-size:10px;
  line-height:1.25;
  font-weight:700;
}

.match-card p{
  margin:0;
  text-align:center;
  font-size:9px;
  color:var(--muted);
}

/* LIVE FEATURE */
.live-feature{
  margin-top:12px;
  padding:12px;
  border-radius:10px;
  color:white;
  background:linear-gradient(135deg,#00513f,#002f25);
  box-shadow:0 5px 14px rgba(0,54,42,.15);
}

.live-feature-top{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  margin-bottom:12px;
  font-size:11px;
}

.live-feature-teams{
  display:grid;
  grid-template-columns:1fr 34px 1fr;
  gap:8px;
  align-items:center;
}

.team-box{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}

.team-box.right{
  justify-content:flex-end;
  text-align:right;
}

.team-box img{
  width:40px;
  height:28px;
  object-fit:cover;
  border-radius:4px;
  flex:0 0 auto;
}

.team-box h2{
  margin:0;
  font-size:14px;
  line-height:1.1;
}

.team-box p{
  margin:3px 0 0;
  font-size:10px;
  color:#e5e7eb;
}

.big-vs{
  width:34px;
  height:34px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:800;
}

.match-info{
  border-top:1px solid rgba(255,255,255,.16);
  margin-top:12px;
  padding-top:9px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  font-size:10px;
  color:#e5e7eb;
}

.view-score-btn{
  margin-top:10px;
  height:36px;
  border-radius:7px;
  background:white;
  color:#007456;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:900;
}

/* QUICK MENU */
.quick-menu{
  margin:12px 0 16px;
  background:white;
  border:1px solid var(--border);
  border-radius:9px;
  overflow-x:auto;
  display:flex;
  scrollbar-width:none;
}

.quick-menu::-webkit-scrollbar{display:none}

.quick-menu a{
  flex:0 0 80px;
  min-height:62px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  border-right:1px solid var(--border);
  font-size:10px;
}

.quick-menu i{
  font-size:20px;
  color:#007456;
}

/* NEWS */
.news-section{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  margin-bottom:14px;
}

.news-list{
  display:block;
  background:white;
  border:1px solid var(--border);
  border-radius:9px;
  overflow:hidden;
}

.news-item{
  display:grid;
  grid-template-columns:96px 1fr 20px;
  gap:10px;
  align-items:center;
  padding:10px;
  border-bottom:1px solid var(--border);
}

.news-item:last-child{border-bottom:0}

.news-item img{
  width:96px;
  height:58px;
  object-fit:cover;
  border-radius:6px;
}

.news-item h3{
  margin:0 0 5px;
  font-size:13px;
  line-height:1.25;
  font-weight:800;
}

.news-item p{
  margin:0;
  font-size:10px;
  color:var(--muted);
}

.news-item i{
  display:block;
  font-size:16px;
  color:#6b7280;
}

/* FOOTER */
.cf-footer{
  background:linear-gradient(180deg,var(--green),var(--green-dark));
  margin:0;
  padding:20px 14px 10px;
  color:#fff;
}

.cf-footer-wrap{
  max-width:760px;
  margin:auto;
}

.footer-brand{
  margin-bottom:18px;
}

.footer-brand h3{
  margin:0 0 6px;
  font-size:28px;
  line-height:1;
  font-style:italic;
  font-weight:900;
  letter-spacing:-1px;
  color:#fff;
}

.footer-brand p{
  margin:0;
  font-size:13px;
  line-height:1.5;
  color:rgba(255,255,255,.72);
}

.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 22px;
}

.footer-block h4{
  margin:0 0 10px;
  font-size:15px;
  font-weight:800;
  color:#fff;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-links a{
  font-size:13px;
  color:rgba(255,255,255,.72);
  line-height:1.35;
}

.footer-whatsapp{
  width:100%;
  max-width:260px;
  height:40px;
  margin:20px auto 14px;
  border-radius:999px;
  background:var(--accent);
  color:#05281f !important;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:900;
  box-shadow:0 6px 14px rgba(0,0,0,.18);
}

.footer-copy{
  border-top:1px solid rgba(255,255,255,.08);
  padding:14px 0 0;
  text-align:center;
  font-size:12px;
  line-height:1.4;
  color:rgba(255,255,255,.58);
  margin:0;
}

/* BOTTOM NAV */
.bottom-nav{
  display:grid;
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  height:58px;
  background:white;
  border-top:1px solid var(--border);
  grid-template-columns:repeat(5,1fr);
  z-index:9999;
  box-shadow:0 -4px 16px rgba(0,0,0,.06);
}

.bottom-nav a{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  color:#6b7280;
  font-size:10px;
}

.bottom-nav i{
  font-size:19px;
}

.bottom-nav a.active{
  color:#007456;
  font-weight:800;
}

/* MOBILE DRAWER */
.mobile-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:99999;
  opacity:0;
  visibility:hidden;
  transition:.25s ease;
}

.mobile-drawer{
  position:fixed;
  top:0;
  left:0;
  width:82%;
  max-width:310px;
  height:100vh;
  background:linear-gradient(180deg,var(--green),var(--green-dark));
  color:white;
  z-index:100000;
  transform:translateX(-100%);
  transition:.25s ease;
  padding:18px 16px;
  overflow-y:auto;
}

.mobile-drawer.open{transform:translateX(0)}
.mobile-overlay.open{opacity:1;visibility:visible}

.drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:16px;
  border-bottom:1px solid rgba(255,255,255,.12);
}

.drawer-logo strong{
  display:block;
  font-size:24px;
  font-weight:900;
  font-style:italic;
  letter-spacing:-1px;
  line-height:1;
}

.drawer-logo span{
  display:block;
  margin-top:5px;
  font-size:7px;
  letter-spacing:2px;
  opacity:.85;
}

.drawer-close{
  width:34px;
  height:34px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:10px;
  background:rgba(255,255,255,.08);
  color:white;
  font-size:18px;
}

.drawer-links{
  display:grid;
  gap:4px;
  padding:18px 0;
}

.drawer-links a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 10px;
  border-radius:10px;
  color:#e7f8f3;
  font-size:14px;
  font-weight:700;
}

.drawer-links a:hover,
.drawer-links a.active{
  background:rgba(132,216,70,.14);
  color:var(--accent);
}

.drawer-links i{
  width:20px;
  text-align:center;
  font-size:16px;
}

.drawer-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:8px;
}

.drawer-actions a{
  height:40px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:900;
}

.drawer-actions a:first-child{
  border:1px solid rgba(255,255,255,.25);
  color:white;
}

.drawer-actions a:last-child{
  background:var(--accent);
  color:#05281f;
}

body.menu-open{overflow:hidden}

/* DESKTOP */
@media(min-width:901px) and (hover:hover) and (pointer:fine){

  html,body{
    background:var(--bg);
    padding-bottom:0;
    scroll-padding-top:78px;
  }

  .cf-header{
    height:78px;
  }

  .cf-header-main{
    height:78px;
    max-width:1500px;
    padding:0 28px;
    gap:26px;
  }

  .menu-btn{
    display:none!important;
  }

  .cf-logo{
    flex:0 0 270px;
  }

  .cf-logo strong{
    font-size:34px;
    letter-spacing:-2px;
  }

  .cf-logo span{
    font-size:10px;
    letter-spacing:1.8px;
    margin-top:5px;
    padding-left:30px;
  }

  .desktop-nav{
    display:flex!important;
    flex:1;
    justify-content:center;
    align-items:center;
    gap:30px;
  }

  .desktop-nav a{
    height:78px;
    display:flex;
    align-items:center;
    color:white;
    font-size:15px;
    font-weight:800;
    border-bottom:3px solid transparent;
    opacity:.95;
  }

  .desktop-nav a.active{
    color:white;
    border-bottom-color:var(--accent);
  }

  .header-icons{
    gap:18px;
  }

  .icon-btn{
    width:30px;
    height:30px;
    font-size:23px;
  }

  .login-link,
  .signup-link{
    display:flex!important;
    align-items:center;
    justify-content:center;
    height:42px;
    border-radius:6px;
    font-size:14px;
    font-weight:800;
    padding:0 22px;
  }

  .login-link{
    border:1px solid rgba(255,255,255,.75);
    color:white;
  }

  .signup-link{
    background:var(--accent);
    color:#102015;
  }

  .mobile-tabs,
  .mobile-overlay,
  .mobile-drawer,
  .bottom-nav{
    display:none!important;
  }

  .cf-page{
    max-width:1500px;
    padding:22px 28px 0;
  }

  .cf-section-head h2{
    font-size:18px;
  }

  .match-slider{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:12px;
    margin:0;
    padding:0;
    overflow:visible;
  }

  .match-card{
    flex:auto;
    min-height:140px;
    padding:14px;
  }

  .match-top{
    font-size:12px;
  }

  .match-teams img{
    width:38px;
    height:28px;
  }

  .match-teams b{
    font-size:16px;
  }

  .match-card h3{
    font-size:13px;
  }

  .match-card p{
    font-size:12px;
  }

  .desktop-layout{
    display:grid;
    grid-template-columns:300px 1fr 350px;
    gap:14px;
    align-items:start;
  }

  .news-list{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    border:0;
    background:transparent;
  }

  .news-item{
    display:block;
    border:1px solid var(--border);
    border-radius:8px;
    overflow:hidden;
  }

  .news-item img{
    width:100%;
    height:90px;
    border-radius:0;
  }

  .news-item i{
    display:none;
  }

  .cf-footer{
    padding:32px 28px 20px;
  }

  .cf-footer-wrap{
    max-width:1500px;
  }

  .footer-grid{
    grid-template-columns:repeat(4,1fr);
    gap:30px;
  }
}
/* FORCE REAL MOBILE LAYOUT ON PHONES */
@media(max-width:900px), (hover:none) and (pointer:coarse){

  .desktop-nav,
  .login-link,
  .signup-link,
  .desktop-only{
    display:none !important;
  }

  .menu-btn{
    display:grid !important;
  }

  .mobile-tabs{
    display:flex !important;
  }

  .cf-header-main{
    height:62px !important;
    max-width:760px !important;
    padding:0 14px !important;
    gap:12px !important;
  }

  .cf-logo{
    flex:1 !important;
  }

  .cf-logo strong{
    font-size:25px !important;
    letter-spacing:-1.2px !important;
  }

  .cf-logo span{
    font-size:7px !important;
    letter-spacing:2.2px !important;
    margin-top:8px !important;
    padding-left:6px !important;
  }

  .cf-page{
    max-width:760px !important;
    padding:12px 12px 0 !important;
  }

  .match-slider{
    display:flex !important;
    overflow-x:auto !important;
    gap:8px !important;
    margin:0 -12px !important;
    padding:0 12px 4px !important;
  }

  .match-card{
    flex:0 0 178px !important;
  }

  .news-list{
    display:block !important;
    background:white !important;
    border:1px solid var(--border) !important;
    border-radius:9px !important;
  }

  .news-item{
    display:grid !important;
    grid-template-columns:96px 1fr 20px !important;
    gap:10px !important;
    padding:10px !important;
    border:0 !important;
    border-bottom:1px solid var(--border) !important;
  }

  .news-item img{
    width:96px !important;
    height:58px !important;
    border-radius:6px !important;
  }

  .news-item i{
    display:block !important;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr !important;
  }

  .bottom-nav{
    display:grid !important;
  }

  body{
    padding-bottom:58px !important;
  }
}

.auth-page{
  background:#f5f6f8;
  min-height:calc(100vh - 120px);
  padding:22px 14px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

.auth-card{
  width:100%;
  max-width:420px;
  background:white;
  border:1px solid var(--border);
  border-radius:14px;
  padding:22px;
  box-shadow:0 6px 22px rgba(0,0,0,.06);
}

.auth-card h1{
  margin:0 0 6px;
  font-size:24px;
  font-weight:900;
  color:var(--green);
}

.auth-card p{
  margin:0 0 18px;
  color:#6b7280;
  font-size:14px;
}

.auth-card label{
  display:block;
  margin:12px 0 6px;
  font-size:13px;
  font-weight:800;
}

.auth-card input{
  width:100%;
  height:44px;
  border:1px solid var(--border);
  border-radius:9px;
  padding:0 13px;
  font-size:14px;
  outline:none;
}

.auth-card input:focus{
  border-color:#007456;
}

.auth-card button{
  width:100%;
  height:46px;
  margin-top:18px;
  border:0;
  border-radius:999px;
  background:var(--accent);
  color:#05281f;
  font-size:15px;
  font-weight:900;
}

.auth-alert{
  padding:11px 12px;
  border-radius:8px;
  font-size:13px;
  font-weight:700;
  margin-bottom:12px;
}

.auth-alert.error{
  background:#fee2e2;
  color:#991b1b;
}

.auth-alert.success{
  background:#dcfce7;
  color:#166534;
}

.auth-link{
  text-align:center;
  margin-top:16px;
  font-size:13px;
  color:#6b7280;
}

.auth-link a{
  color:#007456;
  font-weight:900;
}

/* ==============================
   MATCH PAGE COMPACT OVERRIDE
   Add at END of style.css
============================== */

.mf-page{
  max-width:760px;
  margin:0 auto;
  background:var(--bg);
  min-height:100vh;
  padding-bottom:74px;
}

.match-hero{
  padding:10px 10px 12px !important;
  background:
    linear-gradient(180deg,rgba(0,63,50,.96),rgba(0,43,34,.98)),
    url("https://images.unsplash.com/photo-1531415074968-036ba1b575da?w=1200&q=80") center/cover;
  color:#fff;
}

.match-header{
  margin-bottom:10px !important;
}

.back-btn{
  width:24px !important;
  font-size:18px !important;
}

.match-logo strong{
  font-size:22px !important;
  letter-spacing:-1.2px !important;
}

.match-logo span{
  font-size:6px !important;
  letter-spacing:1.7px !important;
  margin-top:3px !important;
}

.header-actions{
  gap:12px !important;
  font-size:16px !important;
}

.match-meta{
  gap:6px !important;
  margin-bottom:12px !important;
  font-size:11px !important;
  line-height:1.3 !important;
}

.mf-badge{
  min-height:20px !important;
  padding:0 7px !important;
  font-size:9px !important;
  border-radius:4px !important;
}

.score-row{
  grid-template-columns:1fr 34px 1fr !important;
  gap:6px !important;
}

.team-side{
  gap:6px !important;
}

.team-side img{
  width:38px !important;
  height:28px !important;
  border-radius:5px !important;
}

.team-side h2{
  font-size:18px !important;
}

.team-side .score{
  font-size:25px !important;
  margin-top:3px !important;
  line-height:1.05 !important;
  letter-spacing:.3px !important;
}

.team-side .overs,
.team-side .yet{
  font-size:10px !important;
  margin-top:3px !important;
}

.vs-big{
  width:34px !important;
  height:34px !important;
  font-size:10px !important;
}

.toss-note{
  margin:10px 0 !important;
  font-size:10px !important;
}

.match-strip{
  grid-template-columns:1fr !important;
  gap:6px !important;
  padding:8px !important;
  font-size:10px !important;
  border-radius:8px !important;
}

.match-strip span{
  justify-content:flex-start !important;
  border-right:0 !important;
}

.center-card,
.commentary-card{
  margin:9px 9px 0 !important;
  border-radius:9px !important;
  box-shadow:none !important;
}

.center-head,
.commentary-head{
  padding:10px !important;
  font-size:12px !important;
}

.center-grid{
  grid-template-columns:1fr 1fr 1.15fr !important;
  gap:6px !important;
  padding:0 9px 9px !important;
}

.stat-box{
  min-height:50px !important;
  border-radius:7px !important;
}

.stat-box small{
  font-size:8px !important;
}

.stat-box strong{
  font-size:14px !important;
  margin-top:4px !important;
}

.ball-list{
  gap:4px !important;
  margin-top:5px !important;
}

.ball{
  width:20px !important;
  height:20px !important;
  font-size:9px !important;
}

.tabs{
  height:40px !important;
  margin-top:9px !important;
}

.tabs a{
  height:40px !important;
  padding:0 14px !important;
  display:flex !important;
  align-items:center !important;
  font-size:12px !important;
  font-weight:800 !important;
}

.live-table-card{
  margin:0 9px 9px !important;
  border-radius:0 0 9px 9px !important;
}

.score-table{
  font-size:10px !important;
}

.score-table th,
.score-table td{
  padding:7px 5px !important;
}

.score-table th{
  font-size:8px !important;
}

.recent-balls{
  padding:8px !important;
}

.recent-balls h4{
  font-size:10px !important;
  margin-bottom:6px !important;
}

.comment-row{
  grid-template-columns:34px 1fr !important;
  gap:7px !important;
  padding:9px !important;
}

.over-ball{
  width:30px !important;
  height:30px !important;
  font-size:10px !important;
}

.comment-main strong{
  font-size:11px !important;
  margin-bottom:4px !important;
}

.comment-main p{
  font-size:10px !important;
  line-height:1.35 !important;
}

.comment-run{
  width:20px !important;
  height:20px !important;
  font-size:9px !important;
  border-radius:5px !important;
}

.footer-score{
  position:fixed !important;
  left:9px !important;
  right:9px !important;
  bottom:64px !important;
  margin:0 !important;
  padding:9px !important;
  border-radius:9px !important;
  z-index:999;
}

.footer-score strong{
  font-size:16px !important;
}

.footer-score p{
  font-size:11px !important;
  margin:2px 0 0 !important;
}

.footer-score a{
  padding:9px 11px !important;
  font-size:11px !important;
  border-radius:6px !important;
}

@media(min-width:901px){
  .mf-page{
    max-width:980px;
    padding-bottom:20px;
  }

  .match-hero{
    border-radius:0 0 16px 16px;
  }

  .footer-score{
    position:sticky !important;
    bottom:0 !important;
    left:auto !important;
    right:auto !important;
    margin:12px 10px 0 !important;
  }
}

.news-wrap{
  margin-top:16px;
}

.news-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

.news-hero{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  min-height:240px;
  background:#111827;
}

.news-hero img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
}

.news-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.78),
    rgba(0,0,0,.15)
  );
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:18px;
}

.news-tag{
  display:inline-flex;
  align-items:center;
  gap:5px;
  background:#ffcc00;
  color:#111827;
  font-size:11px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  width:max-content;
  margin-bottom:10px;
}

.news-overlay h2{
  color:#fff;
  font-size:22px;
  line-height:1.3;
  margin:0 0 8px;
  font-weight:900;
}

.news-meta{
  display:flex;
  gap:10px;
  align-items:center;
  color:#d1d5db;
  font-size:12px;
  font-weight:700;
}

.news-list{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.news-card{
  display:flex;
  gap:12px;
  background:#fff;
  border:1px solid #edf2f7;
  border-radius:16px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
}

.news-card img{
  width:110px;
  height:95px;
  object-fit:cover;
  flex-shrink:0;
}

.news-content{
  padding:10px 10px 10px 0;
  flex:1;
}

.news-content span{
  display:inline-block;
  font-size:10px;
  font-weight:900;
  color:#0085ca;
  margin-bottom:6px;
  text-transform:uppercase;
}

.news-content h3{
  font-size:14px;
  line-height:1.4;
  margin:0 0 8px;
  color:#111827;
  font-weight:800;
}

.news-content p{
  margin:0;
  color:#6b7280;
  font-size:11px;
  font-weight:700;
}

@media(min-width:900px){

  .news-grid{
    grid-template-columns:1.2fr .8fr;
    align-items:start;
  }

  .news-hero{
    min-height:420px;
  }

  .news-hero img{
    height:420px;
  }

  .news-overlay h2{
    font-size:32px;
  }

  .news-card img{
    width:130px;
    height:105px;
  }

  .news-content h3{
    font-size:15px;
  }
}

.upcoming-countdown{  
  min-width:auto;  
  white-space:nowrap;  
  background:#eef2f7 !important;  
  color:#111827 !important;  
}  
  
.mini-section{  
  margin:14px 0;  
}  
  
.points-card,  
.league-match-card{  
  background:#fff;  
  border:1px solid #edf2f7;  
  border-radius:16px;  
  overflow:hidden;  
  margin-bottom:12px;  
}  
  
.points-head,  
.league-match-head{  
  padding:10px 12px;  
  background:#f8fafc;  
  border-bottom:1px solid #edf2f7;  
  display:flex;  
  justify-content:space-between;  
  align-items:center;  
}  
  
.points-head strong,  
.league-match-head strong{  
  font-size:13px;  
  color:#111827;  
}  
  
.points-head span,  
.league-match-head span{  
  font-size:10px;  
  font-weight:900;  
  color:var(--green);  
  background:#e8f5f1;  
  padding:5px 8px;  
  border-radius:999px;  
}  
  
.points-row{  
  display:grid;  
  grid-template-columns:32px minmax(110px,1fr) 34px 34px 42px;  
  gap:6px;  
  align-items:center;  
  padding:8px 10px;  
  border-top:1px solid #f1f5f9;  
  font-size:11px;  
}  
  
.points-team{  
  display:flex;  
  align-items:center;  
  gap:7px;  
  min-width:0;  
}  
  
.points-team img{  
  width:22px;  
  height:22px;  
  border-radius:50%;  
  object-fit:cover;  
  background:#f3f4f6;  
}  
  
.points-team span{  
  white-space:nowrap;  
  overflow:hidden;  
  text-overflow:ellipsis;  
  font-weight:800;  
}  
  
.league-mini-match{  
  display:block;  
  text-decoration:none;  
  color:inherit;  
  padding:10px 12px;  
  border-top:1px solid #f1f5f9;  
}  
  
.league-mini-top{  
  display:flex;  
  justify-content:space-between;  
  gap:8px;  
  font-size:10px;  
  color:#6b7280;  
  font-weight:800;  
  margin-bottom:5px;  
}  
  
.league-mini-teams{  
  font-size:12px;  
  font-weight:900;  
  color:#111827;  
}  
  
.league-mini-time{  
  color:#0085ca;  
  white-space:nowrap;  
}  
  
.empty-mini{  
  padding:12px;  
  font-size:12px;  
  color:#6b7280;  
}  


.player-page{
    max-width:760px;
    margin:0 auto;
    padding:6px;
    background:#f5f7fb;
}

.player-hero{
    background:linear-gradient(135deg,var(--green-dark),var(--green));
    color:#fff;
    border-radius:18px;
    padding:16px;
    margin-bottom:10px;
}

.player-top{
    display:flex;
    align-items:center;
    gap:14px;
}

.player-img{
    width:78px;
    height:78px;
    border-radius:50%;
    object-fit:cover;
    background:#fff;
}

.player-name{
    font-size:22px;
    font-weight:900;
    line-height:1.2;
}

.player-meta{
    font-size:12px;
    opacity:.9;
    margin-top:4px;
}

.player-role{
    display:inline-block;
    margin-top:8px;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.22);
    padding:6px 10px;
    border-radius:999px;
    font-size:10px;
    font-weight:900;
}

.player-stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:7px;
    margin-top:14px;
}

.hero-stat{
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.18);
    border-radius:12px;
    padding:8px 6px;
    text-align:center;
}

.hero-stat strong{
    display:block;
    font-size:15px;
}

.hero-stat span{
    display:block;
    margin-top:2px;
    font-size:9px;
    font-weight:900;
    opacity:.85;
    text-transform:uppercase;
}

.info-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-bottom:10px;
}

.box{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:16px;
    overflow:hidden;
    margin-bottom:10px;
}

.box-pad{
    padding:12px;
}

.box-head{
    padding:10px 12px;
    background:#f8fafc;
    border-bottom:1px solid #edf2f7;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.box-head h2{
    margin:0;
    font-size:14px;
    font-weight:900;
    color:#111827;
}

.box-head span{
    font-size:10px;
    font-weight:900;
    background:#e8f5f1;
    color:var(--green);
    padding:5px 8px;
    border-radius:999px;
}

.info-row{
    display:flex;
    justify-content:space-between;
    gap:10px;
    padding:8px 0;
    border-bottom:1px solid #f1f5f9;
}

.info-row:last-child{
    border-bottom:0;
}

.info-row span{
    font-size:11px;
    color:#6b7280;
    font-weight:800;
}

.info-row strong{
    font-size:12px;
    color:#111827;
    font-weight:900;
    text-align:right;
}

.pill-list{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.team-pill{
    display:flex;
    align-items:center;
    gap:7px;
    background:#f3f5f8;
    color:#111827;
    padding:6px 9px;
    border-radius:999px;
    text-decoration:none;
    font-size:10px;
    font-weight:900;
}

.team-pill img{
    width:20px;
    height:20px;
    border-radius:50%;
    object-fit:cover;
    background:#fff;
}

.stat-table{
    width:100%;
    border-collapse:collapse;
}

.stat-table th{
    background:#f8fafc;
    color:#6b7280;
    font-size:9px;
    text-transform:uppercase;
    padding:8px 6px;
    text-align:left;
}

.stat-table td{
    border-top:1px solid #f1f5f9;
    padding:8px 6px;
    font-size:10px;
    font-weight:800;
    color:#111827;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    padding:10px;
}

.form-box{
    background:#f8fafc;
    border:1px solid #edf2f7;
    border-radius:13px;
    padding:10px;
    text-align:center;
}

.form-box strong{
    display:block;
    font-size:16px;
    color:#111827;
    font-weight:900;
    line-height:1;
}

.form-box span{
    display:block;
    margin-top:5px;
    font-size:9px;
    color:#6b7280;
    font-weight:900;
    text-transform:uppercase;
}

.form-highlight{
    margin:0 10px 10px;
    background:#e8f5f1;
    color:var(--green);
    border-radius:13px;
    padding:10px;
    font-size:11px;
    font-weight:900;
}

.pm-list{
    padding:8px;
}

.pm-card{
    display:block;
    text-decoration:none;
    color:inherit;
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:15px;
    padding:10px;
    margin-bottom:8px;
}

.pm-top{
    display:flex;
    justify-content:space-between;
    gap:8px;
    margin-bottom:8px;
}

.pm-league{
    font-size:10px;
    font-weight:900;
    color:var(--green);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.pm-date{
    font-size:10px;
    font-weight:900;
    color:#6b7280;
    white-space:nowrap;
}

.pm-teams{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:8px;
}

.pm-team{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.pm-team.right{
    justify-content:flex-end;
    text-align:right;
}

.pm-team img{
    width:30px;
    height:30px;
    border-radius:50%;
    object-fit:cover;
    background:#f3f4f6;
}

.pm-team-name{
    font-size:12px;
    font-weight:900;
    color:#111827;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.pm-vs{
    background:#f3f5f8;
    color:#6b7280;
    padding:5px 7px;
    border-radius:999px;
    font-size:8px;
    font-weight:900;
}

.pm-bottom{
    margin-top:9px;
    display:flex;
    justify-content:space-between;
    gap:8px;
    font-size:10px;
    font-weight:800;
    color:#6b7280;
}

.pm-venue{
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.pm-round{
    color:#0085ca;
    white-space:nowrap;
}

.performance-list{
    padding:8px;
}

.performance-card{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:15px;
    padding:10px;
    margin-bottom:8px;
}

.performance-title{
    font-size:12px;
    font-weight:900;
    color:#111827;
    margin-bottom:8px;
}

.performance-stats{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:6px;
}

.performance-pill{
    background:#f8fafc;
    border-radius:10px;
    padding:7px 5px;
    text-align:center;
}

.performance-pill strong{
    display:block;
    font-size:13px;
    color:#111827;
    line-height:1;
}

.performance-pill span{
    display:block;
    margin-top:4px;
    font-size:8px;
    color:#6b7280;
    font-weight:900;
    text-transform:uppercase;
}

.performance-match{
    margin-top:8px;
    font-size:10px;
    font-weight:800;
    color:#6b7280;
}

.empty{
    padding:16px;
    text-align:center;
    color:#6b7280;
    font-size:12px;
}

@media(max-width:520px){
    .player-stats-grid,
    .form-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .info-grid{
        grid-template-columns:1fr;
    }

    .player-name{
        font-size:19px;
    }

    .stat-table{
        min-width:620px;
    }

    .table-scroll{
        overflow-x:auto;
    }

    .performance-stats{
        grid-template-columns:repeat(3,1fr);
    }
}

.live-page{
    max-width:700px;
    margin:0 auto;
    padding:6px;
}

.live-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:10px;
}

.live-title{
    font-size:18px;
    font-weight:900;
    color:#fff;
}

.live-subtitle{
    font-size:11px;
    color:#cbd5e1;
    margin-top:2px;
}

.live-count{
    background:var(--green);
    color:#fff;
    padding:5px 9px;
    border-radius:999px;
    font-size:10px;
    font-weight:800;
}

.filter-box{
    background:#fff;
    border:1px solid #edf2f7;
    box-shadow:0 4px 18px rgba(15,23,42,.06);
    border-radius:14px;
    padding:8px;
    margin-bottom:8px;
    overflow:hidden;
}

.status-tabs,
.series-chips{
    display:flex;
    gap:6px;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    scrollbar-width:none;
    -ms-overflow-style:none;
}

.status-tabs::-webkit-scrollbar,
.series-chips::-webkit-scrollbar{
    display:none;
}

.series-chips{
    margin-top:7px;
}

.filter-btn{
    border:0;
    cursor:pointer;
    white-space:nowrap;
    border-radius:999px;
    font-size:10px;
    font-weight:900;
    padding:6px 10px;
    background:#f3f5f8;
    color:#111827;
    min-height:28px;
    flex:0 0 auto;
}

.filter-btn.active{
    background:var(--green);
    color:#fff;
}

.filter-btn.live.active{
    background:#e50914;
}

.filter-btn.finished.active{
    background:#111827;
}

.date-section-title{
    margin:10px 0 7px;
    background:#f3f4f6;
    color:#111827;
    padding:7px 9px;
    border-radius:10px;
    font-size:12px;
    font-weight:900;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.date-section-title span{
    font-size:10px;
    color:#6b7280;
    font-weight:800;
}

.live-card{
    background:#fff;
    border-radius:13px;
    padding:9px;
    margin-bottom:7px;
    border:1px solid #edf2f7;
    box-shadow:none;
}

.live-card-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    margin-bottom:8px;
    gap:8px;
}

.league-name{
    font-size:12px;
    font-weight:900;
    color:#111827;
}

.match-round,
.match-time,
.countdown-timer{
    font-size:10px;
    color:#6b7280;
    margin-top:2px;
}

.match-time{
    color:#0085ca;
    font-weight:800;
}

.countdown-timer{
    color:#dc2626;
    font-weight:900;
}

.series-tag{
    display:inline-block;
    margin-top:5px;
    font-size:9px;
    font-weight:900;
    color:var(--green);
    background:#e8f5f1;
    padding:3px 7px;
    border-radius:999px;
}

.priority-tag{
    display:inline-block;
    margin-left:4px;
    font-size:9px;
    font-weight:900;
    color:#92400e;
    background:#fef3c7;
    padding:3px 7px;
    border-radius:999px;
}

.ls-badge{
    padding:5px 8px;
    border-radius:999px;
    font-size:9px;
    font-weight:900;
    white-space:nowrap;
}

.ls-badge.live{
    background:#dc2626;
    color:#fff;
}

.ls-badge.finished{
    background:#111827;
    color:#fff;
}

.ls-badge.upcoming{
    background:#e5e7eb;
    color:#111827;
}

.team-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:7px;
    gap:8px;
}

.team-left{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.team-left img{
    width:28px;
    height:28px;
    object-fit:cover;
    border-radius:50%;
    background:#f3f4f6;
}

.team-name{
    font-size:12px;
    font-weight:800;
    color:#111827;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:160px;
}

.team-code{
    font-size:9px;
    color:#6b7280;
    margin-top:1px;
}

.team-score{
    text-align:right;
    flex-shrink:0;
}

.team-score strong{
    display:block;
    font-size:14px;
    font-weight:900;
    color:#111827;
}

.team-score span{
    font-size:9px;
    color:#6b7280;
}

.match-note{
    background:#f9fafb;
    border-radius:9px;
    padding:7px 8px;
    font-size:10px;
    color:#374151;
    margin-top:6px;
}

.match-actions{
    display:flex;
    gap:7px;
    margin-top:8px;
}

.match-btn{
    flex:1;
    text-align:center;
    text-decoration:none;
    background:var(--green);
    color:#fff;
    padding:7px;
    border-radius:9px;
    font-size:10px;
    font-weight:900;
}

.match-btn.secondary{
    background:#f3f4f6;
    color:#111827;
}

.empty-filter{
    display:none;
    background:#fff;
    border-radius:14px;
    padding:16px;
    text-align:center;
    color:#6b7280;
    font-size:12px;
    border:1px solid #edf2f7;
}

.series-page{
    max-width:700px;
    margin:0 auto;
    padding:6px;
    background:#f5f7fb;
}

.series-topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:8px;
}

.series-title{
    font-size:18px;
    font-weight:900;
    color:#111827;
}

.series-subtitle{
    font-size:11px;
    color:#6b7280;
    margin-top:2px;
}

.series-count{
    background:var(--green);
    color:#fff;
    padding:5px 9px;
    border-radius:999px;
    font-size:10px;
    font-weight:800;
}

.series-search-box{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:14px;
    padding:8px;
    margin-bottom:8px;
}

.series-search{
    width:100%;
    border:0;
    outline:0;
    background:#f3f5f8;
    border-radius:999px;
    padding:9px 12px;
    font-size:12px;
    font-weight:700;
    color:#111827;
}

.series-card{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:13px;
    padding:9px;
    margin-bottom:7px;
    text-decoration:none;
    color:inherit;
    display:block;
}

.series-head{
    display:flex;
    align-items:center;
    gap:9px;
}

.series-logo{
    width:30px;
    height:30px;
    border-radius:50%;
    object-fit:cover;
    background:#f3f4f6;
    flex-shrink:0;
}

.series-info{
    min-width:0;
    flex:1;
}

.series-name{
    font-size:12px;
    font-weight:900;
    color:#111827;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.series-meta{
    font-size:10px;
    color:#6b7280;
    margin-top:2px;
}

.series-priority{
    margin-top:5px;
    display:inline-block;
    background:#e8f5f1;
    color:var(--green);
    font-size:9px;
    font-weight:900;
    padding:4px 7px;
    border-radius:999px;
}

.series-arrow{
    font-size:18px;
    color:#9ca3af;
    font-weight:900;
}

.series-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:6px;
    margin-top:8px;
}

.series-stat{
    background:#f8fafc;
    border-radius:9px;
    padding:6px;
    text-align:center;
}

.series-stat strong{
    display:block;
    font-size:12px;
    color:#111827;
    line-height:1;
}

.series-stat span{
    display:block;
    margin-top:3px;
    font-size:8px;
    color:#6b7280;
    font-weight:900;
    text-transform:uppercase;
}

.series-dates{
    margin-top:7px;
    font-size:10px;
    color:#6b7280;
    background:#f9fafb;
    padding:6px 8px;
    border-radius:9px;
}

.empty-series{
    background:#fff;
    border-radius:14px;
    padding:16px;
    text-align:center;
    color:#6b7280;
    font-size:12px;
    border:1px solid #edf2f7;
}

@media(max-width:520px){
    .series-page{
        padding:5px;
    }

    .series-title{
        font-size:17px;
    }

    .series-logo{
        width:28px;
        height:28px;
    }

    .series-name{
        font-size:11px;
    }
}

/* FINAL SERIES ALIGN FIX */
.cf-series-page{
    width:100% !important;
    max-width:760px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:10px !important;
    padding-right:10px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
}

.cf-series-head,
.cf-series-search-card,
.cf-series-list,
.cf-series-card{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
}

.cf-series-list{
    display:block !important;
    margin:0 auto !important;
    padding:0 !important;
}

.cf-series-card{
    display:block !important;
    margin:0 auto 8px auto !important;
    overflow:hidden !important;
}

.cf-series-card-top,
.cf-series-stats{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
}

.cf-series-stats{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

.standings-page{
    max-width:700px;
    margin:0 auto;
    padding:6px;
    background:#f5f7fb;
}

.standings-topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:8px;
}

.standings-title{
    font-size:18px;
    font-weight:900;
    color:var(--green);
}

.standings-subtitle{
    font-size:11px;
    color:var(--green);
    margin-top:2px;
}

.standings-count{
    background:var(--green);
    color:#fff;
    padding:5px 9px;
    border-radius:999px;
    font-size:10px;
    font-weight:800;
}

.league-block{
    margin-bottom:12px;
}

.league-head{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:14px 14px 0 0;
    padding:9px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.league-left{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}

.league-logo{
    width:30px;
    height:30px;
    border-radius:50%;
    object-fit:cover;
    background:#f3f4f6;
    flex-shrink:0;
}

.league-info{
    min-width:0;
}

.league-name{
    font-size:12px;
    font-weight:900;
    color:#111827;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.league-meta{
    font-size:9px;
    color:#6b7280;
    margin-top:2px;
}

.league-badge{
    font-size:9px;
    font-weight:900;
    padding:5px 8px;
    border-radius:999px;
    background:#e8f5f1;
    color:var(--green);
    white-space:nowrap;
}

.league-badge.live{
    background:#fee2e2;
    color:#dc2626;
}

.table-card{
    background:#fff;
    border:1px solid #edf2f7;
    border-top:0;
    border-radius:0 0 14px 14px;
    overflow:hidden;
}

.table-head,
.table-row{
    display:grid;
    grid-template-columns:34px minmax(110px,1fr) 32px 32px 32px 40px 50px;
    align-items:center;
    gap:4px;
}

.table-head{
    background:#f8fafc;
    padding:8px;
    font-size:8px;
    font-weight:900;
    color:#6b7280;
    text-transform:uppercase;
}

.table-row{
    padding:8px;
    border-top:1px solid #f1f5f9;
    text-decoration:none;
    color:inherit;
}

.pos-badge{
    width:22px;
    height:22px;
    border-radius:50%;
    background:#f3f4f6;
    color:#111827;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:9px;
    font-weight:900;
}

.pos-1{
    background:#facc15;
}

.pos-2{
    background:#d1d5db;
}

.pos-3{
    background:#fdba74;
}

.team-box{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.team-logo{
    width:23px;
    height:23px;
    border-radius:50%;
    object-fit:cover;
    background:#f3f4f6;
    flex-shrink:0;
}

.team-info{
    min-width:0;
}

.team-name{
    font-size:10px;
    font-weight:900;
    color:#111827;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.team-code{
    font-size:8px;
    color:#6b7280;
    margin-top:1px;
}

.stat{
    text-align:center;
    font-size:10px;
    font-weight:900;
    color:#111827;
}

.nrr{
    color:var(--green);
    font-size:9px;
}

.empty-box{
    background:#fff;
    border-radius:14px;
    padding:16px;
    text-align:center;
    color:#6b7280;
    font-size:12px;
    border:1px solid #edf2f7;
}

@media(max-width:520px){
    .table-head,
    .table-row{
        grid-template-columns:30px minmax(95px,1fr) 30px 30px 30px 36px 45px;
        padding:7px 6px;
    }

    .standings-title{
        font-size:17px;
    }

    .league-name{
        max-width:210px;
    }
}

.schedule-page{
    max-width:700px;
    margin:0 auto;
    padding:6px;
    background:#f5f7fb;
}

.schedule-topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:8px;
}

.schedule-title{
    font-size:18px;
    font-weight:900;
    color:var(--green);
}

.schedule-subtitle{
    font-size:11px;
    color:var(--green);
    margin-top:2px;
}

.schedule-count{
    background:var(--green);
    color:#fff;
    padding:5px 9px;
    border-radius:999px;
    font-size:10px;
    font-weight:800;
}

.live-nav-card{
    background:linear-gradient(135deg,var(--green),#005f4b);
    border-radius:16px;
    padding:12px;
    margin-bottom:10px;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    text-decoration:none;
}

.live-nav-title{
    font-size:14px;
    font-weight:900;
}

.live-nav-sub{
    font-size:11px;
    opacity:.85;
    margin-top:3px;
}

.live-nav-btn{
    background:#e50914;
    color:#fff;
    border-radius:999px;
    padding:8px 11px;
    font-size:10px;
    font-weight:900;
    white-space:nowrap;
}

.league-block{
    margin-bottom:12px;
}

.league-head{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:14px 14px 0 0;
    padding:9px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
}

.league-left{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}

.league-logo{
    width:30px;
    height:30px;
    border-radius:50%;
    object-fit:cover;
    background:#f3f4f6;
    flex-shrink:0;
}

.league-info{
    min-width:0;
}

.league-name{
    font-size:12px;
    font-weight:900;
    color:#111827;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.league-meta{
    font-size:9px;
    color:#6b7280;
    margin-top:2px;
}

.league-badge{
    background:#e8f5f1;
    color:var(--green);
    border-radius:999px;
    padding:5px 8px;
    font-size:9px;
    font-weight:900;
    white-space:nowrap;
}

.match-list{
    background:#fff;
    border:1px solid #edf2f7;
    border-top:0;
    border-radius:0 0 14px 14px;
    overflow:hidden;
}

.match-card{
    display:block;
    text-decoration:none;
    color:inherit;
    padding:9px;
    border-top:1px solid #f1f5f9;
}

.match-card:first-child{
    border-top:0;
}

.match-top{
    display:flex;
    justify-content:space-between;
    gap:8px;
    margin-bottom:7px;
}

.match-round{
    font-size:10px;
    color:#6b7280;
    font-weight:800;
}

.match-time{
    font-size:10px;
    color:#0085ca;
    font-weight:900;
    white-space:nowrap;
}

.match-teams{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:8px;
}

.team-side{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.team-side.right{
    justify-content:flex-end;
    text-align:right;
}

.team-logo{
    width:25px;
    height:25px;
    border-radius:50%;
    object-fit:cover;
    background:#f3f4f6;
    flex-shrink:0;
}

.team-name{
    font-size:11px;
    font-weight:900;
    color:#111827;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.team-code{
    font-size:8px;
    color:#6b7280;
    margin-top:1px;
}

.vs{
    background:#f3f5f8;
    color:#6b7280;
    border-radius:999px;
    padding:4px 7px;
    font-size:8px;
    font-weight:900;
}

.countdown{
    margin-top:7px;
    background:#fef3c7;
    color:#92400e;
    border-radius:9px;
    padding:6px 8px;
    font-size:10px;
    font-weight:900;
}

.empty-box{
    background:#fff;
    border-radius:14px;
    padding:16px;
    text-align:center;
    color:#6b7280;
    font-size:12px;
    border:1px solid #edf2f7;
}


.series-hero{
    background:linear-gradient(135deg,var(--green),var(--green-dark));
    border-radius:18px;
    padding:14px;
    color:#fff;
    margin-bottom:10px;
}

.series-hero-top{
    display:flex;
    align-items:center;
    gap:10px;
}

.series-logo{
    width:46px;
    height:46px;
    border-radius:50%;
    object-fit:cover;
    background:#fff;
}

.series-title{
    font-size:18px;
    font-weight:900;
    line-height:1.25;
}

.series-meta{
    font-size:11px;
    opacity:.85;
    margin-top:3px;
}

.series-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:7px;
    margin-top:12px;
}

.series-stat{
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.18);
    border-radius:12px;
    padding:8px 6px;
    text-align:center;
}

.series-stat strong{
    display:block;
    font-size:14px;
}

.series-stat span{
    display:block;
    font-size:9px;
    margin-top:2px;
    opacity:.85;
    font-weight:800;
}

.cf-box{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:16px;
    overflow:hidden;
    margin-bottom:12px;
}

.box-head{
    padding:10px 12px;
    background:#f8fafc;
    border-bottom:1px solid #edf2f7;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.box-head h2{
    margin:0;
    font-size:14px;
    font-weight:900;
    color:#111827;
}

.box-head span{
    font-size:10px;
    font-weight:900;
    background:#e8f5f1;
    color:var(--green);
    padding:5px 8px;
    border-radius:999px;
}

.points-head,
.points-row{
    display:grid;
    grid-template-columns:30px minmax(120px,1fr) 32px 32px 32px 42px 48px;
    gap:5px;
    align-items:center;
}

.points-head{
    padding:8px 10px;
    background:#f9fafb;
    font-size:8px;
    font-weight:900;
    color:#6b7280;
    text-transform:uppercase;
}

.points-row{
    padding:8px 10px;
    border-top:1px solid #f1f5f9;
    font-size:10px;
    color:#111827;
    text-decoration:none;
}

.pos{
    width:22px;
    height:22px;
    border-radius:50%;
    background:#f3f4f6;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:9px;
}

.pos.gold{background:#facc15;}
.pos.silver{background:#d1d5db;}
.pos.bronze{background:#fdba74;}

.team-cell{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.team-cell img{
    width:22px;
    height:22px;
    border-radius:50%;
    object-fit:cover;
    background:#f3f4f6;
}

.team-cell span{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-weight:900;
}

.stat{
    text-align:center;
    font-weight:900;
}

.nrr{
    color:var(--green);
}

.tabs{
    display:flex;
    gap:7px;
    overflow-x:auto;
    scrollbar-width:none;
    padding:8px;
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:16px;
    margin-bottom:10px;
}

.tabs::-webkit-scrollbar{
    display:none;
}

.tab-btn{
    border:0;
    border-radius:999px;
    padding:8px 12px;
    font-size:11px;
    font-weight:900;
    background:#f3f5f8;
    color:#111827;
    white-space:nowrap;
    cursor:pointer;
}

.tab-btn.active{
    background:var(--green);
    color:#fff;
}

.tab-btn.live.active{
    background:#dc2626;
}

.match-tab{
    display:none;
}

.match-tab.active{
    display:block;
}

.date-title{
    margin:12px 0 8px;
    background:#eef2f7;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:8px 10px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.date-title strong{
    font-size:12px;
    color:#111827;
    font-weight:900;
}

.date-title span{
    font-size:10px;
    color:#6b7280;
    font-weight:900;
}

.match-card{
    display:block;
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:15px;
    padding:10px;
    margin-bottom:8px;
    text-decoration:none;
    color:inherit;
}

.match-top{
    display:flex;
    justify-content:space-between;
    gap:8px;
    margin-bottom:8px;
}

.match-round{
    font-size:10px;
    font-weight:900;
    color:#6b7280;
}

.match-time{
    font-size:10px;
    font-weight:900;
    color:#0085ca;
    white-space:nowrap;
}

.teams-line{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:8px;
}

.team-side{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.team-side.right{
    justify-content:flex-end;
    text-align:right;
}

.team-side img{
    width:26px;
    height:26px;
    border-radius:50%;
    object-fit:cover;
    background:#f3f4f6;
}

.team-name{
    font-size:11px;
    font-weight:900;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.team-score{
    font-size:10px;
    color:#6b7280;
    margin-top:2px;
    font-weight:800;
}

.vs{
    background:#f3f5f8;
    border-radius:999px;
    padding:5px 7px;
    font-size:8px;
    font-weight:900;
    color:#6b7280;
}

.match-note{
    margin-top:8px;
    background:#f9fafb;
    border-radius:10px;
    padding:7px 8px;
    font-size:10px;
    color:#374151;
    font-weight:700;
}

.empty-box{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:15px;
    padding:16px;
    text-align:center;
    color:#6b7280;
    font-size:12px;
}

@media(max-width:520px){
    .series-stats{
        grid-template-columns:repeat(2,1fr);
    }

    .points-head,
    .points-row{
        grid-template-columns:28px minmax(95px,1fr) 28px 28px 28px 38px 42px;
        font-size:9px;
    }

    .team-name{
        max-width:86px;
    }
}

.teams-page{
    max-width:700px;
    margin:0 auto;
    padding:6px;
    background:#f5f7fb;
}

.teams-topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:8px;
}

.teams-title{
    font-size:18px;
    font-weight:900;
    color:#111827;
}

.teams-subtitle{
    font-size:11px;
    color:#6b7280;
    margin-top:2px;
}

.teams-count{
    background:var(--green-dark);
    color:#fff;
    padding:5px 9px;
    border-radius:999px;
    font-size:10px;
    font-weight:800;
}

.teams-search-box,
.team-filter-box{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:14px;
    padding:8px;
    margin-bottom:8px;
    overflow:hidden;
}

.teams-search{
    width:100%;
    border:0;
    outline:0;
    background:#f3f5f8;
    border-radius:999px;
    padding:9px 12px;
    font-size:12px;
    font-weight:700;
    color:#111827;
}

.team-filter-title{
    font-size:10px;
    font-weight:900;
    color:#6b7280;
    text-transform:uppercase;
    margin-bottom:6px;
}

.team-filter-title.mt{
    margin-top:9px;
}

.team-chips{
    display:flex;
    gap:6px;
    overflow-x:auto;
    scrollbar-width:none;
    -ms-overflow-style:none;
}

.team-chips::-webkit-scrollbar{
    display:none;
}

.team-chip{
    border:0;
    outline:0;
    cursor:pointer;
    white-space:nowrap;
    border-radius:999px;
    padding:6px 10px;
    font-size:10px;
    font-weight:900;
    background:#f3f5f8;
    color:#111827;
    flex:0 0 auto;
}

.team-chip.active{
    background:var(--green-dark);
    color:#fff;
}

.team-card{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:13px;
    padding:9px;
    margin-bottom:7px;
    text-decoration:none;
    color:inherit;
    display:block;
}

.team-head{
    display:flex;
    align-items:center;
    gap:9px;
}

.team-logo{
    width:30px;
    height:30px;
    border-radius:50%;
    object-fit:cover;
    background:#f3f4f6;
    flex-shrink:0;
}

.team-info{
    min-width:0;
    flex:1;
}

.team-name{
    font-size:12px;
    font-weight:900;
    color:#111827;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.team-meta{
    font-size:10px;
    color:#6b7280;
    margin-top:2px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.team-code{
    background:#e8f5f1;
    color:var(--green-dark);
    font-size:9px;
    font-weight:900;
    padding:5px 7px;
    border-radius:999px;
    flex-shrink:0;
}

.team-leagues{
    margin-top:7px;
    background:#f8fafc;
    border-radius:9px;
    padding:6px 8px;
    font-size:10px;
    color:#6b7280;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.team-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:6px;
    margin-top:8px;
}

.team-stat{
    background:#f8fafc;
    border-radius:9px;
    padding:6px;
    text-align:center;
}

.team-stat strong{
    display:block;
    font-size:12px;
    color:#111827;
    line-height:1;
}

.team-stat span{
    display:block;
    margin-top:3px;
    font-size:8px;
    color:#6b7280;
    font-weight:900;
    text-transform:uppercase;
}

.empty-teams{
    background:#fff;
    border-radius:14px;
    padding:16px;
    text-align:center;
    color:#6b7280;
    font-size:12px;
    border:1px solid #edf2f7;
}

.team-page{
    max-width:760px;
    margin:0 auto;
    padding:6px;
    background:#f5f7fb;
}

.team-hero{
    background:linear-gradient(135deg,var(--green),var(--green-dark));
    color:#fff;
    border-radius:18px;
    padding:16px;
    margin-bottom:10px;
}

.team-top{
    display:flex;
    align-items:center;
    gap:14px;
}

.team-logo-main{
    width:72px;
    height:72px;
    border-radius:50%;
    background:#fff;
    object-fit:cover;
}

.team-name-main{
    font-size:22px;
    font-weight:900;
    line-height:1.2;
}

.team-meta-main{
    font-size:12px;
    opacity:.85;
    margin-top:4px;
}

.team-code-main{
    display:inline-block;
    margin-top:8px;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.22);
    color:#fff;
    font-size:10px;
    font-weight:900;
    padding:6px 10px;
    border-radius:999px;
}

.team-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:7px;
    margin-top:14px;
}

.stat-box{
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.18);
    border-radius:12px;
    padding:8px 6px;
    text-align:center;
}

.stat-box strong{
    display:block;
    font-size:15px;
}

.stat-box span{
    display:block;
    margin-top:2px;
    font-size:9px;
    font-weight:900;
    opacity:.85;
    text-transform:uppercase;
}

.info-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-bottom:10px;
}

.info-card{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:15px;
    padding:12px;
}

.info-card h3{
    margin:0 0 8px;
    font-size:13px;
    color:#111827;
    font-weight:900;
}

.info-list{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}

.info-pill{
    background:#f3f5f8;
    color:#374151;
    padding:6px 8px;
    border-radius:999px;
    font-size:10px;
    font-weight:800;
    text-decoration:none;
}

.next-match-card{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:16px;
    padding:12px;
    margin-bottom:10px;
}

.next-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
}

.next-head h2{
    margin:0;
    font-size:14px;
    font-weight:900;
    color:#111827;
}

.countdown{
    background:var(--green);
    color:#fff;
    border-radius:999px;
    padding:6px 9px;
    font-size:10px;
    font-weight:900;
    white-space:nowrap;
}

.tabs{
    display:flex;
    gap:7px;
    overflow-x:auto;
    scrollbar-width:none;
    padding:8px;
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:16px;
    margin-bottom:10px;
}

.tabs::-webkit-scrollbar{
    display:none;
}

.tab-btn{
    border:0;
    border-radius:999px;
    padding:8px 12px;
    font-size:11px;
    font-weight:900;
    background:#f3f5f8;
    color:#111827;
    white-space:nowrap;
    cursor:pointer;
}

.tab-btn.active{
    background:var(--green);
    color:#fff;
}

.tab-btn.live.active{
    background:#dc2626;
}

.match-tab{
    display:none;
}

.match-tab.active{
    display:block;
}

.date-title{
    margin:12px 0 8px;
    background:#eef2f7;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:8px 10px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.date-title strong{
    font-size:12px;
    color:#111827;
    font-weight:900;
}

.date-title span{
    font-size:10px;
    color:#6b7280;
    font-weight:900;
}

.match-card{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:15px;
    padding:10px;
    margin-bottom:8px;
    text-decoration:none;
    color:inherit;
    display:block;
}

.match-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-bottom:8px;
}

.tm-badge{
    padding:5px 8px;
    border-radius:999px;
    font-size:9px;
    font-weight:900;
}

.tm-badge.live{
    background:#dc2626;
    color:#fff;
}

.tm-badge.upcoming{
    background:#e0f2fe;
    color:#0369a1;
}

.tm-badge.finished{
    background:#f3f4f6;
    color:#374151;
}

.match-league{
    font-size:10px;
    font-weight:900;
    color:#6b7280;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.match-teams{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:8px;
}

.team-side{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}

.team-side.right{
    justify-content:flex-end;
    text-align:right;
}

.team-side img{
    width:30px;
    height:30px;
    border-radius:50%;
    object-fit:cover;
    background:#f3f4f6;
}

.team-label{
    font-size:11px;
    font-weight:900;
    color:#111827;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.team-score{
    font-size:10px;
    color:#6b7280;
    font-weight:800;
    margin-top:2px;
}

.vs{
    background:#f3f5f8;
    color:#6b7280;
    padding:5px 7px;
    border-radius:999px;
    font-size:8px;
    font-weight:900;
}

.match-extra{
    margin-top:8px;
    display:grid;
    gap:5px;
    color:#6b7280;
    font-size:10px;
    font-weight:800;
}

.match-note{
    background:#f9fafb;
    color:#374151;
    border-radius:10px;
    padding:7px 8px;
}

.empty-box{
    background:#fff;
    border:1px solid #edf2f7;
    border-radius:15px;
    padding:16px;
    text-align:center;
    color:#6b7280;
    font-size:12px;
}

@media(max-width:520px){
    .team-stats{
        grid-template-columns:repeat(2,1fr);
    }

    .info-grid{
        grid-template-columns:1fr;
    }

    .team-name-main{
        font-size:19px;
    }

    .team-label{
        max-width:86px;
    }
}


/* ==============================
   SERIES DETAIL PAGE FIX
   Add at END of style.css
============================== */

.series-detail-page{
  width:100% !important;
  max-width:700px !important;
  margin:0 auto !important;
  padding:8px !important;
  background:#f5f7fb !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
}

.series-detail-page *{
  box-sizing:border-box !important;
}

.series-detail-page .series-hero{
  width:100% !important;
  margin:0 0 10px !important;
  padding:14px !important;
  border-radius:18px !important;
  background:linear-gradient(135deg,var(--green),var(--green-dark)) !important;
  color:#fff !important;
  overflow:hidden !important;
}

.series-detail-page .series-hero-top{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  min-width:0 !important;
}

.series-detail-page .series-logo{
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  background:#fff !important;
}

.series-detail-page .series-title{
  margin:0 !important;
  font-size:18px !important;
  line-height:1.25 !important;
  font-weight:900 !important;
  color:#fff !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:unset !important;
}

.series-detail-page .series-meta{
  font-size:11px !important;
  color:rgba(255,255,255,.85) !important;
  margin-top:3px !important;
}

.series-detail-page .series-stats{
  width:100% !important;
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:7px !important;
  margin-top:12px !important;
}

.series-detail-page .series-stat{
  min-width:0 !important;
  background:rgba(255,255,255,.14) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  border-radius:12px !important;
  padding:8px 4px !important;
  text-align:center !important;
}

.series-detail-page .series-stat strong{
  display:block !important;
  font-size:14px !important;
  color:#fff !important;
  line-height:1 !important;
}

.series-detail-page .series-stat span{
  display:block !important;
  margin-top:4px !important;
  font-size:8px !important;
  color:rgba(255,255,255,.85) !important;
  font-weight:900 !important;
  text-transform:uppercase !important;
}

/* Points table */
.series-detail-page .cf-box{
  width:100% !important;
  background:#fff !important;
  border:1px solid #edf2f7 !important;
  border-radius:16px !important;
  overflow:hidden !important;
  margin:0 0 12px !important;
}

.series-detail-page .box-head{
  padding:10px 12px !important;
  background:#f8fafc !important;
  border-bottom:1px solid #edf2f7 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

.series-detail-page .box-head h2{
  margin:0 !important;
  font-size:14px !important;
  font-weight:900 !important;
  color:#111827 !important;
}

.series-detail-page .box-head span{
  font-size:10px !important;
  font-weight:900 !important;
  background:#e8f5f1 !important;
  color:var(--green) !important;
  padding:5px 8px !important;
  border-radius:999px !important;
}

.series-detail-page .points-head,
.series-detail-page .points-row{
  width:100% !important;
  display:grid !important;
  grid-template-columns:30px minmax(0,1fr) 32px 32px 32px 42px 48px !important;
  gap:5px !important;
  align-items:center !important;
}

.series-detail-page .points-head{
  padding:8px 10px !important;
  background:#f9fafb !important;
  font-size:8px !important;
  font-weight:900 !important;
  color:#6b7280 !important;
  text-transform:uppercase !important;
}

.series-detail-page .points-row{
  padding:8px 10px !important;
  border-top:1px solid #f1f5f9 !important;
  font-size:10px !important;
  color:#111827 !important;
  text-decoration:none !important;
}

.series-detail-page .pos{
  width:22px !important;
  height:22px !important;
  border-radius:50% !important;
  background:#f3f4f6 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight:900 !important;
  font-size:9px !important;
}

.series-detail-page .pos.gold{background:#facc15 !important;}
.series-detail-page .pos.silver{background:#d1d5db !important;}
.series-detail-page .pos.bronze{background:#fdba74 !important;}

.series-detail-page .team-cell{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  min-width:0 !important;
}

.series-detail-page .team-cell img{
  width:22px !important;
  height:22px !important;
  min-width:22px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  background:#f3f4f6 !important;
}

.series-detail-page .team-cell span{
  display:block !important;
  min-width:0 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  font-weight:900 !important;
}

.series-detail-page .stat{
  text-align:center !important;
  font-weight:900 !important;
  font-size:10px !important;
  color:#111827 !important;
}

.series-detail-page .nrr{
  color:var(--green) !important;
}

/* Tabs */
.series-detail-page .tabs{
  width:100% !important;
  display:flex !important;
  gap:7px !important;
  overflow-x:auto !important;
  scrollbar-width:none !important;
  padding:8px !important;
  background:#fff !important;
  border:1px solid #edf2f7 !important;
  border-radius:16px !important;
  margin:0 0 10px !important;
}

.series-detail-page .tabs::-webkit-scrollbar{
  display:none !important;
}

.series-detail-page .tab-btn{
  border:0 !important;
  border-radius:999px !important;
  padding:8px 12px !important;
  font-size:11px !important;
  font-weight:900 !important;
  background:#f3f5f8 !important;
  color:#111827 !important;
  white-space:nowrap !important;
  cursor:pointer !important;
  flex:0 0 auto !important;
}

.series-detail-page .tab-btn.active{
  background:var(--green) !important;
  color:#fff !important;
}

.series-detail-page .tab-btn.live.active{
  background:#dc2626 !important;
}

/* Match tabs */
.series-detail-page .match-tab{
  display:none !important;
}

.series-detail-page .match-tab.active{
  display:block !important;
}

.series-detail-page .date-title{
  margin:10px 0 8px !important;
  background:#eef2f7 !important;
  border:1px solid #e5e7eb !important;
  border-radius:12px !important;
  padding:8px 10px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}

.series-detail-page .date-title strong{
  font-size:12px !important;
  color:#111827 !important;
  font-weight:900 !important;
}

.series-detail-page .date-title span{
  font-size:10px !important;
  color:#6b7280 !important;
  font-weight:900 !important;
}

/* Match card fixed */
.series-detail-page .match-card{
  width:100% !important;
  display:block !important;
  background:#fff !important;
  border:1px solid #edf2f7 !important;
  border-radius:15px !important;
  padding:10px !important;
  margin:0 0 8px !important;
  text-decoration:none !important;
  color:inherit !important;
  box-shadow:none !important;
}

.series-detail-page .match-top{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:8px !important;
  margin-bottom:8px !important;
}

.series-detail-page .match-round{
  font-size:10px !important;
  font-weight:900 !important;
  color:#6b7280 !important;
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}

.series-detail-page .match-time{
  font-size:10px !important;
  font-weight:900 !important;
  color:#0085ca !important;
  white-space:nowrap !important;
}

.series-detail-page .teams-line{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
  align-items:center !important;
  gap:8px !important;
  width:100% !important;
}

.series-detail-page .team-side{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  min-width:0 !important;
}

.series-detail-page .team-side.right{
  justify-content:flex-end !important;
  text-align:right !important;
}

.series-detail-page .team-side img{
  width:26px !important;
  height:26px !important;
  min-width:26px !important;
  border-radius:50% !important;
  object-fit:cover !important;
  background:#f3f4f6 !important;
}

.series-detail-page .team-name{
  max-width:100% !important;
  font-size:11px !important;
  font-weight:900 !important;
  color:#111827 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.series-detail-page .team-score{
  font-size:10px !important;
  color:#6b7280 !important;
  margin-top:2px !important;
  font-weight:800 !important;
}

.series-detail-page .vs{
  background:#f3f5f8 !important;
  border-radius:999px !important;
  padding:5px 7px !important;
  font-size:8px !important;
  font-weight:900 !important;
  color:#6b7280 !important;
  white-space:nowrap !important;
}

.series-detail-page .match-note{
  margin-top:8px !important;
  background:#f9fafb !important;
  border-radius:10px !important;
  padding:7px 8px !important;
  font-size:10px !important;
  color:#374151 !important;
  font-weight:700 !important;
}

.series-detail-page .empty-box{
  background:#fff !important;
  border:1px solid #edf2f7 !important;
  border-radius:15px !important;
  padding:16px !important;
  text-align:center !important;
  color:#6b7280 !important;
  font-size:12px !important;
}

/* Mobile */
@media(max-width:520px){
  .series-detail-page{
    padding:7px !important;
  }

  .series-detail-page .series-stats{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .series-detail-page .points-head,
  .series-detail-page .points-row{
    grid-template-columns:28px minmax(0,1fr) 28px 28px 28px 36px 42px !important;
    gap:4px !important;
    padding-left:7px !important;
    padding-right:7px !important;
  }

  .series-detail-page .points-head{
    font-size:7px !important;
  }

  .series-detail-page .points-row{
    font-size:9px !important;
  }

  .series-detail-page .team-name{
    max-width:86px !important;
  }
}

.more-page{  
    max-width:700px;  
    margin:0 auto;  
    padding:6px;  
    background:#f5f7fb;  
}  
  
.more-hero{  
    background:linear-gradient(135deg,var(--green),var(--green-dark));  
    color:#fff;  
    border-radius:18px;  
    padding:16px;  
    margin-bottom:10px;  
}  
  
.more-hero-top{  
    display:flex;  
    align-items:center;  
    gap:12px;  
}  
  
.more-back{  
    width:42px;  
    height:42px;  
    border-radius:14px;  
    background:rgba(255,255,255,.12);  
    display:grid;  
    place-items:center;  
    color:#fff;  
    font-size:18px;  
    flex-shrink:0;  
}  
  
.more-title{  
    font-size:22px;  
    font-weight:900;  
    line-height:1.15;  
}  
  
.more-subtitle{  
    font-size:12px;  
    opacity:.85;  
    margin-top:4px;  
    line-height:1.4;  
}  
  
.more-box{  
    background:#fff;  
    border:1px solid #edf2f7;  
    border-radius:16px;  
    overflow:hidden;  
    margin-bottom:10px;  
}  
  
.more-box-head{  
    padding:11px 12px;  
    background:#f8fafc;  
    border-bottom:1px solid #edf2f7;  
    display:flex;  
    align-items:center;  
    justify-content:space-between;  
}  
  
.more-box-head h2{  
    margin:0;  
    font-size:14px;  
    font-weight:900;  
    color:#111827;  
}  
  
.more-box-head span{  
    background:#e8f5f1;  
    color:var(--green);  
    font-size:10px;  
    font-weight:900;  
    padding:5px 8px;  
    border-radius:999px;  
}  
  
.more-grid{  
    display:grid;  
    grid-template-columns:1fr 1fr;  
    gap:8px;  
    padding:10px;  
}  
  
.more-card{  
    background:#f8fafc;  
    border:1px solid #edf2f7;  
    border-radius:15px;  
    padding:12px;  
    min-height:96px;  
    text-decoration:none;  
    color:inherit;  
}  
  
.more-card i{  
    width:34px;  
    height:34px;  
    border-radius:12px;  
    background:var(--green);  
    color:#fff;  
    display:grid;  
    place-items:center;  
    font-size:16px;  
    margin-bottom:9px;  
}  
  
.more-card strong{  
    display:block;  
    color:#111827;  
    font-size:13px;  
    font-weight:900;  
    line-height:1.25;  
}  
  
.more-card span{  
    display:block;  
    margin-top:4px;  
    color:#6b7280;  
    font-size:10px;  
    font-weight:700;  
    line-height:1.35;  
}  
  
.more-list{  
    padding:4px 10px;  
}  
  
.more-row{  
    display:flex;  
    align-items:center;  
    gap:10px;  
    padding:12px 0;  
    border-bottom:1px solid #f1f5f9;  
    text-decoration:none;  
    color:inherit;  
}  
  
.more-row:last-child{  
    border-bottom:0;  
}  
  
.more-row-icon{  
    width:34px;  
    height:34px;  
    border-radius:12px;  
    background:#e8f5f1;  
    color:var(--green);  
    display:grid;  
    place-items:center;  
    flex-shrink:0;  
}  
  
.more-row-text{  
    flex:1;  
    min-width:0;  
}  
  
.more-row-text strong{  
    display:block;  
    font-size:13px;  
    color:#111827;  
    font-weight:900;  
}  
  
.more-row-text span{  
    display:block;  
    font-size:10px;  
    color:#6b7280;  
    margin-top:2px;  
    font-weight:700;  
}  
  
.more-row-arrow{  
    color:#9ca3af;  
    font-size:16px;  
}  
  
.more-app-card{  
    background:linear-gradient(135deg,#111827,var(--green-dark));  
    color:#fff;  
    border-radius:18px;  
    padding:14px;  
    margin-bottom:10px;  
}  
  
.more-app-title{  
    font-size:16px;  
    font-weight:900;  
}  
  
.more-app-text{  
    font-size:11px;  
    opacity:.82;  
    margin-top:5px;  
    line-height:1.5;  
}  
  
.more-app-actions{  
    display:flex;  
    gap:8px;  
    margin-top:12px;  
}  
  
.more-app-actions a{  
    flex:1;  
    height:38px;  
    border-radius:999px;  
    display:flex;  
    align-items:center;  
    justify-content:center;  
    gap:6px;  
    font-size:11px;  
    font-weight:900;  
}  
  
.more-app-actions a:first-child{  
    background:var(--accent);  
    color:#05281f;  
}  
  
.more-app-actions a:last-child{  
    background:rgba(255,255,255,.12);  
    color:#fff;  
    border:1px solid rgba(255,255,255,.16);  
}  
  
@media(max-width:420px){  
    .more-grid{  
        grid-template-columns:1fr;  
    }  
}

.profile-page{  
    max-width:700px;  
    margin:0 auto;  
    padding:8px;  
    background:#f5f7fb;  
    min-height:100vh;  
}  
  
.profile-hero{  
    background:linear-gradient(135deg,var(--green),var(--green-dark));  
    border-radius:22px;  
    padding:18px;  
    color:#fff;  
    position:relative;  
    overflow:hidden;  
}  
  
.profile-top{  
    display:flex;  
    align-items:center;  
    justify-content:space-between;  
    margin-bottom:18px;  
}  
  
.profile-back{  
    width:42px;  
    height:42px;  
    border-radius:14px;  
    background:rgba(255,255,255,.12);  
    display:grid;  
    place-items:center;  
    color:#fff;  
    font-size:17px;  
}  
  
.profile-settings{  
    width:42px;  
    height:42px;  
    border-radius:14px;  
    background:rgba(255,255,255,.12);  
    display:grid;  
    place-items:center;  
    color:#fff;  
    font-size:16px;  
}  
  
.profile-user{  
    display:flex;  
    align-items:center;  
    gap:14px;  
}  
  
.profile-user img{  
    width:78px;  
    height:78px;  
    border-radius:22px;  
    object-fit:cover;  
    border:3px solid rgba(255,255,255,.18);  
    background:#fff;  
}  
  
.profile-name{  
    font-size:24px;  
    font-weight:900;  
    line-height:1.1;  
}  
  
.profile-email{  
    margin-top:6px;  
    font-size:12px;  
    opacity:.85;  
    word-break:break-word;  
}  
  
.profile-joined{  
    margin-top:7px;  
    font-size:11px;  
    opacity:.75;  
    font-weight:700;  
}  
  
.profile-grid{  
    display:grid;  
    grid-template-columns:1fr 1fr;  
    gap:10px;  
    margin-top:12px;  
}  
  
.profile-stat{  
    background:#fff;  
    border-radius:18px;  
    padding:16px;  
    border:1px solid #edf2f7;  
}  
  
.profile-stat strong{  
    display:block;  
    color:#111827;  
    font-size:18px;  
    font-weight:900;  
}  
  
.profile-stat span{  
    display:block;  
    margin-top:5px;  
    color:#6b7280;  
    font-size:11px;  
    font-weight:700;  
}  
  
.profile-box{  
    background:#fff;  
    border-radius:18px;  
    border:1px solid #edf2f7;  
    margin-top:12px;  
    overflow:hidden;  
}  
  
.profile-box-head{  
    padding:14px 15px;  
    border-bottom:1px solid #edf2f7;  
    background:#f8fafc;  
}  
  
.profile-box-head h2{  
    margin:0;  
    color:#111827;  
    font-size:14px;  
    font-weight:900;  
}  
  
.profile-list{  
    padding:0 14px;  
}  
  
.profile-row{  
    display:flex;  
    align-items:center;  
    gap:12px;  
    padding:14px 0;  
    border-bottom:1px solid #f1f5f9;  
    text-decoration:none;  
    color:inherit;  
}  
  
.profile-row:last-child{  
    border-bottom:0;  
}  
  
.profile-row-icon{  
    width:40px;  
    height:40px;  
    border-radius:14px;  
    background:#e8f5f1;  
    color:var(--green);  
    display:grid;  
    place-items:center;  
    flex-shrink:0;  
    font-size:16px;  
}  
  
.profile-row-text{  
    flex:1;  
    min-width:0;  
}  
  
.profile-row-text strong{  
    display:block;  
    font-size:13px;  
    font-weight:900;  
    color:#111827;  
}  
  
.profile-row-text span{  
    display:block;  
    margin-top:3px;  
    color:#6b7280;  
    font-size:10px;  
    font-weight:700;  
}  
  
.profile-row-arrow{  
    color:#9ca3af;  
    font-size:15px;  
}  
  
.profile-logout{  
    margin-top:14px;  
    width:100%;  
    height:52px;  
    border-radius:18px;  
    background:#ef4444;  
    color:#fff;  
    border:0;  
    font-size:14px;  
    font-weight:900;  
    display:flex;  
    align-items:center;  
    justify-content:center;  
    gap:8px;  
    text-decoration:none;  
}  
  
@media(max-width:520px){  
  
    .profile-grid{  
        grid-template-columns:1fr;  
    }  
  
    .profile-user{  
        align-items:flex-start;  
    }  
  
    .profile-user img{  
        width:72px;  
        height:72px;  
    }  
  
    .profile-name{  
        font-size:21px;  
    }  
}

.league-mini-score{
  margin-top:6px;
  display:flex;
  flex-direction:column;
  gap:3px;
  font-size:12px;
  font-weight:700;
  color:var(--green);
}

.glow-btn{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;

  background:linear-gradient(
    135deg,
    #ffffff 0%,
    #f8fff9 100%
  );

  color:var(--green-dark)b49 !important;

  font-weight:800;
  font-size:18px;

  border-radius:16px;

  height:56px;

  box-shadow:
    0 0 10px rgba(132,216,70,.35),
    0 0 20px rgba(132,216,70,.25),
    0 0 40px rgba(132,216,70,.18);

  transition:.3s ease;
}

.glow-btn span{
  position:relative;
  z-index:3;
}

.glow-btn::before{
  content:"";

  position:absolute;
  inset:-2px;

  border-radius:18px;

  background:linear-gradient(
    90deg,
    rgba(132,216,70,0),
    rgba(132,216,70,.9),
    rgba(255,255,255,.95),
    rgba(132,216,70,.9),
    rgba(132,216,70,0)
  );

  background-size:200% 100%;

  animation:glowMove 3s linear infinite;

  opacity:.9;

  z-index:1;

  filter:blur(8px);
}

.glow-btn::after{
  content:"";

  position:absolute;
  inset:1px;

  border-radius:15px;

  background:linear-gradient(
    135deg,
    #ffffff 0%,
    #f4fff4 100%
  );

  z-index:2;
}

.glow-btn:hover{
  transform:translateY(-2px) scale(1.01);

  box-shadow:
    0 0 14px rgba(132,216,70,.55),
    0 0 28px rgba(132,216,70,.4),
    0 0 50px rgba(132,216,70,.28);
}

@keyframes glowMove{
  0%{
    background-position:0% 50%;
  }
  100%{
    background-position:200% 50%;
  }
}