:root{color-scheme:dark;--bg:#121212;--surface:#1b1b1b;--text:#f5f5f5;--muted:#a0a0a0;--accent:#e2bdd0;--line:#ffffff0e;--fill:0%;font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}
body{margin:0;min-width:300px;min-height:100vh;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}
.album-backdrop{position:fixed;inset:0;pointer-events:none;overflow:hidden;opacity:0;transition:opacity 1s ease}
.album-backdrop img{width:100%;height:100%;object-fit:cover;filter:blur(80px) saturate(.7) brightness(.65);transform:scale(1.2)}
.playing .album-backdrop{opacity:.2}
button,input{font:inherit}
button,a,input{-webkit-tap-highlight-color:transparent}
button{color:inherit;cursor:pointer;transition:background .18s,color .18s,transform .18s}
button:active:not(:disabled){transform:scale(.96)}
button:disabled{cursor:default;opacity:.4}
button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
a{color:inherit}
[hidden]{display:none!important}
main{position:relative;max-width:1024px;margin:0 auto;padding:48px 32px 28px}
.page-header{margin-bottom:32px}
.wordmark{font-size:24px;font-weight:750;letter-spacing:-1.2px;text-decoration:none}
.wordmark span{color:var(--accent)}
.player-shell{border:1px solid #ffffff05;border-radius:12px;background:var(--surface);overflow:hidden;animation:arrive .4s cubic-bezier(.22,1,.36,1) both}
.hero{display:grid;grid-template-columns:280px minmax(0,1fr);gap:40px;padding:32px;align-items:center}
.art-wrap{aspect-ratio:1;border-radius:5px;background:#2b2428;overflow:hidden}
.cover{width:100%;height:100%;display:block;object-fit:cover;opacity:0;transform:scale(1.015);transition:opacity .35s ease,transform .6s cubic-bezier(.22,1,.36,1)}
.loaded .cover{opacity:1;transform:scale(1)}
.cover-fallback{height:100%;display:grid;place-items:center;font-size:68px;color:#b38a9d;background:#30252c}
.player-details{min-width:0}
h1{font-size:52px;line-height:1.12;font-weight:750;letter-spacing:-1.8px;margin:0 0 30px;overflow-wrap:anywhere}
.transport{display:flex;gap:20px;align-items:center}
.play-button{flex:none;width:52px;height:52px;display:grid;place-items:center;border:0;border-radius:50%;color:#20171c;background:var(--accent)}
.play-button:hover:not(:disabled){background:#f0d3e1;transform:scale(1.04)}
.play-button svg{width:24px;height:24px;grid-area:1/1;fill:currentColor;transition:opacity .18s,transform .18s}
.play-icon{margin-left:3px}
.pause-icon{opacity:0;transform:scale(.8)}
.playing .pause-icon{opacity:1;transform:scale(1)}
.playing .play-icon{opacity:0;transform:scale(.8)}
.timeline{flex:1;min-width:0}
.time-labels{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;margin-bottom:7px}
.player-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;font-size:11px;color:var(--muted)}
#playback-status{display:flex;align-items:center;gap:7px}
.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#686868;transition:background .2s}
.playing .status-dot{background:var(--accent)}
.listener-controls{display:flex;gap:12px;align-items:center}
.volume-control{display:flex;align-items:center;gap:5px;width:112px}
.icon-button{display:grid;place-items:center;width:36px;height:36px;flex:none;padding:8px;background:none;border:0;color:var(--muted)}
.icon-button{border-radius:50%}
.icon-button:hover{color:var(--text);background:#ffffff08}
.icon-button svg{width:19px;height:19px;fill:currentColor;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.icon-button[aria-pressed=true]{opacity:.5}
.icon-button .volume-icon{fill:none;stroke-width:1.7}
.volume-waves,.volume-cross{transition:opacity .18s}
.volume-cross{opacity:0}
#mute[aria-pressed=true] .volume-waves{opacity:0}
#mute[aria-pressed=true] .volume-cross{opacity:1}
.volume-control input{width:66px}
.favorite-button svg{fill:transparent;stroke:currentColor;stroke-width:1.5;transition:fill .18s,stroke .18s}
.favorite-button[aria-pressed=true]{color:var(--accent);opacity:1}
.favorite-button[aria-pressed=true] svg{fill:var(--accent);stroke:var(--accent);animation:favorite-pop .25s ease}
input[type=range]{appearance:none;-webkit-appearance:none;display:block;background:linear-gradient(to right,var(--accent) var(--fill),#ffffff24 var(--fill));height:4px;border-radius:4px;cursor:pointer;touch-action:pan-y;margin:10px 0;width:100%}
input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:11px;height:11px;border-radius:50%;background:var(--text);border:0}
input[type=range]::-moz-range-thumb{width:11px;height:11px;border-radius:50%;background:var(--text);border:0}
input[type=range]:disabled{opacity:.4}
.visualizer-panel,.eq-panel{padding:22px 32px 24px;border-top:1px solid var(--line);min-width:0}
.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
h2{font-size:12px;font-weight:500;color:var(--muted);margin:0}
.visualizer-wrap{height:112px;overflow:hidden}
canvas{display:block;width:100%;height:100%}
.eq-open{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted);background:none;border:0;padding:7px 0 7px 10px}
.eq-open:hover,.eq-open[aria-expanded=true]{color:var(--text)}
.eq-open svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease}
.eq-open[aria-expanded=true] svg{transform:rotate(180deg)}
.eq-drawer{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s cubic-bezier(.22,1,.36,1)}
.eq-drawer.open{grid-template-rows:1fr}
.eq-drawer-inner{overflow:hidden}
.switch-button{display:flex;gap:7px;align-items:center;border:0;background:none;font-size:11px;padding:5px 0;color:var(--muted)}
.switch-button>span:first-child{width:26px;height:15px;border-radius:20px;background:#555;position:relative;transition:background .18s}
.switch-button>span:first-child:after{content:"";position:absolute;left:3px;top:3px;width:9px;height:9px;background:#b0b0b0;border-radius:50%;transition:transform .18s,background .18s}
.switch-button[aria-pressed=true]>span:first-child{background:#ac7e98}
.switch-button[aria-pressed=true]>span:first-child:after{transform:translateX(11px);background:var(--text)}
.eq-bands{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;max-width:600px;margin:auto;transition:opacity .18s}
.eq-band{text-align:center;min-width:0}
.eq-band output{display:block;font-size:10px;font-variant-numeric:tabular-nums;color:var(--text)}
.fader-wrap{height:100px;position:relative;margin:3px 0 4px}
.fader-wrap:before{content:"";position:absolute;top:50%;left:calc(50% - 10px);width:20px;height:1px;background:#ffffff20}
.fader-wrap input[type=range]{position:absolute;top:50%;left:50%;width:84px;margin:0;transform:translate(-50%,-50%) rotate(-90deg);height:3px;background:#777;touch-action:none}
.fader-wrap input[type=range]::-webkit-slider-thumb{width:16px;height:11px;border-radius:3px;background:var(--accent)}
.fader-wrap input[type=range]::-moz-range-thumb{width:16px;height:11px;border-radius:3px;background:var(--accent)}
.eq-band label{font-size:10px;color:var(--muted)}
.eq-panel.bypassed .eq-bands{opacity:.38}
.eq-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px;margin-top:16px}
.eq-footer button{background:none;border:0;font-size:11px;padding:5px 0;color:var(--muted)}
.eq-footer button:hover{color:var(--text)}
.song-list{margin-top:20px;display:grid;gap:4px}
.song-row{width:100%;display:flex;align-items:center;gap:16px;background:transparent;border:0;border-radius:6px;padding:14px 16px;text-align:left;font-size:14px}
.song-row:hover,.song-row[aria-current=true]{background:#ffffff0b}
.song-number{color:var(--muted);font-size:12px}
.song-favorite{color:var(--accent);font-size:13px;margin-left:auto}
.song-duration{color:var(--muted);font-size:12px}
.message{font-size:12px;color:var(--accent);margin:20px 0;overflow-wrap:anywhere}
.owner-panel{margin:24px 0 0;padding:20px;border:1px solid var(--line);border-radius:8px;font-size:12px;background:var(--surface)}
.owner-panel label{display:block;font-weight:500;margin-bottom:12px}
.upload-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.upload-controls input{max-width:100%;flex:1;min-width:160px;font-size:11px;color:var(--muted)}
.upload-controls button{border:0;border-radius:5px;background:#40313a;padding:9px 13px;font-size:11px}
.owner-panel a{display:inline-block;color:var(--muted);margin-top:14px;font-size:11px}
@keyframes arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes favorite-pop{50%{transform:scale(1.12)}}
@media(min-width:1200px){main{padding-top:64px}}
@media(max-width:850px){main{padding:28px 24px}.hero{grid-template-columns:230px minmax(0,1fr);gap:28px;padding:28px}h1{font-size:44px}.visualizer-panel,.eq-panel{padding-left:28px;padding-right:28px}.transport{gap:16px}}
@media(max-width:660px){main{max-width:440px;padding:24px 18px}.page-header{margin-bottom:24px}.hero{display:flex;flex-direction:column;align-items:stretch;padding:24px;gap:24px}.art-wrap{width:100%;max-width:320px;align-self:center}h1{font-size:40px;letter-spacing:-1.3px;margin-bottom:24px}.player-footer{margin-top:16px}.listener-controls{gap:6px}.visualizer-panel,.eq-panel{padding:18px 24px 22px}.visualizer-wrap{height:88px}.panel-heading{margin-bottom:10px}.eq-bands{gap:8px}.fader-wrap{height:96px}.owner-panel{padding:18px}}
@media(max-width:350px){main{padding-left:16px;padding-right:16px}.hero{padding:20px}.visualizer-panel,.eq-panel{padding-left:20px;padding-right:20px}.volume-control{width:91px}.volume-control input{width:50px}.player-footer{gap:4px}.listener-controls{gap:0}.eq-bands{gap:3px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
