/* ------------------------------------------------------------------------- *
 * BWOC brand base — shared by the listener (bwoc.live) and the studio
 * (studio.bwoc.live). Official palette: Blue #375683, Gold #ac926c, reversed
 * white wordmark on a deep navy field. Type: Poppins (display, used sparingly)
 * + Inter (UI/body, highly legible across generations and scripts).
 * ------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700&display=swap');

:root {
  --navy-950: #08152a; --navy-900: #0a1930; --navy-800: #12294a;
  --navy-700: #163457; --navy-500: #375683;
  --gold: #ac926c; --gold-2: #c4a985;
  --cream: #f2f5fa; --muted: #a9bcd6; --ink: #1c1408;
  --ok: #7fbf9a; --bad: #e0a08f;
  --line: #ffffff1f; --panel: #ffffff0d; --panel-2: #ffffff14;
  --display: "Poppins", system-ui, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, "Noto Sans", "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--cream);
  background:
    radial-gradient(1200px 560px at 50% -10%, rgba(55,86,131,.85) 0%, rgba(55,86,131,0) 62%),
    linear-gradient(180deg, #163457 0%, #0f2540 44%, #0a1930 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }

/* Focus + motion floors */
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* --- Buttons --------------------------------------------------------------- */
button { font-family: var(--body); cursor: pointer; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 60px; padding: 0 22px;
  font-size: 20px; font-weight: 700; letter-spacing: .01em;
  color: var(--ink); background: var(--gold); border: none; border-radius: 14px;
  transition: filter .12s ease, transform .05s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.ghost { color: var(--gold-2); background: transparent; border: 1.5px solid #ffffff33; }
.btn.ghost:hover { background: #ffffff12; filter: none; }
.btn.ghost.active { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.btn.stop { background: var(--bad); color: #2a1410; }

/* --- Cards + logs (studio + shared) --------------------------------------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.card h2 {
  font-family: var(--body); font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--gold-2); margin: 0; padding: 15px 18px;
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px;
}
.log { height: 300px; overflow-y: auto; padding: 14px 18px; }
.line { padding: 8px 0; border-bottom: 1px solid #ffffff10; }
.line.partial { color: var(--muted); font-style: italic; }
.line.err { color: var(--bad); }
.empty { color: var(--muted); font-size: 15px; }

/* --- Status dot ------------------------------------------------------------ */
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.ok { background: var(--ok); } .dot.bad { background: var(--bad); }

select {
  width: 100%; min-height: 52px; padding: 0 14px; font-size: 17px; font-family: var(--body);
  color: var(--cream); background: #0d1f38; border: 1.5px solid #ffffff2b; border-radius: 12px;
}
label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; font-weight: 500; }

.wrap { max-width: 620px; margin: 0 auto; padding: 0 18px; }
