/* A two-line lyric bar, designed like a compact hi-fi remote. */
.remote-toggle{position:fixed;right:26px;bottom:22px;z-index:25;display:flex;align-items:center;gap:10px;min-height:48px;padding:11px 19px;border:1px solid #caa67391;border-radius:28px;background:#211814ed;color:#f3dfb9;box-shadow:0 6px 25px #0007;font-size:15px;backdrop-filter:blur(16px)}
.remote-toggle svg{width:21px;height:25px;flex:none}
.remote-toggle[aria-expanded=true]{bottom:calc(var(--remote-height,170px) + 14px);background:#57402a}
.oasis-remote{position:fixed;inset:auto 0 0;z-index:24;min-height:150px;padding:20px 26px;display:grid;grid-template-columns:minmax(220px,1fr) minmax(280px,1.5fr) 234px;gap:24px;align-items:center;background:linear-gradient(110deg,#201813f7,#110f0ef7 55%,#231c15f7);border-top:1px solid #b9946259;box-shadow:0 -15px 55px #0005;backdrop-filter:blur(20px);color:#f4e5ca}
.remote-meta{display:flex;align-items:center;gap:13px;min-width:0}
.remote-cover{width:68px;height:68px;object-fit:cover;border-radius:5px;border:1px solid #bc97644d;background:#35271c}
.remote-meta-lines{display:grid;min-width:0;gap:2px}
.remote-meta-lines button{width:100%;display:flex;align-items:baseline;gap:9px;text-align:left;border:0;background:none;padding:3px 0;min-width:0}
.remote-meta-lines button small{width:4em;white-space:nowrap;flex:none;font-size:14px;color:#bda98c}
.remote-meta-lines button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:#e9d7b7}
.remote-meta-lines button[data-detail=song] span{font-size:17px;font-weight:600;color:#fff1dc}
.remote-meta-lines button:hover span,.remote-meta-lines button[aria-pressed=true] span{color:#ffc76d;text-decoration:underline;text-underline-offset:4px}
.remote-lyrics{min-width:0;padding-left:23px;border-left:1px solid #bca37930}
.remote-lyrics-head{display:flex;align-items:center;gap:10px;margin-bottom:7px}
.remote-lyrics-head button{padding:3px 10px;font-size:13px;border-radius:20px;background:#57402b;color:#ffe2ad;border-color:#b88d505c}
.remote-lyrics-head .lyrics-settings{margin-left:auto;background:none;border:0;color:#b5a38c;font-size:12px;padding:3px}
.remote-lyrics-head a{font-size:11px;color:#b8a389;text-decoration:none}
.lyric-row{height:28px;overflow:hidden;white-space:nowrap;line-height:28px;mask-image:linear-gradient(90deg,#000 96%,transparent)}
.lyric-row span{display:inline-block;min-width:100%;font-size:19px;transition:color .2s}
.lyric-row.next span{font-size:15px;color:#ab9b85}
.lyric-row.updated span{animation:lyric-arrive .35s ease-out}
.lyric-row.overflowing span{animation:lyric-pan 12s ease-in-out infinite alternate}
.remote-transport{display:grid;gap:9px;align-content:center;padding-left:20px;border-left:1px solid #bca37930}
.remote-transport-buttons{display:flex;align-items:center;justify-content:center;gap:12px}
.remote-transport-buttons button{width:38px;height:38px;display:grid;place-items:center;padding:8px;border:0;border-radius:50%;background:#ffffff09;color:#e5cfad}
.remote-transport-buttons button svg{width:21px;height:21px;fill:currentColor}
.remote-transport-buttons #remotePlay{width:44px;height:44px;background:#d9b57b;color:#201811}
.remote-transport button:disabled{opacity:.3;cursor:default}
.remote-volume{display:flex;gap:9px;align-items:center;font-size:11px;color:#bba98d}
.remote-volume input{min-width:0;width:100%;accent-color:#dcba7d}
.remote-volume output{width:35px;text-align:right;flex:none;font-variant-numeric:tabular-nums}
.remote-time{font-size:11px;color:#a38f75;text-align:center;font-variant-numeric:tabular-nums}
.remote-open .dock,.remote-open .footnote{display:none}
.remote-open.far-view .display-controls.viewtools{bottom:calc(var(--remote-height,170px) + 16px)}
.remote-open.far-view .record-stack{bottom:calc(var(--remote-height,170px) + 20px)}
.track-details{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;height:100%;overflow:hidden;padding:0;background:linear-gradient(145deg,#282018,#16120f);color:#eddfc6;text-align:left}
.track-details h2{font-size:clamp(20px,2.2vw,32px);line-height:1.3;margin:7px 0 18px;overflow-wrap:anywhere;font-family:'Noto Serif KR',serif}
.track-details .detail-kicker{font-size:11px;letter-spacing:2px;color:#d5af72;text-transform:uppercase}
.track-details .detail-summary{font-size:15px;line-height:1.9;color:#c7b9a3;white-space:pre-line}
.track-details dl{margin:18px 0;display:grid;grid-template-columns:70px 1fr;gap:11px;font-size:14px;line-height:1.5}
.track-details dt{color:#9e8e77}.track-details dd{margin:0;overflow-wrap:anywhere}
.track-details a{color:#deb77a;font-size:13px;display:inline-block;margin:8px 15px 0 0}
.track-details .detail-back{font-size:14px;line-height:1.4;min-height:40px;padding:8px 14px;border-radius:20px;background:#60462a;border-color:#cba26980;flex:none}
.detail-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-bottom:1px solid #b9946240;background:#211a14}
.detail-toolbar>span{font-size:14px;color:#c7b9a3}
.detail-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 25px}
.screen.has-details{display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,1.15fr);align-items:stretch;background:#0b0908}
.screen.has-details .live-player,.screen.has-details .live-aid,.screen.has-details video{position:relative;inset:auto;align-self:center;width:100%;height:auto;aspect-ratio:16/9;min-height:200px}
.screen.has-details canvas,.screen.has-details .screen-vignette{display:none!important}
.details-open .display-wrap,.details-open.live-playing .display-wrap,.details-open.far-view .display-wrap,.details-open.focused .display-wrap{left:7%;top:12%;width:86%;height:calc(100dvh - 250px);min-height:320px;aspect-ratio:auto;z-index:13}
.details-open .record-stack{opacity:.1;pointer-events:none}
.lyrics-options label{display:block;font-size:14px;line-height:1.6;margin:16px 0 7px}
.lyrics-options p{font-size:14px}
.lyrics-options input[type=file]{max-width:100%;font-size:13px}
.lyrics-options input[type=number]{width:85px;padding:8px;background:#171e18;border:1px solid #ffffff30;border-radius:5px;color:#eee}
.lyrics-options button{font-size:14px}
@keyframes lyric-arrive{from{opacity:.2;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes lyric-pan{0%,20%{transform:translateX(0)}80%,100%{transform:translateX(var(--lyric-travel,0))}}
@media(max-width:1100px){.oasis-remote{grid-template-columns:minmax(200px,1fr) minmax(250px,1.2fr) 180px;gap:16px;padding:17px 20px}.remote-cover{width:52px;height:52px}.remote-transport{padding-left:15px}.remote-lyrics{padding-left:15px}.lyric-row span{font-size:17px}.remote-open.far-view .record-stack{bottom:calc(var(--remote-height,170px) + 88px)}}
@media(max-width:720px){
 .remote-toggle{right:15px;bottom:16px;min-height:43px;padding:9px 15px;font-size:13px}
 .oasis-remote{grid-template-columns:minmax(0,1fr) 125px;gap:12px;padding:14px 16px calc(14px + env(safe-area-inset-bottom));min-height:226px}
 .remote-meta{gap:9px}.remote-cover{width:40px;height:40px}.remote-meta-lines button{gap:5px;padding:2px 0}.remote-meta-lines button small{font-size:14px;width:4em}.remote-meta-lines button span{font-size:12px}.remote-meta-lines button[data-detail=song] span{font-size:14px}
 .remote-transport{padding-left:10px;grid-column:2;grid-row:1;gap:4px}.remote-transport-buttons{gap:5px}.remote-transport-buttons button{height:31px;width:31px;padding:6px}.remote-transport-buttons #remotePlay{width:35px;height:35px}.remote-volume{gap:4px}.remote-volume>span{display:none}.remote-time{font-size:10px}
 .remote-lyrics{grid-column:1/-1;grid-row:2;border-left:0;border-top:1px solid #bca37920;padding:10px 0 0}.lyric-row{height:25px;line-height:25px}.lyric-row span{font-size:17px}.lyric-row.next span{font-size:14px}.remote-lyrics-head{margin-bottom:4px}
 .remote-open .display-wrap,.remote-open.live-playing .display-wrap{height:245px}
 .remote-open.focused .display-wrap{height:calc(100dvh - var(--remote-height,226px) - 220px)}
 .remote-open.far-view .display-wrap,.remote-open.far-view.live-playing .display-wrap{height:auto;top:13%}
 .remote-open.far-view .record-stack{bottom:calc(var(--remote-height,226px) + 168px)}
 .remote-open.far-view .display-controls.viewtools{bottom:calc(var(--remote-height,226px) + 62px)}
 .details-open .display-wrap,.details-open.live-playing .display-wrap,.details-open.far-view .display-wrap,.details-open.focused .display-wrap{position:fixed;left:3%;top:78px;width:94%;height:calc(100dvh - var(--remote-height,226px) - 145px);min-height:0}
 .details-open .display-controls.viewtools,.details-open .display-label,.details-open .playback-status{display:none}
 .screen.has-details{grid-template-columns:1fr;grid-template-rows:minmax(80px, min(20dvh,160px)) minmax(0,1fr)}
 .screen.has-details .live-player,.screen.has-details .live-aid,.screen.has-details video{height:100%;min-height:0;aspect-ratio:auto}
 .detail-toolbar{padding:8px 12px;gap:8px}.detail-toolbar>span{font-size:12px}.detail-content{padding:15px}.track-details h2{font-size:21px;margin:5px 0 10px}.track-details dl{font-size:13px;margin:12px 0;gap:7px}.track-details .detail-summary{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.lyric-row span{animation:none!important;transform:none!important}}
.remote-volume>span{white-space:nowrap;flex:none}

@media(max-width:720px){html{overflow-x:hidden;overflow-y:auto}body{overflow:visible}body.far-view{overflow:hidden}}
body.remote-open .display-wrap:fullscreen,body.remote-open.focused .display-wrap:fullscreen,body.remote-open.far-view .display-wrap:fullscreen,body.details-open .display-wrap:fullscreen{inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;transform:none}

/* Help stays outside the clipped metadata values and is available by keyboard. */
.remote-meta-item{position:relative;min-width:0}
.remote-tooltip{position:absolute;left:0;bottom:calc(100% + 8px);z-index:30;width:max-content;max-width:min(290px,calc(100vw - 40px));padding:9px 12px;border:1px solid #b9946270;border-radius:8px;background:#3a2a1c;color:#fff0d4;font-size:14px;line-height:1.5;white-space:normal;box-shadow:0 5px 18px #0007;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .15s}
.remote-meta-item:hover .remote-tooltip,.remote-meta-item:focus-within .remote-tooltip{visibility:visible;opacity:1}
.remote-meta-lines button:focus-visible span{color:#ffc76d;text-decoration:underline;text-underline-offset:4px}
@media(max-width:380px){.remote-cover{display:none}}
