/* A single, quiet stardust reveal after entry; no new room hold or scroll timer. */
.sculpture-room:not(.final-room) .room-label{align-items:center;text-align:center!important;transition:opacity .3s ease,transform .3s ease,visibility .3s}
.sculpture-room:not(.final-room) .room-label h3,.sculpture-room:not(.final-room) .room-label .sculpture-note{text-align:center!important;width:100%;margin-left:auto!important;margin-right:auto!important}
.sculpture-room:not(.final-room) .room-label h3{max-width:360px}
.sculpture-room:not(.final-room) .room-label .sculpture-note{max-width:320px}
.sculpture-room.show-note .room-label h3{animation:chamber-words-resolve .9s ease-out both}
.sculpture-room.show-note .room-label .sculpture-note{animation:chamber-words-resolve 1.05s .06s ease-out both}
.sculpture-room:not(.final-room) .room-label::before,.sculpture-room:not(.final-room) .room-label::after{content:"";position:absolute;inset:-18px -10px;pointer-events:none;opacity:0;background-repeat:no-repeat;background-image:radial-gradient(circle at 9% 65%,#f5e7c9 0 .7px,transparent 2px),radial-gradient(circle at 24% 26%,#fff6df 0 1px,transparent 3px),radial-gradient(circle at 39% 77%,#e8d9ba 0 .7px,transparent 2px),radial-gradient(circle at 54% 16%,#fff7e5 0 .8px,transparent 2.5px),radial-gradient(circle at 73% 59%,#e9ddc2 0 1px,transparent 3px),radial-gradient(circle at 91% 33%,#fff4dc 0 .65px,transparent 2px);filter:drop-shadow(0 0 3px #ead9ab66)}
.sculpture-room.show-note .room-label::before{animation:chamber-dust-resolve 1.15s ease-out both}
.sculpture-room.show-note .room-label::after{background-position:12px 13px;animation:chamber-dust-resolve .95s .14s ease-out both}
@keyframes chamber-words-resolve{0%{opacity:0;filter:blur(2px);transform:translateY(3px);text-shadow:0 0 9px #f9e4b677}55%{filter:blur(.35px)}100%{opacity:1;filter:blur(0);transform:none;text-shadow:0 0 12px #f3e6bf25}}
@keyframes chamber-dust-resolve{0%{opacity:0;transform:translateY(9px) scale(.98)}24%{opacity:.6}70%{opacity:.23}100%{opacity:0;transform:translateY(-9px) scale(1.03)}}
@media(prefers-reduced-motion:reduce){.sculpture-room.show-note .room-label h3,.sculpture-room.show-note .room-label .sculpture-note{animation:none;filter:none;transform:none;opacity:1}.sculpture-room:not(.final-room) .room-label::before,.sculpture-room:not(.final-room) .room-label::after{display:none;animation:none}.sculpture-room:not(.final-room) .room-label{transition:none}}
/* The revealed figure and text form one centered vertical composition. */
.sculpture-room:not(.final-room) .room-scene{height:calc(100svh - 170px);min-height:280px;max-height:none}
.room-scene .room-sculpture,.room-scene .room-sculpture.hades,.room-scene #statue-5{left:50%;width:calc(20% + var(--room-zoom,0)*62%);height:calc(31% + var(--room-zoom,0)*25%);bottom:calc(9% + var(--room-zoom,0)*24%);max-width:82%;max-height:60%}
.sculpture-room:not(.final-room) .room-label{left:12%;right:12%;top:70%;bottom:auto;max-width:540px;margin:0 auto}
.sculpture-room:not(.final-room) .room-label h3{font-size:clamp(21px,2.5vw,32px);margin-bottom:10px}
.sculpture-room:not(.final-room) .room-label .sculpture-note{max-width:420px;font-size:13px;line-height:1.55}
body:has(.scroll-story) .site-header{position:fixed;inset:0 0 auto;z-index:90;height:84px;padding-right:76px;background:#080a0eee;color:#eee9dc;opacity:1;visibility:visible}
body:has(.scroll-story) .site-header .wordmark img{max-height:64px;width:auto}
body:has(.scroll-story) .story-stage>.museum-rooms{padding-top:104px}
body:has(.scroll-story) #room-count{top:89px}
body:has(.scroll-story) .love-sound-toggle{position:fixed;top:23px;right:18px;left:auto;bottom:auto;z-index:100}
@media(max-width:700px){body:has(.scroll-story) .site-header{height:100px;display:grid;grid-template-columns:1fr auto;padding:8px 58px 8px 16px;gap:2px 12px}body:has(.scroll-story) .site-header .wordmark{grid-column:1;grid-row:1}body:has(.scroll-story) .site-header .wordmark img{max-height:43px;max-width:130px}body:has(.scroll-story) .site-header .desktop-nav{grid-column:1/3;grid-row:2;gap:18px;font-size:10px;justify-content:flex-start}body:has(.scroll-story) .site-header .language-switch{grid-column:2;grid-row:1}body:has(.scroll-story) .love-sound-toggle{top:15px;right:10px}body:has(.scroll-story) .story-stage>.museum-rooms{padding-top:122px}body:has(.scroll-story) #room-count{top:107px}.sculpture-room:not(.final-room) .room-scene{height:calc(100svh - 210px)}.sculpture-room:not(.final-room) .room-label{top:67%;left:10%;right:10%}.room-scene .room-sculpture,.room-scene .room-sculpture.hades,.room-scene #statue-5{height:calc(31% + var(--room-zoom,0)*20%);bottom:calc(9% + var(--room-zoom,0)*28%)}.sculpture-room:not(.final-room) .room-label h3{font-size:20px}.sculpture-room:not(.final-room) .room-label .sculpture-note{font-size:12px}}
.story-title h1{white-space:pre-line;font-size:clamp(38px,5.5vw,76px)}
.story-restart{position:fixed;left:16px;bottom:14px;z-index:65;font:10px/1.4 system-ui;color:#d5cebd;background:#080a0dbb;padding:8px 10px;border-radius:18px;text-decoration:none}.story-restart:hover,.story-restart:focus-visible{color:white;outline:1px solid #ddd6bd66}
body:has(.scroll-story) .site-header{min-height:0!important;height:84px!important}
@media(max-width:700px){body:has(.scroll-story) .site-header{height:100px!important}}
.sculpture-room:not(.final-room) .room-scene{transform:translateY(12px)}
.sculpture-room:not(.final-room) .room-label{top:calc(70% + 12px)}
@media(max-width:700px){.sculpture-room:not(.final-room) .room-scene{transform:translateY(8px)}.sculpture-room:not(.final-room) .room-label{top:calc(67% + 8px)}}
/* Independent center cue and bottom action row: no shared left-hand hit area. */
.story-controls{left:0;right:0;bottom:0;height:130px;display:block;pointer-events:none;letter-spacing:0}
.story-controls #scroll-cue{position:absolute;left:50%;right:auto;bottom:76px;transform:translateX(-50%);box-sizing:border-box;width:max-content;max-width:calc(100% - 40px);margin:0;padding:5px 10px;text-align:center;font-size:10px;line-height:1.5;pointer-events:none}
.story-controls a{position:absolute;right:16px;bottom:12px;min-height:40px;box-sizing:border-box;pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;font-size:10px}
.story-restart{left:16px;bottom:12px;min-height:40px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px}
.gallery-active .museum-rooms>.rooms-hint{bottom:76px;max-width:calc(100% - 48px);width:max-content;font-size:10px}
.story-title .museum-welcome{font:400 clamp(12px,1.4vw,17px)/1.4 Georgia,serif;letter-spacing:.05em;margin-bottom:12px;color:#eee7da}
.story-title h1.museum-hero-name{font-size:clamp(44px,6.8vw,96px);line-height:1.03;max-width:850px;margin:0;letter-spacing:-.04em;color:#fff9ec;text-shadow:0 0 12px #fff0cf55,0 0 32px #e8cf8c33,0 0 65px #dbc28b1f}
.story-title .museum-welcome-ending{display:block;font-size:15px;line-height:1.5;margin-top:10px;color:#e7dfce}
@media(max-width:700px){.story-controls #scroll-cue,.gallery-active .museum-rooms>.rooms-hint{font-size:9px;bottom:74px;max-width:calc(100% - 32px)}.story-controls a{right:10px;font-size:9px}.story-restart{left:10px;font-size:9px}.story-title .museum-welcome{font-size:12px;margin-bottom:10px}.story-title h1.museum-hero-name{font-size:clamp(40px,10vw,62px);max-width:90vw}.story-title .museum-welcome-ending{font-size:13px}}
.story-title h1.museum-hero-name{font-weight:400;font-synthesis:none;-webkit-text-stroke:0;text-shadow:0 0 18px #fff0cf35,0 0 42px #e8cf8c22}
.story-title .museum-welcome{font-weight:400;font-synthesis:none}
/* Current chamber sits after the revealed caption and before the scroll cue. */
body:has(.scroll-story) #room-count{top:auto;bottom:112px;left:50%;transform:translateX(-50%);font-size:10px;line-height:1.4;letter-spacing:.12em}
#room-prev::after,#room-next::after{content:attr(data-destination);position:absolute;top:50%;transform:translateY(-50%);font:400 11px/1.4 Georgia,serif;letter-spacing:.03em;white-space:nowrap;opacity:0;transition:opacity .2s;pointer-events:none;color:#eee6d4;text-shadow:0 0 10px #ead8a955}
#room-prev::after{left:46px}#room-next::after{right:46px}
#room-prev:not(:disabled):hover::after,#room-next:not(:disabled):hover::after,#room-prev:not(:disabled):focus-visible::after,#room-next:not(:disabled):focus-visible::after{opacity:1}
@media(max-width:700px){body:has(.scroll-story) #room-count{top:auto;bottom:111px;font-size:9px}#room-prev::after{left:32px}#room-next::after{right:32px}#room-prev::after,#room-next::after{font-size:10px}}
@media(prefers-reduced-motion:reduce){#room-prev::after,#room-next::after{transition:none}}
.story-title h1.museum-hero-name{width:min(700px,78vw);max-width:100%;text-shadow:none}
.museum-original-wordmark{display:block;width:100%;height:auto;filter:drop-shadow(0 0 14px #f9e7b82b)}
.museum-korean-name{display:none;text-shadow:0 0 18px #fff0cf35,0 0 42px #e8cf8c22}
html[lang=ko] .museum-original-wordmark{display:none}html[lang=ko] .museum-korean-name{display:block}
.clock-drawing{width:min(58vw,450px,43svh);transform:translateY(9svh)}
@media(max-width:700px){.story-title h1.museum-hero-name{width:85vw}.clock-drawing{width:min(75vw,43svh)}}
@media(max-height:650px){.clock-drawing{width:min(75vw,39svh)}}
/* Compact upper-center identity leaves the gate itself unobstructed. */
.story-title{top:96px;left:50%;right:auto;transform:translateX(-50%);text-align:center;width:max-content;max-width:90%;pointer-events:none}
.story-title h1.museum-hero-name{width:250px;max-width:100%;margin:0 auto}
.story-title .museum-welcome{font-size:12px;line-height:1.35;margin-bottom:4px}
.story-title .museum-welcome-ending{font-size:11px;line-height:1.3;margin-top:4px}.story-title .museum-welcome-ending:empty{display:none}
.story-title .museum-korean-name{font-size:34px;line-height:1.2}
body:has(.scroll-story) #room-count{top:110px;bottom:auto}
@media(max-width:700px){.story-title{top:112px;left:50%;max-width:88%}.story-title h1.museum-hero-name{width:230px}.story-title .museum-korean-name{font-size:31px}.story-gates{width:min(1700px,calc((100svh - 220px)*3.206));bottom:0}body:has(.scroll-story) #room-count{top:120px;bottom:auto}}
@media(prefers-reduced-motion:reduce){.story-title{transform:translateX(-50%)!important}}
.story-title::before{content:"";position:absolute;inset:-10px -28px;z-index:-1;background:radial-gradient(ellipse,#080a0ef0 22%,#080a0ebb 54%,transparent 76%);pointer-events:none}

/* Left-side identity, below the curtain line, clear of the central gate. */
.story-title{top:clamp(220px,32svh,310px);left:clamp(24px,5vw,80px);right:auto;transform:none!important;text-align:left;max-width:30vw}
.story-title h1.museum-hero-name{margin:0;width:250px}
@media(max-width:700px){.story-title{top:160px;left:20px;max-width:calc(100% - 40px)}.story-title h1.museum-hero-name{width:190px}.story-title .museum-korean-name{font-size:29px}.story-gates{width:min(1700px,calc((100svh - 275px)*3.206));bottom:0}}
/* Korean sentence ending shares the title's baseline, never a separate line. */
html[lang=ko] .story-title{white-space:nowrap;max-width:calc(100vw - 40px)}
html[lang=ko] .story-title h1.museum-hero-name{display:inline-block;width:auto;max-width:none;vertical-align:baseline}
html[lang=ko] .story-title .museum-korean-name{display:inline;line-height:1.2}
html[lang=ko] .story-title .museum-welcome-ending{display:inline-block;margin:0 0 0 5px;vertical-align:baseline;line-height:1.2}

.museum-welcome-ko,.story-title .museum-welcome-ending{display:none}
html[lang=ko] .museum-welcome-en{display:none}html[lang=ko] .museum-welcome-ko{display:inline}html[lang=ko] .story-title .museum-welcome-ending{display:inline-block}

.chamber-skip{position:fixed;right:16px;bottom:12px;z-index:66;min-width:64px;min-height:40px;padding:8px 12px;border:1px solid #ffffff30;border-radius:20px;background:#080a0dcc;color:#e9e2d3;font:10px/1.3 system-ui;cursor:pointer}.chamber-skip[hidden]{display:none}.chamber-skip:hover,.chamber-skip:focus-visible{color:#fff;border-color:#ffffff80;outline:1px solid #eee6d8;outline-offset:3px}@media(max-width:700px){.chamber-skip{right:10px;font-size:9px}}
.gallery-active .story-controls a{display:none}

/* Current and destination chamber labels share the same quiet typography. */
body:has(.scroll-story) #room-count,#room-prev::after,#room-next::after{font-family:Georgia,serif;font-weight:400;font-size:11px;line-height:1.4;letter-spacing:.03em}@media(max-width:600px){body:has(.scroll-story) #room-count,#room-prev::after,#room-next::after{font-size:10px}}
/* The square arch must fit phone width as well as scene height. Keep its leaves registered. */
@media(max-width:700px),(max-height:500px) and (max-width:1000px){
 .sculpture-room:not(.final-room) .room-scene{--fitted-arch:min(100%,calc((100vw - 48px)*.99875));--arch-base:calc((100% - var(--fitted-arch))/2)}
 .room-scene .room-arch{height:var(--fitted-arch);width:auto;max-width:calc(100% - 48px);bottom:var(--arch-base);object-fit:contain}
 .room-art .fantasy-doors{height:calc(var(--fitted-arch)*.39);width:calc(var(--fitted-arch)*.29);max-width:none;bottom:calc(var(--arch-base) + var(--fitted-arch)*.09);left:50.3%}
 .room-scene .room-key{top:calc(50% + var(--fitted-arch)*.02);left:50%;transform:translate(-50%,-35%)}
 .room-scene .room-sculpture,.room-scene .room-sculpture.hades,.room-scene #statue-5{max-width:calc(100% - 48px);object-fit:contain;object-position:center}
}

/* Reveal the complete figure only after the hinged leaves have finished opening. */
.room-scene .room-sculpture,.room-scene.is-revealed .room-sculpture{opacity:0!important;visibility:hidden!important}.room-scene.sculpture-visible .room-sculpture{opacity:1!important;visibility:visible!important}
@media(max-width:700px){.story-restart,.story-controls a{bottom:calc(24px + env(safe-area-inset-bottom,0px));min-height:44px;min-width:76px;padding:10px 14px;font-size:11px}.story-controls #scroll-cue{bottom:calc(88px + env(safe-area-inset-bottom,0px))}}

html[lang=ko] .final-room .story-ending>p{white-space:pre-line;word-break:keep-all}
/* Phone-only centered welcome; desktop retains its left-side composition. */
@media(max-width:700px){
 .story-title,html[lang=ko] .story-title{left:50%;right:auto;top:160px;width:calc(100% - 40px);max-width:calc(100% - 40px);transform:translateX(-50%)!important;text-align:center}
 .story-title h1.museum-hero-name{margin-left:auto;margin-right:auto}
 .story-title p{margin-left:auto;margin-right:auto;text-align:center}
 .rooms-invitation p{text-align:center}
}

.mobile-story-continue,.mobile-door-tap{display:none}.mobile-story-continue[hidden]{display:none!important}
@media(max-width:700px),(pointer:coarse) and (max-width:1000px){
 .mobile-story-continue{display:inline-flex;position:absolute;left:50%;bottom:calc(80px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);align-items:center;justify-content:center;min-height:44px;max-width:calc(100% - 80px);padding:10px 18px;border:1px solid #eee4cc55;border-radius:22px;background:#080a0de8;color:#eee4cc;font-size:11px;pointer-events:auto;white-space:nowrap}.mobile-story-continue:disabled{opacity:.55}.story-controls:has(.mobile-story-continue:not([hidden])) #scroll-cue{visibility:hidden}
 .mobile-door-tap{display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-10%);width:44%;height:40%;min-height:44px;min-width:44px;padding:0;border:0;background:transparent;z-index:3;cursor:pointer}.mobile-door-tap:focus-visible{outline:1px solid #eadbc788;outline-offset:4px}.room-scene.is-revealed .mobile-door-tap{display:none}
}
/* V102: unobtrusive mobile entry/continue, with the same accessible tap area. */
@media(max-width:700px),(pointer:coarse) and (max-width:1000px){
 .story-controls .mobile-story-continue{min-width:44px;min-height:44px;border:0;border-radius:0;background:transparent;box-shadow:none;padding:10px 16px;text-shadow:0 1px 4px #000,0 0 12px #eee4cc30}
 .story-controls .mobile-story-continue:hover{background:transparent;color:#fff;text-shadow:0 0 10px #fff8db80}
 .story-controls .mobile-story-continue:focus-visible{outline:1px solid #eee4cc99;outline-offset:2px;background:transparent}
}
/* The phone clock's upper winding ornament needs breathing room below the header. */
@media(max-width:700px){.clock-drawing .clock-winder{top:-35%}}
/* V105: first meet the figure inside the open doorway, then enlarge around its center. */
.room-scene .room-sculpture,.room-scene .room-sculpture.hades,.room-scene #statue-5{left:50%;width:calc(var(--door-figure-width,20%) * (1 - var(--room-zoom,0)) + 82% * var(--room-zoom,0));height:calc(var(--door-figure-height,30%) * (1 - var(--room-zoom,0)) + 56% * var(--room-zoom,0));bottom:calc(var(--door-figure-center,28.5%) * (1 - var(--room-zoom,0)) + 61% * var(--room-zoom,0));transform:translate(-50%,50%);object-fit:contain;transition:none}
@media(max-width:700px){.room-scene .room-sculpture,.room-scene .room-sculpture.hades,.room-scene #statue-5{height:calc(var(--door-figure-height,30%) * (1 - var(--room-zoom,0)) + 51% * var(--room-zoom,0));bottom:calc(var(--door-figure-center,28.5%) * (1 - var(--room-zoom,0)) + 62.5% * var(--room-zoom,0))}}

/* Review: enlarge only Angel's settled figure, retaining the original doorway pose.
   Object-fit keeps its complete drawing proportional; reveal timing is unchanged. */
.sculpture-room:first-child .room-scene .room-sculpture{
 height:calc(var(--door-figure-height,30%) * (1 - var(--room-zoom,0)) + 66% * var(--room-zoom,0));
 max-height:66%;
}
.sculpture-room:first-child .room-label{top:calc(74% + 12px)}
@media(max-width:700px){
 .sculpture-room:first-child .room-scene .room-sculpture{height:calc(var(--door-figure-height,30%) * (1 - var(--room-zoom,0)) + 60% * var(--room-zoom,0));max-height:60%}
 .sculpture-room:first-child .room-label{top:calc(71% + 8px)}
}
/* Short screens reserve space for the complete figure, caption, and bottom hint.
   Use viewport-sized scene/caption offsets rather than the stage's 560px floor. */
@media(max-height:500px){
 .sculpture-room:first-child .room-scene{height:calc(100svh - 250px);min-height:0}
 .sculpture-room:first-child .room-label{top:calc(100svh - 264px)}
 .sculpture-room:first-child .room-label h3{font-size:20px;line-height:1.2;margin-bottom:6px}
 .sculpture-room:first-child .room-label .sculpture-note{font-size:12px;line-height:1.5}
}
@media(max-height:500px) and (max-width:700px){
 .sculpture-room:first-child .room-label{top:calc(100svh - 280px)}
}
/* Keep the authored English line break on desktop as well as on phones. */
html[lang=en] .final-room .story-ending>p{white-space:pre-line}
