/* v0.22 — paired lighting icons and a matching round fullscreen control. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.room-settings{order:3;display:flex;align-items:center;gap:12px;flex-shrink:0}
.room-settings button{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid transparent;border-radius:50%;color:var(--ink);transition:background .2s,border-color .2s,box-shadow .2s,transform .2s}
.room-settings svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.theme-switch{display:flex;align-items:center;gap:6px;padding:5px;border:1px solid #b6c5a676;border-radius:32px;background:#b9c7ae06}
.theme-switch button[aria-pressed=true]{border-color:#d9e5c7b3;background:#c4d2ab12;box-shadow:inset 0 0 0 1px #ffffff08}
.room-settings button:hover{background:#b7c79520;border-color:#c5d3ae8c}.room-settings button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.room-settings .fullscreen-toggle{width:54px;height:54px;border-color:#b6c5a676;background:#b9c7ae06}
.fullscreen-exit-icon{display:none}#room-fullscreen[aria-pressed=true] .fullscreen-enter-icon{display:none}#room-fullscreen[aria-pressed=true] .fullscreen-exit-icon{display:block}
.masthead{gap:18px}.masthead nav{gap:20px}.masthead .room-label{padding-left:17px;font-size:8px;letter-spacing:1.2px}.room-guide-actions{flex-wrap:wrap;gap:18px}
html[data-room-theme=day] .theme-switch,html[data-room-theme=day] .fullscreen-toggle{border-color:#647b587a;background:#40533105}
html[data-room-theme=day] .theme-switch button[aria-pressed=true]{border-color:#526d42;background:#526d4210}
html[data-room-theme=day]{color-scheme:light;--bg:#ede9df;--panel:#f7f4ea;--ink:#263222;--muted:#576650;--line:#b8bda9;--accent:#516a2f;--warm:#80552c}
html[data-room-theme=day] .window-update{display:none}
html[data-room-theme=day] .masthead{background:#f5f2e8}
html[data-room-theme=day] :is(.room-guide,.artwork-entry,.artwork-section,.stories-section){background:#e7e9dc}
html[data-room-theme=day] :is(.listening-desk,.artwork-card,.story-card,.artwork-details){background:#f5f2e7;border-color:#b0b99f}
html[data-room-theme=day] :is(.artwork-image,.stream-panel,#music-player-host){background:#e4e7da}
html[data-room-theme=day] :is(.artwork-entry:hover,.channel.selected,.channel:hover,.story-card:hover,.artwork-card:hover,.map-item:hover,.note-link:hover){background:#dce2cd}
html[data-room-theme=day] :is(.artwork-entry-images img,.artwork-image img){background:#eeeee4}
html[data-room-theme=day] .listening-bar{background:#f4f2e9f5;border-color:#a7b596;box-shadow:0 -5px 22px #39452b19}
html[data-room-theme=day] .bar-track img{background:#e3e5d9;border-color:#9ca58b}
html[data-room-theme=day] :is(.bar-status){background:#f5f3e9f5;border-color:#a0ad88;color:var(--ink)}
html[data-room-theme=day] .artwork-actions .artwork-listen{background:#536d34;color:#fff;border-color:#536d34}
html[data-room-theme=day] dialog:not(#tv-viewer){background:#f6f3e9;color:var(--ink);border-color:#9caa85}
html[data-room-theme=day] dialog.is-artwork .discovery-heading{background:#eceee1;border-color:#b0b99f}
html[data-room-theme=day] :is(.discovery-intro,.story-copy,.object-context p,.sleeve-notes p){color:#3e4e36}
html[data-room-theme=day] :is(.sleeve-notes,.share-field){background:#faf8eff7;color:var(--ink);border-color:#a3b28e}
html[data-room-theme=day] .sleeve-notes{box-shadow:0 8px 30px #24301b33}
html[data-room-theme=day] .source-options button{border-color:#9aa98a}
html[data-room-theme=day] .music-sources #spotify-note{color:#745b2a}
html[data-room-theme=day] .artwork-section .artwork-filters button{border-color:#a4b28f}
/* The daylight mark keeps the approved paths, with ink suited to pale surfaces. */
.wordmark .logo-day{display:none}
html[data-room-theme=day] .wordmark{background:transparent;border-radius:0;padding:0}
html[data-room-theme=day] .wordmark .logo-night{display:none}
html[data-room-theme=day] .wordmark .logo-day{display:block}
html[data-room-theme=day] .masthead .room-label{color:#52614d;border-left:1px solid #a7b197;padding-left:18px;letter-spacing:1.6px}
html[data-room-theme=day] :is(select,.vhs-note,.info-snap div){background:#e3e7d7;color:var(--ink);border-color:#a6b391}
html[data-room-theme=day] .room-views{background:#e3e7d8}
html[data-room-theme=day] .room-views button{color:var(--ink);border-color:#a6b391}
html[data-room-theme=day] .room-views button[aria-pressed=true]{background:#cbd6b8}
/* Cover the viewport with one proportional scene. All image layers and
   hotspots scale together; the controls float above it, without letterboxing. */
html.room-fullscreen,html.tv-fullscreen{overflow:hidden}
html.room-fullscreen body{padding-bottom:0}
.room-fullscreen main>:not(.room),.room-fullscreen body>footer,.room-fullscreen .room-guide,.room-fullscreen .room-views,.room-fullscreen .scene-caption{display:none}
.room-fullscreen .room{height:100dvh;padding:0;display:block}
.room-fullscreen #room-viewport{position:fixed;inset:0;width:100vw;height:100dvh;aspect-ratio:auto;max-height:none;overflow:hidden}
.room-fullscreen #room-viewport .scene{position:absolute;left:50%;top:50%;right:auto;bottom:auto;width:max(100vw,177.6833dvh);height:auto;aspect-ratio:1672/941;transform:translate(-50%,-50%);max-width:none}
.room-fullscreen #room-viewport .hotspot,.room-fullscreen #room-viewport .tv-switch{display:grid}
.room-fullscreen .masthead{position:fixed;inset:0 0 auto;z-index:32;height:82px;border-bottom:0;background:linear-gradient(180deg,#10170fe8,#10170fc2 72%,#10170f00);padding-top:4px;padding-bottom:12px}
.room-fullscreen .masthead nav>a{display:none}
.room-fullscreen .listening-bar{border-top:0;background:linear-gradient(0deg,#10170ff5,#10170fd4 76%,#10170f00);box-shadow:none;padding-top:17px;backdrop-filter:none}
.room-fullscreen .theme-switch,.room-fullscreen .fullscreen-toggle{background:#19251ad1;box-shadow:0 2px 18px #0002}
html.room-fullscreen[data-room-theme=day] .masthead{background:linear-gradient(180deg,#f5f2e8ed,#f5f2e8c2 72%,#f5f2e800)}
html.room-fullscreen[data-room-theme=day] .listening-bar{background:linear-gradient(0deg,#f5f2e8f5,#f5f2e8d4 76%,#f5f2e800)}
html.room-fullscreen[data-room-theme=day] .theme-switch,html.room-fullscreen[data-room-theme=day] .fullscreen-toggle{background:#e9eee3db}
/* TV mode uses the same signal treatment, with controls within reach. */
#tv-viewer{inset:0;margin:0;padding:0;border:0;border-radius:0;max-width:none;max-height:none;width:100vw;height:100dvh;background:#080d08;color:#e8e6d8;overflow:hidden}
#tv-viewer[open]{display:flex;flex-direction:column}.tv-viewer-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 24px;background:#11190f;border-bottom:1px solid #53613a;flex:none}.tv-viewer-heading p{margin:0;font-size:10px;letter-spacing:2px;color:#c3d28a}.tv-viewer-heading button{min-height:44px;padding:8px 12px;border:1px solid #607043;border-radius:4px;font-size:12px}.tv-viewer-stage{flex:1;min-height:0;display:grid;place-items:center;padding:10px 24px}.tv-viewer-stage .tv-screen{position:relative;inset:auto;width:min(100%,calc((100dvh - 168px)*1.333333));height:auto;aspect-ratio:4/3;border-radius:2.5%;box-shadow:0 0 60px #9aac6620}
.tv-viewer-controls{display:flex;align-items:center;justify-content:center;gap:18px;padding:14px 24px max(14px,env(safe-area-inset-bottom));background:#11190f;border-top:1px solid #53613a;flex:none}.tv-viewer-controls h2{font:24px/1.2 Georgia,serif;font-weight:400;margin:0 20px 0 0;max-width:50vw}.tv-viewer-controls button{min-width:44px;min-height:44px;border:1px solid #758653;border-radius:25px;padding:10px 17px;font-size:12px;color:#d8e4ba}.tv-viewer-controls [data-tv-action=play]{min-width:95px}.tv-viewer-controls [data-tv-action=previous],.tv-viewer-controls [data-tv-action=next]{font-size:24px;line-height:1;padding:6px 12px}

@media(max-width:1150px){.masthead .room-label{display:none}.masthead nav{gap:14px}}
@media(min-width:851px) and (max-width:1020px){.masthead #reveal{display:none}}
@media(max-width:850px){
 .masthead{flex-wrap:wrap;height:auto;min-height:70px;padding:7px 5%;gap:3px 12px}
 .masthead .wordmark{width:auto;height:54px}.wordmark img{height:49px;width:85px}
 .masthead nav{order:4;width:100%;min-height:38px;margin:0;justify-content:flex-end;gap:18px}
 .masthead #reveal{display:none}.room-settings{width:auto;margin-left:auto;gap:10px}
 .room-guide-actions{gap:8px;justify-content:space-between}.room-guide-actions button{font-size:11px}.room-guide #room-map{padding:10px}
 .room-fullscreen .masthead{height:80px;min-height:0;flex-wrap:nowrap;align-items:center}.room-fullscreen .masthead nav{display:none}
 .tv-viewer-heading{padding:8px 14px}.tv-viewer-heading p{font-size:9px}.tv-viewer-stage{padding:8px}
 .tv-viewer-controls{gap:10px;flex-wrap:wrap;padding:12px}.tv-viewer-controls h2{flex-basis:100%;max-width:100%;text-align:center;font-size:23px;margin:0 0 3px}.tv-viewer-stage .tv-screen{width:min(100%,calc((100dvh - 210px)*1.333333))}
 html[data-room-theme=day] .wordmark{padding:0;width:auto}
}
html[data-room-theme=day] .artwork-step{background:#edf1e3;color:#334625;border-color:#83956d}html[data-room-theme=day] .artwork-step:hover{background:#d3dfbe}
@media(prefers-reduced-motion:reduce){.room-settings button{transition:none}}

/* Discreet credits for the room's recorded soundscape. */
.sound-credits{font-size:10px;line-height:1.7;color:var(--muted);margin:0 0 13px}.sound-credits summary{cursor:pointer;width:fit-content;padding:3px 0}.sound-credits summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.sound-credits p{margin:5px 0 0}.sound-credits a{text-decoration:underline;text-underline-offset:3px}

/* One-tap ambience control, also available in the immersive room. */
.room-settings .room-audio-toggle{border-color:#b6c5a676;background:#b9c7ae06}
.room-audio-toggle .sound-muted{display:none}.room-audio-toggle[data-sound-state=off] .sound-muted,.room-audio-toggle[data-sound-state=waiting] .sound-muted{display:block}
.room-audio-toggle[data-sound-state=off] .sound-waves,.room-audio-toggle[data-sound-state=waiting] .sound-waves{display:none}
html[data-room-theme=day] .room-audio-toggle{border-color:#647b587a;background:#40533105}
.room-fullscreen .room-audio-toggle{background:#19251ad1;box-shadow:0 2px 18px #0002}
html.room-fullscreen[data-room-theme=day] .room-audio-toggle{background:#e9eee3db}
.room-only{display:block;padding:6px 0;color:var(--accent);font-size:11px;text-decoration:underline;text-underline-offset:3px;min-height:32px}
@media(max-width:380px){.masthead{padding-inline:12px;column-gap:8px}.masthead .wordmark img{width:67px;height:43px}.room-settings{gap:6px}.theme-switch{gap:0;padding:3px}.room-settings .fullscreen-toggle{width:44px;height:44px}}

/* One quiet threshold when browser policy needs a click for sound. */
html.welcome-open{overflow:hidden}
#arrival-gate{position:fixed;inset:0;margin:auto;width:min(460px,calc(100vw - 36px));max-height:calc(100dvh - 36px);padding:42px 34px 25px;text-align:center;border:1px solid #b7c49350;border-radius:15px;background:linear-gradient(145deg,#20271df5,#11180ff8);color:#eeeade;box-shadow:0 28px 100px #0009;overflow:auto}
#arrival-gate::backdrop{background:#080e096b;backdrop-filter:blur(1.5px)}
#arrival-gate[open]{animation:welcome-in .28s ease-out}
.welcome-kicker{margin:0 0 26px;font-size:9px;letter-spacing:2.5px;color:#bdc6a2;line-height:1.6}
#arrival-title{margin:0 0 16px;font:46px/1.08 Georgia,serif;font-weight:400;letter-spacing:-1px}
#arrival-note{margin:0 0 29px;font-size:13px;line-height:1.8;color:#c1c4b6}
#arrival-play{display:flex;align-items:center;justify-content:center;gap:17px;min-height:54px;width:100%;padding:14px 18px;border:1px solid #c4d59e;border-radius:28px;background:#cad7ab;color:#1b2816;font-size:13px;font-weight:600;transition:background .2s,transform .2s}
#arrival-play:hover{background:#dde7c7;transform:translateY(-1px)}
#arrival-play svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex:none}
.welcome-sound-note{display:block;margin:11px 0 15px;font-size:10px;letter-spacing:.3px;color:#a5af96}
#arrival-dismiss{padding:10px 15px;min-height:44px;color:#b9c1ac;font-size:11px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#84936b80}
#arrival-dismiss:hover{color:#e2e8d7}
#arrival-gate button:focus-visible{outline:2px solid #d4e4b4;outline-offset:5px}
html[data-room-theme=day] #arrival-gate{background:#f5f1e7f7;color:#24321e;border-color:#96a283}
html[data-room-theme=day] #arrival-gate :is(.welcome-kicker,#arrival-note,.welcome-sound-note,#arrival-dismiss){color:#52614b}
@keyframes welcome-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:400px){#arrival-gate{padding:30px 20px 20px}#arrival-title{font-size:39px}.welcome-kicker{font-size:8px;letter-spacing:2px;margin-bottom:22px}#arrival-note{font-size:12px}#arrival-play{font-size:12px;gap:11px}}
@media(prefers-reduced-motion:reduce){#arrival-gate[open]{animation:none}#arrival-play{transition:none}}
