:root {
  color-scheme: dark;
  --bg: #10100f; --panel: #181817; --line: rgba(255,255,255,.09);
  --text: #f2f0e9; --muted: #8e8b83; --accent: #d5fa61; --orange: #f4a264;
  --mono: "DM Mono", "Courier New", monospace; --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::before { position: fixed; inset: 0; z-index: -1; background: radial-gradient(ellipse at 82% 8%,rgba(213,250,97,.075),transparent 31%),radial-gradient(ellipse at 10% 50%,rgba(244,162,100,.045),transparent 35%); content: ""; }
.shell { max-width: 1040px; margin: auto; padding: 0 32px; }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); font-size: 15px; font-weight: 700; letter-spacing: .16em; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: var(--mono); font-size: 13px; }
.brand-dot { color: var(--accent); }.host-link { color: var(--muted); font-size: 13px; text-decoration: none; }.host-link span { color: var(--accent); margin-left: 5px; }
main { width: min(100%,700px); margin: auto; }.hero { padding: 62px 0 28px; }
.eyebrow,.section-label,.field>span { color: var(--muted); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .14em; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 19px; }.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(213,250,97,.6); }
h1 { margin: 0; font-size: clamp(45px,8vw,72px); font-weight: 500; letter-spacing: -.065em; line-height: .99; }h1 em { color: var(--accent); font-family: "Playfair Display",Georgia,serif; font-weight: 500; letter-spacing: -.045em; }
.hero-copy { margin: 18px 0 0; color: #aaa79e; font-size: 15px; }
.now-card { display: flex; align-items: center; gap: 16px; min-height: 86px; padding: 16px 19px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(105deg,rgba(213,250,97,.07),rgba(24,24,23,.83) 38%); }
.vinyl { width: 48px; height: 48px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: repeating-radial-gradient(circle,#25251f 0 2px,#323228 3px 4px,#20201c 5px 7px); box-shadow: 0 0 22px rgba(213,250,97,.1); }.vinyl span { width: 12px; height: 12px; border: 3px solid var(--accent); border-radius: 50%; background: #151513; }
.now-copy { display: grid; gap: 4px; min-width: 0; }.now-copy strong { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.now-copy>span:last-child { color: var(--muted); font-size: 12px; }
.equalizer { height: 22px; display: flex; align-items: center; gap: 3px; margin-left: auto; }.equalizer i { width: 3px; height: 8px; border-radius: 2px; background: var(--accent); opacity: .65; }.equalizer i:nth-child(2) { height: 17px; }.equalizer i:nth-child(3) { height: 12px; }
.request-panel { margin-top: 48px; padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: rgba(24,24,23,.88); }.section-heading,.queue-heading { display: flex; align-items: center; justify-content: space-between; }
h2 { margin: 6px 0 0; font-size: 23px; font-weight: 500; letter-spacing: -.035em; }.step-count { color: var(--accent); font-family: var(--mono); font-size: 11px; }.step-count span { color: #63615c; }
.request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 24px; }.field { display: grid; gap: 8px; }.field>span { font-size: 9px; }.field-name { grid-column: 1/-1; }
.field input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 6px; outline: none; background: #121211; color: var(--text); font: inherit; font-size: 13px; }.field input:focus { border-color: rgba(213,250,97,.65); }.field input::placeholder { color: #66645e; }
.field select { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 6px; outline: none; background: #121211; color: var(--text); font: inherit; font-size: 13px; }.field select:focus { border-color: rgba(213,250,97,.65); }
.search-results { grid-column: 1/-1; display: grid; max-height: 320px; overflow: auto; border: 1px solid var(--line); border-radius: 7px; background: #121211; }.search-results[hidden] { display: none; }.search-result { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 10px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; cursor: pointer; }.search-result:last-child { border-bottom: 0; }.search-result:hover { background: rgba(213,250,97,.06); }.search-choose { color: var(--accent); font-family: var(--mono); font-size: 10px; }.search-empty { margin: 0; padding: 14px; color: var(--muted); font-size: 12px; }.selected-track { grid-column: 1/-1; display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid rgba(213,250,97,.25); border-radius: 7px; background: rgba(213,250,97,.05); }.selected-track[hidden] { display: none; }
.button { min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 15px; border: 0; border-radius: 6px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; }.button-primary { grid-column: 1/-1; margin-top: 3px; background: var(--accent); color: #17190f; }.button-primary b { font-size: 18px; font-weight: 400; }
.form-note { grid-column: 1/-1; margin: -2px 0 0; color: #747168; font-size: 11px; line-height: 1.5; }.queue-section { margin-top: 50px; }.queue-count { color: var(--muted); font-family: var(--mono); font-size: 11px; }.queue-list { margin-top: 17px; }
.track-row { min-height: 72px; display: grid; grid-template-columns: 28px 42px minmax(0,1fr) 30px auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }.track-rank { color: #6c6a63; font-family: var(--mono); font-size: 11px; }
.track-cover { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 5px; background: linear-gradient(145deg,#353828,#25241e); color: var(--accent); font-family: "Playfair Display",Georgia,serif; font-size: 20px; object-fit: cover; }.track-details { min-width: 0; display: grid; gap: 5px; }.track-details strong { overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.track-details span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.track-score { text-align: center; color: var(--accent); font-family: var(--mono); font-size: 12px; }.vote-controls { display: flex; gap: 5px; }.vote-button { width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: #a09d94; cursor: pointer; font-size: 16px; }.vote-button:hover,.vote-button.is-selected { border-color: rgba(213,250,97,.5); background: rgba(213,250,97,.1); color: var(--accent); }
.vote-button:disabled { cursor: not-allowed; opacity: .45; }
.empty-state { display: grid; justify-items: center; gap: 8px; padding: 44px 12px; color: var(--muted); font-size: 12px; }.empty-state[hidden] { display: none; }.empty-state strong { color: #d6d3ca; font-size: 14px; font-weight: 500; }.empty-orbit { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 4px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 19px; }
.footer { display: flex; justify-content: space-between; margin-top: 70px; padding: 20px 0 25px; border-top: 1px solid var(--line); color: #77746d; font-size: 11px; }.footer-mark { color: #aaa79d; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }.footer-mark i { color: var(--accent); font-style: normal; font-size: 7px; }
.toast { position: fixed; z-index: 5; right: 22px; bottom: 22px; max-width: min(360px,calc(100% - 44px)); padding: 12px 16px; border: 1px solid rgba(213,250,97,.25); border-radius: 7px; background: #24251e; color: var(--text); font-size: 13px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s ease; }.toast.is-visible { opacity: 1; transform: translateY(0); }
.host-main { width: min(100%,760px); }.host-hero { display: flex; justify-content: space-between; align-items: end; padding: 54px 0 24px; }.host-hero h1 { font-size: clamp(38px,7vw,54px); }.host-hero h1 em { font-size: .92em; }.host-content { display: grid; gap: 18px; }.host-card { padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: rgba(24,24,23,.9); }.host-card h2 { margin-bottom: 18px; }.host-login { max-width: 430px; margin: 30px auto 100px; }.host-form { display: grid; gap: 14px; }.host-form .button { justify-content: center; }
.host-queue { display: grid; gap: 0; }.host-track { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 62px; border-top: 1px solid var(--line); }.host-track strong { display: block; font-size: 13px; }.host-track small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }.host-actions { display: flex; align-items: center; gap: 8px; }.host-actions b { color: var(--accent); font-family: var(--mono); font-size: 12px; }
.small-button { min-height: 31px; padding: 0 10px; border: 1px solid var(--line); border-radius: 5px; background: transparent; color: #c0bdb4; cursor: pointer; font: inherit; font-size: 11px; }.small-button.danger { color: #f3a18e; }.small-button:disabled,.button:disabled { cursor: not-allowed; opacity: .45; }.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.setting-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #d5d2c9; font-size: 13px; }.setting-toggle input { width: 17px; height: 17px; accent-color: var(--accent); }.settings-grid .field { margin-bottom: 3px; }.host-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }.status-line { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--muted); font-size: 12px; }.status-line i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }.status-line.is-connected i { background: var(--accent); box-shadow: 0 0 10px rgba(213,250,97,.4); }
.spotify-controls { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: end; gap: 12px; }.spotify-controls .button { justify-content: center; }.spotify-playlist-form { display: grid; gap: 14px; margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }.spotify-playlist-form .setting-toggle { align-items: center; }.spotify-playlist-form>.small-button { justify-self: start; padding: 0 13px; }.spotify-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
@media (max-width:600px) {
  .shell { padding: 0 19px; }.topbar { height: 68px; }.hero { padding-top: 47px; }.hero-copy { max-width: 280px; line-height: 1.5; }
  .now-card { gap: 12px; padding: 13px; }.vinyl { width: 42px; height: 42px; }.request-panel { margin-top: 35px; padding: 19px 16px; }.request-form { grid-template-columns: 1fr; }.field-name,.button-primary,.form-note { grid-column: auto; }
  .queue-section { margin-top: 40px; }.track-row { grid-template-columns: 23px 36px minmax(0,1fr) 23px auto; gap: 8px; min-height: 67px; }.track-cover { width: 35px; height: 35px; }.vote-button { width: 26px; height: 27px; }
  .footer { margin-top: 55px; }.settings-grid { grid-template-columns: 1fr; }.host-hero { padding-top: 40px; }.host-card { padding: 18px 15px; }
  .spotify-controls { grid-template-columns: 1fr; }.search-result { grid-template-columns: 36px minmax(0,1fr); }.search-result .track-cover { width: 36px; height: 36px; }.search-choose { grid-column: 2; margin-top: -4px; }
}
