:root{
  --bg:#0b1220;
  --panel:#101a2e;
  --panel2:#0e1730;
  --text:#e8eefc;
  --muted:#9fb0d0;
  --line:#1f2a44;
  --accent:#3aa0ff;
  --good:#31d07f;
  --warn:#ffcc66;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:linear-gradient(180deg,var(--bg),#070d18);
  color:var(--text);
}
.topbar{
  height:56px;
  display:flex;
  align-items:center;
  padding:0 16px;
  border-bottom:1px solid var(--line);
  background:rgba(16,26,46,.8);
  backdrop-filter: blur(8px);
  position:sticky; top:0;
}
.brand{
  font-weight:700;
  letter-spacing:.4px;
}
.brand span{ color:var(--accent); }
.container{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap:14px;
  padding:14px;
  max-width:1200px;
  margin:0 auto;
}
.sidebar{
  background:rgba(16,26,46,.65);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
}
.sidehdr{
  padding:12px 12px;
  font-weight:650;
  border-bottom:1px solid var(--line);
  color:var(--muted);
}
.sportbtn{
  width:100%;
  text-align:left;
  padding:12px 12px;
  background:transparent;
  border:0;
  border-bottom:1px solid rgba(31,42,68,.5);
  color:var(--text);
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.sportbtn:hover{ background:rgba(58,160,255,.08); }
.sportbtn.active{
  background:rgba(58,160,255,.12);
  border-left:3px solid var(--accent);
}
.main{
  background:rgba(16,26,46,.65);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
}
.mainhdr{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 12px;
  border-bottom:1px solid var(--line);
}
.badge{
  font-size:12px;
  color:var(--muted);
}
.controls{
  display:flex; gap:8px; align-items:center;
}
input[type="search"]{
  background:rgba(14,23,48,.8);
  border:1px solid var(--line);
  color:var(--text);
  padding:10px 10px;
  border-radius:10px;
  width:280px;
  outline:none;
}
.btn{
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--line);
  background:rgba(14,23,48,.8);
  color:var(--text);
  cursor:pointer;
}
.btn:hover{ border-color:rgba(58,160,255,.6); }
.list{
  padding:10px 12px 14px;
}
.league{
  margin-top:12px;
  border:1px solid rgba(31,42,68,.6);
  border-radius:12px;
  overflow:hidden;
}
.leaguehdr{
  padding:10px 10px;
  background:rgba(14,23,48,.65);
  color:var(--muted);
  font-size:13px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.row{
  display:grid;
  grid-template-columns: 90px 1fr 80px;
  gap:10px;
  padding:10px 10px;
  border-top:1px solid rgba(31,42,68,.45);
  align-items:center;
}
.meta{
  font-size:12px;
  color:var(--muted);
}
.teams{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.teamline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.score{
  font-weight:800;
  letter-spacing:.3px;
  text-align:right;
}
.status{
  font-size:12px;
  color:var(--muted);
  text-align:right;
}
.pill{
  display:inline-block;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(31,42,68,.8);
  font-size:12px;
}
.pill.live{ border-color:rgba(49,208,127,.6); color:var(--good); }
.pill.ns{ border-color:rgba(255,204,102,.5); color:var(--warn); }
.footerhint{
  padding:10px 12px;
  color:var(--muted);
  border-top:1px solid var(--line);
  font-size:12px;
}
@media (max-width: 900px){
  .container{ grid-template-columns: 1fr; }
  input[type="search"]{ width: 100%; }
}


.logo{
  width:18px;
  height:18px;
  object-fit:contain;
  border-radius:4px;
  background:rgba(255,255,255,.06);
}
.teamname{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
