* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(160deg, #0f172a 0%, #1e3a5f 55%, #0f172a 100%);
  color: #e2e8f0;
  min-height: 100vh;
}
header {
  padding: 0.9rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(201,162,39,0.25);
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: inherit; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, #c9a227, #a67c00);
  color: #0f172a; font-weight: 900; display: grid; place-items: center;
}
.brand-name { font-weight: 800; letter-spacing: 0.02em; }
.muted { color: #94a3b8; }
main { max-width: 820px; margin: 0 auto; padding: 2rem 1.25rem 3rem; }
h1 { font-size: 1.7rem; margin-bottom: 0.35rem; }
.sub { color: #94a3b8; margin-bottom: 1.5rem; }
.actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 0.8rem 1.35rem; border-radius: 8px;
  font-weight: 700; text-decoration: none; border: none; cursor: pointer; font-size: 0.95rem;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-gold { background: linear-gradient(135deg, #c9a227, #a67c00); color: #0f172a; }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.18); color: #e2e8f0; }
.card {
  background: rgba(30,41,59,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 1.25rem; margin-bottom: 1rem;
}
label { display: block; font-size: 0.82rem; color: #94a3b8; margin-bottom: 0.3rem; }
input, select {
  width: 100%; padding: 0.7rem 0.85rem; border-radius: 8px; margin-bottom: 0.9rem;
  border: 1px solid rgba(255,255,255,0.12); background: rgba(15,23,42,0.65); color: #f1f5f9; font-size: 1rem;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.18em; font-size: 1.6rem; color: #f0d78c;
}
.player {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.player:last-child { border-bottom: none; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #64748b; flex-shrink: 0; }
.dot.on { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.6); }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); }
.banner {
  padding: 0.7rem 1rem; border-radius: 8px; margin-bottom: 1rem;
  background: rgba(201,162,39,0.12); border: 1px solid rgba(201,162,39,0.35); color: #f0d78c;
}
.banner.ok { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.35); color: #86efac; }
.banner.warn { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.35); color: #fca5a5; }
.session-list button {
  width: 100%; text-align: left; background: transparent; border: 1px solid rgba(255,255,255,0.1);
  color: inherit; border-radius: 10px; padding: 0.8rem 1rem; margin-bottom: 0.5rem; cursor: pointer;
}
.session-list button:hover { border-color: rgba(201,162,39,0.45); }
.wide { max-width: 1200px; }
.face, .batch-card img, .pick-btn img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.batch { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; }
.batch-card { background: rgba(15,23,42,0.5); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 0.85rem; }
.team-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; }
.team-col { background: rgba(30,41,59,0.55); border: 2px solid #c9a227; border-radius: 14px; padding: 0.85rem; }
.seat-row { display: flex; gap: 0.35rem; align-items: center; margin: 0.35rem 0; flex-wrap: wrap; }
.seat { min-width: 64px; font-size: 0.75rem; padding: 0.35rem 0.4rem; border-radius: 6px; background: rgba(15,23,42,0.6); border: 1px dashed rgba(255,255,255,0.15); }
.seat.filled { border-style: solid; border-color: rgba(201,162,39,0.45); }
.pick-btn { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; padding: 1.1rem; font-size: 1.1rem; }
.pick-btn small { font-weight: 500; color: #0f172a; opacity: 0.7; }
