
:root{
  --bg:#0b0b0e;
  --panel:#121218;
  --panel2:#181822;
  --text:#f3f4f6;
  --muted:#a3a3b2;
  --accent:#ff4d2e;
  --accent2:#ffb000;
  --line:#242436;
  --good:#22c55e;
  --bad:#ef4444;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --shadow:0 10px 25px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
body{
  margin:0; font-family:var(--sans); color:var(--text);
  background: radial-gradient(1100px 700px at 20% 10%, rgba(255,77,46,.12), transparent 55%),
              radial-gradient(900px 650px at 80% 20%, rgba(255,176,0,.10), transparent 55%),
              var(--bg);
}
a{color:var(--accent2); text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1400px; margin:0 auto; padding:18px}
.topbar{
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  padding:14px 16px; border:1px solid var(--line); border-radius:16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow:var(--shadow);
}
.brand{display:flex; gap:10px; align-items:center}
.logo{
  width:38px;height:38px;border-radius:12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow:0 8px 18px rgba(255,77,46,.25);
}
.h1{font-size:18px; font-weight:900; letter-spacing:.3px}
.sub{font-size:12px;color:var(--muted)}
.grid{display:grid; gap:14px; margin-top:14px}
.grid.cols-3{grid-template-columns: 380px 1fr 380px}
.card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius:16px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card .hd{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background: rgba(0,0,0,.15);
}
.card .hd .t{font-weight:900}
.card .bd{padding:12px 14px}
.row{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.input, select{
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color:var(--text);
  padding:10px 10px;
  border-radius:12px;
  outline:none;
}
.btn{
  background: linear-gradient(135deg, rgba(255,77,46,.95), rgba(255,176,0,.85));
  border:0; color:#111; font-weight:900;
  padding:10px 12px; border-radius:12px; cursor:pointer;
}
.btn.secondary{
  background: rgba(255,255,255,.06); color:var(--text); border:1px solid var(--line); font-weight:800;
}
.btn.danger{ background: rgba(239,68,68,.18); color:#fff; border:1px solid rgba(239,68,68,.35); font-weight:800}
.btn:disabled{opacity:.5; cursor:not-allowed}
.badge{
  padding:4px 10px; border-radius:999px; font-size:12px; font-weight:900;
  background: rgba(255,255,255,.06); border:1px solid var(--line);
}
.badge.accent{background: rgba(255,176,0,.12); border-color: rgba(255,176,0,.35)}
.badge.good{background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.35)}
.badge.bad{background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.35)}
.clock{
  font-family:var(--mono);
  font-size:44px; font-weight:1000;
  letter-spacing:1px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.35);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
  min-width: 170px;
  text-align:center;
}
.clock.warn{ box-shadow: inset 0 0 0 1px rgba(255,176,0,.45), 0 0 25px rgba(255,176,0,.12); }
.clock.danger{ box-shadow: inset 0 0 0 1px rgba(255,77,46,.45), 0 0 25px rgba(255,77,46,.12); }
hr{border:0;border-top:1px solid var(--line); margin:14px 0}
.table{width:100%; border-collapse:separate; border-spacing:0; overflow:hidden; border-radius:14px; border:1px solid var(--line)}
.table th,.table td{padding:10px 10px; border-bottom:1px solid var(--line); font-size:13px; text-align:left}
.table th{color:var(--muted); font-weight:900; text-transform:uppercase; letter-spacing:.06em; font-size:11px; background: rgba(0,0,0,.22)}
.table tr:last-child td{border-bottom:0}
.mono{font-family:var(--mono)}
.board{
  display:grid;
  grid-template-columns: 74px repeat(var(--cols), 1fr);
  gap:6px;
}
.cell{
  border:1px solid var(--line);
  background: rgba(0,0,0,.20);
  border-radius:12px;
  padding:10px;
  min-height:64px;
}
.cell.pick{position:relative}
.cell.pick.taken{opacity:.55}
.cell.pick.onclock{outline:2px solid rgba(255,176,0,.55); box-shadow:0 0 18px rgba(255,176,0,.10)}
.cell .pno{position:absolute; top:8px; right:10px; font-size:11px; color:var(--muted); font-weight:900}
.cell .pname{font-weight:900; font-size:13px}
.cell .pmeta{font-size:11px; color:var(--muted); margin-top:4px}
.list{
  display:flex; flex-direction:column; gap:8px; max-height:520px; overflow:auto; padding-right:6px;
}
.item{
  border:1px solid var(--line);
  background: rgba(0,0,0,.22);
  border-radius:14px;
  padding:10px;
  display:flex; justify-content:space-between; gap:10px; align-items:center;
}
.item.taken{opacity:.5}
.item .nm{font-weight:900}
.item .sm{font-size:11px; color:var(--muted); margin-top:2px}
.item .pill{font-size:11px; font-weight:900; padding:4px 8px; border-radius:999px; border:1px solid var(--line); background: rgba(255,255,255,.05)}
.item .pill.rookie{border-color: rgba(255,176,0,.35); background: rgba(255,176,0,.12)}
.item .pill.fa{border-color: rgba(148,163,184,.35); background: rgba(148,163,184,.10)}
.toast{
  position:fixed; left:50%; transform:translateX(-50%);
  bottom:18px; padding:10px 12px; border-radius:12px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.80);
  box-shadow:var(--shadow);
}
