/* The listening stage has its own grid; compact-player rules cannot place its children.
   Ambient gradient and dot texture follow the user's requested music-lab direction. */
dialog.listening-room[data-visual=lyric-theatre]{background:#0c1012;color:#eceeea;--atlas-room-muted:#a1a9ac;--atlas-room-rule:#ffffff12}
dialog[data-visual=lyric-theatre] .atlas-room-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:stretch;flex:1;min-height:0}
dialog[data-visual=lyric-theatre] .atlas-room-stage{height:auto!important;min-height:0!important;max-width:none;width:100%;padding:0!important;border:1px solid #ffffff0b;border-radius:20px;overflow:hidden;align-self:stretch;background:#101517}
dialog[data-visual=lyric-theatre] .atlas-room-glass{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto minmax(280px,1fr) auto auto auto auto;gap:0;flex:1;min-height:calc(100dvh - 170px);height:auto;max-height:none;width:100%;padding:30px 40px 24px!important;border:0;border-radius:0;background:none!important;backdrop-filter:none;-webkit-backdrop-filter:none;isolation:isolate;text-align:left}
dialog[data-visual=lyric-theatre] .atlas-room-glass::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,#91b9c9 0%,#38566155 35%,transparent 68%);opacity:var(--audio-light,.12);transition:opacity 600ms linear} /* taste-skill-ignore: requested ambient light, driven by analyser. */
dialog[data-visual=lyric-theatre] .atlas-room-glass::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle,#cedcde22 .7px,transparent .9px) 0 0/22px 22px;mask-image:linear-gradient(90deg,#000,transparent 24%,transparent 76%,#000);opacity:.22} /* taste-skill-ignore: requested faint tech dots at the edges. */
dialog[data-visual=lyric-theatre] .atlas-room-context{grid-area:1/1;margin:0 0 8px;font-size:11px;text-align:left;color:#939c9f}
dialog[data-visual=lyric-theatre] .atlas-room-title{grid-area:2/1;margin:0;font:500 clamp(17px,1.5vw,23px)/1.5 Unbounded,sans-serif;text-align:left;color:#e9ece9}
dialog[data-visual=lyric-theatre] .atlas-room-artist{grid-area:3/1;margin:5px 0 0;font-size:12px;text-align:left;color:#a0a8aa}
dialog[data-visual=lyric-theatre] .atlas-room-glass>.now-surface{grid-area:4/1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:42px;padding:44px 0;min-height:0;margin:0;width:100%}
dialog[data-visual=lyric-theatre] .now-lyrics{max-width:900px;min-height:200px;width:100%;mask-image:linear-gradient(transparent,#000 6%,#000 94%,transparent);text-align:center}
.now-lyric-previous{margin:0 0 20px;color:#7c878b;font-size:16px;font-weight:400;line-height:1.6;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;min-height:1.6em}
dialog[data-visual=lyric-theatre] .now-surface .now-lyric-current{margin:0;font-size:clamp(36px,3.1vw,56px);font-weight:500;line-height:1.42;letter-spacing:-1.2px;color:#f0f1ec;-webkit-line-clamp:3;text-wrap:balance}
dialog[data-visual=lyric-theatre] .now-lyric-next{margin:20px 0 0;font-size:clamp(15px,1.25vw,19px);line-height:1.6;color:#8d999d;-webkit-line-clamp:1;min-height:1.6em}
dialog[data-visual=lyric-theatre] .now-wave{width:60%;max-width:660px;min-width:180px;height:72px;opacity:.72}
dialog[data-visual=lyric-theatre] .now-surface:is([data-lyrics-state=missing],[data-lyrics-state=error],[data-lyrics-state=instrumental],[data-lyrics-state=idle],[data-lyrics-state=loading]) .now-lyric-current{font-size:clamp(24px,2.2vw,36px);color:#c6cece;font-weight:400;letter-spacing:-.5px}
dialog[data-visual=lyric-theatre] .now-surface:is([data-lyrics-state=missing],[data-lyrics-state=error],[data-lyrics-state=instrumental]) .now-wave{width:66%;height:112px;opacity:.9}
dialog[data-visual=lyric-theatre] .atlas-room-transport{grid-area:5/1;display:flex;justify-content:center;align-self:center;gap:14px;margin:0 0 15px;transition:opacity 220ms}
dialog[data-visual=lyric-theatre] .atlas-room-transport button{width:44px;height:44px;min-height:44px;padding:11px;border-radius:50%}
dialog[data-visual=lyric-theatre] .atlas-room-transport .atlas-room-play{width:46px;min-width:46px;height:46px;border-radius:50%}
dialog[data-visual=lyric-theatre] .atlas-room-seek{grid-area:6/1;width:min(100%,620px);max-width:620px;justify-self:center;margin:0;transition:opacity 220ms}
dialog[data-visual=lyric-theatre] .atlas-room-seek input{height:26px;width:100%;margin:0;touch-action:pan-y}
dialog[data-visual=lyric-theatre] .atlas-room-clock{font-size:11px;color:#99a4a7;margin-top:0}
dialog[data-visual=lyric-theatre] .atlas-room-health{grid-area:7/1;margin:10px 0 0;text-align:center;font-size:12px;min-height:0}
dialog[data-visual=lyric-theatre] .atlas-room-glass>button{grid-area:8/1;justify-self:center}
dialog[data-visual=lyric-theatre] .atlas-room-details{height:calc(100dvh - 170px);max-height:none;border-color:#ffffff0c;background:#141a1c;backdrop-filter:none;padding:16px;border-radius:20px}
dialog[data-visual=lyric-theatre] .atlas-room-details-toggle{display:none}
@media(hover:hover) and (pointer:fine){dialog[data-visual=lyric-theatre] .atlas-room-glass:not(:hover):not(:focus-within) :is(.atlas-room-transport,.atlas-room-seek){opacity:.58}}
@media(max-width:1100px) and (min-width:761px){dialog[data-visual=lyric-theatre] .atlas-room-layout{grid-template-columns:minmax(0,1fr) 280px;gap:16px}dialog[data-visual=lyric-theatre] .atlas-room-glass{padding:24px!important}dialog[data-visual=lyric-theatre] .now-surface .now-lyric-current{font-size:34px;letter-spacing:-.7px}}
@media(max-width:760px){
 body.music-room-page dialog.listening-room[data-visual=lyric-theatre]{padding:16px 14px 20px}
 dialog[data-visual=lyric-theatre] .atlas-room-header{gap:8px;padding-bottom:14px;flex:none}dialog[data-visual=lyric-theatre] .atlas-room-header h1{font-size:11px}dialog[data-visual=lyric-theatre] .atlas-room-brand{font-size:16px}
 dialog[data-visual=lyric-theatre] .atlas-room-tools{gap:4px}dialog[data-visual=lyric-theatre] .atlas-room-tools button{padding:8px;font-size:11px;min-height:44px}dialog[data-visual=lyric-theatre] .atlas-room-tools>button:not(.atlas-room-close):not(.atlas-room-details-toggle){display:none}
 dialog[data-visual=lyric-theatre] .atlas-room-layout{display:flex;flex-direction:column;gap:14px;flex:none}
 dialog[data-visual=lyric-theatre] .atlas-room-stage{border-radius:16px}
 dialog[data-visual=lyric-theatre] .atlas-room-glass{flex:none;height:max(490px,calc(100dvh - 162px));min-height:490px;max-height:none;padding:22px 18px 20px!important;grid-template-rows:auto auto auto minmax(230px,1fr) auto auto auto auto}
 dialog[data-visual=lyric-theatre] .atlas-room-title{font-size:17px}dialog[data-visual=lyric-theatre] .atlas-room-artist{font-size:12px}
 dialog[data-visual=lyric-theatre] .atlas-room-glass>.now-surface{gap:28px;padding:26px 0}
 dialog[data-visual=lyric-theatre] .now-lyrics{min-height:180px}dialog[data-visual=lyric-theatre] .now-surface .now-lyric-current{font-size:clamp(26px,7.2vw,32px);line-height:1.45;letter-spacing:-.65px}
 dialog[data-visual=lyric-theatre] :is(.now-lyric-previous,.now-lyric-next){font-size:13px;line-height:1.6}dialog[data-visual=lyric-theatre] .now-lyric-previous{margin-bottom:16px}dialog[data-visual=lyric-theatre] .now-lyric-next{margin-top:16px}
 dialog[data-visual=lyric-theatre] .now-wave{width:78%;height:52px}dialog[data-visual=lyric-theatre] .now-surface:is([data-lyrics-state=missing],[data-lyrics-state=error],[data-lyrics-state=instrumental]) .now-wave{width:84%;height:90px}
 dialog[data-visual=lyric-theatre] .atlas-room-transport{gap:18px;margin-bottom:10px}
 dialog[data-visual=lyric-theatre] .atlas-room-details-toggle{display:block;border:1px solid #ffffff18;border-radius:8px}
 dialog[data-visual=lyric-theatre] .atlas-room-details{display:none;height:min(65dvh,520px);max-height:none;border-radius:16px}
 dialog[data-visual=lyric-theatre].room-details-open .atlas-room-details{display:flex}
 dialog[data-visual=lyric-theatre].room-details-open .atlas-room-stage{display:none}
 dialog[data-visual=lyric-theatre].room-details-open .atlas-room-details-toggle{background:#e0e7e5;color:#11191c}
 dialog[data-visual=lyric-theatre] .atlas-room-footer{padding-top:10px;justify-content:center}
}
@media(prefers-reduced-motion:reduce){dialog[data-visual=lyric-theatre] *{transition:none!important;animation:none!important}}
