/* Stationhand New Music – the artists' and labels' portal. Calm, with a little colour. */
:root {
  --accent: #6d5dfc; --accent2: #22b8f0; --bg: #f5f6fb; --panel: #ffffff; --panel2: #eef0f8; --line: #dde1ee; --text: #121528; --muted: #5d6479;
  --ok: #15803d; --warn: #b45309; --bad: #b91c1c; --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d0f1a; --panel: #151829; --panel2: #1d2135; --line: #2a2f48; --text: #e8eaf5; --muted: #9ba2bd; --ok: #4ade80; --warn: #fbbf24; --bad: #f87171; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); }
a { color: var(--accent); }
.pad { padding: 24px 16px; }
.muted { color: var(--muted); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px 56px; }
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 6px; } h2 { font-size: 19px; margin: 0 0 12px; } h3 { font-size: 16px; margin: 0 0 6px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
button, .btn { font: inherit; border-radius: 9px; border: 1px solid var(--line); background: var(--panel2); color: var(--text); padding: 9px 16px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
button.primary, .btn.primary { background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, var(--accent2))); border-color: transparent; color: #fff; font-weight: 650; }
button.ghost { background: transparent; }
button.danger { color: var(--bad); }
button.small { padding: 5px 11px; font-size: 13.5px; }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input, textarea, select { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; width: 100%; }
textarea { resize: vertical; min-height: 90px; }
label { display: grid; gap: 5px; font-size: 13.5px; color: var(--muted); font-weight: 550; }
label .opt { font-weight: 400; }
label.check { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 14.5px; font-weight: 400; }
label.check input { width: auto; margin-top: 4px; flex: none; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sp { flex: 1; }
.err { color: var(--bad); margin: 6px 0 0; } .ok { color: var(--ok); }
.form { display: grid; gap: 14px; }
.hint { font-size: 13px; color: var(--muted); font-weight: 400; }
.radios { display: flex; gap: 18px; flex-wrap: wrap; color: var(--text); font-weight: 400; }
.radios label { display: inline-flex; gap: 6px; align-items: center; color: var(--text); font-weight: 400; font-size: 14.5px; }
.radios input { width: auto; }

/* signed out: the welcome */
.hero { padding: 54px 0 26px; text-align: center; }
.hero .logo { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.hero h1 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -.02em; }
.hero p { max-width: 620px; margin: 8px auto 0; color: var(--muted); font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 26px 0; }
@media (max-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 14px; color: var(--muted); }
.step b { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }
.step i { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--panel2); color: var(--accent); font-weight: 800; font-size: 13px; margin-bottom: 8px; }
.auth { max-width: 520px; margin: 0 auto; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 11px; background: var(--panel2); margin-bottom: 14px; }
.seg button { flex: 1; justify-content: center; border: 0; background: transparent; color: var(--muted); font-weight: 600; }
.seg button.on { background: var(--panel); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.terms { font-size: 13.5px; color: var(--muted); background: var(--panel2); border-radius: 10px; padding: 12px 14px; }
.terms ul { margin: 6px 0 0; padding-left: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* signed in */
header.top { background: var(--panel); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
header.top .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); flex: none; }
.brand { min-width: 0; } .brand b { display: block; font-size: 16px; line-height: 1.2; } .brand small { color: var(--muted); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { border-radius: 99px; }
.tabs button.on { background: var(--text); color: var(--bg); border-color: transparent; }
.banner { border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; border: 1px solid; }
.banner.wait { background: color-mix(in srgb, var(--warn) 10%, var(--panel)); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.banner.bad { background: color-mix(in srgb, var(--bad) 10%, var(--panel)); border-color: color-mix(in srgb, var(--bad) 35%, transparent); }
.banner.good { background: color-mix(in srgb, var(--ok) 10%, var(--panel)); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--panel2); color: var(--muted); white-space: nowrap; }
.pill.run { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.pill.wait { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }
.pill.bad { background: color-mix(in srgb, var(--bad) 15%, transparent); color: var(--bad); }
.tracks { list-style: none; margin: 0; padding: 0; }
.tracks li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.tracks li:first-child { border-top: 0; }
.art { width: 64px; height: 64px; border-radius: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 30%, var(--panel2)), var(--panel2)); overflow: hidden; display: grid; place-items: center; color: var(--muted); }
.art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tracks .t b { font-size: 16px; } .tracks .t small { color: var(--muted); }
.tracks .note { margin: 6px 0 0; font-size: 14px; }
@media (max-width: 560px) { .tracks li { grid-template-columns: 52px minmax(0, 1fr); } .art { width: 52px; height: 52px; } .tracks li > .acts { grid-column: 2; } }
audio { width: 100%; margin-top: 8px; }
.drop { border: 2px dashed var(--line); border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); }
.drop.has { border-style: solid; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--text); }
.drop input { margin-top: 8px; }
.progress { height: 8px; border-radius: 4px; background: var(--panel2); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); transition: width .2s; }
.artprev { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; }
footer.foot { color: var(--muted); font-size: 13px; text-align: center; padding: 18px 0 30px; }
[hidden] { display: none !important; }
.mt { margin-top: 12px; }
