:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b0c0f;
  color: #f5f3ed;
  --panel: #15171c;
  --line: #292c33;
  --muted: #9398a4;
  --accent: #c7ff4a;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 80% 0, #29331d 0, transparent 30rem), #0b0c0f; }
button, input { font: inherit; }
button { border: 0; border-radius: 12px; padding: 13px 18px; background: var(--accent); color: #10120d; font-weight: 750; cursor: pointer; }
input { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #0e1014; color: inherit; padding: 13px 14px; outline: none; }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #c7ff4a20; }
label { display: grid; gap: 7px; color: var(--muted); }
.shell { width: min(1060px, calc(100% - 32px)); margin: auto; padding: 48px 0 80px; }
header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 38px; }
h1 { margin: 5px 0 0; max-width: 700px; font-size: clamp(42px, 8vw, 88px); line-height: .9; letter-spacing: -.07em; }
h2 { margin: 6px 0 20px; font-size: 28px; letter-spacing: -.035em; }
.eyebrow { margin: 0; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.card { border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--panel) 92%, transparent); padding: 26px; box-shadow: 0 18px 60px #0004; }
.login-card { width: min(440px, 100%); }
.login-card form { display: grid; gap: 18px; }
.grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.inline-form { display: flex; gap: 10px; }
.inline-form input { font-size: 22px; font-weight: 700; letter-spacing: .12em; }
.muted { color: var(--muted); }
.error { min-height: 1.2em; margin: 0; color: #ff7e86; }
.quiet { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.hidden { display: none !important; }
.stat-card strong { display: block; margin: 12px 0 28px; font-size: 28px; }
.library-section { margin-top: 52px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-title input { max-width: 390px; margin-bottom: 20px; }
.library-actions { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.library-actions input { margin: 0; }
.upload-button { display: inline-flex; flex: 0 0 auto; border-radius: 12px; padding: 13px 18px; background: var(--accent); color: #10120d; font-weight: 750; cursor: pointer; }
.upload-button input { display: none; }
.tracks { display: grid; border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.track strong, .track span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track span { color: var(--muted); }
@media (max-width: 700px) {
  .shell { padding-top: 28px; }
  .grid { grid-template-columns: 1fr; }
  .section-title { align-items: stretch; flex-direction: column; gap: 0; }
  .section-title input { max-width: none; }
  .library-actions { align-items: stretch; flex-direction: column; }
  .inline-form { flex-direction: column; }
}
