*{box-sizing:border-box}body{margin:0;background:#001219;color:#fff;font:16px system-ui,sans-serif;min-height:100vh}main{max-width:980px;margin:auto;padding:30px 24px}header,footer,.queuehead,.timeline div,.volume{display:flex;align-items:center;justify-content:space-between;gap:14px}header{border-bottom:1px solid #34383b;padding:12px 0 24px;letter-spacing:3px;color:#e3ba76}header b,header small,footer,small{font-size:11px;color:#aaa;font-weight:400} .deck{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:35px 0}.art{position:relative;min-height:320px;display:grid;place-items:center;background:radial-gradient(ellipse at 30% 20%,#39342b,#191b1d 70%);border:1px solid #41403b;overflow:hidden}.record{width:75%;aspect-ratio:1;border-radius:50%;background:repeating-radial-gradient(circle,#111 0px,#242424 2px,#111 4px,#171717 5px);box-shadow:0 12px 35px #000;display:grid;place-items:center;animation:spin 1.8s linear infinite;animation-play-state:paused}.playing .record{animation-play-state:running}.label{width:34%;aspect-ratio:1;background:radial-gradient(circle,#b98d52,#e7c68b 65%,#8d6439);border-radius:50%;display:grid;place-content:center;text-align:center;color:#251a10;font-size:clamp(8px,1.3vw,13px);font-weight:bold;gap:8px}.label i{width:8px;height:8px;background:#101316;border-radius:50%;margin:auto}.label small{color:#362616;font-size:9px}.arm{position:absolute;top:12%;right:12%;height:43%;width:9px;background:linear-gradient(90deg,#777,#ddd,#777);border-radius:5px;transform-origin:top;transform:rotate(-18deg);transition:transform .7s;box-shadow:0 0 6px #000}.arm:before{content:'';position:absolute;top:-8px;left:-9px;width:27px;height:27px;background:#777;border:5px solid #333;border-radius:50%}.playing .arm{transform:rotate(22deg)}.tag{position:absolute;bottom:12px;font-size:9px;letter-spacing:2px;color:#b1a08a}.controls{align-self:center;min-width:0}.eyebrow{font-size:11px;letter-spacing:3px;color:#d9ac68}h1{font-size:clamp(24px,4vw,36px);line-height:1.13;margin:12px 0;overflow-wrap:anywhere}p{color:#a6a8a9;margin:0 0 22px}.meter{height:42px;display:flex;align-items:end;gap:3px;margin:12px 0}.meter i{flex:1;background:#d9ac68;height:4px;opacity:.65;transition:height .07s linear}.timeline input{width:100%}input[type=range]{accent-color:#e3ba76;cursor:pointer}.timeline div{font-size:12px;color:#aaa}.transport{display:flex;justify-content:space-between;align-items:center;margin:20px 0;gap:8px}button,.add{cursor:pointer;background:#22272a;color:#ddd;border:1px solid #45494a;padding:12px;font:inherit;transition:background .2s,transform .2s}button:hover,.add:hover{background:#0000aa;transform:translateY(-2px)}button:focus-visible,.add:focus-within{outline:2px solid #e3ba76}button[aria-pressed=true]{color:#e3ba76;border-color:#e3ba76}.play{border-radius:50%;width:64px;height:64px;background:#e3ba76;color:#191715;font-size:24px;border:0}.playing .play{animation:glow 2.5s ease infinite}.volume{font-size:12px;color:#aaa}.volume input{flex:1;min-width:0}.queue{border-top:1px solid #34383b;padding:24px 0}h2{font-size:22px;margin:7px 0 16px}h2 small{margin-left:8px}.add{position:relative;color:#e3ba76;font-size:13px}.add input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.drop{padding:24px;border:1px dashed #555;text-align:center;color:#aaa}.drop.over{border-color:#e3ba76;background:#302a22}ol{list-style:none;padding:0;margin:0}li{display:flex;align-items:center;border-bottom:1px solid #303437;gap:8px}li button.track{display:flex;flex:1;text-align:left;gap:16px;align-items:center;border:0;background:none;min-width:0;overflow-wrap:anywhere}li.active{background:#25241f;box-shadow:inset 3px 0 #e3ba76;animation:fade .5s ease}li.active .track{color:#e3ba76}li button.remove{border:0;background:none;color:#aaa}footer{border-top:1px solid #34383b;padding:16px 0;letter-spacing:1px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes glow{50%{box-shadow:0 0 22px #d9ac6860}}@keyframes fade{from{opacity:.35}to{opacity:1}}@media(max-width:650px){main{padding:16px}.deck{grid-template-columns:1fr;gap:20px}.art{min-height:260px;max-height:420px}.record{width:65%}header{letter-spacing:1px}.label{font-size:11px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

body{background:radial-gradient(ellipse at 15% 0%,#202c43,#100f18 65%)}.art{background:radial-gradient(ellipse at 30% 20%,#665034,#172137 65%,#11121c)}header>span{font-family:Georgia,serif;font-size:23px;letter-spacing:4px}.label{font-family:Georgia,serif}.label span{font-size:clamp(11px,2vw,20px);font-style:italic}.playing .tag{animation:glow 3s ease infinite}
body{background:radial-gradient(ellipse at 20% 5%,#121219,#160e15 65%);color:#fff3e4}main{position:relative;max-width:1100px}.deck{grid-template-columns:1.05fr 1fr}.art{background:radial-gradient(ellipse at 20% 30%,#58302b,#160f17);min-height:360px;isolation:isolate}.album-cover{position:absolute;width:58%;left:5%;top:50%;transform:translateY(-50%);z-index:2;box-shadow:0 12px 30px #0008;border:1px solid #d6aa6860}.record{width:63%;margin-left:28%;z-index:1;animation-duration:3.2s}.arm{z-index:3;right:9%}.label span,.label small{display:none}.label i{box-shadow:0 0 0 2px #c59d62}.tag{z-index:4}.queue{background:linear-gradient(90deg,#1d131a 65%,#1d131a9c);padding:24px 18px}.queue li{background:#170f19}.queue li.active{background:#53242b}.favorite{font-size:23px!important;color:#e3ba76!important}.snow{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:5}.snow i{position:absolute;top:-10px;width:4px;height:4px;background:#fff;border-radius:50%;animation:snowfall linear infinite}@keyframes snowfall{to{transform:translate(55px,105vh)}}.playing .album-cover{animation:coverglow 4s ease-in-out infinite}@keyframes coverglow{50%{box-shadow:0 12px 38px #d8a25c55}}.meter[hidden]{display:none}@media(max-width:650px){.deck{grid-template-columns:1fr}.art{min-height:300px;aspect-ratio:1.25}.queue{padding:18px 8px}header{flex-wrap:wrap}header>span{font-size:18px}.record{width:63%}}

/* Version 3: calm Christmas lounge */
body{background:linear-gradient(90deg,#19090e 0%,#260c13 48%,#260c13b0 72%,#260c1340 100%); background-color:#19090e}
.art{background:linear-gradient(145deg,#121299,#121219);border-color:#d6aa6860}
.controls{background:#300b14ed;padding:20px; border:1px solid #d6aa6840}
.deck{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
#title{font-size:22px;font-weight:400;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin:12px 0;overflow-wrap:normal}
.record{position:relative;display:grid;place-items:center;animation-duration:1.8s;background:repeating-radial-gradient(circle,#111 0px,#242424 2px,#111 4px,#171717 5px)}
.label{position:absolute;inset:32%;width:36%;height:36%;aspect-ratio:1;display:grid;place-items:center;align-content:center;gap:4px;background:radial-gradient(circle,#d9a85d 0 7%,#b51e2c 8% 65%,#e6bd77 66% 70%,#86101d 71%);color:#fff3dc;box-shadow:none}
.label span{display:block;font-size:clamp(8px,1.3vw,15px);font-style:italic;line-height:1}.label small{display:block;font-size:8px;color:#ffe4b2}.label i{width:7px;height:7px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0;box-shadow:none}.label span{transform:translateY(-5px)}.label small{transform:translateY(5px)}
.play{background:#001d99;color:white}.transport button:not(.play){background:#000000;border-color:#d6aa6860}input[type=range]{accent-color:#001d99}
.queue{background:#220b99;padding:24px 18px}.queue li{background:#0000aa}.queue li.active{background:#0000ee}
@media(max-width:650px){body{background-size:auto,auto 100vh;background-position:center,right top}.deck{grid-template-columns:minmax(0,1fr)}.controls{padding:14px}#title{font-size:18px}}

/* Version 4: transparent panels and playlist controls */
.art{background:linear-gradient(145deg,#222296,#000e1c88)}
.controls{background:#0000aa}.queue{background:#000099}.queue li{background:#000088}.queue li.active{background:#000066}
.track-actions{display:flex;gap:5px;flex-shrink:0}.track-actions button{background:transparent;border:0;color:#f3d59a;padding:8px;min-width:30px;font-size:20px}.track-actions button:disabled{opacity:.22;cursor:default;transform:none}.track-actions button:hover:not(:disabled){background:#000088}.queue li{flex-wrap:wrap}.queue li .track{flex:1 1 130px}@media(max-width:480px){.track-actions{margin-left:auto}.track-actions button{padding:7px}.queue li .track{flex-basis:65%}}

/* Version 5: "#121219" accents, #0000ff background retained */
.art{background:linear-gradient(145deg,#010000b3,#00009088)}
.play,.transport button:not(.play){background:#0000cc;color:#fff}
.transport button:hover{background:#000077}
input[type=range]{accent-color:#000088}
.label{background:radial-gradient(circle,#00a85d 0 7%,#0000ff 8% 65%,#e6bd77 66% 70%,#0000db 71%)}
/* Active player */
.queue li.active{background:#000066}
.track-actions button:hover:not(:disabled){background:#000066}

.queuehead{justify-content:flex-end;margin-bottom:12px}

/* Version 7: deeper wine red, unchanged Santa red */
body{background:linear-gradient(90deg,#12060a 0%,#1b080e 48%,#1b080eb0 72%,#00080e40 100%);background-color:#121219}
.controls{background:#21080e}.queue{background:#12080d}.queue li:not(.active){background:#000022; } 

.transport button[aria-pressed="true"]{background:#e6bd77;color:#121219;border-color:#fff1cf;box-shadow:0 0 0 3px #e6bd77;}
#storageNote{font-size:12px;color:#e6bd77;}#storageNote:empty{display:none}

/* V10 revision: stylus rests on outer playable grooves. */
.playing .arm{transform:rotate(9deg)}

/* 11.0: approved Christmas Lounge design. Only panel backgrounds are translucent. */
body{background:linear-gradient(90deg,rgba(18,6,10,.98) 0%,rgba(27,8,14,.91) 42%,rgba(27,8,14,.48) 72%,rgba(18,6,10,.10) 100%),url('songs/jul-texture01.webp') right 12px / auto calc(100vh - 12px) no-repeat fixed;background-color:#18090f}
main{width:76%;max-width:1320px;padding:26px 0 30px}
header{padding:10px 0 23px}header>span{font-size:clamp(18px,1.8vw,29px)}header b{font-family:Georgia,serif;letter-spacing:3px;color:#e5ccac}
.deck{gap:3.8%;padding:36px 0;align-items:stretch}
.art,.controls,.queue{border:1px solid rgba(214,170,104,.40);border-radius:4px}
.art{background:linear-gradient(145deg,rgba(10,4,20,.78),rgba(12,5,85,.78));min-height:0;aspect-ratio:1.41}
.record{width:63%;margin-left:28%}.album-cover{width:58%;left:5%;top:50%}
.controls{background:rgba(48,13,22,.70);padding:clamp(17px,1.55vw,27px);align-self:stretch;display:flex;flex-direction:column;justify-content:space-between}
#title{font-size:clamp(18px,1.5vw,25px);font-weight:400}.controls p{margin:0 0 12px}.meter{margin:9px 0 12px}.transport{margin:18px 0;gap:8px}.transport button:not(.play){min-width:42px}.play{width:64px;height:64px;flex-shrink:0}
.queue{background:rgba(24,9,16,.68);padding:24px 18px}.queue li:not(.active){background:rgba(0,0,34,.76)}.queue li.active{background:rgba(10,5,77,.88)}.queue li{min-height:54px}.queuehead{margin-bottom:14px}.queue .track{font-weight:400}.snow{display:none}
@media(max-width:1000px){main{width:90%}.deck{gap:24px}.controls{padding:18px}}
@media(max-width:720px){main{width:auto;padding:16px}.deck{grid-template-columns:minmax(0,1fr);gap:20px;padding:24px 0}.art{max-height:460px;min-height:0}.controls{min-height:300px}body{background-size:auto,auto 100vh;background-position:center,right top}.queue{padding:18px 8px}header b{letter-spacing:1px}}

/* 11.1: translucent blue rows, with fully opaque text and controls. */
.queue{background:rgba(24,9,16,.20)}
.queue li:not(.active){background:rgba(0,0,85,.48)}
.queue li.active{background:rgba(0,0,150,.65)}
#resetOrder{font-size:13px;color:#e3ba76;background:rgba(0,0,85,.48);border-color:#d6aa6860}
#resetOrder:hover{background:rgba(0,0,150,.65)}

/* 11.2: feather the left edge of the fixed background image. */
body{background:#18090f;isolation:isolate}
body::before,body::after{content:"";position:fixed;pointer-events:none}
body::before{top:12px;right:0;width:calc(100vh - 12px);height:calc(100vh - 12px);background:url('songs/jul-texture01.webp') right top / 100% 100% no-repeat;z-index:-2;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 22%);mask-image:linear-gradient(to right,transparent 0%,#000 22%)}
body::after{inset:0;z-index:-1;background:linear-gradient(90deg,rgba(18,6,10,.98) 0%,rgba(27,8,14,.91) 42%,rgba(27,8,14,.48) 72%,rgba(18,6,10,.10) 100%)}
@media(max-width:720px){body::before{width:100vh;height:100vh;top:0}}

/* 11.55: neutral widescreen skyline, no stretching. */
body::before{inset:0;width:100%;height:100%;background:url("songs/jul-texture01.webp") center center / cover no-repeat;-webkit-mask-image:none;mask-image:none}
body::after{background:linear-gradient(90deg,rgba(8,12,22,.58),rgba(8,12,22,.18))}

.queuehead{flex-wrap:wrap} #installApp{color:#e3ba76;font-size:13px} #installApp[hidden]{display:none}
@media(max-width:850px){.queue>img{display:block;max-width:45%;height:auto;margin-bottom:12px!important}.queuehead{justify-content:flex-end}}

/* Christmas 12.05: neutral outer background, keep Christmas red inside the player. */
body{background:#0b1118}
body::after{background:linear-gradient(90deg,rgba(6,9,14,.34),rgba(6,9,14,.12))}
.art{background:linear-gradient(145deg,rgba(75,0,0,.74),rgba(153,0,0,.62))}
.controls{background:rgba(153,0,0,.68)}
.queue{background:rgba(24,8,12,.22)}
.queue li:not(.active){background:rgba(90,0,0,.56)}
.queue li.active{background:rgba(153,0,0,.82)}
#resetOrder,.queuehead button,.queuehead .add{background:rgba(153,0,0,.68);color:#e3ba76;border-color:#d6aa6860}
#resetOrder:hover,.queuehead button:hover,.queuehead .add:hover{background:#990000}
.transport button,.queue li button{border-color:#d6aa6860}
.transport button[aria-pressed=true]{background:#990000;color:#ffe4b2}

/* Christmas 12.05: red transport, sliders and record label. */
.play,.transport button:not(.play){background:#990000;color:#ffe4b2;border-color:#d6aa6860}
.transport button:hover:not(:disabled),.track-actions button:hover:not(:disabled){background:#650000}
.transport button[aria-pressed="true"]{background:#e6bd77;color:#550000;border-color:#fff1cf;box-shadow:0 0 0 3px #e6bd77}
input[type=range]{accent-color:#990000}
.label{background:radial-gradient(circle,#e6bd77 0 7%,#990000 8% 65%,#e6bd77 66% 70%,#650000 71%);color:#ffe4b2}
.label i{background:#251a10}.label small{color:#ffe4b2}
