:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, sans-serif;
  background: #101114;
  color: #f5f4ed;
  --muted: #b6b7bf;
  --line: #393b45;
  --accent: #c6f869;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { width: min(100% - 32px, 720px); margin: clamp(24px, 9vh, 85px) auto; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 750; margin-bottom: 20px; }
.mark { background: var(--accent); color: #151910; border-radius: 10px; padding: 4px 11px; font-size: 1.25rem; }
.panel { background: #1b1d23; border: 1px solid var(--line); border-radius: 20px; padding: clamp(19px, 5vw, 36px); }
h1 { margin: 0 0 1.25rem; font-size: clamp(1.7rem, 5vw, 2.45rem); letter-spacing: -.045em; }
label { display: block; font-weight: 650; margin-bottom: .45rem; }
label span, small, .empty { color: var(--muted); font-weight: 400; }
input:not([type=hidden]) { display: block; width: 100%; margin-bottom: 1.15rem; background: #121419; color: inherit; border: 1px solid var(--line); border-radius: 10px; padding: 13px; font: inherit; font-size: 16px; }
button { min-height: 44px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 9px; background: #262932; color: inherit; font: inherit; font-weight: 650; cursor: pointer; }
button:disabled { opacity: .42; cursor: default; }
button:not(:disabled):hover { filter: brightness(1.17); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.primary { width: 100%; background: var(--accent); color: #141810; border-color: transparent; }
.notice { background: #263822; border: 1px solid #48673d; padding: 12px 15px; border-radius: 10px; }
.error { background: #3a2529; border-color: #84434a; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.toolbar h1 { margin: 0; }
.queue { list-style: none; padding: 0; margin: 0; }
.queue li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.track { overflow-wrap: anywhere; min-width: 0; }
.track small { display: block; margin-top: 3px; }
.controls { display: flex; gap: 5px; }
.remove { color: #ffb6b8; }
.empty { margin-bottom: 0; }
@media (max-width: 480px) { .queue li { align-items: flex-start; flex-direction: column; } }
button[aria-disabled=true] { cursor: progress; }
