@font-face { font-family: Geist; src: url("fonts/Geist-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Big Shoulders Display"; src: url("fonts/BigShouldersDisplay-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Syne; src: url("fonts/Syne-Variable.ttf") format("truetype"); font-weight: 400 800; font-display: swap; }

:root {
  --bg: #0A0908; --elev: #161410; --elev-2: #1E1A16;
  --line: rgba(224, 192, 117, 0.16); --gold: #E0C075; --gold-2: #C9A44C;
  --ivory: #F3EBDC; --ivory-dim: #C9C0B0; --muted: #8E8576; --red: #E0564A;
  --font: Geist, "Noto Sans", sans-serif;
  --display: "Big Shoulders Display", Oswald, sans-serif;
  --wordmark: Syne, Geist, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: var(--bg); color: var(--ivory); font-family: var(--font); }
body { min-height: 100vh; }
button, input { font-family: inherit; color: inherit; }
button { cursor: pointer; }
.app { min-height: 100vh; display: flex; flex-direction: column; }

.top { display: flex; align-items: center; gap: 24px; padding: 14px 22px; border-bottom: 1px solid var(--line); background: #110F0D; }
.brand b { font-family: var(--wordmark); letter-spacing: 0.08em; color: var(--gold); font-size: 15px; }
.brand span { display: block; font-size: 11px; color: var(--muted); margin-top: 1px; }
.top-show { margin-left: auto; color: var(--ivory-dim); font-size: 13px; }
.top-show strong { color: var(--ivory); }

.layout { flex: 1; display: grid; grid-template-columns: 320px 1fr; min-height: 0; }
.panel { border-right: 1px solid var(--line); padding: 18px 18px 24px; background: var(--elev); }
.panel h3 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }
.show-name { margin-bottom: 14px; }
.show-name label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
input[type=text] { background: var(--elev-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; width: 100%; }
.lineup { list-style: none; }
.lineup li { display: flex; align-items: center; gap: 8px; background: var(--elev-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; }
.lineup li.on { border-color: var(--gold-2); }
.lineup .num { color: var(--muted); width: 1.6em; font-size: 12px; }
.lineup .name { flex: 1; font-weight: 650; }
.lineup .x { background: none; border: none; color: var(--muted); font-size: 18px; }
.add-row { display: flex; gap: 6px; margin-top: 10px; align-items: stretch; }
.add-row input[type=text] { flex: 1; min-width: 0; }
.add-row .btn { white-space: nowrap; flex: 0 0 auto; }
.lineup .x:disabled { opacity: 0.35; cursor: default; }

.stage { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 24px; }
.kicker { color: var(--gold-2); letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }
.now-name { font-family: var(--display); font-size: 72px; font-weight: 700; line-height: 0.95; max-width: 16ch; }
.sub { color: var(--muted); margin-top: 14px; min-height: 1.4em; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }

.btn { background: var(--elev-2); border: 1px solid var(--line); color: var(--ivory); border-radius: 8px; padding: 8px 12px; font-weight: 600; }
.btn:hover:not(:disabled) { border-color: var(--gold-2); }
.btn:disabled { opacity: 0.4; cursor: default; }
.btn.gold { background: var(--gold); color: #1a1408; border-color: var(--gold); }
.btn.danger { background: #3a1614; border-color: var(--red); color: #ffd4d0; }
.btn.lg { padding: 12px 18px; font-size: 15px; }

.bottom { padding: 12px 22px 16px; border-top: 1px solid var(--line); background: #110F0D; }
.credit { font-size: 11px; color: #5C574E; text-align: center; }

@media (max-width: 800px) {
  .layout { grid-template-columns: 1fr; }
  .panel { border-right: none; border-bottom: 1px solid var(--line); }
  .now-name { font-size: 48px; }
}
