/* Only the new hallway. All targets follow the complete, uncropped image. */
#hallway{padding:0;min-height:0;background:#07131f}
#hallway .hallway-stage{position:relative;width:100%;line-height:0;isolation:isolate}
#hallway .hallway-stage>img{display:block;width:100%;height:auto;aspect-ratio:1660/947;object-fit:contain}
/* Only the door leaf is corrected. The original hallway remains the base. */
#hallway .hallway-door-patch{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;user-select:none}
#hallway .hallway-exit,#hallway .hallway-exit:hover,#hallway .hallway-exit:active,#hallway .hallway-exit:focus,#hallway .hallway-exit:focus-visible{position:absolute;appearance:none;-webkit-appearance:none;min-width:44px;min-height:44px;padding:0;margin:0;border:0;border-radius:0;outline:0;background:transparent;box-shadow:none;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#hallway .hallway-exit::before,#hallway .hallway-exit::after{content:none;display:none}
#hallway .hallway-front-door{left:29.25%;top:23.34%;width:12%;height:34.95%}
#hallway .hallway-kitchen{left:7.8%;top:6.5%;width:10.8%;height:65%;clip-path:polygon(0 0,100% 10%,100% 100%,0 100%)}
#hallway .hallway-stairs{left:45.8%;top:18.8%;width:10.5%;height:61%;clip-path:polygon(28% 0,100% 0,100% 100%,25% 100%,5% 67%,0 17%)}

/* Compact paper destination choice, shown only after opening the hallway door. */
#hallwayDestination{width:310px;max-width:calc(100vw - 32px);padding:24px;border:0;border-top:5px solid var(--red);background:var(--paper);color:var(--ink);box-shadow:var(--shadow)}
#hallwayDestination::backdrop{background:#07131f55}
#hallwayDestination h2{margin:0 24px 18px 0;font:700 1rem 'DM Mono',monospace;letter-spacing:.08em}
#hallwayDestination button{cursor:pointer;touch-action:manipulation}
#hallwayDestination [data-hallway-destination]{display:block;width:100%;min-height:48px;margin-top:10px;padding:12px 8px;border:1px solid #88754f;background:#fff8df;color:var(--ink);font:700 .85rem 'DM Mono',monospace}
#hallwayDestination [data-hallway-destination]:hover{background:#ecddb6}
#hallwayDestination button:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
#hallwayDestinationClose{position:absolute;right:10px;top:8px;width:36px;height:36px;padding:0;border:0;background:transparent;color:var(--ink);font-size:1.5rem}
