:root{color-scheme:dark;--cream:#f3e8d0;--gold:#dcc18c;--ink:#142724}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#0e1c1c;color:var(--cream);font-family:Georgia,serif}.shell{max-width:1420px;margin:auto;padding:18px 28px 30px}.top{display:flex;align-items:center;justify-content:space-between;gap:15px}.eyebrow,.objective span{font:10px/1.3 system-ui;letter-spacing:.18em;color:#d6b77d}.top h1{font-size:30px;font-weight:400;margin:3px 0 11px}.top-actions,.quick{display:flex;gap:8px;flex-wrap:wrap}.objective{display:flex;gap:16px;align-items:baseline;margin-bottom:10px}.objective p{font:14px/1.3 system-ui;margin:0;color:#d9dfce}.stage{position:relative;aspect-ratio:1672/941;max-height:calc(100vh - 210px);min-height:360px;overflow:hidden;border:1px solid #987c51;border-radius:5px;background:#1a2725;box-shadow:0 16px 45px #0007}.background{width:100%;height:100%;object-fit:cover;display:block}.warmth{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 46% 10%,#e7ae4420,transparent 28%);animation:breathe 8s ease-in-out infinite alternate}@keyframes breathe{to{opacity:.35}}.cover{position:absolute;inset:0;display:flex;align-items:center;padding:7%;background:linear-gradient(90deg,#0c1816ed 0%,#0c1816bb 45%,transparent 85%)}.cover h2{font-size:clamp(38px,6vw,70px);font-weight:400;margin:14px 0}.cover p{font:17px/1.5 system-ui;max-width:410px;margin:0 0 25px;color:#ebdcc2}.primary,.quiet,.choice,.link{font:600 14px/1.3 system-ui;cursor:pointer;border-radius:4px}.primary{background:#ddbf86;color:#2c241a;padding:12px 19px;border:1px solid #ddbf86}.primary:hover{background:#f3dbab}.quiet,.choice{background:#203633eF;color:#f6ead1;border:1px solid #a89772;padding:10px 14px}.quiet:hover,.choice:hover,.quiet:focus-visible,.choice:focus-visible{background:#416157;outline:2px solid #f5d89d}.link{border:0;background:none;color:#d8c399;padding:0}.hotspots{position:absolute;inset:0;pointer-events:none}.hotspot{position:absolute;pointer-events:auto;cursor:pointer;background:transparent;border:0;border-radius:12px;outline:none;color:#fff}.hotspot:after{content:attr(aria-label);position:absolute;left:50%;bottom:5px;transform:translateX(-50%);background:#172a27eb;color:#f4e7c7;white-space:nowrap;padding:6px 9px;border-radius:15px;font:12px system-ui;opacity:0}.hotspot:hover,.hotspot:focus-visible{box-shadow:0 0 16px #ffd58788,inset 0 0 14px #ffd58738}.hotspot:hover:after,.hotspot:focus-visible:after{opacity:1}.dialogue{position:absolute;left:3%;bottom:4%;width:min(720px,94%);padding:18px 20px;background:#102120f2;border:1px solid #b59a68;box-shadow:0 8px 25px #000a}.dialogue .speaker{font:10px system-ui;letter-spacing:.15em;color:#e6c688}.dialogue p{font:clamp(15px,1.4vw,19px)/1.4 Georgia;margin:8px 0 12px}.dialogue .actions{display:flex;flex-wrap:wrap;gap:8px}.bottom{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:13px 0}.bottom p{font:14px/1.4 system-ui;color:#c4cfbf;margin:0}.sound-controls{display:flex;gap:18px;flex-wrap:wrap;padding:10px 0;font:12px system-ui;color:#c7cfbe}.sound-controls label{display:flex;gap:8px;align-items:center}input{accent-color:#dabe89;width:100px}footer{border-top:1px solid #43524a;padding-top:12px;display:flex;gap:18px;flex-wrap:wrap;font:12px/1.4 system-ui;color:#a7b5a8}footer a{color:#cfc09e}.modal{position:fixed;inset:0;background:#071211d9;display:grid;place-items:center;padding:20px;z-index:10}.modal-inner{position:relative;max-height:min(90vh,900px);width:min(760px,100%);overflow:auto;background:#e5d8bd;color:#30291e;border:1px solid #a98d5e;box-shadow:0 25px 80px #000c;padding:clamp(22px,4vw,40px)}.modal-inner h2{font-size:clamp(25px,3vw,36px);font-weight:400;margin:6px 50px 14px 0}.modal-inner h3{font-size:21px;font-weight:400}.modal-inner p,.modal-inner li{font:15px/1.55 system-ui}.modal-inner .eyebrow{color:#846235}.modal-close{float:right;background:#344b42;color:#fff}.modal-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.modal .choice{background:#29453e;color:#fff2d8}.modal .choice:hover{background:#49695d}.modal-photo{width:100%;display:block;border:7px solid #f5e9cf;box-shadow:0 3px 9px #645845;max-height:40vh;object-fit:contain;background:#342c22}.paper-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.paper-card{padding:16px;background:#f5ebd5;border:1px solid #b9a580}.paper-card small{font:10px system-ui;letter-spacing:.1em}.paper-card strong{display:block;font-size:22px;font-weight:400;margin:10px 0}.dim{color:#6d6657}.route-row{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #bba985;padding:9px 0;font:15px system-ui}.moths{position:absolute;inset:0;pointer-events:none}.moths i{position:absolute;width:6px;height:4px;border-radius:70% 20%;background:#e6cda3;box-shadow:0 0 5px #f1cd8b;top:18%;left:42%;animation:flight 9s linear infinite}.moths i:nth-child(2){top:23%;left:71%;animation-duration:12s;animation-delay:-5s;transform:scale(.7)}.moths i:nth-child(3){top:22%;left:19%;animation-duration:14s;animation-delay:-7s;transform:scale(.8)}@keyframes flight{0%,100%{translate:0 0;rotate:0deg}20%{translate:16px -13px;rotate:35deg}42%{translate:30px 9px;rotate:130deg}62%{translate:0 20px;rotate:210deg}82%{translate:-15px -3px;rotate:300deg}}@media(max-width:700px){.shell{padding:13px}.top h1{font-size:25px}.top-actions{justify-content:flex-end}.top-actions .quiet{font-size:12px;padding:8px}.objective{align-items:start}.stage{aspect-ratio:4/5;max-height:none;min-height:470px}.background{object-fit:cover}.hotspot{min-width:44px;min-height:44px}.dialogue{max-height:62%;overflow:auto}.bottom{align-items:start;flex-direction:column}.modal{padding:12px}.modal-inner{padding:20px}.paper-grid{grid-template-columns:1fr}.cover{padding:7%;background:linear-gradient(90deg,#0c1816f0,#0c18169a)}footer{font-size:11px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
.hotspot:after{display:none}.hotspot:hover,.hotspot:focus-visible{box-shadow:none;background:radial-gradient(ellipse,#ffe4a542,transparent 72%)}
.game-targets{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.game-target{pointer-events:visiblePainted;cursor:pointer;outline:none}.game-target .hit{fill:transparent;stroke:none;pointer-events:all}.game-target .edge{fill:none;stroke:transparent;stroke-width:1.8;pointer-events:none;transition:stroke .2s}.game-target:hover .edge,.game-target:focus-visible .edge{stroke:#f5dba6bb;filter:drop-shadow(0 0 3px #efc879)}
@media(max-width:700px){.stage{aspect-ratio:1672/941;min-height:0;max-height:none}.background{object-fit:cover}.stage:has(.dialogue:not([hidden])){aspect-ratio:auto;overflow:visible}.stage:has(.dialogue:not([hidden])) .background{height:auto}.stage:has(.dialogue:not([hidden])) .dialogue{position:relative;left:auto;bottom:auto;width:100%;max-height:none;overflow:visible}.cover h2{font-size:32px;margin:5px 0}.cover p{font-size:13px;margin:0 0 10px}.cover .eyebrow{font-size:9px}.cover .primary,.cover .quiet{padding:8px 10px;font-size:12px}}
.moths{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}
.moth-flight{animation:moth-orbit 7s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:center}
.moth-flight.b{animation-duration:9s;animation-delay:-3s}.moth-flight.c{animation-duration:8s;animation-delay:-5s}
.moth-wings{fill:#ffe1a5;stroke:#b48d56;stroke-width:.7;filter:drop-shadow(0 0 4px #ffdd85);transform-box:fill-box;transform-origin:center;animation:wingbeat .17s ease-in-out infinite alternate}
@keyframes wingbeat{from{transform:scaleX(.5)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.moth-flight,.moth-wings{animation:none}}
.moth-flight,.moth-flight.b,.moth-flight.c{animation-timing-function:linear;animation-iteration-count:infinite;animation-direction:normal}
.moth-flight{animation-name:flight-one;animation-duration:11s;animation-delay:-2s}
.moth-flight.b{animation-name:flight-two;animation-duration:13s;animation-delay:-6s}
.moth-flight.c{animation-name:flight-three;animation-duration:15s;animation-delay:-9s}
.moth-wings{fill:#d9c6a2;stroke:#78664d;stroke-width:.6;filter:none;animation-duration:.11s}
.moth-flight.b .moth-wings{fill:#b6a690;animation-duration:.14s}.moth-flight.c .moth-wings{fill:#e7d8be;animation-duration:.19s}
@keyframes flight-one{0%,100%{transform:translate(0,0) rotate(-18deg)}11%{transform:translate(25px,-12px) rotate(18deg)}22%{transform:translate(46px,8px) rotate(54deg)}33%{transform:translate(31px,27px) rotate(115deg)}44%{transform:translate(4px,19px) rotate(165deg)}56%{transform:translate(-19px,3px) rotate(215deg)}67%{transform:translate(-14px,-22px) rotate(266deg)}78%{transform:translate(12px,-28px) rotate(318deg)}90%{transform:translate(15px,-9px) rotate(348deg)}}
@keyframes flight-two{0%,100%{transform:translate(0,0) rotate(15deg)}13%{transform:translate(-15px,-22px) rotate(-34deg)}26%{transform:translate(-43px,-18px) rotate(-76deg)}38%{transform:translate(-49px,8px) rotate(-125deg)}52%{transform:translate(-21px,20px) rotate(-184deg)}64%{transform:translate(10px,27px) rotate(-230deg)}77%{transform:translate(30px,11px) rotate(-280deg)}89%{transform:translate(19px,-9px) rotate(-320deg)}}
@keyframes flight-three{0%,100%{transform:translate(0,0) rotate(-35deg)}16%{transform:translate(18px,-15px) rotate(14deg)}29%{transform:translate(40px,-8px) rotate(62deg)}41%{transform:translate(31px,10px) rotate(98deg)}54%{transform:translate(42px,28px) rotate(136deg)}67%{transform:translate(9px,22px) rotate(206deg)}81%{transform:translate(-16px,5px) rotate(275deg)}92%{transform:translate(-11px,-13px) rotate(312deg)}}
@media(prefers-reduced-motion:reduce){.moth-flight,.moth-flight.b,.moth-flight.c,.moth-wings{animation:none}}
.moth-flight.d{animation-name:flight-two;animation-duration:12s;animation-delay:-1.7s}.moth-flight.e{animation-name:flight-three;animation-duration:9.5s;animation-delay:-4.8s}
@media(prefers-reduced-motion:reduce){.moth-flight.d,.moth-flight.e{animation:none}}
.locker-interact{position:relative;width:min(100%,36vh,360px);margin:auto;border:5px solid #f5e9cf;box-shadow:0 3px 9px #645845;line-height:0}.locker-interact img{width:100%;height:auto}.locker-door{position:absolute;top:2%;height:96%;width:32%;padding:0;border:2px solid transparent;background:transparent;cursor:pointer}.locker-door:nth-of-type(1){left:1%}.locker-door:nth-of-type(2){left:34%}.locker-door:nth-of-type(3){left:67%}.locker-door:hover,.locker-door:focus-visible{outline:none;border-color:#f5dba6aa;box-shadow:0 0 8px #efc879}
.steam{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.steam path{fill:none;stroke:#f9e6ca;stroke-width:3;stroke-linecap:round;opacity:.34;filter:blur(1.5px);animation:steam-rise 4.5s ease-in-out infinite}@keyframes steam-rise{0%{opacity:0;transform:translateY(4px)}35%{opacity:.35}100%{opacity:0;transform:translateY(-18px)}}@media(prefers-reduced-motion:reduce){.steam path{animation:none;opacity:.18}}

.clerk-dialog{display:grid;grid-template-columns:minmax(150px,35%) 1fr;gap:22px;align-items:start}.clerk-portrait{height:300px;background:#85756c url('assets/clerk-portrait.png') 40% 50% / auto 100% no-repeat;border:6px solid #f5e9cf;box-shadow:0 3px 12px #64584566}.clerk-dialog p:first-child{margin-top:0}.case-photo{display:block;width:100%;max-height:40vh;object-fit:contain;background:#342c22;box-shadow:0 3px 9px #645845}.evidence-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.evidence-card{background:#f2e6cb;border:1px solid #bca578;box-shadow:0 3px 8px #66533322;padding:13px}.evidence-card h3{margin:5px 0;font-size:20px}.evidence-card p{font-size:13px;line-height:1.42;margin:8px 0}.evidence-icon{display:flex;align-items:center;justify-content:center;height:38px;width:38px;border:1px solid #9b7c4c;border-radius:50%;font:14px Georgia,serif;color:#765b32;background:#e4d1a8}.locker-interact{width:min(100%,45vh,450px)}
@media(max-width:700px){.clerk-dialog{grid-template-columns:110px 1fr;gap:12px}.clerk-portrait{height:180px}.evidence-grid{grid-template-columns:1fr}.evidence-card{display:grid;grid-template-columns:44px 1fr 1fr;column-gap:8px;align-items:center}.evidence-card h3{grid-column:2/4}.evidence-card .evidence-icon{grid-row:1/3}.evidence-card p{margin:4px 0;font-size:12px}}
.ticket{position:relative;max-width:570px;padding:18px 22px;background:#f5e9cc;border:1px solid #aa9062;box-shadow:0 3px 10px #66533333;color:#312b22}.ticket:before{content:'';position:absolute;inset:6px;border:1px solid #cbb997;pointer-events:none}.ticket-caption{display:block;font:10px/1.4 system-ui;letter-spacing:.14em;color:#806039}.ticket strong{display:block;margin:6px 0 12px;font:22px Georgia,serif}.ticket-row{position:relative;display:flex;gap:12px;justify-content:space-between;padding:6px 0;border-top:1px solid #d5c7aa;font:13px/1.4 system-ui}.ticket-row b{text-align:right;color:#493d2c}.ticket-row span{color:#6b6253}@media(max-width:450px){.ticket{padding:16px}.ticket-row{flex-direction:column;gap:2px}.ticket-row b{text-align:left}}
.archive-record{padding:18px 20px;background:#f5e9cc;border:1px solid #bfa77c;box-shadow:0 3px 10px #66533322}.archive-record>span{display:block;font:11px/1.4 system-ui;letter-spacing:.12em;color:#806039}.archive-record>p{margin:6px 0 18px}.archive-record>p:last-child{margin-bottom:0}.archive-record .route-row:first-child{padding-top:0}.archive-record .route-row:last-child{border-bottom:0;padding-bottom:0}
.scene-atmosphere{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:hidden}.rain-layer path{fill:none;stroke:#c5dff0;stroke-width:2;stroke-linecap:round;opacity:.5}.rain-a,.rain-b{animation:window-rain 3.6s linear infinite}.rain-b{animation-duration:5.3s;animation-delay:-2s;opacity:.65}@keyframes window-rain{from{transform:translateY(-18px)}to{transform:translateY(35px)}}.lamp-glow{animation:archive-light 6s ease-in-out infinite alternate}.photo-light{animation:archive-light 9s ease-in-out infinite alternate}@keyframes archive-light{from{opacity:.35}to{opacity:1}}.route-map{display:grid;gap:10px}.route-card{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:12px;padding:14px;background:#f5ebd5;border:1px solid #b9a580}.route-card>div{display:flex;flex-direction:column;gap:6px;min-width:0}.route-card small{font:10px/1.3 system-ui;letter-spacing:.1em;color:#806039}.route-card strong,.route-card span,.route-card b{font:14px/1.4 system-ui}.route-card b{font-weight:700}.clerk-dialog b{color:#725327}@media(max-width:600px){.route-card{grid-template-columns:1fr 1fr}.route-card>div:first-child{grid-column:1/-1}.route-card>div{gap:3px}}@media(prefers-reduced-motion:reduce){.rain-a,.rain-b,.lamp-glow,.photo-light{animation:none}}
.rain-layer .rain-drop{animation-name:rain-fall;animation-timing-function:linear;animation-iteration-count:infinite;opacity:0}@keyframes rain-fall{0%{opacity:0;transform:translateY(0)}15%{opacity:.5}80%{opacity:.5}100%{opacity:0;transform:translateY(55px)}}.archive-dust{fill:#ffe8bc;animation:archive-dust 8s ease-in-out infinite}@keyframes archive-dust{0%,100%{opacity:0;transform:translate(0,0)}25%,65%{opacity:.55}100%{transform:translate(8px,-25px)}}@media(prefers-reduced-motion:reduce){.rain-layer .rain-drop,.archive-dust{animation:none}.archive-dust{opacity:0}}


.inspect-ticket{min-height:190px;overflow:hidden;background:repeating-linear-gradient(0deg,#f4e6c5,#f4e6c5 4px,#efe0bc 5px)}.ticket-route{position:relative;margin-top:18px;border-top:1px solid #c0ad89;padding-top:10px;min-height:75px}.ticket-route small{display:block;font:10px system-ui;letter-spacing:.13em;color:#816f53}.ticket-route b{font:700 19px Georgia}.ticket-label{cursor:pointer;border:1px solid #c4ae80;background:#eadcb8;padding:10px 24px;color:#403325;box-shadow:2px 3px 3px #66533366;transform:rotate(-2deg);font:700 18px Georgia}.ticket-label span{color:#958363;margin-left:20px}.removed-label{display:block;font:12px system-ui;color:#786b53}.ticket-stamp{position:absolute;right:28px;bottom:24px;color:#ab504b;border:2px solid #ab504b;border-radius:50%;padding:8px;transform:rotate(-18deg);font:9px system-ui;text-align:center;opacity:.7;pointer-events:none}.future-detail{height:240px;background-image:url("assets/future-room.png");background-repeat:no-repeat;border:6px solid #f5e9cf;box-shadow:0 3px 9px #645845}.radio-detail{background-size:330% auto;background-position:24% 59%}.workshop-detail{background-size:250% auto;background-position:100% 38%}@media(max-width:500px){.future-detail{height:180px}.ticket-stamp{right:16px;bottom:12px}}
.future-window{fill:#ffe5b2;animation:future-twinkle 6s ease-in-out infinite alternate}@keyframes future-twinkle{from{opacity:.2}to{opacity:.9}}@media(prefers-reduced-motion:reduce){.future-window{animation:none}}
.compare-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.compare-card{cursor:pointer;text-align:left;color:#342d21;background:#f3ead8;border:2px solid #bfa982;padding:8px;display:flex;flex-direction:column;gap:7px;font:13px/1.4 system-ui}.compare-card:hover,.compare-card:focus-visible{outline:2px solid #8b6a39}.compare-card.selected{border-color:#275950;background:#d8e6d6;box-shadow:inset 0 0 0 1px #275950}.compare-card strong{font:18px Georgia}.compare-picture{display:block;width:100%;height:100px;background-image:url("assets/future-room.png");background-repeat:no-repeat}.compare-quote{height:100px;display:grid;place-items:center;background:#d6c3a0;color:#715c3b;font:80px Georgia}.compare-card .radio-detail{background-size:400% auto;background-position:24% 58%}.compare-card .workshop-detail{background-size:300% auto;background-position:100% 36%}@media(max-width:600px){.compare-cards{grid-template-columns:1fr}.compare-card{display:grid;grid-template-columns:75px 1fr;gap:3px 10px;align-items:center}.compare-picture,.compare-quote{grid-row:1/3;width:75px;height:60px}.compare-quote{font-size:55px}.compare-card strong{font-size:16px}}
.difficulty-label{display:block;margin:0 0 5px;color:#e5d1a5;font:12px system-ui}.difficulty-select{display:block;max-width:100%;margin:0 0 13px;padding:8px;color:#f6ead1;background:#203633;border:1px solid #a89772;border-radius:4px;font:14px system-ui}.difficulty-select:focus-visible{outline:2px solid #f5d89d}@media(max-width:700px){.difficulty-label{font-size:10px}.difficulty-select{font-size:11px;padding:4px;margin-bottom:6px}}
@media(max-width:700px){.stage:has(#cover:not([hidden])){aspect-ratio:auto;min-height:300px}.stage:has(#cover:not([hidden])) .background{height:300px;object-fit:cover}.cover{overflow:auto}}
.clock-forward,.clock-reverse{fill:#27221e;stroke:#27221e;stroke-width:2;stroke-linecap:round;transform-origin:0 0;animation:clock-rotation 38s linear infinite}.clock-reverse{animation-duration:43s;animation-direction:reverse}.clock-hour{fill:none;stroke:#27221e;stroke-width:2.7;stroke-linecap:round}.clock-hour.small{stroke-width:1.8}@keyframes clock-rotation{to{transform:rotate(360deg)}}
.cat-blink{opacity:0;animation:cat-blink 9s linear infinite;pointer-events:none}@keyframes cat-blink{0%,46%,49%,100%{opacity:0}47%,48%{opacity:1}}
@media(max-width:700px){.stage:has(.dialogue:not([hidden])) .hotspots{bottom:auto;height:auto;aspect-ratio:1672/941}}
@media(max-width:700px){.stage:has(.dialogue:not([hidden]))>.scene-atmosphere,.stage:has(.dialogue:not([hidden]))>.moths,.stage:has(.dialogue:not([hidden]))>.steam,.stage:has(.dialogue:not([hidden]))>.warmth{bottom:auto;height:auto;aspect-ratio:1672/941}}
.epilogue-image{animation:epilogue-appear .45s ease-out both}@keyframes epilogue-appear{from{opacity:.55}to{opacity:1}}
.desk-detail{height:180px;background-image:url("assets/future-desk.png");background-repeat:no-repeat;border:6px solid #f5e9cf;margin-bottom:12px;box-shadow:0 3px 9px #645845}.board-detail{background-size:280% auto;background-position:74% 2%}.postcard-detail{background-size:310% auto;background-position:100% 3%}@media(max-width:500px){.desk-detail{height:135px}}

/* Keep the complete introduction and its controls available on small or short screens. */
@media (max-width:700px), (max-height:600px){
  .stage:has(#cover:not([hidden])){aspect-ratio:auto;min-height:0;max-height:none;overflow:visible}
  .stage:has(#cover:not([hidden])) .background{height:auto;aspect-ratio:1672/941;object-fit:cover}
  .stage:has(#cover:not([hidden])) .cover{position:relative;inset:auto;display:block;padding:18px;background:#102120;overflow:visible}
  .cover h2{font-size:clamp(26px,6vw,38px);margin:4px 0 8px}
  .cover p{font-size:14px;line-height:1.4;margin:0 0 12px}
  .cover .difficulty-label{font-size:12px}
  .cover .difficulty-select{font-size:14px;padding:8px;margin-bottom:10px}
  .cover .primary,.cover .quiet{font-size:14px;padding:10px 14px}
}
@media (max-height:600px) and (min-width:701px){
  .stage{max-height:none;min-height:0}
  .stage:has(.dialogue:not([hidden])){aspect-ratio:auto;overflow:visible}
  .stage:has(.dialogue:not([hidden])) .background{height:auto}
  .stage:has(.dialogue:not([hidden])) .dialogue{position:relative;left:auto;bottom:auto;width:100%;max-height:none;overflow:visible}
  .stage:has(.dialogue:not([hidden])) .hotspots,.stage:has(.dialogue:not([hidden]))>.scene-atmosphere,.stage:has(.dialogue:not([hidden]))>.moths,.stage:has(.dialogue:not([hidden]))>.steam,.stage:has(.dialogue:not([hidden]))>.warmth{bottom:auto;height:auto;aspect-ratio:1672/941}
}

/* Investigation notebook: sources and conclusions remain distinct. */
.notebook-current{border-left:3px solid #8a6736;padding:4px 18px 18px;background:#d4c5a744;margin:16px 0 24px}
.notebook-current h3{margin:8px 0;font-size:1.45rem}
.note-card,.note-group{border-top:1px solid #af9c78;padding:12px 0}
.note-card summary,.note-group summary{cursor:pointer;font-weight:600;line-height:1.5;padding:4px 0}
.note-card summary small{display:block;font-size:.78rem;font-weight:400;color:#66583e;padding-left:18px}
.note-card img{display:block;max-width:100%;max-height:240px;object-fit:contain;margin:12px auto}
.note-card p,.note-conclusion p{line-height:1.65}
.notebook-stage>summary small{display:block;font-size:.78rem;font-weight:400;color:#66583e;margin-left:18px}
.notebook-stage[open]{border-bottom:1px solid #af9c78;padding-bottom:20px}
.story-note{margin:18px 0;padding:12px 16px;border-left:3px solid #9a7139;background:rgba(118,91,49,.08);font-family:system-ui,sans-serif}
.story-note>span{display:block;font-size:.68rem;font-style:normal;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#765329;margin-bottom:5px}
#dialogue .story-note{background:rgba(225,196,137,.08);border-color:#d5b579}
#dialogue .story-note>span{color:#e3c68b}
#dialogue .story-note p,.story-note p{font:italic 400 .9rem/1.6 system-ui,sans-serif;margin:0}
.note-conclusion{padding:4px 14px;border-left:2px solid #7b9272;margin:12px 0}
.note-conclusion h4{margin:6px 0}.note-conclusion p{margin:6px 0}
.notebook-help{padding:14px 18px;background:#c6b58d44;margin:18px 0}
.object-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.object-list button{text-align:left;min-height:52px}
@media(max-width:500px){.object-list{grid-template-columns:1fr}.notebook-current{padding-left:12px}}
