/* Ten supplied paintings, one arrival route, freely chosen rooms. */
.hero.story.story-enhanced { height:640svh; }
.story-footer { gap:22px; }
.story-chapters { flex:1; min-width:0; overflow-x:auto; scrollbar-width:thin; scrollbar-color:#b69b6570 transparent; gap:18px; padding:4px 2px 9px; }
.story-chapters button { flex:0 0 auto; min-height:44px; font-size:.875rem; }
.story-chapters button[data-chapter="2"] { margin-left:12px; }
.story-about-link { flex:0 0 auto; }
.story-location { font-size:.875rem; line-height:1.5; color:#f3d5a2; margin:0 0 10px; letter-spacing:.03em; text-shadow:0 2px 7px #000; }
.story[data-inside="false"] .story-location { display:none; }
.story[data-inside="true"] .story-eyebrow { display:none; }
.story-actions [hidden] { display:none!important; }
.bridge-forward { left:58%; top:70%; width:11%; height:12%; }
.steps-forward { left:48%; top:64%; width:12%; height:22%; }
.hall-lounge-entry { left:12%; top:30%; width:9%; height:42%; }
.hall-lounge-entry > span { top:65%; }
.hall-game-entry { left:29.7%; top:37.8%; width:7%; height:34.5%; }
.hall-game-entry > span { top:64%; }
.hall-kitchen-entry { left:73.7%; top:61%; width:7%; height:24%; }
.hall-kitchen-entry > span { top:55%; }
.hall-attic-entry { left:40.5%; top:57.5%; width:19%; height:28%; }
.hall-attic-entry > span { top:30%; }
.hall-porch-entry { left:3%; top:70%; width:8%; height:14%; }
.room-candle { left:42.5%; top:43%; width:4%; height:13%; }
.lounge-fire { left:16.1%; top:50.6%; width:12.8%; height:16%; }
.lounge-photos { left:71%; top:30.4%; width:9.4%; height:12%; }
.lounge-radio { left:82.8%; top:66%; width:9.5%; height:10%; }
.lounge-lamp { left:74.9%; top:42.8%; width:4.8%; height:14.9%; }
.lounge-hall { left:0%; top:30%; width:8%; height:34%; }
.story-matches { left:27%; top:40.8%; width:6%; height:3.5%; z-index:4; }
.hearth-bed { left:16.1%; top:50.6%; width:12.8%; height:25%; clip-path:polygon(0% 33.6%,8.6% 13.6%,30.5% 0%,53.9% 0%,82.8% 15.6%,100% 33.6%,100% 53.6%,77.3% 57.6%,61.7% 51.6%,46.1% 51.6%,35.1% 61.6%,35.1% 89.6%,14.8% 100%,0% 100%); }
.hearth-target { left:16.1%; top:66%; width:4.5%; height:9.6%; z-index:4; }
.hearth-foreground { clip-path:polygon(16.1% 59%,17.2% 54%,20% 50.6%,23% 50.6%,26.7% 54.5%,28.9% 59%,28.9% 64%,26% 65%,24% 63.5%,22% 63.5%,20.6% 66%,20.6% 73%,18% 75.6%,16.1% 75.6%); }
.story[data-current="4"] .fire-frame { animation-play-state:running!important; }
.story:not([data-current="4"]) .fire-frame,.story.story-offscreen .fire-frame,.page-hidden .story .fire-frame { animation-play-state:paused!important; }
.attic-telescope { left:25.8%; top:35.2%; width:17.2%; height:23.3%; }
.attic-book { left:60.5%; top:63.2%; width:8.6%; height:6.6%; }
.attic-trunk { left:20.6%; top:73.9%; width:9.5%; height:12.5%; }
.attic-hall { left:80.1%; top:25.1%; width:10.7%; height:62.8%; }
.attic-hall > span { top:58%; }
.attic-terrace { left:65%; top:2%; width:11%; height:19%; }
.attic-terrace > span { top:90%; }
.attic-lamp { left:51.6%; top:49%; width:4.6%; height:10%; }
.attic-stars { left:33.3%; top:26%; width:11.6%; height:24.5%; border-radius:0; }
.kitchen-hall { left:1%; top:31%; width:8%; height:32%; }
.terrace-attic { left:91%; top:22%; width:8%; height:35%; }
.terrace-attic > span { left:0; transform:translate(-65%,-50%); }
.terrace-lamp { left:80%; top:45%; width:13%; height:40%; }
/* Re-register each live porch layer against the new close-up. */
.story-enter { left:37.9%; top:34.6%; width:12.3%; height:38.4%; }
.porch-knocker { left:42.2%; top:44.5%; width:3.8%; height:8.5%; }
.porch-lantern { left:57.3%; top:36.6%; width:3.8%; height:16.1%; }
.porch-door-reveal { left:37.9%; top:34.6%; width:12.3%; height:38.4%; border-radius:50% 50% 0 0 / 26% 26% 0 0; }
.porch-door-hinge { transform-origin:37.9% 54%; }
.porch-door-leaf { clip-path:polygon(37.9% 73%,37.9% 43.5%,38.9% 39%,40.9% 35.8%,42.5% 34.6%,44.9% 35.7%,47.5% 39.3%,49.3% 44%,50.2% 51%,50.2% 73%); }
.flowers-left { clip-path:polygon(22% 57%,27% 51%,33% 53%,35% 61%,34% 67%,28% 74%,22% 72%); transform-origin:28% 74%; }
.flowers-right { clip-path:polygon(58% 66%,60% 64%,65% 64%,67% 67%,67% 71%,63% 73%,59% 70%); transform-origin:62% 73%; }
.water-left { left:23%; top:54%; width:13%; height:18%; }
.water-right { left:58.2%; top:64.2%; width:9%; height:10.3%; }
.porch-can { left:62%; top:77%; width:8%; }
@media(max-width:1100px) { .story-chapters { gap:15px; } }
@media(max-width:760px),(max-aspect-ratio:4/5) {
  .hero.story.story-enhanced { height:580svh; }
  .story-footer { gap:0; }
  .story-chapters { gap:14px; }
  .story-location { font-size:.875rem; margin-bottom:6px; }
  .room-entry > span,.object-entry > span { font-size:.875rem; }
  .hall-lounge-entry > span,.hall-kitchen-entry > span { top:80%; }
  .hall-game-entry > span { top:55%; }
  .hall-attic-entry > span { top:100%; }
  .hall-porch-entry { left:1%; top:79%; height:12%; }
  .hall-porch-entry > span { left:0; transform:translate(0,-50%); }
  .story-matches { left:26%; top:38%; width:9%; min-width:32px; min-height:32px; }
  .porch-can { width:11%; top:75%; left:65%; }
  .porch-lantern > span,.porch-can > span { font-size:.875rem; }
  .attic-terrace { top:0; }
  .attic-terrace > span { left:0; transform:translate(-50%,-50%); font-size:.875rem; }
  .kitchen-hall > span,.lounge-hall > span { left:0; transform:translate(0,-50%); }
  .story[data-current="8"] .story-actions,.story[data-current="9"] .story-actions { bottom:126px; }
}
@media(prefers-reduced-motion:reduce) { .story[data-current="4"] .fire-frame { animation:none!important; } }
