:root{color-scheme:dark;font-family:'DM Sans',system-ui,sans-serif;color:#fff;--white:#fff;--glass:rgba(255,255,255,.11);--line:rgba(255,255,255,.26);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:#1f3550;min-height:100vh;min-height:100svh;overflow-x:hidden;-webkit-font-smoothing:antialiased}button,input,a{-webkit-tap-highlight-color:transparent}button,a{color:inherit}button{font:inherit;cursor:pointer}a{text-decoration:none}button:focus-visible,input:focus-visible,a:focus-visible{outline:2px solid #fff;outline-offset:4px}[hidden]{display:none!important}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.scene,.scrim{position:fixed;inset:0;pointer-events:none}.scene{background:url('pickup-driver.webp') center 55%/cover no-repeat;z-index:-3;transition:filter 1.8s}.scrim{z-index:-2;background:linear-gradient(180deg,#0a182934 0%,transparent 25%,transparent 64%,#1a0e0a5c 100%)}.night .scene{filter:brightness(.5) saturate(.65) hue-rotate(10deg)}header{position:absolute;top:max(20px,env(safe-area-inset-top));left:28px;right:28px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;text-shadow:0 1px 8px #0008;z-index:4}header time{font-size:14px;font-variant-numeric:tabular-nums;opacity:.9}h1{font-size:17px;letter-spacing:4px;margin:0;font-weight:700;line-height:1.5}h1 span{font-size:12px;letter-spacing:1px;font-weight:500;margin-left:3px;opacity:.8}.corner-controls{display:flex;justify-self:end;gap:4px}.icon-button{display:grid;place-items:center;flex:none;width:38px;height:38px;border:0;border-radius:50%;background:transparent;padding:0;transition:background .2s,transform .2s;color:#ffffffe0}.icon-button:hover{background:#ffffff21;color:white}.icon-button:active{transform:scale(.95)}.icon-button[aria-pressed=true]{background:#ffffff2b;color:white}main{min-height:100vh;min-height:100svh;display:flex;align-items:flex-end;justify-content:center;padding:32px 20px max(42px,8vh,env(safe-area-inset-bottom));padding:32px 20px max(42px,8svh,env(safe-area-inset-bottom))}.glass{background:var(--glass);border:1px solid var(--line);box-shadow:0 8px 35px #0002,inset 0 1px #ffffff12;backdrop-filter:blur(22px) saturate(125%);-webkit-backdrop-filter:blur(22px) saturate(125%)}.dock{width:min(650px,100%);position:relative;z-index:5}.player{border-radius:70px;display:flex;align-items:center;gap:14px;padding:9px 17px 9px 10px;min-height:92px}.record{height:68px;width:68px;border-radius:50%;border:2px solid #ffffff7a;overflow:hidden;flex:none;box-shadow:0 3px 8px #0003}.record img{width:100%;height:100%;object-fit:cover;transform:scale(1);animation:rotate 14s linear infinite;animation-play-state:paused}.playing .record img{animation-play-state:running}.meta{flex:1;min-width:0}.meta p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;text-shadow:0 1px 3px #0004}#song{font-size:15px;font-weight:700}#artist{font-size:14px;color:#ffffffb8;font-weight:500}.time{font-size:12px;font-weight:500;line-height:1;font-variant-numeric:tabular-nums;color:#ffffffa6}.controls{display:flex;align-items:center;gap:2px;margin-left:0}.controls svg{width:17px;height:17px}.controls .play{height:44px;width:44px;background:white;color:#201c1b;margin:0 1px;box-shadow:0 3px 12px #0002}.controls .play:hover{transform:scale(1.05)}.controls .play svg{width:19px;height:19px}input[type=range]{appearance:none;-webkit-appearance:none;cursor:pointer;height:4px;background:#ffffff36;border-radius:8px;accent-color:white}input[type=range]::-webkit-slider-thumb{appearance:none;width:11px;height:11px;background:white;border-radius:50%;box-shadow:0 1px 5px #0004}input[type=range]::-moz-range-thumb{width:11px;height:11px;background:white;border:0;border-radius:50%}input[type=range]:disabled{cursor:default}#seek{width:100%;margin:9px 0 6px;display:block;height:4px;background:linear-gradient(to right,white var(--progress,0%),#ffffff35 var(--progress,0%))}#seek::-webkit-slider-thumb{opacity:0}#seek:hover::-webkit-slider-thumb,#seek:focus-visible::-webkit-slider-thumb{opacity:1}#seek::-moz-range-thumb{opacity:0}#seek:hover::-moz-range-thumb,#seek:focus-visible::-moz-range-thumb{opacity:1}#status{position:absolute;top:100%;left:0;width:100%;text-align:center;font-size:12px;line-height:1.4;text-shadow:0 1px 6px #000;background:#1d182560;border-radius:10px;padding:8px}.queue{position:absolute;bottom:calc(100% + 12px);left:0;right:0;border-radius:22px;padding:8px;background:#25202aad;max-height:45vh;max-height:45svh;overflow:auto}.queue button{width:100%;display:flex;align-items:center;gap:13px;background:none;border:0;padding:12px;border-radius:14px;text-align:left}.queue button:hover,.queue button.active{background:#ffffff18}.queue button img{width:42px;height:42px;object-fit:cover;border-radius:50%}.queue button strong{display:block;font-size:14px;font-weight:600}.queue button small{font-size:12px;color:#ffffffaa}.queue button .number{margin-left:auto;font-size:12px;color:#ffffff99}.settings{position:absolute;top:76px;right:28px;width:min(310px,calc(100% - 40px));padding:14px 20px;border-radius:18px;z-index:9;background:#1e293bb3}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 0;font-size:14px}.setting-row input{width:120px}.setting-row button{background:none;border:0;padding:0;text-align:left;width:100%;display:flex;justify-content:space-between}.setting-row button span{font-size:12px;border:1px solid #ffffff38;padding:3px 9px;border-radius:12px}.setting-row button[aria-pressed=true] span{background:#ffffff30}.video-panel{position:fixed;bottom:calc(max(42px,8vh) + 110px);bottom:calc(max(42px,8svh) + 110px);right:24px;width:258px;border-radius:15px;overflow:hidden;padding:8px;z-index:3;background:#1e293b90}.video-panel iframe{display:block;width:240px;height:200px;border:0;border-radius:7px}.video-heading{display:flex;align-items:center;justify-content:space-between;padding:0 4px 5px;font-size:12px}.video-heading a{display:flex;align-items:center;gap:5px}.video-heading svg{width:14px;height:14px}.video-heading button{width:27px;height:27px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes rotate{to{transform:scale(1) rotate(360deg)}}@media(max-width:700px){header{left:18px;right:15px;top:15px}header time{font-size:12px}h1{font-size:14px;letter-spacing:2px}h1 span{font-size:10px}.corner-controls .icon-button{width:32px;height:36px}.scene{background-position:55% center}.player{gap:10px;padding:10px 13px;border-radius:30px;flex-wrap:wrap}.record{width:56px;height:56px}.meta{flex-basis:calc(100% - 76px)}#song{font-size:15px}#artist{font-size:13px}.controls{width:100%;justify-content:center;gap:9px}.controls .icon-button{width:42px;height:42px}.controls .play{height:44px;width:44px}main{padding:20px 16px max(28px,5vh,env(safe-area-inset-bottom));padding:20px 16px max(28px,5svh,env(safe-area-inset-bottom))}.dock{width:min(420px,100%)}.settings{right:16px;top:64px}.video-panel{right:16px;bottom:calc(max(28px,5vh) + 161px);bottom:calc(max(28px,5svh) + 161px);width:218px}.video-panel iframe{width:200px;height:200px}.video-panel .video-heading{padding-bottom:4px}}@media(max-width:360px){header time{max-width:70px;font-size:11px}.controls{gap:4px}}@media(max-height:560px) and (min-width:701px){main{padding-bottom:20px}.video-panel{bottom:125px}.scene{background-position:center 60%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* Keep the playback source in the open sky, clear of the pickup and dock. */
.video-panel{top:84px;bottom:auto}
@media(max-width:700px){.scene{background-color:#08224b;background-size:140% auto;background-position:50% 42%;animation:none}.scene::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#061934 0%,transparent 27%,transparent 57%,#261710 80%)}.scrim{background:linear-gradient(0deg,#1b1009 0%,transparent 40%,transparent 80%,#00102635 100%)}.video-panel{top:70px;bottom:auto}}

/* Country Roads identity: a bold wordmark painted into the open sky. */
.top-location{font-size:12px;letter-spacing:2px;font-weight:500;opacity:.82}
.wordmark{position:absolute;top:clamp(74px,11vh,130px);top:clamp(74px,11svh,130px);left:50%;transform:translateX(-50%);z-index:1;margin:0;text-align:center;font-family:'Alfa Slab One',Georgia,serif;font-size:clamp(60px,7.25vw,106px);font-weight:400;line-height:.96;letter-spacing:-1px;color:#fff9ee;text-shadow:0 3px 2px #12203e40,0 12px 32px #0d224952;pointer-events:none;white-space:nowrap}
.wordmark span{display:block;font:inherit;letter-spacing:inherit;margin:0;opacity:1}
.wordmark span+span{margin-top:.035em}
.horn{position:absolute;top:48%;left:28px;transform:translateY(-50%);z-index:4;display:flex;align-items:center;gap:9px;border-radius:40px;padding:11px 15px;color:white;font-size:14px;background:#ffffff14}
.horn svg{height:19px;width:19px}.horn:hover{background:#ffffff29}.horn.is-honking{background:#fff;color:#18253b}.is-honking.wordmark span{animation:horn-rattle .6s ease-in-out}
@keyframes horn-rattle{0%,100%{transform:none}15%{transform:rotate(-1.5deg) translateX(-4px)}35%{transform:rotate(1deg) translateX(4px)}60%{transform:rotate(-.6deg) translateX(-2px)}80%{transform:translateX(1px)}}
@media(max-width:700px){.top-location{font-size:10px;letter-spacing:1px}.wordmark{top:14vh;top:14svh;font-size:clamp(43px,11.7vw,72px);line-height:1;letter-spacing:-.7px}.horn{left:16px;top:57%;padding:9px 12px;font-size:13px}.horn svg{width:17px;height:17px}}
@media(max-height:560px) and (min-width:701px){.wordmark{top:62px;font-size:56px;line-height:.9}.wordmark span{display:inline}.wordmark span+span{margin-left:.2em}.horn{left:20px;top:46%}}

.youtube-audio-host{position:fixed;left:0;top:0;width:240px;height:200px;opacity:0;pointer-events:none;z-index:-5;overflow:hidden}
.youtube-audio-host iframe{width:240px;height:200px;border:0;pointer-events:none}
.dock-links{position:absolute;top:calc(100% + 10px);left:0;right:0;display:flex;align-items:center;justify-content:center;gap:20px;font-size:12px;color:#ffffffb8}
.dock-links button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:4px 8px}.dock-links a{padding:4px 8px}.dock-links button:hover,.dock-links a:hover{color:white}.dock-links button[aria-expanded=true]{color:#fff;text-decoration:underline;text-underline-offset:5px}
#status{top:auto;bottom:calc(100% + 12px);margin:0;z-index:6;background:#172235d9;padding:10px;font-size:13px}
.lyrics-panel{position:absolute;bottom:calc(100% + 14px);left:0;right:0;border-radius:24px;padding:20px;background:#141e32d9;z-index:7;max-height:50vh;max-height:50svh;display:flex;flex-direction:column}
.lyrics-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid #ffffff20}.lyrics-heading strong{display:block;font-size:16px}.lyrics-heading span{display:block;font-size:13px;color:#ffffff99;margin-top:4px}.lyrics-text{overflow:auto;overscroll-behavior:contain;min-height:90px;max-height:31vh;max-height:31svh;padding:15px 3px;scrollbar-width:thin}.lyrics-text p{margin:14px 0;font-size:17px;line-height:1.5;color:#ffffff8c}.lyrics-text p.active{color:white;font-weight:700}.lyrics-actions{padding-top:12px;border-top:1px solid #ffffff20;display:flex;justify-content:space-between;gap:15px;font-size:13px}.lyrics-actions a,.load-lyrics{padding:4px 0;color:#ffffffc4;cursor:pointer}.lyrics-actions a:hover,.load-lyrics:hover{color:white;text-decoration:underline;text-underline-offset:4px}
@media(max-width:700px){main{padding-bottom:max(52px,7vh,env(safe-area-inset-bottom));padding-bottom:max(52px,7svh,env(safe-area-inset-bottom))}.lyrics-panel{padding:15px}.lyrics-text p{font-size:16px}}
.queue{background:#162234ed;padding:0;scrollbar-width:thin;overscroll-behavior:contain}
.queue-heading{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;background:#162234;border-bottom:1px solid #ffffff20}
.queue-heading strong{font-size:15px}.queue-heading a{font-size:12px;color:#ffffffa8}
#queueTracks{padding:6px}.queue button>span:not(.number){min-width:0;flex:1}.queue button strong,.queue button small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.controls button:disabled{opacity:.3;cursor:default}.radio-mode #seek{opacity:.4}.radio-mode .record img{animation:none}.dock-links #radioToggle{color:#fff5dc}
#status a{text-decoration:underline;text-underline-offset:3px;font-weight:700}
#playlistUpdate{display:block;margin-top:5px;color:#ffffffa8;font-size:12px;font-weight:400;line-height:1.4}
/* Compact additions keep the scenery and wordmark in focus. */
.collection-bar{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 10px;font-size:14px}.collection-bar select,.collection-bar button{font:inherit;color:#fff;background:#182437cc;border:1px solid #ffffff40;border-radius:24px;min-height:40px;padding:8px 13px;backdrop-filter:blur(12px)}.collection-bar select{max-width:55%;text-overflow:ellipsis;cursor:pointer}.collection-bar select option{background:#182437}.collection-bar #saveTrack{font-size:25px;line-height:1;width:40px;padding:0}.collection-bar #saveTrack[aria-pressed=true]{color:#ffd294}.collection-bar button:disabled{opacity:.35;cursor:default}#savedCount{color:#ffd294;margin-left:4px}.queue-note{font-size:14px;line-height:1.5;padding:4px 15px;color:#ffffffbd}.settings{max-height:calc(100vh - 100px);max-height:calc(100svh - 100px);overflow:auto}.scenery{border:0;border-top:1px solid #ffffff24;margin:12px 0 0;padding:17px 0 3px}.scenery legend{font-size:14px;padding:0 8px 0 0}#sceneOptions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.scene-option{border:1px solid #ffffff35;background:#152131;border-radius:10px;overflow:hidden;padding:0;text-align:left;font-size:13px}.scene-option img{width:100%;height:58px;object-fit:cover;display:block}.scene-option span{display:block;padding:8px}.scene-option[aria-pressed=true]{border-color:#ffd294;color:#ffd294;box-shadow:0 0 0 1px #ffd294}.scene-option:focus-visible{outline:2px solid white;outline-offset:2px}.collection-bar select:focus-visible{outline:2px solid white;outline-offset:3px}@media(max-width:420px){.collection-bar{gap:6px;font-size:12px}.collection-bar select,.collection-bar button{padding:8px 10px}.collection-bar select{max-width:49%}.collection-bar #saveTrack{width:38px;flex:none}.collection-bar #glovebox{white-space:nowrap;padding:8px}}
.ride-panel{position:absolute;bottom:calc(100% + 14px);left:0;right:0;padding:20px;border-radius:22px;background:#162234f2;max-height:58vh;max-height:58svh;overflow:auto;z-index:8}.ride-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.ride-heading strong{font-size:18px}.ride-heading small{display:block;font-size:13px;color:#ffffffad;margin-top:5px}.ride-panel label{display:block;font-size:14px;margin-bottom:8px}.ride-form-row{display:flex;gap:8px}.ride-panel input,.ride-panel select{font:inherit;font-size:14px;border:1px solid #ffffff42;border-radius:10px;background:#0e1929;color:#fff;padding:10px;min-width:0;flex:1}.ride-panel button:not(.icon-button){font:inherit;font-size:14px;border:1px solid #ffffff38;border-radius:10px;background:#ffffff12;padding:10px;color:#fff}.ride-panel button:hover{background:#ffffff28}.ride-panel button:disabled{opacity:.45;cursor:wait}.ride-panel p{font-size:14px;line-height:1.5;color:#ffffffb5}.ride-actions{display:flex;gap:7px;flex-wrap:wrap}.ride-note{margin:12px 0 18px}.ride-panel #rideStatus{margin-bottom:0;color:#ffdda5}.ride-panel #rideStatus:empty{display:none}#rideSongs{list-style:none;padding:0;margin:15px 0 0}#rideSongs li{display:flex;gap:6px;padding:4px 0}#rideSongs .ride-song{flex:1;text-align:left;min-width:0;background:transparent;border:0}#rideSongs .ride-remove{flex:none;width:40px;background:transparent;border:0;font-size:23px;padding:3px}#rideInviteLink{width:100%;margin-bottom:15px}.dock-links{gap:10px}.ride-panel select:focus-visible{outline:2px solid white;outline-offset:2px}@media(max-width:480px){.ride-panel{padding:15px;max-height:54vh;max-height:54svh}.ride-form-row{flex-wrap:wrap}.ride-form-row input,.ride-form-row select{width:100%;flex-basis:100%}.ride-form-row button{width:100%}.dock-links{gap:2px;font-size:12px}.dock-links button,.dock-links a{padding:4px 6px}.ride-actions button{flex:1}.ride-panel .ride-heading small{font-size:12px}}

/* Simple, touch-friendly player; keep all controls inside the viewport. */
.dock-links{position:static;margin-top:8px;gap:16px;font-size:14px;flex-wrap:wrap}
.dock-links button{min-height:44px;padding:8px 12px}
.icon-button{min-width:44px;min-height:44px}
.player .meta{min-width:0}
#seek{height:20px;background:linear-gradient(to right,white var(--progress,0%),#ffffff35 var(--progress,0%)) center/100% 4px no-repeat}
#seek::-webkit-slider-thumb{opacity:1;width:14px;height:14px}
#seek::-moz-range-thumb{opacity:1;width:14px;height:14px}
.queue,.lyrics-panel{max-height:min(55vh,480px);max-height:min(55svh,480px)}
.queue-heading{flex-wrap:wrap}
@media(max-width:700px){
 body{min-height:100vh;min-height:100svh}
 header{top:max(12px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));grid-template-columns:1fr auto}
 .top-location{display:none}
 header time{font-size:14px;max-width:none}
 .corner-controls .icon-button{width:44px;height:44px}
 .wordmark{top:max(82px,12vh);top:max(82px,12svh);font-size:clamp(38px,11.5vw,76px);line-height:1.04}
 .scene{background-size:auto 68vh;background-size:auto 68svh;background-position:center 42%;background-color:#10243c}
 .scene::after{background:linear-gradient(180deg,#10243c 0%,transparent 25%,transparent 65%,#24170f 92%)}
 main{min-height:100vh;min-height:100svh;min-height:100vh;min-height:100dvh;padding:260px max(14px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
 .dock{width:min(440px,100%)}
 .player{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px 14px;padding:16px;border-radius:26px;background:#182435b8}
 .record{width:56px;height:56px}
 .meta{width:100%;min-width:0}
 #song{font-size:16px}#artist{font-size:14px}
 .controls{grid-column:1/-1;display:flex;justify-content:space-between;gap:4px;margin:0;width:100%}
 .controls .icon-button{width:44px;height:44px}.controls .play{width:52px;height:52px}
 .horn{top:49%;left:16px;min-height:44px;transform:translateY(-50%)}.horn span{display:none}
 .settings{top:70px;right:16px;max-height:calc(100vh - 90px);max-height:calc(100dvh - 90px)}
 .lyrics-panel,.queue{max-height:calc(100vh - 280px);max-height:calc(100svh - 280px)}
 .lyrics-actions{flex-wrap:wrap;font-size:14px}
 #status{font-size:14px}
}
@media(max-height:540px) and (orientation:landscape){
 main{padding:200px 16px max(8px,env(safe-area-inset-bottom))}
 .wordmark{top:65px;font-size:clamp(30px,7vw,48px)}
 .wordmark span{display:inline}.wordmark span+span{margin-left:.2em}
 .scene{background-size:cover;background-position:center 55%}
 .horn{top:44%;left:16px}
 .dock{width:min(620px,100%)}
 .player{display:flex;flex-wrap:nowrap;padding:10px 14px;border-radius:40px}
 .meta{flex:1}.controls{width:auto;gap:2px}.record{width:50px;height:50px}
 .queue,.lyrics-panel{position:fixed;inset:65px 16px 16px;max-height:none;z-index:10}
}
/* Reserve a road strip below the scene so the player clears the wheels. */
@media(min-width:701px) and (min-height:541px){
 .scene{bottom:120px;background-position:center 55%}
 body{background:#291d17}
 .scrim{background:linear-gradient(180deg,#0a182934 0%,transparent 28%,transparent 65%,#291d1740 80%,#291d17 100%)}
 main{padding-bottom:max(10px,env(safe-area-inset-bottom))}
}
@media(max-width:700px) and (orientation:portrait){
 .scene{background-size:100% auto;background-position:center 43%}
 main{padding-bottom:max(8px,env(safe-area-inset-bottom))}
}
/* Blend the full pickup scene into the phone canvas without rectangular edges. */
@media(max-width:700px) and (orientation:portrait){
 body{background:linear-gradient(180deg,#10243c 0%,#10243c 62%,#24170f 100%)}
 .scene{top:30vh;top:30svh;bottom:auto;height:56.25vw;background-size:100% 100%;background-position:center;background-color:transparent;-webkit-mask-image:linear-gradient(180deg,transparent,black 14%,black 86%,transparent);mask-image:linear-gradient(180deg,transparent,black 14%,black 86%,transparent)}
 .scene::after{display:none}
 .scrim{background:none}
 .horn{top:calc(30vh + 32vw);top:calc(30svh + 32vw)}
}
/* Immersive phone composition: one continuous full-screen photograph. */
@media(max-width:700px) and (orientation:portrait){
 body{background:#10243c}
 .scene{inset:0;height:100%;background-size:cover;background-position:62% center;-webkit-mask-image:none;mask-image:none}
 .scene::after{display:none}
 .scrim{background:linear-gradient(180deg,rgba(6,18,35,.35),transparent 35%,transparent 53%,rgba(14,12,13,.45) 77%,rgba(14,12,13,.8));}
 .wordmark{top:max(88px,13vh);top:max(88px,13svh);font-size:clamp(38px,11vw,66px);line-height:1;letter-spacing:-.5px;text-shadow:0 3px 20px #07172866}
 main{padding-top:330px;padding-right:max(16px,env(safe-area-inset-right));padding-left:max(16px,env(safe-area-inset-left));padding-bottom:max(12px,env(safe-area-inset-bottom))}
 .dock{width:min(420px,100%)}
 .player{grid-template-columns:44px minmax(0,1fr);padding:12px 16px;gap:8px 12px;border-radius:24px;background:rgba(21,26,31,.57);border-color:rgba(255,255,255,.22);box-shadow:0 8px 24px #0002;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
 .record{width:44px;height:44px;border-width:1px}
 #song{font-size:15px}#artist{font-size:14px}
 #seek{margin:5px 0 0;height:18px}.time{font-size:12px}
 .controls{gap:3px;justify-content:space-evenly}.controls .play{width:46px;height:46px}
 .dock-links{margin-top:3px;gap:12px;font-size:13px}.dock-links button{min-height:40px}
 .horn{top:auto;bottom:235px;left:18px;transform:none;width:44px;height:44px;padding:0;justify-content:center;background:#1a263566}
 .queue,.lyrics-panel{max-height:calc(100vh - 270px);max-height:calc(100svh - 270px)}
}
@media(max-width:700px) and (max-height:650px) and (orientation:portrait){
 .wordmark{top:77px;font-size:clamp(34px,10vw,48px)}
 .horn{bottom:224px}
}
/* Portrait art keeps the entire pickup in frame on tall screens. */
@media(max-width:700px) and (orientation:portrait){
 .scene{background-image:var(--mobile-scene,url('pickup-portrait.webp'))!important;background-size:cover;background-position:center center}
 .wordmark{top:max(82px,12vh);top:max(82px,12svh);font-size:clamp(38px,10.7vw,62px)}
 .horn{top:36vh;top:36svh;bottom:auto;left:20px}
 .player{background:rgba(24,26,30,.4);border-radius:22px}
 .scrim{background:linear-gradient(180deg,#06122324,transparent 32%,transparent 65%,#0e0c0d66 100%)}
}
/* Desktop wordmark stays in the sky, above the pickup roof. */
@media(min-width:701px){
 .wordmark{top:clamp(62px,9vh,88px);top:clamp(62px,9svh,88px);width:calc(100% - 64px);font-size:clamp(32px,min(5.8vw,10vh),82px);font-size:clamp(32px,min(5.8vw,10svh),82px);line-height:1;letter-spacing:-.5px;white-space:nowrap}
 .wordmark span{display:inline}
 .wordmark span+span{margin-top:0;margin-left:.22em}
}
/* Fill the desktop viewport through the road beneath the player. */
@media(min-width:701px){
 .scene{inset:0;height:auto;background-size:cover;background-position:center bottom}
 .scrim{background:linear-gradient(180deg,#0a182934 0%,transparent 28%,transparent 65%,#1a0e0a66 100%)}
}

/* Every scenery shares the same responsive frame, including portrait tablets. */
.scene{inset:0;height:auto;background-size:cover;background-position:center bottom;-webkit-mask-image:none;mask-image:none}
.scene::after{display:none}
@media(orientation:portrait){
 .scene{background-image:var(--mobile-scene,url('pickup-portrait.webp'))!important;background-size:cover;background-position:center center}
}
@media(min-width:701px) and (orientation:portrait){
 .wordmark{top:12vh;top:12svh;font-size:clamp(38px,5.8vw,72px)}
 .horn{top:36vh;top:36svh;bottom:auto}
 main{min-height:100vh;min-height:100svh;min-height:100vh;min-height:100dvh;padding-bottom:max(24px,env(safe-area-inset-bottom))}
}

.play-guide{margin:0 0 10px;text-align:center;font-size:14px;line-height:1.5;color:#fff9ee;text-shadow:0 1px 6px #000,0 1px 16px #000;background:#14203370;border-radius:14px;padding:7px 10px}.dock-links #shareSong{color:#fff4d8}.dock-links{gap:6px}.dock-links button{min-height:44px}@media(max-width:360px){.play-guide{font-size:14px;max-width:260px;margin-inline:auto}}

/* TV layout uses conservative CSS and a safe margin for overscan. */
html.tv-mode body{min-height:100vh}
html.tv-mode .scene,html.tv-mode .scrim{top:0;right:0;bottom:0;left:0}
html.tv-mode header{top:4vh;left:4vw;right:4vw;display:flex;justify-content:space-between}
html.tv-mode .wordmark{top:12vh;left:5%;width:90%;transform:none;font-size:6vw;line-height:1.1;white-space:normal}
html.tv-mode .wordmark span{display:inline}
html.tv-mode main{min-height:100vh;padding:190px 4vw 4vh;align-items:flex-end}
html.tv-mode .dock{width:760px;max-width:90vw}
html.tv-mode .player{display:flex;flex-wrap:nowrap;background:rgba(20,30,46,.28);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border-color:rgba(255,255,255,.2);box-shadow:0 4px 20px rgba(0,0,0,.12);padding:12px 18px;border-radius:50px}
html.tv-mode .record{width:60px;height:60px;margin-right:16px}
html.tv-mode .meta{flex:1;min-width:0}
html.tv-mode .controls{width:auto;display:flex;margin-left:16px}
html.tv-mode .icon-button{display:flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;margin:0 3px}
html.tv-mode #song{font-size:18px}html.tv-mode #artist{font-size:16px}
html.tv-mode .dock-links button{font-size:16px;margin:0 6px}
html.tv-mode .horn{top:45%;left:4vw}
html.tv-mode .settings{top:13vh;right:4vw;width:340px;max-width:90vw;max-height:70vh;background:#162234}
html.tv-mode .queue{max-height:55vh}
html.tv-mode #status{position:static;background:#162234;font-size:16px}
html.tv-mode button:focus,html.tv-mode a:focus,html.tv-mode input:focus,html.tv-mode iframe:focus{outline:3px solid #ffd294;outline-offset:4px}
html.tv-mode .record img{animation:none}
html.tv-mode .youtube-audio-host{top:25vh;left:auto;right:4vw;width:320px;height:200px;opacity:1;pointer-events:auto;z-index:3;border:1px solid #ffffff70;background:#000}
html.tv-mode .youtube-audio-host iframe{width:320px;height:200px;pointer-events:auto}
html.tv-mode .radio-mode .youtube-audio-host{visibility:hidden}
@media(max-height:600px){html.tv-mode .youtube-audio-host{top:21vh}html.tv-mode .wordmark{top:9vh;font-size:5vw}html.tv-mode .play-guide{display:none}}
/* Older desktop engines also need centering and a full-height player canvas. */
@supports not (height:100svh){body,main{min-height:100vh}main{padding:32px 20px 24px}.wordmark{top:12vh;font-size:6vw}.dock{width:650px;max-width:100%}.settings{width:310px;max-width:90%}}

/* Keep the playback iframe mounted, behind the scenery on TVs too. */
html.tv-mode .youtube-audio-host{left:0;right:auto;top:0;width:240px;height:200px;opacity:0;pointer-events:none;z-index:-5;border:0}
html.tv-mode .youtube-audio-host iframe{width:240px;height:200px;pointer-events:none}

/* Ambient mode retains the selected scenery and live player beneath a dim veil. */
#ambient{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.3);z-index:1000;outline:none;cursor:none}
html.ambient-active{cursor:none}
html.ambient-active button:focus,html.ambient-active a:focus,html.ambient-active input:focus{outline:none}
html.ambient-active .youtube-audio-host{opacity:0!important;pointer-events:none!important}
