:root {
  color-scheme: dark;
  --bg: #0d1018;
  --panel: rgba(25, 30, 44, .84);
  --panel-solid: #191e2c;
  --line: rgba(255, 255, 255, .09);
  --muted: #99a2b7;
  --text: #f7f8fc;
  --accent: #6d5dfc;
  --accent-2: #29d3b2;
  --danger: #ff5570;
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #181d31 0, var(--bg) 42rem); color: var(--text); overflow-x: hidden; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
.ambient { position: fixed; width: 34rem; height: 34rem; border-radius: 50%; filter: blur(110px); opacity: .14; pointer-events: none; }
.ambient-a { background: var(--accent); top: -16rem; right: -10rem; }
.ambient-b { background: var(--accent-2); bottom: -20rem; left: -15rem; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; min-height: 100vh; position: relative; }
.topbar { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: inherit; text-decoration: none; display: flex; gap: 12px; align-items: center; }
.brand-mark { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; background: linear-gradient(135deg, var(--accent), #9d55ff); box-shadow: 0 10px 28px rgba(109, 93, 252, .3); }
.brand strong, .brand small { display: block; line-height: 1.05; }.brand strong { font-size: 18px; }.brand small { color: var(--muted); margin-top: 4px; }
.account { display: flex; align-items: center; gap: 10px; color: var(--muted); }.avatar { width: 34px; height: 34px; border-radius: 50%; background: #252b3d; }.quiet-link { color: #c6ccda; margin-left: 8px; }
.hidden { display: none !important; }
.login-card { max-width: 720px; margin: 8vh auto; text-align: center; padding: 56px 32px; }
.login-card h1 { font-size: clamp(42px, 8vw, 76px); line-height: .98; letter-spacing: -.055em; margin: 14px 0 22px; }
.login-card p:not(.eyebrow) { max-width: 560px; margin: 0 auto 28px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.login-card small { display: block; color: #717b92; margin-top: 18px; }
.vinyl { width: 116px; height: 116px; margin: auto; border-radius: 50%; display: grid; place-items: center; background: repeating-radial-gradient(circle, #191d29 0 7px, #282e40 8px 9px); box-shadow: 0 24px 70px #000; animation: spin 14s linear infinite; }.vinyl span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-weight: 900; }
@keyframes spin { to { transform: rotate(360deg); } }
.discord-button { display: inline-flex; gap: 10px; align-items: center; background: #5865f2; color: white; padding: 14px 22px; border-radius: 13px; text-decoration: none; font-weight: 750; box-shadow: 0 15px 40px rgba(88, 101, 242, .28); }
.server-strip { display: flex; align-items: center; gap: 12px; padding: 14px 0 22px; }.server-strip label { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }.server-strip select { max-width: 340px; }
select, input[type="text"], .search-form input { background: #111622; border: 1px solid var(--line); color: var(--text); border-radius: 12px; padding: 11px 13px; outline: none; }.server-strip select { padding-right: 34px; }.pill { margin-left: auto; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.05); color: var(--muted); font-size: 12px; }.pill i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e4ad3a; margin-right: 6px; }.pill.live i { background: #3bd49a; box-shadow: 0 0 12px #3bd49a; }
.notice { margin-bottom: 16px; padding: 12px 15px; border: 1px solid rgba(255, 175, 76, .25); background: rgba(255, 175, 76, .09); color: #ffd79f; border-radius: 13px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(24px); box-shadow: 0 24px 80px rgba(0,0,0,.23); }
.player-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr); gap: 18px; }
.now-card { padding: 22px; display: grid; grid-template-columns: minmax(220px, 42%) minmax(0, 1fr); gap: 28px; align-items: center; min-height: 360px; }
.artwork-wrap { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #101420; box-shadow: 0 20px 55px rgba(0,0,0,.35); }.artwork { width: 100%; height: 100%; object-fit: cover; }.artwork-empty { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg, #29215a, #12182b); color: rgba(255,255,255,.2); font-size: 96px; }.track-state { position: absolute; left: 12px; bottom: 12px; background: rgba(8,10,17,.78); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1); padding: 6px 9px; border-radius: 9px; font-size: 12px; text-transform: capitalize; }
.eyebrow { color: var(--accent-2); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 800; margin: 0 0 8px; }.now-copy h1 { font-size: clamp(27px, 4vw, 44px); line-height: 1.05; letter-spacing: -.035em; margin: 0 0 10px; overflow-wrap: anywhere; }.now-copy > p:not(.eyebrow) { color: var(--muted); margin: 0 0 30px; }
.progress-row { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }.progress { height: 5px; border-radius: 9px; background: rgba(255,255,255,.1); overflow: hidden; }.progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .3s linear; }
.transport { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 28px; }.transport button, .icon-button { border: 0; color: var(--text); background: rgba(255,255,255,.07); width: 46px; height: 46px; border-radius: 50%; font-size: 20px; }.transport .primary-control { width: 60px; height: 60px; background: var(--text); color: #11141d; box-shadow: 0 12px 32px rgba(255,255,255,.15); }.transport .danger-control { color: #ff8ca0; }
button:disabled, select:disabled, input:disabled { opacity: .42; cursor: not-allowed; }
.controls { padding: 24px; display: flex; flex-direction: column; gap: 10px; }.control-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }.control-heading h2, .queue-header h2 { margin: 0; font-size: 23px; }.controls > label, .range-label label { color: #c8cddd; font-size: 12px; font-weight: 700; margin-top: 8px; }.help { color: var(--muted); font-size: 12px; line-height: 1.45; min-height: 18px; margin: 0; }.range-label { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }.range-label output { color: var(--accent-2); font-size: 12px; font-weight: 800; }input[type="range"] { accent-color: var(--accent); width: 100%; }
.control-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }.secondary, .search-form button { border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--text); border-radius: 11px; padding: 10px; font-weight: 700; }.health-block { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 17px; }.health-dot { width: 10px; height: 10px; border-radius: 50%; background: #e4ad3a; flex: 0 0 auto; }.health-dot.good { background: #43d497; box-shadow: 0 0 12px rgba(67,212,151,.7); }.health-dot.bad { background: var(--danger); }.health-block strong, .health-block small { display: block; }.health-block strong { font-size: 12px; }.health-block small { color: var(--muted); margin-top: 3px; line-height: 1.35; }
.queue-section { margin-top: 18px; padding: 24px; }.queue-header { display: flex; align-items: flex-end; justify-content: space-between; }.queue-header h2 span { color: var(--muted); font-weight: 500; }.drag-hint { color: var(--muted); font-size: 12px; }.search-form { display: grid; grid-template-columns: 1fr auto; gap: 9px; margin: 20px 0; }.search-form button { padding-inline: 20px; background: linear-gradient(135deg, var(--accent), #8b5cff); border: 0; }
.queue-list { display: grid; gap: 8px; }.queue-item { display: grid; grid-template-columns: 28px 48px minmax(0, 1fr) auto auto; align-items: center; gap: 11px; border: 1px solid transparent; padding: 9px; border-radius: 13px; background: rgba(255,255,255,.035); transition: border-color .15s, transform .15s; }.queue-item.dragging { opacity: .45; }.queue-item.drag-over { border-color: var(--accent); transform: translateY(2px); }.queue-handle { color: #677087; cursor: grab; text-align: center; }.queue-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 9px; background: #121622; }.queue-copy { min-width: 0; }.queue-copy strong, .queue-copy small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.queue-copy strong { font-size: 14px; }.queue-copy small { color: var(--muted); font-size: 11px; margin-top: 4px; }.ready { color: #49d49d; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }.queued { color: #e5b454; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }.queue-actions { display: flex; gap: 4px; }.queue-actions button { width: 31px; height: 31px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: var(--muted); }.queue-actions .remove { color: #ff8398; }
.empty-state { text-align: center; color: var(--muted); padding: 44px 10px; }.empty-state span { display: block; font-size: 34px; color: #555f77; }.empty-state strong { display: block; color: #c7ccda; margin: 8px 0 2px; }.empty-state p { margin: 0; font-size: 13px; }
footer { text-align: center; color: #657087; font-size: 11px; padding: 30px 0 36px; }
@media (max-width: 820px) { .player-grid { grid-template-columns: 1fr; }.now-card { grid-template-columns: 180px 1fr; min-height: auto; }.drag-hint { display: none; } }
@media (max-width: 580px) { .shell { width: min(100% - 20px, 1180px); }.topbar { height: 72px; }.account #account-name { display: none; }.now-card { grid-template-columns: 1fr; padding: 14px; }.artwork-wrap { max-width: 310px; width: 100%; margin: auto; }.now-copy { padding: 5px 7px 14px; }.now-copy h1 { font-size: 29px; }.controls, .queue-section { padding: 18px; }.server-strip { align-items: stretch; flex-wrap: wrap; }.server-strip select { order: 3; max-width: none; width: 100%; }.search-form { grid-template-columns: 1fr; }.queue-item { grid-template-columns: 20px 42px minmax(0,1fr) auto; }.queue-thumb { width: 42px; height: 42px; }.queue-item > .ready, .queue-item > .queued { display: none; }.queue-actions button:nth-child(-n+2) { display: none; } }
