:root{
  --bg:#0b1222;
  --panel:#111b33;
  --card:#152140;
  --card2:#131d37;
  --accent:#38bdf8;
  --live:#dc2626;
  --text:#e5e7eb;
  --muted:#94a3b8;
  --line:rgba(255,255,255,.08);
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:radial-gradient(1200px 600px at 50% -80px, #1d2b55 0%, var(--bg) 60%);
  color:var(--text);
}

.header{
  padding:26px 16px 10px;
  text-align:center;
}

.header h1{
  margin:0;
  font-size:34px;
  letter-spacing:.2px;
}

.sub{
  margin:10px 0 0;
  color:var(--muted);
  font-size:14px;
}

.controls{
  max-width:1100px;
  margin:18px auto 10px;
  padding:14px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  align-items:flex-end;
  background:rgba(17,27,51,.65);
  border:1px solid var(--line);
  border-radius:16px;
  backdrop-filter: blur(6px);
}

.control{
  display:flex;
  flex-direction:column;
  min-width:160px;
}

.controlWide{
  min-width:240px;
  flex:1;
}

label{
  font-size:12px;
  color:var(--muted);
  margin:0 0 6px;
}

input, select, button{
  font:inherit;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  outline:none;
}

input::placeholder{ color:rgba(148,163,184,.75) }

select{
  background:rgba(255,255,255,.06);
}

.buttons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:flex-end;
}

button{
  cursor:pointer;
  border:0;
  background:var(--accent);
  color:#041018;
  font-weight:700;
}

button.ghost{
  background:transparent;
  border:1px dashed rgba(56,189,248,.55);
  color:var(--text);
}

button.live{
  background:var(--live);
  color:#fff;
}

button:disabled{
  opacity:.65;
  cursor:not-allowed;
}

.status{
  max-width:1100px;
  margin:8px auto 0;
  padding:10px 16px;
  text-align:center;
  color:var(--muted);
}

.results{
  max-width:1100px;
  margin:10px auto 24px;
  padding:0 14px 14px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.match{
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 14px 12px;
}

.match .top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  margin-bottom:8px;
}

.match .when{
  font-size:13px;
  color:var(--muted);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}

.badge.live{
  background:var(--live);
  color:#fff;
}

.teams{
  font-size:18px;
  font-weight:800;
  margin:0 0 6px;
}

.meta{
  margin:0;
  font-size:13px;
  color:var(--muted);
  line-height:1.35;
}

.channels{
  margin-top:8px;
  font-size:13px;
  color:var(--text);
  opacity:.95;
}

.channels .icon{
  opacity:.85;
  margin-right:6px;
}

.footer{
  text-align:center;
  padding:12px 10px 18px;
  font-size:12px;
  color:var(--muted);
}
