@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&family=Great+Vibes&display=swap');
:root{--ink:#553644;--muted:#997783;--subtle:#b294a0;--rose:#bb7f93;--rose-dark:#9d6378;--gold:#b48b52;--gold-soft:#ecdbaf;--glass:rgba(255,250,249,.66);--outline:rgba(255,255,255,.79);--shadow:0 20px 65px rgba(128,83,99,.115),0 3px 12px rgba(125,81,95,.05);--serif:'Cormorant Garamond',Georgia,serif;--sans:'DM Sans',system-ui,-apple-system,Segoe UI,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:var(--sans);background:#f0e0e4;min-height:100vh;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,.lyrics-container:focus-visible{outline:2px solid #b77f97;outline-offset:3px}button:disabled{opacity:.48;cursor:not-allowed}svg{display:block}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{height:21px;width:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon.small{width:14px;height:14px}.icon.tiny{width:15px;height:15px}.golden{color:var(--gold)}
.ambient{pointer-events:none;position:fixed;border-radius:50%;filter:blur(50px);z-index:-2}.ambient-one{width:700px;height:650px;top:-280px;left:-220px;background:radial-gradient(circle,#f9d4dc 0%,rgba(248,199,218,.3) 60%,transparent 75%)}.ambient-two{width:600px;height:650px;bottom:-300px;right:-150px;background:radial-gradient(circle,rgba(227,182,193,.9),rgba(231,198,213,.18) 63%,transparent 75%)}.ambient-three{width:440px;height:440px;top:9%;right:21%;background:radial-gradient(circle,rgba(255,250,233,.72),transparent 70%)}.texture{position:fixed;inset:0;z-index:-1;opacity:.22;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.1'/%3E%3C/svg%3E")}
.app-shell{height:100dvh;min-height:540px;max-width:1940px;margin:auto;display:grid;grid-template-rows:78px minmax(0,1fr) 125px;gap:17px;padding:17px clamp(16px,2.05vw,42px) 20px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:0 5px}.brand{display:flex;align-items:center;gap:14px;min-width:250px}.brand-seal{position:relative;width:53px;height:53px;display:flex;align-items:center;justify-content:center;background:linear-gradient(140deg,#cc97aa,#ad7186);color:#fffaf6;border-radius:16px 16px 23px 23px;box-shadow:inset 0 1px rgba(255,255,255,.45),0 6px 15px rgba(153,88,105,.18);border:1px solid rgba(255,255,255,.74)}.brand-seal>span:first-child{font:italic 39px var(--serif);margin-top:-5px}.seal-heart{font-size:16px;position:absolute;right:7px;top:1px;color:#ffecc2}.brand-lines{display:flex;flex-direction:column;gap:0}.brand-name{font:600 30px/1 var(--serif);letter-spacing:-.9px}.brand-period{color:#ca8598}.brand-subline{font-size:8px;font-weight:700;letter-spacing:2.05px;color:var(--muted);margin-top:7px}.top-center{display:flex;align-items:center;gap:12px;color:#a17a87;letter-spacing:2.4px;font-size:9px;font-weight:700;white-space:nowrap}.thin-rule{width:34px;height:1px;background:linear-gradient(90deg,transparent,#c69e99,transparent)}.top-actions{display:flex;align-items:center;gap:17px}.album-count{font-size:11px;letter-spacing:.25px;color:#967780;white-space:nowrap}.icon-button{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(255,255,255,.85);color:#986d7c;background:rgba(255,255,255,.5);box-shadow:0 3px 12px rgba(140,96,104,.05)}.help-button .icon{width:17px}
.main-grid{display:grid;grid-template-columns:minmax(270px,1.04fr) minmax(315px,1.23fr) minmax(270px,.98fr);gap:17px;min-height:0}.panel{min-width:0;min-height:0;border-radius:27px;background:var(--glass);border:1px solid var(--outline);box-shadow:var(--shadow);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);position:relative}.panel:before{content:"";position:absolute;inset:1px;border-radius:26px;pointer-events:none;border:1px solid rgba(255,255,255,.27)}.artwork-panel{display:flex;flex-direction:column;gap:0;overflow:hidden;padding:25px clamp(19px,2.3vw,32px) 23px;background:linear-gradient(150deg,rgba(255,255,255,.72),rgba(254,244,245,.56) 56%,rgba(249,222,230,.5))}.panel-topline{display:flex;justify-content:space-between;align-items:center}.eyebrow,.track-index,.section-kicker{font-size:9px;letter-spacing:2.15px;font-weight:700;color:#9c7181}.eyebrow{display:flex;gap:9px;align-items:center}.live-dot{height:7px;width:7px;border-radius:50%;background:#c88c96;box-shadow:0 0 0 4px rgba(200,140,150,.12)}.track-index{letter-spacing:1.45px;color:#b39ca1}.artwork-stage{position:relative;display:flex;justify-content:center;align-items:center;min-height:0;flex:1;padding:22px 8px 14px}.artwork-frame{position:relative;z-index:2;width:min(95%,375px);aspect-ratio:1/1;border:6px solid rgba(255,255,255,.96);border-radius:16px;overflow:hidden;box-shadow:0 28px 40px rgba(111,67,86,.19),0 3px 7px rgba(103,60,87,.11);transform:rotate(-1.7deg);transition:transform .6s ease}.artwork-frame img{display:block;width:100%;height:100%;object-fit:cover;background:#dcbac4}.artwork-frame:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(140,90,120,.18)}.artwork-shine{position:absolute;inset:0;background:linear-gradient(130deg,rgba(255,255,255,.23),transparent 28%,transparent 78%,rgba(255,221,223,.06));pointer-events:none}.vinyl{position:absolute;z-index:1;height:min(80%,335px);width:min(80%,335px);aspect-ratio:1;right:1%;top:15%;border-radius:50%;background:repeating-radial-gradient(circle at center,#5e414f 0,#5e414f 1px,#362832 2px,#362832 5px,#56404d 6px);box-shadow:15px 17px 21px rgba(58,37,49,.12),inset -16px -9px 30px rgba(14,7,14,.3);transform:translateX(7%) rotate(19deg)}.vinyl:before{content:"";position:absolute;inset:33%;border-radius:50%;background:radial-gradient(circle at 35% 30%,#efbdc1,#a86b7e);border:4px solid #34272e}.vinyl-inner{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);color:#f8dfc4;font-size:42px}.artwork-stamp{position:absolute;z-index:4;bottom:6%;right:0;background:#fff8f1;border:1px solid rgba(204,169,151,.7);color:#b08078;display:flex;align-items:center;gap:7px;padding:8px 10px;border-radius:4px;transform:rotate(7deg);font-size:8px;letter-spacing:1.2px;font-weight:700;box-shadow:0 7px 14px rgba(113,70,84,.1)}.artwork-stamp .icon{height:12px;width:12px;fill:#d5a1a6;stroke:#d5a1a6}.current-heading{padding-top:5px}.current-heading h1{font:600 clamp(31px,2.5vw,45px)/.97 var(--serif);margin:8px 0 7px;letter-spacing:-.9px;min-height:32px}.current-heading p{font-size:11px;color:#967b84;margin:0}.side-message{display:flex;align-items:center;gap:11px;margin-top:20px;padding:14px 16px;background:rgba(255,255,255,.57);border:1px solid rgba(255,255,255,.95);border-radius:16px}.message-icon{font:24px var(--serif);color:#c7a068}.message-overline{font-size:8px;color:#a78689;letter-spacing:1.4px;font-weight:700}.side-message p{font:italic 17px/1.18 var(--serif);margin:4px 0 0}.side-message p span{color:#c98c97}
.lyrics-panel{display:flex;flex-direction:column;padding:28px clamp(24px,2.5vw,37px) 17px;background:linear-gradient(150deg,rgba(255,253,250,.81),rgba(255,247,247,.63) 53%,rgba(249,234,237,.71));overflow:hidden}.lyrics-panel:after{content:"♪";position:absolute;bottom:30px;right:30px;color:#d5bdbe;font:italic 76px var(--serif);opacity:.11;pointer-events:none}.lyrics-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;z-index:2}.lyrics-heading h2,.playlist-heading h2{font:600 clamp(25px,2.3vw,35px)/1.01 var(--serif);letter-spacing:-.5px;margin:8px 0 0}.gold-dot{color:#c5a66e}.timing-badge{font-size:8px;white-space:nowrap;letter-spacing:1.05px;font-weight:700;color:#a17e77;background:rgba(238,218,201,.4);border:1px solid rgba(202,169,154,.28);border-radius:100px;padding:7px 10px}.lyrics-container{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(191,153,160,.38) transparent;margin:23px -7px 5px 0;padding-right:11px;mask-image:linear-gradient(to bottom,transparent,black 8%,black 89%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,black 8%,black 89%,transparent);overscroll-behavior:contain}.lyrics-inner{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-height:100%;padding:21% 8px 27%}.lyric-line{position:relative;display:block;padding:10px 15px 11px 15px;border-radius:14px;background:transparent;border:0;text-align:left;width:100%;color:#b9a3aa;font:500 clamp(22px,2.05vw,33px)/1.16 var(--serif);letter-spacing:-.16px;transition:color .35s ease,transform .35s ease,background .35s ease,opacity .35s ease;opacity:.68;scroll-margin-block:40%}.lyric-line:not(.instrumental):hover{color:#8b6474;background:rgba(246,223,226,.34);opacity:1}.lyric-line.active{color:#84546a;opacity:1;transform:translateX(6px);background:linear-gradient(90deg,rgba(248,222,226,.68),rgba(251,236,235,.24) 85%,transparent);font-weight:600}.lyric-line.active:before{content:"";position:absolute;left:0;top:10%;height:80%;width:3px;border-radius:10px;background:linear-gradient(#eacb8a,#c08c96)}.lyric-line.passed{color:#a18590;opacity:.68}.lyric-line.instrumental{font-size:19px;font-style:italic;opacity:.36;cursor:default}.lyrics-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;text-align:center;padding:70px 12px;min-height:310px}.empty-flower{font-size:54px;color:#cb9eaa;font-family:var(--serif)}.lyrics-empty h3{font:600 30px var(--serif);margin:18px 0 6px}.lyrics-empty p{font-size:12px;line-height:1.8;color:#a88c98;max-width:240px;margin:0}.lyrics-footer{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid rgba(186,137,154,.12);padding-top:12px;min-height:36px}.lyrics-hint{font-size:10px;color:#aa8a97;display:flex;align-items:center;gap:6px}.lyrics-hint .icon{color:#c5a072}.lyric-tools{display:flex;align-items:center;gap:6px}.lyric-tools button{border:1px solid rgba(202,159,174,.24);background:rgba(255,255,255,.65);color:#9b7584;border-radius:7px;min-width:22px;height:24px;font-size:13px;padding:0 5px}.lyric-tools span{min-width:29px;text-align:center;font-size:9px;color:#a88490}.lyric-tools .auto-scroll{font-size:8px;letter-spacing:.4px;padding:0 6px;white-space:nowrap}.lyric-tools .auto-scroll.enabled{background:#f1dee3;color:#875b6e}
.playlist-panel{display:flex;flex-direction:column;padding:28px 16px 16px 23px;background:linear-gradient(155deg,rgba(255,248,248,.78),rgba(255,252,248,.56));overflow:hidden}.playlist-heading{display:flex;align-items:center;justify-content:space-between;padding:0 11px 0 1px;gap:9px}.playlist-heading h2{font-size:clamp(24px,2vw,32px)}.playlist-disc{color:#c39c9a;background:rgba(238,211,217,.46);width:41px;height:41px;display:grid;place-items:center;border-radius:15px}.playlist-search{display:flex;align-items:center;gap:9px;background:rgba(255,255,255,.68);border-radius:12px;border:1px solid rgba(255,255,255,.82);padding:11px 13px;margin:20px 7px 12px 1px}.playlist-search .icon{width:15px;height:15px;color:#b6949d}.playlist-search input{width:100%;border:0;outline:none;background:transparent;font-size:11px;color:var(--ink)}.playlist-search input::placeholder{color:#b7a1a8}.playlist-search input::-webkit-search-cancel-button{cursor:pointer}.playlist-scroll{min-height:0;flex:1;overflow-y:auto;scrollbar-color:rgba(191,153,160,.4) transparent;scrollbar-width:thin;padding-right:5px;overscroll-behavior:contain}.act-group{margin-bottom:13px}.act-heading{font-size:9px;letter-spacing:1.6px;font-weight:700;color:#ad8e92;display:flex;gap:10px;align-items:center;padding:10px 8px 8px;margin-top:2px}.act-heading:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,rgba(206,180,179,.48),transparent)}.playlist-track{width:100%;border:1px solid transparent;background:transparent;display:flex;align-items:center;gap:9px;text-align:left;padding:9px 8px;border-radius:13px;margin:1px 0;color:var(--ink);transition:background .2s ease,border-color .2s ease,transform .2s ease}.playlist-track:hover{background:rgba(255,255,255,.58)}.playlist-track.active{background:linear-gradient(96deg,rgba(242,218,223,.86),rgba(255,250,249,.63));border-color:rgba(255,255,255,.84);box-shadow:0 5px 13px rgba(148,100,115,.055)}.playlist-num{width:23px;flex-shrink:0;text-align:center;font-size:10px;color:#b4a0a5;font-weight:700}.playlist-track.active .playlist-num{color:#aa7188}.playlist-thumb{width:41px;height:41px;object-fit:cover;border-radius:9px;background:#e7c9ce;border:1px solid rgba(255,255,255,.85);flex-shrink:0}.playlist-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}.playlist-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;font-size:11px;letter-spacing:-.12px}.playlist-track.active .playlist-copy strong{color:#885267}.playlist-copy span{font-size:9px;color:#b0989e}.playlist-time{font-size:9px;color:#ae98a1;flex-shrink:0}.playlist-track.active .playlist-time{color:#a17582}.playlist-note{font-size:11px;line-height:1.6;color:#aa8b97;padding:18px 8px}.playlist-footnote{border-top:1px solid rgba(186,137,154,.13);display:flex;align-items:center;justify-content:center;gap:8px;min-height:37px;padding-top:10px;font:italic 15px var(--serif);white-space:nowrap;color:#a78c8b}.playlist-footnote .icon{width:12px;height:12px;color:#caa0a4}
.player-panel{min-height:0;display:grid;grid-template-columns:minmax(220px,.93fr) minmax(380px,1.28fr) minmax(240px,.94fr);align-items:center;gap:18px;border-radius:24px;background:linear-gradient(105deg,rgba(255,251,249,.86),rgba(253,242,242,.77),rgba(255,250,245,.86));border:1px solid rgba(255,255,255,.97);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 15px 36px rgba(141,85,103,.09),0 1px 2px rgba(140,83,99,.04);padding:14px 21px}.player-song{display:flex;align-items:center;gap:12px;min-width:0}.player-song img{width:64px;height:64px;border-radius:10px;object-fit:cover;border:2px solid #fff;box-shadow:0 5px 13px rgba(139,89,106,.12)}.player-track-text{min-width:0;display:flex;flex-direction:column;gap:5px}.player-track-text strong{font:600 20px/.98 var(--serif);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:270px}.player-track-text>span{color:#a98b96;font-size:10px}.equalizer{display:flex;align-items:end;gap:2px;margin-left:auto;height:17px}.equalizer span{width:3px;height:9px;border-radius:4px;background:#c68e9e;animation:equalize .8s ease-in-out infinite alternate;animation-play-state:paused}.equalizer span:nth-child(2){height:15px;animation-delay:-.4s}.equalizer span:nth-child(3){height:5px;animation-delay:-.15s}.equalizer span:nth-child(4){height:11px;animation-delay:-.57s}.equalizer.playing span{animation-play-state:running}@keyframes equalize{0%{height:3px}100%{height:17px}}
.playback-center{display:flex;flex-direction:column;gap:9px;max-width:600px;width:100%;justify-self:center}.transport{display:flex;align-items:center;justify-content:center;gap:clamp(7px,1vw,14px)}.control{position:relative;display:grid;place-items:center;width:29px;height:30px;color:#927481;border:0;background:transparent;border-radius:10px;transition:background .2s,color .2s,transform .2s}.control .icon{height:20px;width:20px}.control:hover{background:rgba(225,191,200,.3);color:#79475d}.control:active,.play-control:active{transform:scale(.9)}.control.subtle{color:#b89caa}.control.active{color:#a05d78;background:rgba(239,218,220,.75)}.play-control{display:grid;place-items:center;border:1px solid rgba(255,255,255,.72);color:#fff8f6;background:linear-gradient(145deg,#cb96a9,#aa7086);width:45px;height:45px;border-radius:50%;box-shadow:0 6px 12px rgba(158,93,117,.22),inset 0 1px rgba(255,255,255,.42);transition:transform .2s}.play-control .icon{height:20px;width:20px;fill:currentColor;stroke:none}.repeat-one{font-size:9px;font-weight:800;position:absolute;right:-1px;top:-4px;background:#f7e5db;border-radius:50%;height:12px;width:12px;display:grid;place-items:center}.repeat-one[hidden]{display:none}.stop-control{margin-left:0;color:#a998a1}.stop-control .icon{width:15px;height:15px;stroke:none;fill:currentColor}.seek-row{display:flex;align-items:center;gap:11px;font-size:10px;color:#997d8a;font-variant-numeric:tabular-nums}.seek-row span{width:35px;flex-shrink:0;text-align:center}.seek-range,.volume-range{appearance:none;-webkit-appearance:none;background:linear-gradient(90deg,#b57d91 0%,#b57d91 var(--pct,0%),rgba(193,166,177,.34) var(--pct,0%),rgba(193,166,177,.34) 100%);border-radius:20px;height:4px;outline:none;cursor:pointer;min-width:0}.seek-range{flex:1}.seek-range::-webkit-slider-thumb,.volume-range::-webkit-slider-thumb{appearance:none;width:11px;height:11px;background:#b67f92;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #b67f92,0 2px 7px rgba(147,89,100,.22)}.seek-range::-moz-range-thumb,.volume-range::-moz-range-thumb{width:8px;height:8px;background:#b67f92;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #b67f92}
.player-options{display:flex;align-items:center;justify-content:flex-end;gap:11px}.volume-block{display:flex;align-items:center;gap:4px}.volume-block>.control{width:29px}.volume-block>.control .icon{width:18px}.volume-range{width:70px;--pct:78%}.option-divider{height:28px;width:1px;background:rgba(170,125,138,.2)}.fade-control{display:flex;align-items:start;flex-direction:column;gap:5px}.fade-control span{font-size:8px;letter-spacing:1.5px;color:#ad8a95;font-weight:700}.fade-control select{font-size:10px;font-weight:700;color:#986e81;border:0;background:transparent;outline:0;cursor:pointer;padding:0 5px 0 0}.fullscreen-control{color:#ab8395}
.toast{position:fixed;left:50%;bottom:143px;transform:translate(-50%,14px);padding:12px 18px;background:rgba(100,61,79,.96);color:#fff;font-size:12px;border-radius:13px;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;box-shadow:0 10px 24px rgba(76,38,58,.2);max-width:min(90vw,500px);text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.help-dialog{border:1px solid #fff6f3;border-radius:25px;background:linear-gradient(150deg,#fff8f6,#f3e3e6);color:#644758;width:min(465px,calc(100vw - 30px));box-shadow:0 25px 80px rgba(69,37,56,.3);padding:35px}.help-dialog::backdrop{background:rgba(54,33,46,.4);backdrop-filter:blur(4px)}.help-dialog form{position:relative}.help-dialog h2{font:600 35px/1.04 var(--serif);margin:11px 0 14px}.help-dialog p{font-size:12px;line-height:1.8;color:#907483}.help-dialog code{color:#8d5874;background:#f3dde2;padding:2px 5px;border-radius:4px}.dialog-close{position:absolute;right:-10px;top:-13px;color:#9f8191;background:none;border:0;font-size:28px}.help-grid{display:grid;grid-template-columns:110px 1fr;gap:10px;padding:16px;background:#fff9f7;border-radius:15px;font-size:12px}.help-grid span:nth-child(odd){font-weight:700;color:#956376}.help-grid span:nth-child(even){color:#977e88}.help-dialog .help-small{font-size:11px;margin:17px 0}.dialog-done{border:0;padding:12px 19px;border-radius:12px;background:#b17a90;color:white;font-size:12px;font-weight:600}
@media (max-height:840px) and (min-width:1061px){.app-shell{grid-template-rows:63px minmax(0,1fr) 110px;gap:12px;padding-top:9px;padding-bottom:10px}.artwork-panel{padding-top:18px;padding-bottom:14px}.artwork-stage{padding-top:13px;padding-bottom:9px}.artwork-frame{max-width:310px}.vinyl{max-width:280px;max-height:280px}.side-message{margin-top:12px;padding:10px 12px}.side-message p{font-size:15px}.current-heading h1{font-size:clamp(28px,2.5vw,38px)}.lyrics-panel,.playlist-panel{padding-top:19px}.lyrics-container{margin-top:12px}.playlist-search{margin-top:12px}.player-panel{padding:12px 16px}.player-song img{height:54px;width:54px}.play-control{width:42px;height:42px}}
@media (max-width:1380px){.top-center{display:none}.main-grid{grid-template-columns:minmax(245px,1fr) minmax(300px,1.18fr) minmax(244px,.96fr);gap:12px}.app-shell{gap:12px}.artwork-panel{padding-left:19px;padding-right:19px}.artwork-stamp{font-size:7px}.playlist-panel{padding-left:14px;padding-right:9px}.playlist-copy strong{font-size:10px}.player-panel{grid-template-columns:minmax(180px,.87fr) minmax(360px,1.25fr) minmax(190px,.9fr);gap:8px;padding-left:14px;padding-right:14px}.player-track-text strong{max-width:178px;font-size:19px}.player-options{gap:7px}.fade-control span{font-size:7px}}
@media (max-width:1060px){body{overflow:auto}.app-shell{height:auto;min-height:100dvh;grid-template-rows:65px auto auto;gap:15px;padding:12px 17px 20px}.main-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);grid-template-rows:minmax(530px,auto) 440px;gap:14px}.artwork-panel,.lyrics-panel{min-height:530px}.playlist-panel{grid-column:1/-1;min-height:440px}.playlist-scroll{max-height:295px}.player-panel{position:sticky;bottom:10px;z-index:10;grid-template-columns:210px minmax(280px,1fr) 166px;gap:8px}.fade-control{display:none}.player-track-text strong{max-width:125px}.playlist-panel{padding-right:17px}.playlist-track{max-width:100%}.playlist-scroll #playlistList{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.act-group{min-width:0}.artwork-frame{max-width:355px}}
@media (max-width:710px){.app-shell{padding:10px 10px 15px;gap:11px;grid-template-rows:65px auto auto}.topbar{gap:8px}.brand{min-width:0;gap:9px}.brand-seal{height:42px;width:42px;border-radius:14px}.brand-seal>span:first-child{font-size:30px}.brand-name{font-size:26px}.brand-subline{font-size:7px;letter-spacing:1px}.album-count{font-size:10px}.top-actions{gap:4px}.main-grid{display:flex;flex-direction:column;gap:12px}.artwork-panel{min-height:0;padding:19px 21px 21px}.artwork-stage{height:clamp(250px,76vw,440px);flex:none}.artwork-frame{width:min(80%,355px)}.vinyl{width:min(75%,300px);height:auto;aspect-ratio:1}.artwork-stamp{right:6%;bottom:5%}.current-heading h1{font-size:38px}.side-message{margin-top:16px}.lyrics-panel{height:480px;min-height:0;padding:24px 20px 16px}.lyrics-container{margin-top:10px}.lyrics-inner{padding-top:18%;padding-bottom:24%}.lyric-line{font-size:30px}.playlist-panel{min-height:0;padding:23px 15px 14px}.playlist-scroll{height:385px;max-height:385px}.playlist-scroll #playlistList{display:block}.player-panel{display:grid;position:sticky;bottom:3px;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:3px 9px;border-radius:18px;padding:9px 12px 11px}.player-song{grid-column:1;grid-row:1}.player-song img{width:40px;height:40px}.player-track-text strong{max-width:190px;font-size:17px}.equalizer{display:none}.playback-center{grid-row:2;grid-column:1/-1;max-width:none;display:flex;flex-direction:column-reverse;gap:7px}.transport{gap:clamp(6px,2.1vw,19px)}.play-control{width:40px;height:40px}.seek-row{gap:6px}.player-options{grid-column:2;grid-row:1;justify-content:flex-end}.volume-block{display:none}.option-divider{display:none}.fullscreen-control{width:29px}.toast{bottom:127px}.stop-control{margin-left:2px}.lyrics-heading h2{font-size:32px}}
@media (max-width:395px){.album-count{display:none}.transport-extra{display:none}.brand-subline{max-width:205px}.play-control{width:38px;height:38px}.current-heading h1{font-size:34px}.lyrics-heading h2{font-size:27px}.lyrics-hint{font-size:9px}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
.lyric-section{padding:15px 15px 2px;font-size:10px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase;color:#c4a5a8}.lyrics-inner .lyric-section:first-child{margin-top:15px}
/* Song-by-song lyric calibration controls (v2). */
#syncModeBtn.enabled{background:linear-gradient(135deg,#e4beaf,#b87f96);color:#fff;border-color:#b47c91;box-shadow:0 1px 8px #b77b9440}
#syncResetBtn{min-width:25px;font-size:15px}
@media(max-width:990px){.lyrics-footer{flex-wrap:wrap;gap:7px}.lyric-tools{flex-wrap:wrap;justify-content:flex-end;margin-left:auto}.lyrics-hint{max-width:100%;line-height:1.5}}

/* V3: unobtrusive lyric tap-to-sync controls; the rose-glass layout is unchanged. */
.lyric-line.sync-next:not(.active){background:linear-gradient(90deg,rgba(240,208,162,.18),transparent 85%);box-shadow:inset 2px 0 rgba(199,155,95,.65)}
.lyric-tools .sync-tap:not([hidden]){background:#f1dee3;color:#794c62;border-color:rgba(176,117,145,.36);font-size:9px;letter-spacing:.1px;font-weight:700;padding:0 8px;white-space:nowrap}
.lyric-tools button[disabled]{opacity:.35;cursor:not-allowed}
.lyric-tools button[hidden]{display:none!important}
.lyric-line:focus-visible{outline:2px solid #bf8b9a;outline-offset:1px}

/* ─── Version 4: album shelf, saved pink/golden themes, adaptive artwork ─── */
html { overflow-x: hidden; }
body { overflow-x: hidden; }
.app-shell, .main-grid, .panel, .player-panel, .player-song, .player-track-text { min-width: 0; }

/* The full image must fit INSIDE the cover frame. Do not crop important cover lettering. */
.artwork-panel { display: grid; grid-template-rows: auto minmax(110px, 1fr) auto auto; }
.artwork-stage { min-width:0; min-height:0; width:100%; padding:10px 6px 7px; overflow:hidden; flex:none; }
.artwork-frame {
  width:min(94%, var(--artwork-size, 345px)); max-width:100%; max-height:100%; aspect-ratio:1;
  padding:3px; flex:none; border-width:4px; border-radius:15px;
  transform:rotate(-.45deg); background:rgba(255,255,255,.96);
}
.artwork-frame img { width:100%; height:100%; object-fit:contain; border-radius:8px; }
.vinyl { width:min(82%, var(--artwork-size, 345px)); height:auto; max-height:90%; top:50%; right:0; transform:translate(9%,-50%) rotate(19deg); }
.artwork-stamp { bottom:4%; right:1%; }
.current-heading { min-width:0; flex-shrink:0; z-index:4; position:relative; padding-top:9px; }
.current-heading h1 { min-height:0; overflow-wrap:anywhere; hyphens:auto; line-height:1.03; margin:6px 0; font-size:clamp(27px,2.45vw,43px); }
.current-heading p { overflow-wrap:anywhere; }
.side-message { min-width:0; margin-top:11px; }

/* Native dropdown (keyboard accessible), with a soft pill for album looping. */
.album-picker { margin:16px 8px 3px 1px; position:relative; z-index:3; }
.album-picker label { display:flex; align-items:center; justify-content:space-between; font-size:8px; letter-spacing:1.65px; font-weight:700; color:var(--muted); margin-bottom:7px; padding-left:3px; }
.album-picker label span { font-size:9px; letter-spacing:.25px; font-weight:600; text-transform:none; }
.album-picker-row { display:flex; gap:7px; min-width:0; }
.album-picker-row select {
  background:rgba(255,255,255,.7); border:1px solid rgba(255,255,255,.9);
  box-shadow:0 4px 10px rgba(134,92,107,.04);
  color:var(--ink); font-size:11px; font-weight:600; min-width:0; width:100%;
  height:38px; padding:0 11px; border-radius:11px; text-overflow:ellipsis; cursor:pointer;
}
.album-picker-row button {
  flex:none; border:1px solid rgba(192,157,151,.28); background:rgba(255,255,255,.48);
  color:var(--rose-dark); border-radius:11px; font-size:9px; font-weight:800;
  letter-spacing:.35px; padding:0 9px; white-space:nowrap;
}
.album-picker-row button.active { color:#fffdf8; background:var(--rose-dark); border-color:var(--rose-dark); }
.playlist-search { margin-top:12px; }

/* Premium unobtrusive title marquee: moves only when text genuinely overflows. */
.player-song { width:100%; min-width:0; }
.player-track-text { flex:1; width:0; min-width:0; overflow:hidden; }
.mini-title-viewport { width:100%; min-width:0; overflow:hidden; white-space:nowrap; mask-image:linear-gradient(90deg,#000 0%,#000 97%,transparent); }
.player-track-text #miniTitle {
  display:inline-block; max-width:none; min-width:0; overflow:visible; text-overflow:clip;
  white-space:nowrap; transform:translate3d(0,0,0); padding-right:3px;
  font-size:clamp(16px,1.5vw,20px);
}
.player-track-text #miniTitle.marquee-active { animation:mini-title-marquee var(--marquee-duration,15s) ease-in-out infinite; }
@keyframes mini-title-marquee {
  0%,13%{ transform:translate3d(0,0,0); }
  47%,62%{ transform:translate3d(calc(-1 * var(--marquee-distance,30px)),0,0); }
  100%{ transform:translate3d(0,0,0); }
}
.player-track-text>span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.player-song img { flex:none; object-fit:contain; background:#fff; }

/* The theme switch lives in the header, away from transport controls. */
.theme-toggle { display:inline-flex; align-items:center; justify-content:center; gap:7px; height:35px; border:1px solid rgba(255,255,255,.85); border-radius:18px; background:rgba(255,255,255,.59); color:var(--rose-dark); padding:0 12px; font-size:10px; font-weight:700; box-shadow:0 3px 10px rgba(120,85,86,.05); white-space:nowrap; }
.theme-toggle:hover { background:rgba(255,255,255,.88); }
.theme-swatch { font-size:16px; font-weight:500; line-height:1; }

/* Golden sunset glass: warm peach + honey, without olive/green undertones. */
html[data-theme="yellow"] {
  color-scheme: light;
  --ink:#654536; --muted:#9f7562; --subtle:#b6907a;
  --rose:#cf945b; --rose-dark:#ae724a;
  --gold:#c58b42; --gold-soft:#ffe1ac;
  --glass:rgba(255,246,226,.73); --outline:rgba(255,255,250,.88);
  --shadow:0 20px 64px rgba(173,113,70,.13),0 3px 12px rgba(167,100,59,.06);
}
html[data-theme="yellow"] body { background:#f7e6d4; }
html[data-theme="yellow"] .ambient-one { background:radial-gradient(circle,#ffd5a4 0%,rgba(255,214,175,.4) 57%,transparent 77%); }
html[data-theme="yellow"] .ambient-two { background:radial-gradient(circle,#f8cd9e 0%,rgba(252,208,164,.20) 60%,transparent 77%); }
html[data-theme="yellow"] .ambient-three { background:radial-gradient(circle,#ffe4b8,rgba(255,232,203,.12) 67%,transparent 77%); }
html[data-theme="yellow"] .brand-seal { background:linear-gradient(145deg,#e6aa67,#c38b58); box-shadow:inset 0 1px rgba(255,255,255,.55),0 6px 15px rgba(179,105,60,.17); }
html[data-theme="yellow"] .brand-period,
html[data-theme="yellow"] .gold-dot { color:#d3954b; }
html[data-theme="yellow"] .brand-subline,
html[data-theme="yellow"] .album-count,
html[data-theme="yellow"] .top-center,
html[data-theme="yellow"] .current-heading p,
html[data-theme="yellow"] .playlist-footnote,
html[data-theme="yellow"] .lyrics-hint,
html[data-theme="yellow"] .fade-control span,
html[data-theme="yellow"] .player-track-text>span { color:#a47867; }
html[data-theme="yellow"] .eyebrow,
html[data-theme="yellow"] .track-index,
html[data-theme="yellow"] .section-kicker { color:#b37c58; }
html[data-theme="yellow"] .live-dot { background:#d69b69;box-shadow:0 0 0 4px rgba(214,155,105,.15); }
html[data-theme="yellow"] .artwork-panel { background:linear-gradient(149deg,rgba(255,253,247,.84),rgba(255,244,224,.68) 52%,rgba(255,218,181,.44)); }
html[data-theme="yellow"] .lyrics-panel { background:linear-gradient(148deg,rgba(255,252,245,.83),rgba(255,243,223,.75) 56%,rgba(255,229,204,.62)); }
html[data-theme="yellow"] .playlist-panel { background:linear-gradient(160deg,rgba(255,251,241,.88),rgba(255,237,214,.59)); }
html[data-theme="yellow"] .player-panel { background:linear-gradient(112deg,rgba(255,250,242,.93),rgba(255,235,207,.79),rgba(255,250,237,.88));box-shadow:0 14px 42px rgba(168,105,67,.1); }
html[data-theme="yellow"] .side-message,
html[data-theme="yellow"] .playlist-search,
html[data-theme="yellow"] .album-picker-row select { background:rgba(255,252,244,.73); }
html[data-theme="yellow"] .artwork-frame img { background:#f6e3cc; }
html[data-theme="yellow"] .vinyl { filter:sepia(.12) hue-rotate(-12deg); }
html[data-theme="yellow"] .artwork-stamp {color:#b17857;background:#fffbef;border-color:rgba(213,165,117,.56);}
html[data-theme="yellow"] .artwork-stamp .icon { fill:#d3a26c;stroke:#d3a26c; }
html[data-theme="yellow"] .lyric-line { color:#b69a89; }
html[data-theme="yellow"] .lyric-line.passed { color:#ad8672; }
html[data-theme="yellow"] .lyric-line:not(.instrumental):hover { background:rgba(255,220,183,.29);color:#815841; }
html[data-theme="yellow"] .lyric-line.active {color:#79492e;background:linear-gradient(90deg,rgba(255,222,178,.64),rgba(255,245,223,.3) 90%,transparent);}
html[data-theme="yellow"] .lyric-line.active:before {background:linear-gradient(#e8b06c,#c27f45);}
html[data-theme="yellow"] .timing-badge {color:#a77350;background:rgba(255,225,188,.48);border-color:rgba(217,165,105,.3);}
html[data-theme="yellow"] .lyric-tools button {color:#a26a46;background:rgba(255,253,243,.65);border-color:rgba(214,165,110,.3);}
html[data-theme="yellow"] .lyric-tools .auto-scroll.enabled,
html[data-theme="yellow"] .lyric-tools .sync-tap:not([hidden]) {background:#ffe3bd;color:#99603c;}
html[data-theme="yellow"] #syncModeBtn.enabled,
html[data-theme="yellow"] .album-picker-row button.active {background:linear-gradient(135deg,#e4ae6f,#ba7b4c);color:white;border-color:#d39662;}
html[data-theme="yellow"] .playlist-track.active {background:linear-gradient(100deg,rgba(255,224,189,.86),rgba(255,251,241,.65));border-color:rgba(255,252,242,.9);}
html[data-theme="yellow"] .playlist-track:hover {background:rgba(255,250,233,.62);}
html[data-theme="yellow"] .playlist-track.active .playlist-num,
html[data-theme="yellow"] .playlist-track.active .playlist-time,
html[data-theme="yellow"] .playlist-track.active .playlist-copy strong {color:#9b6449;}
html[data-theme="yellow"] .playlist-disc {color:#c18d5b;background:rgba(251,219,181,.54);}
html[data-theme="yellow"] .playlist-thumb {background:#f8ddc2;}
html[data-theme="yellow"] .playlist-copy span,
html[data-theme="yellow"] .playlist-time,
html[data-theme="yellow"] .playlist-num,
html[data-theme="yellow"] .act-heading {color:#aa8773;}
html[data-theme="yellow"] .play-control {background:linear-gradient(140deg,#dfa869,#be7a52);box-shadow:0 6px 16px rgba(174,104,66,.2);}
html[data-theme="yellow"] .control {color:#9c725d;}
html[data-theme="yellow"] .control:hover,
html[data-theme="yellow"] .control.active {color:#9e643e;background:rgba(249,219,187,.39);}
html[data-theme="yellow"] .seek-range,
html[data-theme="yellow"] .volume-range {background:linear-gradient(90deg,#ca8a54 0%,#ca8a54 var(--pct,0%),rgba(202,154,113,.28) var(--pct,0%),rgba(202,154,113,.28) 100%);}
html[data-theme="yellow"] .seek-range::-webkit-slider-thumb,
html[data-theme="yellow"] .volume-range::-webkit-slider-thumb {background:#c18b5b;box-shadow:0 0 0 1px #c18b5b;}
html[data-theme="yellow"] .equalizer span {background:#d39d6b;}
html[data-theme="yellow"] .theme-toggle {color:#a06944;background:rgba(255,250,237,.76);}
html[data-theme="yellow"] .icon-button {color:#987054;}
html[data-theme="yellow"] .toast {background:rgba(102,68,47,.95);}
html[data-theme="yellow"] .help-dialog {background:linear-gradient(145deg,#fff9ef,#ffe9ce);color:#654536;}
html[data-theme="yellow"] .help-dialog p {color:#9f7864;}
html[data-theme="yellow"] .dialog-done {background:#be8451;}

/* Avoid content disappearing or title clipping at narrow / short viewport sizes. */
@media (max-width:1380px) {
  .player-panel { grid-template-columns:minmax(135px,.9fr) minmax(275px,1.28fr) minmax(155px,.8fr); }
  .player-track-text #miniTitle { max-width:none; }
}
@media (max-width:1180px) {
  .top-center { display:none; }
  .main-grid { grid-template-columns:minmax(0,1fr) minmax(0,1.07fr); grid-template-rows:minmax(515px,auto) minmax(390px,auto); }
  .playlist-panel { grid-column:1/-1; min-height:390px; }
  .artwork-panel,.lyrics-panel { min-height:515px; }
  .player-panel { grid-template-columns:minmax(130px,.9fr) minmax(275px,1.25fr) minmax(145px,.7fr); }
  .volume-range { width:48px; }
  .album-picker { margin-top:12px; }
}
@media (max-width:870px) {
  body { overflow-y:auto; }
  .app-shell { height:auto; min-height:100dvh; grid-template-rows:65px auto auto; }
  .main-grid { display:flex; flex-direction:column; gap:13px; }
  .artwork-panel { min-height:0; grid-template-rows:auto  minmax(260px, 400px) auto auto; }
  .artwork-stage { height:clamp(250px, 65vw,390px); }
  .lyrics-panel { min-height:0; height:475px; }
  .playlist-panel { min-height:0; }
  .playlist-scroll { height:330px; max-height:330px; flex:none; }
  .player-panel { position:sticky; bottom:6px; display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto; gap:6px 10px; }
  .player-song { grid-column:1;grid-row:1; }
  .playback-center { grid-column:1/-1;grid-row:2; max-width:none; display:flex; flex-direction:column-reverse; }
  .player-options { grid-column:2;grid-row:1; }
  .player-song img { width:43px;height:43px; }
  .player-track-text { max-width:100%; }
  .fade-control,.volume-block,.option-divider { display:none; }
  .topbar { min-width:0; }
  .playlist-scroll #playlistList { display:block; }
}
@media (max-width:710px) {
  .artwork-panel { grid-template-rows:auto minmax(255px,auto) auto auto; }
  .artwork-stage { height:clamp(245px,75vw,390px); }
  .artwork-frame { width:min(92%,var(--artwork-size,355px)); }
  .artwork-stamp { right:4%; }
  .theme-toggle { padding:0 9px; height:33px; }
  .theme-toggle #themeLabel { display:none; }
  .top-actions { gap:5px; }
  .player-track-text #miniTitle { font-size:17px; }
}
@media (max-width:420px) {
  .playlist-heading h2 { font-size:27px; }
  .album-picker-row select { font-size:10px; }
  .album-picker-row button { padding:0 6px; font-size:8px; }
  .brand-subline { max-width:160px; white-space:normal; }
}
@media (max-height:710px) and (min-width:871px) {
  body { overflow-y:auto; }
  .app-shell { min-height:735px; height:auto; }
  .artwork-panel .side-message { display:none; }
}
@media (prefers-reduced-motion:reduce) {
  .player-track-text #miniTitle.marquee-active { animation:none !important; }
  .mini-title-viewport { overflow-x:auto; mask-image:none; }
}

/* Critical: fixed tablet panel height breaks a ResizeObserver/intrinsic-height
   feedback loop from lyric padding. Without this, half-window resizes can
   balloon the panel to thousands of pixels and make the UI appear to vanish. */
@media (min-width:871px) and (max-width:1180px) {
  body { overflow-y:auto; }
  .app-shell { height:auto; min-height:100dvh; grid-template-rows:65px auto auto; }
  .main-grid { grid-template-rows:540px 420px; }
  .artwork-panel, .lyrics-panel { height:540px; min-height:0; }
  .playlist-panel { height:420px; min-height:0; }
  .playlist-scroll { min-height:0; }
  .player-panel { position:sticky; bottom:7px; z-index:10; }
}

/* V5: make the cover the hero while protecting title visibility below. */
@media(min-width:1181px){
 .main-grid{grid-template-columns:minmax(310px,1.15fr) minmax(300px,1.15fr) minmax(270px,.94fr)}
 .artwork-panel{padding:16px clamp(13px,1.5vw,24px) 16px;grid-template-rows:auto minmax(100px,1fr) auto auto}
 .artwork-stage{padding:3px 1px 5px}
 .side-message{margin-top:7px;padding:9px 12px}
 .side-message p{font-size:15px}
 .current-heading h1{font-size:clamp(27px,2.2vw,40px)}
}
.artwork-frame{transform:rotate(-.24deg);border-width:3px;padding:1px}
.artwork-stamp{bottom:2%;right:1%;font-size:7px;padding:6px 8px}
.admin-link{display:grid;place-items:center;text-decoration:none;line-height:1;font-size:18px}
@media(max-width:710px){.artwork-panel{padding-left:13px;padding-right:13px}.artwork-stage{padding:0}.artwork-frame{transform:none}}

/* Full-size uncropped cover preview for detailed artwork and lettering. */
.artwork-frame{cursor:zoom-in;appearance:none;display:block;text-align:left}
.cover-zoom-label{position:absolute;left:50%;bottom:9px;transform:translateX(-50%) translateY(8px);opacity:0;pointer-events:none;padding:8px 12px;border-radius:15px;background:rgba(50,39,42,.66);color:white;font-size:9px;letter-spacing:1.1px;white-space:nowrap;transition:opacity .2s,transform .2s;z-index:6}
.artwork-frame:hover .cover-zoom-label,.artwork-frame:focus-visible .cover-zoom-label{opacity:1;transform:translateX(-50%) translateY(0)}
.cover-dialog{position:fixed;max-width:96vw;max-height:96dvh;border:1px solid rgba(255,255,255,.78);background:rgba(255,249,242,.92);border-radius:20px;padding:18px;box-shadow:0 25px 90px rgba(50,32,42,.4);overflow:auto;backdrop-filter:blur(20px)}
.cover-dialog::backdrop{background:rgba(37,22,30,.75);backdrop-filter:blur(8px)}
.cover-dialog img{display:block;max-width:calc(96vw - 50px);max-height:calc(96dvh - 100px);width:auto;height:auto;object-fit:contain;margin:auto;border-radius:12px}
.cover-dialog p{text-align:center;font:600 23px var(--serif);margin:7px 30px 0;color:var(--ink)}
.cover-dialog-close{position:absolute;right:14px;top:12px;width:35px;height:35px;border-radius:50%;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.84);color:#986e6c;font-size:24px;z-index:8}

/* V6: the entire birthday note follows the active glass theme. */
html[data-theme="yellow"] .side-message { color:#80583d; border-color:rgba(255,236,196,.9); background:rgba(255,247,228,.76); }
html[data-theme="yellow"] .side-message p, html[data-theme="yellow"] #sideNoteText { color:#80583d; }
html[data-theme="yellow"] .side-message p span, html[data-theme="yellow"] .message-overline { color:#c18a48; }
html[data-theme="yellow"] .message-icon { color:#cc933b; }
/* Optional album artwork, tucked into the existing playlist heading. */
.album-cover-button{width:70px;height:70px;min-width:70px;border:1px solid rgba(255,255,255,.91);background:rgba(255,255,255,.53);padding:4px;border-radius:16px;box-shadow:0 8px 20px rgba(116,66,72,.12);cursor:zoom-in;overflow:hidden;transition:transform .2s,box-shadow .2s}
.album-cover-button:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(116,66,72,.18)}
.album-cover-button img{width:100%;height:100%;display:block;object-fit:contain;border-radius:11px}
.album-cover-button[hidden]{display:none!important}
@media(max-width:710px){.album-cover-button{width:56px;height:56px;min-width:56px;border-radius:13px}.album-cover-button img{border-radius:8px}}
.playlist-disc[hidden]{display:none!important}

/* V7 · Permanent collectible album sleeve · Option A.
   A distinct, fixed showcase directly below the selected album name.
   Only the song rows beneath the search bar scroll. */
.album-sleeve[hidden],.album-cover-button[hidden]{display:none!important}
.album-sleeve{
  position:relative;isolation:isolate;flex:0 0 auto;min-height:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;
  margin:12px 7px 0 1px;padding:12px 10px 11px;
  border:1px solid rgba(255,255,255,.86);border-radius:21px;
  background:linear-gradient(145deg,rgba(255,255,255,.76),rgba(244,224,218,.29) 65%,rgba(255,255,255,.47));
  box-shadow:inset 0 2px 7px rgba(255,255,255,.55),0 11px 25px rgba(105,75,67,.07);
  overflow:hidden;
}
.album-sleeve:before,.album-sleeve:after{content:'✦';position:absolute;font-family:Georgia,serif;color:rgba(178,125,101,.38);font-size:22px;line-height:1;pointer-events:none}
.album-sleeve:before{top:13px;left:14px}.album-sleeve:after{bottom:12px;right:14px;font-size:16px}
.album-sleeve-shimmer{position:absolute;inset:-80% -20%;pointer-events:none;background:linear-gradient(110deg,transparent 33%,rgba(255,255,255,.25) 47%,transparent 62%);transform:rotate(-12deg);opacity:.6}
/* Override old 70px thumbnail rules intentionally. */
.playlist-panel .album-sleeve .album-cover-button{
  position:relative;z-index:1;display:block;flex:0 0 auto;
  width:min(220px,92%,24dvh);height:auto;aspect-ratio:1;
  min-width:0;padding:5px;border-radius:16px;overflow:hidden;
  border:1px solid rgba(255,255,255,.96);
  box-shadow:0 18px 30px rgba(110,67,76,.17),0 1px 6px rgba(117,71,91,.09);
  background:rgba(255,255,255,.88);transition:transform .25s ease,box-shadow .25s ease;
}
.playlist-panel .album-sleeve .album-cover-button:hover{transform:translateY(-3px) scale(1.012);box-shadow:0 22px 37px rgba(110,67,76,.2)}
.playlist-panel .album-sleeve .album-cover-button img{width:100%;height:100%;object-fit:contain;border-radius:11px;background:#fff9f4}
.album-sleeve-caption{position:relative;z-index:1;max-width:100%;display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;color:#a37d76;font:600 9px var(--sans);letter-spacing:.5px}
.sleeve-album-name{min-width:0;max-width:205px;overflow:hidden;text-overflow:ellipsis}
.sleeve-rule{color:var(--gold);font:14px var(--serif)}
.playlist-panel .playlist-search{margin-top:10px;margin-bottom:10px}
html[data-theme="yellow"] .album-sleeve{background:linear-gradient(145deg,rgba(255,254,248,.91),rgba(255,230,201,.47));border-color:rgba(255,248,235,.97)}
html[data-theme="yellow"] .album-sleeve-caption{color:#9d795c}
@media (max-height:775px) and (min-width:1181px){
 .album-sleeve{padding:7px 8px 7px;gap:5px;margin-top:8px}
 .playlist-panel .album-sleeve .album-cover-button{width:min(170px,92%,21dvh)}
 .album-sleeve-caption{font-size:8px}
}
@media (min-width:871px) and (max-width:1180px){
 .playlist-panel .album-sleeve{margin:10px 10px 0 0;padding:9px}
 .playlist-panel .album-sleeve .album-cover-button{width:min(145px,94%,17dvh)}
 .playlist-panel .playlist-search{margin-top:8px}
}
@media (max-width:870px){
 .playlist-panel .album-sleeve{margin:11px 8px 1px 3px;min-height:0;padding:14px 8px 12px}
 .playlist-panel .album-sleeve .album-cover-button{width:min(220px,75vw,28dvh)}
}
@media (max-width:430px){
 .playlist-panel .album-sleeve .album-cover-button{width:min(195px,70vw)}
 .album-sleeve{border-radius:17px}
}

/* V7 · Forest glass · ivory, light sage and deep botanical green.
   Keep contrast accessible; use champagne highlights, never neon lime. */
html[data-theme="forest"]{
  color-scheme:light;
  --ink:#314f42;--muted:#678573;--subtle:#98b09d;
  --rose:#789d84;--rose-dark:#4e7966;
  --gold:#b49a5e;--gold-soft:#f1e6be;
  --glass:rgba(245,253,245,.74);--outline:rgba(255,255,255,.88);
  --shadow:0 20px 65px rgba(69,110,85,.12),0 3px 12px rgba(69,113,84,.05);
}
html[data-theme="forest"] body{background:#e5efe2}
html[data-theme="forest"] .ambient-one{background:radial-gradient(circle,#c9e7cf 0%,rgba(202,229,206,.33) 60%,transparent 75%)}
html[data-theme="forest"] .ambient-two{background:radial-gradient(circle,rgba(189,221,200,.78),rgba(208,232,211,.12) 66%,transparent 76%)}
html[data-theme="forest"] .ambient-three{background:radial-gradient(circle,rgba(250,252,233,.88),transparent 71%)}
html[data-theme="forest"] .brand-seal{background:linear-gradient(145deg,#97baa0,#598b70);box-shadow:inset 0 1px rgba(255,255,255,.61),0 7px 17px rgba(62,108,79,.2)}
html[data-theme="forest"] .brand-period,html[data-theme="forest"] .gold-dot{color:#b29a56}
html[data-theme="forest"] .brand-subline,html[data-theme="forest"] .album-count,html[data-theme="forest"] .top-center,html[data-theme="forest"] .current-heading p,html[data-theme="forest"] .player-track-text>span,html[data-theme="forest"] .fade-control span,html[data-theme="forest"] .playlist-footnote,html[data-theme="forest"] .lyrics-hint{color:#76927f}
html[data-theme="forest"] .thin-rule{background:linear-gradient(90deg,transparent,#a3c4ae,transparent)}
html[data-theme="forest"] .eyebrow,html[data-theme="forest"] .track-index,html[data-theme="forest"] .section-kicker{color:#688d74}
html[data-theme="forest"] .live-dot{background:#7eb38b;box-shadow:0 0 0 4px rgba(124,172,135,.18)}
html[data-theme="forest"] .artwork-panel{background:linear-gradient(155deg,rgba(253,255,250,.90),rgba(233,249,236,.71) 54%,rgba(211,236,219,.55))}
html[data-theme="forest"] .lyrics-panel{background:linear-gradient(149deg,rgba(254,255,250,.92),rgba(239,250,241,.79) 58%,rgba(221,241,227,.70))}
html[data-theme="forest"] .playlist-panel{background:linear-gradient(158deg,rgba(252,255,250,.89),rgba(231,245,231,.72))}
html[data-theme="forest"] .player-panel{background:linear-gradient(110deg,rgba(249,255,249,.95),rgba(229,246,234,.88),rgba(249,253,242,.93));box-shadow:0 14px 37px rgba(84,120,92,.11)}
html[data-theme="forest"] .vinyl{filter:sepia(.13) hue-rotate(68deg) saturate(.8)}
html[data-theme="forest"] .artwork-frame img{background:#dfecdd}
html[data-theme="forest"] .artwork-stamp{background:#fbfff1;border-color:rgba(159,183,138,.57);color:#63816b}
html[data-theme="forest"] .artwork-stamp .icon{fill:#88a58c;stroke:#88a58c}
html[data-theme="forest"] .side-message,html[data-theme="forest"] .playlist-search,html[data-theme="forest"] .album-picker-row select{background:rgba(251,255,247,.81);border-color:rgba(255,255,255,.93)}
html[data-theme="forest"] .side-message{color:#4d725c}
html[data-theme="forest"] .side-message p,html[data-theme="forest"] #sideNoteText{color:#456b56}
html[data-theme="forest"] .message-overline,html[data-theme="forest"] .message-icon,html[data-theme="forest"] .side-message p span{color:#8fa56d}
html[data-theme="forest"] .lyrics-panel:after{color:#b2cab4}
html[data-theme="forest"] .lyric-line{color:#94ad9a}
html[data-theme="forest"] .lyric-line.passed{color:#829c88}
html[data-theme="forest"] .lyric-line:not(.instrumental):hover{background:rgba(202,234,208,.41);color:#446d55}
html[data-theme="forest"] .lyric-line.active{color:#345e47;background:linear-gradient(90deg,rgba(199,233,202,.75),rgba(242,251,239,.38) 88%,transparent)}
html[data-theme="forest"] .lyric-line.active:before{background:linear-gradient(#d4c184,#70a383)}
html[data-theme="forest"] .lyric-line.sync-next:not(.active){background:linear-gradient(90deg,rgba(212,236,202,.35),transparent 85%);box-shadow:inset 2px 0 #a4ba86}
html[data-theme="forest"] .lyric-section,html[data-theme="forest"] .lyrics-empty p,html[data-theme="forest"] .lyrics-hint .icon{color:#88a390}
html[data-theme="forest"] .empty-flower{color:#90b49a}
html[data-theme="forest"] .lyrics-footer{border-top-color:rgba(99,148,113,.17)}
html[data-theme="forest"] .lyric-tools button{color:#58806a;background:rgba(251,255,248,.83);border-color:rgba(127,164,133,.32)}
html[data-theme="forest"] .lyric-tools span{color:#709080}
html[data-theme="forest"] .lyric-tools .auto-scroll.enabled,html[data-theme="forest"] .lyric-tools .sync-tap:not([hidden]){background:#dcebdc;color:#3e7659;border-color:#a7c5aa}
html[data-theme="forest"] #syncModeBtn.enabled{background:linear-gradient(135deg,#94b9a0,#5b8b70);color:#fff;border-color:#649575;box-shadow:0 1px 8px rgba(74,124,91,.18)}
html[data-theme="forest"] .timing-badge{color:#527d64;background:#e4f2df;border-color:#b8d3b6}
html[data-theme="forest"] .album-picker-row button{color:#4e7966;border-color:#b8d1bd;background:rgba(250,255,247,.67)}
html[data-theme="forest"] .album-picker-row button.active{background:linear-gradient(135deg,#91b39b,#548266);color:white;border-color:#6f9775}
html[data-theme="forest"] .playlist-search .icon{color:#86a891}
html[data-theme="forest"] .playlist-search input::placeholder{color:#8ca79a}
html[data-theme="forest"] .playlist-disc{color:#78a188;background:rgba(199,226,203,.58)}
html[data-theme="forest"] .playlist-track:hover{background:rgba(239,251,238,.85)}
html[data-theme="forest"] .playlist-track.active{background:linear-gradient(98deg,rgba(203,234,208,.83),rgba(251,255,247,.73));border-color:#fafff9;box-shadow:0 5px 14px rgba(83,128,93,.07)}
html[data-theme="forest"] .playlist-track.active .playlist-num,html[data-theme="forest"] .playlist-track.active .playlist-time,html[data-theme="forest"] .playlist-track.active .playlist-copy strong{color:#3d7254}
html[data-theme="forest"] .playlist-thumb{background:#d6ead9}
html[data-theme="forest"] .playlist-copy span,html[data-theme="forest"] .playlist-time,html[data-theme="forest"] .playlist-num,html[data-theme="forest"] .act-heading,html[data-theme="forest"] .playlist-note{color:#839f8b}
html[data-theme="forest"] .act-heading:after{background:linear-gradient(90deg,rgba(128,168,133,.42),transparent)}
html[data-theme="forest"] .playlist-footnote{border-top-color:rgba(135,166,135,.2)}
html[data-theme="forest"] .playlist-footnote .icon{color:#a8b88c}
html[data-theme="forest"] .album-sleeve{background:linear-gradient(146deg,rgba(252,255,248,.96),rgba(218,239,219,.56));border-color:#fff;box-shadow:0 11px 22px rgba(83,121,87,.09),inset 0 1px #fff}
html[data-theme="forest"] .album-sleeve:before,html[data-theme="forest"] .album-sleeve:after{color:#adc09a}
html[data-theme="forest"] .album-sleeve-caption{color:#577963}
html[data-theme="forest"] .playlist-panel .album-sleeve .album-cover-button{box-shadow:0 15px 28px rgba(53,101,72,.18)}
html[data-theme="forest"] .playlist-panel .album-sleeve .album-cover-button img{background:#fffef8}
html[data-theme="forest"] .control{color:#648775}
html[data-theme="forest"] .control.subtle{color:#87a694}
html[data-theme="forest"] .control:hover,html[data-theme="forest"] .control.active{color:#3b7154;background:rgba(206,232,211,.63)}
html[data-theme="forest"] .play-control{background:linear-gradient(145deg,#97bea1,#4c836a);box-shadow:0 6px 14px rgba(67,120,83,.23)}
html[data-theme="forest"] .seek-row,html[data-theme="forest"] .fade-control select{color:#658472}
html[data-theme="forest"] .seek-range,html[data-theme="forest"] .volume-range{background:linear-gradient(90deg,#6f9b7a 0%,#6f9b7a var(--pct,0%),rgba(166,199,172,.39) var(--pct,0%),rgba(166,199,172,.39) 100%)}
html[data-theme="forest"] .seek-range::-webkit-slider-thumb,html[data-theme="forest"] .volume-range::-webkit-slider-thumb,html[data-theme="forest"] .seek-range::-moz-range-thumb,html[data-theme="forest"] .volume-range::-moz-range-thumb{background:#699675;box-shadow:0 0 0 1px #699675}
html[data-theme="forest"] .equalizer span{background:#83af8e}
html[data-theme="forest"] .option-divider{background:rgba(106,157,116,.25)}
html[data-theme="forest"] .theme-toggle,html[data-theme="forest"] .icon-button{color:#4d8064;background:rgba(250,255,247,.76)}
html[data-theme="forest"] .theme-toggle:hover{background:#fdfff9}
html[data-theme="forest"] .toast{background:rgba(44,83,61,.95)}
html[data-theme="forest"] .help-dialog{background:linear-gradient(150deg,#fafff5,#e2efe1);color:#315b44}
html[data-theme="forest"] .help-dialog p,html[data-theme="forest"] .help-grid span:nth-child(even){color:#6c8b78}
html[data-theme="forest"] .help-grid{background:#f5fcf0}
html[data-theme="forest"] .help-grid span:nth-child(odd){color:#4f7c60}
html[data-theme="forest"] .help-dialog code{background:#d9e9db;color:#467452}
html[data-theme="forest"] .dialog-done{background:#628c6b}
html[data-theme="forest"] .cover-dialog{background:rgba(244,253,243,.95)}
html[data-theme="forest"] .cover-dialog-close{color:#557a64}
html[data-theme="forest"] button:focus-visible,html[data-theme="forest"] input:focus-visible,html[data-theme="forest"] select:focus-visible{outline-color:#6a9f7a}

/* Keep at least a few songs visible below the permanent sleeve on typical
   laptop displays; the artwork still grows on taller screens and zooms on tap. */
@media (min-width:1181px){
 .playlist-panel .album-sleeve .album-cover-button{width:min(190px,92%,18.5dvh)}
 .playlist-panel .album-sleeve{gap:5px;padding:9px 8px 8px;margin-top:8px}
 .playlist-panel{padding-top:21px}
 .playlist-panel .playlist-search{margin-top:8px;margin-bottom:8px}
}
@media (max-height:775px) and (min-width:1181px){
 .playlist-panel .album-sleeve .album-cover-button{width:min(150px,92%,18dvh)}
}

/* V7: give the full-width tablet playlist room for its larger sleeve and
   ensure the list remains useful, instead of collapsing to zero height. */
@media (min-width:871px) and (max-width:1180px){
 .main-grid{grid-template-rows:540px 575px}
 .playlist-panel{height:575px;min-height:575px}
 .playlist-panel .album-sleeve .album-cover-button{width:min(172px,90%,19dvh)}
}


/* V8 · Compact album identity shelf.
   Album artwork shares the top row with the album selector, leaving enough
   space for 3–4 full-size song rows rather than shrinking the playlist tracks. */
.playlist-feature{display:flex;align-items:center;gap:11px;min-width:0;flex:0 0 auto;padding-right:7px}
.playlist-feature .playlist-meta{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;gap:0}
.playlist-feature .playlist-heading{min-width:0;align-items:center;padding:0 1px}
.playlist-feature .playlist-heading h2{font-size:clamp(22px,1.75vw,28px);line-height:1.03;margin:5px 0 2px}
.playlist-feature .playlist-heading .section-kicker{font-size:8px;letter-spacing:1.5px}
.playlist-feature .playlist-disc{width:34px;height:34px;flex-shrink:0}
.playlist-feature .album-picker{margin:13px 0 0 1px;min-width:0}
.playlist-feature .album-picker label{font-size:8px;letter-spacing:1px;gap:5px}
.playlist-feature .album-picker label span{white-space:nowrap}
.playlist-feature .album-picker-row select{font-size:10px;padding-left:8px;padding-right:2px}
.playlist-feature .album-picker-row button{padding:0 6px;font-size:9px}
.playlist-panel .playlist-feature .album-sleeve{
  flex:0 0 auto;width:clamp(108px,9vw,146px);height:auto;margin:0;
  padding:8px 7px 7px;gap:4px;border-radius:17px;
}
.playlist-panel .playlist-feature .album-sleeve:before{top:6px;left:7px;font-size:13px}
.playlist-panel .playlist-feature .album-sleeve:after{bottom:6px;right:7px;font-size:12px}
.playlist-panel .playlist-feature .album-sleeve .album-cover-button{
  width:100%;max-width:100%;height:auto;aspect-ratio:1;margin:0;padding:4px;
  border-radius:13px;box-shadow:0 8px 18px rgba(110,67,76,.14);
}
.playlist-panel .playlist-feature .album-sleeve .album-cover-button img{border-radius:8px}
.playlist-feature .album-sleeve-caption{width:100%;font-size:7px;letter-spacing:0;gap:3px}
.playlist-feature .sleeve-album-name{max-width:85%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.playlist-feature .sleeve-rule{font-size:9px}
.playlist-panel .playlist-search{margin-top:12px;margin-bottom:9px}
@media(min-width:1181px) and (max-height:775px){
  .playlist-panel .playlist-feature .album-sleeve{width:clamp(100px,8vw,126px);padding:6px;gap:3px}
  .playlist-panel .playlist-feature .album-sleeve .album-cover-button{width:100%}
  .playlist-feature .album-picker{margin-top:8px}
}
@media(min-width:711px) and (max-width:1380px){
  .playlist-feature{gap:7px;padding-right:3px}
  .playlist-panel .playlist-feature .album-sleeve{width:clamp(95px,8vw,112px);padding:6px;gap:3px}
  .playlist-panel .playlist-feature .album-sleeve .album-cover-button{width:100%}
  .playlist-feature .playlist-heading h2{font-size:clamp(19px,2vw,24px)}
  .playlist-feature .playlist-heading .section-kicker{font-size:7px;letter-spacing:1px}
  .playlist-feature .album-picker{margin-top:9px}
  .playlist-feature .album-picker-row{gap:4px}
  .playlist-feature .loop-word{display:none}
}
@media(max-width:710px){
  .playlist-feature{gap:11px;padding-right:0}
  .playlist-panel .playlist-feature .album-sleeve{width:clamp(106px,30vw,148px);padding:7px;gap:3px}
  .playlist-panel .playlist-feature .album-sleeve .album-cover-button{width:100%}
  .playlist-feature .playlist-heading h2{font-size:clamp(21px,5vw,27px)}
  .playlist-feature .album-picker{margin-top:9px}
  .playlist-feature .loop-word{display:none}
  .playlist-panel:has(.album-sleeve:not([hidden])){height:500px}
}
@media(max-width:395px){
  .playlist-feature{gap:7px}
  .playlist-panel .playlist-feature .album-sleeve{width:105px}
  .playlist-feature .playlist-heading h2{font-size:20px}
  .playlist-feature .album-picker label{font-size:7px;letter-spacing:.3px}
  .playlist-feature .album-picker-row button{padding:0 5px}
}
/* The playlist spans both columns on tablets: show a more substantial
   album sleeve there without sacrificing the song-list viewport. */
@media (min-width:711px) and (max-width:1180px){
  .playlist-panel .playlist-feature .album-sleeve{width:clamp(130px,16vw,152px)}
  .playlist-panel .playlist-feature .album-sleeve .album-cover-button{width:100%}
}
@media (min-width:1181px) and (max-width:1380px){
  .playlist-panel .playlist-feature .album-sleeve{width:clamp(112px,8.7vw,124px)}
  .playlist-panel .playlist-feature .album-sleeve .album-cover-button{width:100%}
}

/* ─── V9: restore the original V6 full-width album selector ───
   The optional 70px cover lives beside the shelf heading; the selector and
   repeat button occupy the entire row below, independent of album artwork. */
.playlist-panel > .playlist-heading {
  width:100%; min-width:0; display:flex; align-items:center;
  justify-content:space-between; gap:9px; padding:0 11px 0 1px;
}
.playlist-panel > .playlist-heading > div:first-child {min-width:0;flex:1 1 auto}
.playlist-panel > .playlist-heading .album-cover-button {flex:0 0 70px;min-width:70px;width:70px;height:70px;}
.playlist-panel > .album-picker {width:auto;min-width:0;margin:16px 8px 3px 1px;flex:0 0 auto}
.playlist-panel > .album-picker .album-picker-row {display:flex;min-width:0;gap:7px}
.playlist-panel > .album-picker .album-picker-row select {
  flex:1 1 auto;width:100%;min-width:0;font-size:11px;padding:0 11px;
}
.playlist-panel > .album-picker .album-picker-row button {flex:0 0 auto;white-space:nowrap}
.playlist-panel > .playlist-search {margin-top:12px}
@media(max-width:710px){
  .playlist-panel > .playlist-heading .album-cover-button {width:56px;height:56px;min-width:56px;flex-basis:56px}
}
