.r5-stage{background:linear-gradient(#ede9de 0 67%,#c3aa86 67%);position:relative;overflow:hidden}
.r5-door-art{position:absolute;left:43%;top:4%;width:14%;height:57%;background:#ae9477;border:6px solid #78614c;box-shadow:inset 0 0 0 2px #c4ab8c}
.r5-table-art{position:absolute;left:29%;top:60%;width:47%;height:24%;background:#987249;transform:skewX(-12deg);border:5px solid #785539;border-radius:14px;box-shadow:0 18px 0 -7px #67482f}
.r5-mirror-art{position:absolute;left:8%;top:26%;width:16%;height:43%;color:#697779;background:#dce6df;border-radius:45% 45% 4px 4px;transform-origin:center}
.r5-mirror-art svg{width:100%;height:100%}.r5-mirror-art.is-collected{visibility:hidden}
.r5-mirror-art.is-transforming{animation:r5-shrink .65s ease-in forwards}
@keyframes r5-shrink{30%{box-shadow:0 0 0 15px #fff8;filter:brightness(1.5)}100%{transform:scale(.15);opacity:0}}
.r5-door{left:43%;top:4%;width:14%;height:57%}.r5-table{left:29%;top:60%;width:47%;height:24%}.r5-mirror{left:6%;top:24%;width:20%;height:47%}
.r5-board-ui,.r5-inspect{position:relative;width:min(560px,100%);max-height:486px;overflow:auto;background:#f8f6ef;border:1px solid #aab4aa;border-radius:14px;padding:24px 16px;color:#333;box-sizing:border-box}
.r5-board-ui h2,.r5-inspect h2{font-size:22px;margin:0 44px 12px 0}.r5-board-ui>p{font-size:14px;line-height:1.5;margin:8px 0 14px}.r5-frames{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.r5-frame{position:relative;min-width:0;aspect-ratio:1/1.15;padding:8px;border:2px dashed #929a8e;border-radius:8px;background:#f0eee4;color:#7b8478;touch-action:manipulation}
.r5-frame svg{width:100%;height:100%}.r5-frame.is-filled{border-style:solid;border-color:#718779;background:#e6eee3;opacity:1;color:#485e4e}.r5-placed{position:absolute;inset:12px;background:#faf8edb0;border-radius:8px;color:#273e32}.r5-frame:focus-visible,.r5-tile:focus-visible{outline:3px solid #30739c;outline-offset:2px}
.r5-tray{margin-top:12px;min-height:100px;border-top:1px solid #ccd0c5;padding-top:12px}.r5-tray>p{font-size:14px;color:#626b60}.r5-tile{display:flex;align-items:center;gap:12px;max-width:100%;padding:8px 16px;border:2px solid #8e9d8a;border-radius:8px;background:#fffef6;color:#364b3e;touch-action:none;font-size:15px}.r5-tile svg{width:70px;height:70px}.r5-tile[aria-pressed=true],.r5-tile.is-dragging{border-color:#2e739b;background:#e8f4fb;box-shadow:0 0 0 2px #2e739b}.r5-feedback{min-height:2.8em;color:#385646}
.r5-reflection{position:relative;width:150px;height:200px;margin:16px auto;color:#71817b}.r5-reflection svg{width:100%;height:100%}.r5-reflection i{position:absolute;left:38%;top:31%;width:25%;height:23%;border-radius:50%;background:white;filter:blur(5px)}.r5-touch{display:block;margin:auto;min-height:48px;padding:12px 24px;border:1px solid #7f967c;border-radius:8px;background:#e8eee3;font-size:16px}
@container game-viewport (max-width:480px){.r5-board-overlay,.r5-inspect-overlay{padding:10px}.r5-board-ui{padding:20px 12px}.r5-frames{gap:6px}.r5-frame{padding:4px}.r5-placed{inset:7px}.r5-board-ui>p{font-size:13px}.r5-stage .object span{font-size:12px}.r5-mirror{min-width:64px}}
@media(prefers-reduced-motion:reduce){.r5-mirror-art.is-transforming{animation:none;opacity:0}}

.room-five #r5Count{white-space:nowrap}


/* Fifth room: four directions in one 1672x941 coordinate plane. Original images
   are kept separate so that collected objects can disappear independently. */
.r5-full{padding:0!important;min-height:100%;background:#f6f2e9;overflow:hidden}
.r5-room-wrap{width:min(100%,1280px);margin:0 auto;position:relative}
.r5-living-scene{position:relative;width:100%;aspect-ratio:1672/941;overflow:hidden;background:linear-gradient(#fffaf2 0 68%,#d2a873 68%,#9b724b);isolation:isolate}
.r5-living-wall{position:absolute;inset:0;background-position:center;background-size:100% 100%;background-repeat:no-repeat;visibility:hidden;pointer-events:none}
.r5-living-scene[data-view="front"] .r5-wall-front{visibility:visible;background-image:url("images/background/room05/front.webp")}
.r5-living-scene[data-view="left"] .r5-wall-left{visibility:visible;background-image:url("images/background/room05/left-window.webp")}
.r5-living-scene[data-view="right"][data-fridge="closed"] .r5-wall-right{visibility:visible;background-image:url("images/background/room05/right-kitchen-closed.webp")}
.r5-living-scene[data-view="right"][data-fridge="upper-open"] .r5-wall-right{visibility:visible;background-image:url("images/background/room05/right-kitchen-upper-open.webp")}
.r5-living-scene[data-view="right"][data-fridge="lower-open"] .r5-wall-right{visibility:visible;background-image:url("images/background/room05/right-kitchen-lower-open.webp")}
.r5-living-scene[data-view="right"][data-fridge="both-open"] .r5-wall-right{visibility:visible;background-image:url("images/background/room05/right-kitchen-both-open.webp")}
.r5-living-scene[data-view="back"] .r5-wall-back{visibility:visible;background-image:url("images/background/room05/back.webp")}
.r5-room-door,.r5-room-shelf,.r5-room-fridge,.r5-room-tv{position:absolute;pointer-events:none;visibility:hidden}
.r5-room-door{left:40%;top:13%;width:20%;height:55%;background:#8a532e;border:4px solid #694124;box-shadow:inset 0 0 0 8px #b67c43}
.r5-room-shelf{left:4%;top:57%;width:26%;height:14%;background:#c79a69;border:3px solid #a87a48}
.r5-room-fridge{left:15%;top:12%;width:15%;height:56%;background:linear-gradient(90deg,#dde0dd,#fff 30%,#e3e4df);border:2px solid #989b96;border-radius:3px}
.r5-room-tv{left:34%;top:23%;width:33%;height:32%;background:#2d3439;border:8px solid #6b584d;box-shadow:0 38px 0 9px #b18a63}
.r5-living-scene[data-view="front"] .r5-room-door,.r5-living-scene[data-view="front"] .r5-room-shelf,.r5-living-scene[data-view="right"] .r5-room-fridge,.r5-living-scene[data-view="back"] .r5-room-tv{visibility:visible}
.r5-living-scene[data-view="front"]:has(.r5-wall-front[style*="not-in-use"]) .r5-room-door{visibility:visible}
.r5-decor{position:absolute;pointer-events:none;background-repeat:no-repeat;background-size:contain;background-position:center;visibility:hidden}
.r5-decor.is-gone{display:none}
.r5-decor-mirror{left:6%;top:30%;width:29%;height:42%;background-image:url("images/background/room05/overlays/mirror.webp")}
.r5-decor-dining{inset:0}
.r5-furniture{position:absolute;background-repeat:no-repeat;background-position:center;background-size:100% 100%}
.r5-furniture.is-gone{display:none}
.r5-chair-left,.r5-chair-right{top:16.3%;width:39.3%;height:73.7%;background-image:url("images/background/room05/overlays/dining-chair-v2.png")}
.r5-chair-left{left:-3.3%}
.r5-chair-right{right:-3.3%;transform:scaleX(-1)}
.r5-dining-table{left:11.4%;top:12.8%;width:76.7%;height:86.2%;background-image:url("images/background/room05/overlays/dining-table-v2.png")}
.r5-decor-planter{left:3%;top:6%;width:24%;height:54%;background-image:url("images/background/room05/overlays/planter-flowers-blue-butterfly.webp")}
.r5-decor-planter.is-empty{background-image:url("images/background/room05/overlays/planter-empty.webp")}
.r5-decor-planter.is-butterfly-gone{background-image:url("images/background/room05/overlays/planter-flowers-only.webp")}
.r5-decor-planter.is-flower-gone{background-image:url("images/background/room05/overlays/planter-butterfly-only.webp")}
.r5-decor-fish{left:15%;top:19%;width:17%;height:13%;background-image:url("images/background/room05/overlays/fish.webp")}
.r5-decor-squid{left:15%;top:51%;width:17%;height:13%;background-image:url("images/background/room05/overlays/frozen-squid.webp")}
.r5-decor-cannon{left:29%;top:39%;width:9%;height:12%;background-image:url("images/background/room05/overlays/cannon.webp")}
.r5-living-scene[data-view="front"] .r5-decor-mirror,.r5-living-scene[data-view="left"] .r5-decor-dining,.r5-living-scene[data-view="left"] .r5-decor-planter,.r5-living-scene[data-view="back"] .r5-decor-cannon{visibility:visible}
.r5-living-scene[data-view="right"][data-fridge="upper-open"] .r5-decor-fish,.r5-living-scene[data-view="right"][data-fridge="both-open"] .r5-decor-fish{visibility:visible}
.r5-living-scene[data-view="right"][data-fridge="lower-open"] .r5-decor-squid,.r5-living-scene[data-view="right"][data-fridge="both-open"] .r5-decor-squid{visibility:visible}
.r5-scene-target{position:absolute;z-index:5;border:0;padding:0;background:transparent;cursor:pointer;visibility:hidden;touch-action:manipulation}
.r5-scene-target:not(:disabled):focus-visible{outline:3px solid #3f89bd;outline-offset:2px;background:#fff3}
.r5-scene-target.is-gone{display:none}
.r5-target-door{left:40%;top:13%;width:21%;height:56%}
.r5-target-board{left:35%;top:72%;width:29%;height:20%;background:linear-gradient(165deg,#eee5ce,#d4af76);border:5px solid #93663a;border-radius:5px;transform:perspective(350px) rotateX(28deg)}
.r5-board-rabbit{display:grid;place-items:center;width:100%;height:100%;color:#5e543f;font-size:clamp(14px,28.8px,35px)}
.r5-target-mirror{left:7%;top:36%;width:24%;height:34%}
.r5-target-chair{left:18%;top:46%;width:17%;height:43%}
.r5-target-flower{left:5%;top:23%;width:17%;height:30%}
.r5-target-butterfly{left:10%;top:14%;width:10%;height:25%}
.r5-target-fridge-upper{left:15%;top:12%;width:17%;height:29%}
.r5-target-fridge-lower{left:15%;top:41%;width:17%;height:29%}
.r5-target-fish{left:15%;top:18%;width:19%;height:18%}
.r5-target-squid{left:15%;top:49%;width:19%;height:18%}
.r5-target-cannon{left:27%;top:38%;width:13%;height:18%}
.r5-target-keypad{left:50.8%;top:31.5%;width:6%;height:13%;z-index:6}
.r5-target-rabbit{left:43%;top:74%;width:14%;height:14%}
.r5-target-next{left:40%;top:13%;width:21%;height:56%}
.r5-living-scene[data-view="front"] .r5-target-door,.r5-living-scene[data-view="front"] .r5-target-board,.r5-living-scene[data-view="front"] .r5-target-mirror,.r5-living-scene[data-view="front"] .r5-target-keypad,.r5-living-scene[data-view="front"] .r5-target-rabbit,.r5-living-scene[data-view="front"] .r5-target-next{visibility:visible}
.r5-living-scene[data-view="left"] .r5-target-chair,.r5-living-scene[data-view="left"] .r5-target-flower,.r5-living-scene[data-view="left"] .r5-target-butterfly{visibility:visible}
.r5-living-scene[data-view="right"] .r5-target-fridge-upper,.r5-living-scene[data-view="right"] .r5-target-fridge-lower{visibility:visible}
.r5-living-scene[data-view="right"][data-fridge="upper-open"] .r5-target-fish,.r5-living-scene[data-view="right"][data-fridge="both-open"] .r5-target-fish,.r5-living-scene[data-view="right"][data-fridge="lower-open"] .r5-target-squid,.r5-living-scene[data-view="right"][data-fridge="both-open"] .r5-target-squid{visibility:visible}
.r5-living-scene[data-view="back"] .r5-target-cannon{visibility:visible}
.r5-living-scene[data-view="right"] .r5-target-fridge-upper,.r5-living-scene[data-view="right"] .r5-target-fridge-lower{z-index:4}
.r5-living-scene[data-view="right"] .r5-target-fish,.r5-living-scene[data-view="right"] .r5-target-squid{z-index:6}
/* Open doors are clicked on their swung-out surface, clear of the food. */
.r5-living-scene[data-view="right"][data-fridge="upper-open"] .r5-target-fridge-upper,
.r5-living-scene[data-view="right"][data-fridge="both-open"] .r5-target-fridge-upper,
.r5-living-scene[data-view="right"][data-fridge="lower-open"] .r5-target-fridge-lower,
.r5-living-scene[data-view="right"][data-fridge="both-open"] .r5-target-fridge-lower{left:34%;width:9%}
.r5-direction-nav{display:flex;justify-content:space-between;position:absolute;inset:0;pointer-events:none}
.r5-direction-nav button{pointer-events:auto;align-self:center;width:clamp(34px,38.4px,52px);height:clamp(40px,57.6px,65px);border:1px solid #887b63aa;background:#fff9;color:#5b544b;font-size:21px;cursor:pointer}
.r5-direction-nav button:hover{background:#fff}
.r5-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.r5-full .r5-room-wrap{padding:0}
@container game-viewport (min-aspect-ratio: 1/1) and (max-height:480px){
 .r5-room-wrap{width:min(100%,calc((540px - 48px) * 1672 / 941))}
 .r5-direction-nav button{width:35px;height:40px}
}


/* Counter art / collectible-panel presentation: labels remain available to AT. */
.r5-board-panel{box-sizing:border-box;width:min(850px,921.6px);max-height:486px;overflow-y:auto}
.r5-board-panel .r5-counter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(5px,9.6px,12px);margin:10px 0 12px}
.r5-board-panel .r5-counter-slot{position:relative;aspect-ratio:1/1;min-height:0;min-width:0;overflow:hidden;display:grid;place-items:center;padding:clamp(4px,9.6px,10px);border:3px solid #88684b;background:#fffcf2;border-radius:7px;box-shadow:inset 0 0 0 3px #ddc4a4}
.r5-board-panel .r5-counter-slot>svg{display:block;width:75%;height:75%;stroke:#756550}
.r5-board-panel .r5-counter-slot.filled{border-color:#a88443;background:#fffae9;box-shadow:0 0 12px #ebd28b}
.r5-board-panel .r5-fixed-rabbit,.r5-board-panel .r5-picture-placed{position:absolute;inset:5%;display:grid;place-items:center;background:#fffcf08c}
.r5-board-panel .r5-fixed-rabbit svg{width:70%;height:70%;stroke:#75604c}
.r5-board-panel .r5-item-picture{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.r5-board-panel .r5-art-fallback{display:block;width:82%;height:82%}
.r5-board-panel .r5-art-fallback svg{width:100%;height:100%;stroke:#67513a}
.r5-board-panel .r5-inventory{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.r5-board-panel .r5-inventory-tile{position:relative;display:grid;place-items:center;width:clamp(55px,96px,90px);height:clamp(55px,96px,90px);min-width:0;min-height:0;padding:5px;border:2px solid #af916c;border-radius:4px;background:#f9f5e9}
.r5-board-panel .r5-inventory-tile.selected{outline:3px solid #8b7651;background:#eee2cc}
.r5-board-panel .r5-inventory-tile .r5-art-fallback{width:78%;height:78%}
.r5-board-panel .r5-board-feedback{min-height:1.4em;font-size:13px;text-align:center;margin:6px}
.r5-board-panel>h2{margin:0;text-align:center;font-size:18px}
.r5-board-panel>h3{font-size:13px;margin:6px 0}
.r5-board-panel .r5-problem{padding:5px 8px;margin:5px 0;font-size:12px;font-weight:400}
.r5-living-scene.has-r5-background .r5-room-door,.r5-living-scene.has-r5-background .r5-room-shelf,.r5-living-scene.has-r5-background .r5-room-fridge,.r5-living-scene.has-r5-background .r5-room-tv{display:none}
@container game-viewport (min-aspect-ratio: 1/1) and (max-height:480px){
 .r5-board-panel{padding:6px 14px;max-height:486px}
 .r5-board-panel .r5-counter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .r5-board-panel .r5-counter-slot{width:min(81px,100%);min-width:0;justify-self:center;padding:2px;border-width:2px}
 .r5-board-panel .r5-inventory-tile{width:clamp(32px,64.8px,60px);height:clamp(32px,64.8px,60px)}
 .r5-board-panel .r5-inventory{gap:4px}
 .r5-board-panel>h2,.r5-board-panel>h3{font-size:11px}
 .r5-board-panel .r5-problem{padding:2px;font-size:10px;margin:3px}
 .r5-board-panel .r5-counter-grid{margin:4px 0}
}


/* Calibrated against the actual four-view contact preview. */
.r5-decor-mirror{left:14.7%;top:44.6%;width:9%;height:18%}
.r5-target-mirror{left:13%;top:41.6%;width:13%;height:23%}
.r5-decor-planter{left:7.5%;top:12%;width:13%;height:31%}
.r5-target-butterfly{left:12.5%;top:19%;width:9%;height:16%}
.r5-target-flower{left:7.5%;top:27%;width:14%;height:16%}
.r5-board-panel .r5-art-fallback[hidden]{display:none!important}


/* Reuse the existing Hana idle artwork rather than replacing her design. */
#game .late-room #r5Hana{left:73%;top:29%;bottom:auto;width:18%;height:63%;background:url("images/characters/hana-hires/idle/01.webp") center bottom/contain no-repeat;image-rendering:pixelated;z-index:7;pointer-events:auto}
.r5-living-scene[data-view="front"] .r5-target-hana{visibility:visible}
@container game-viewport (min-aspect-ratio: 1/1) and (max-height:480px){#game .late-room #r5Hana{left:76%;width:15%;top:33%;height:59%}}

/* Approved room-scale furniture and wall-mounted puzzle, 2026-10-14. */
.r5-decor-dining{inset:auto;left:16%;top:24%;width:68%;height:68%;background-size:100% 100%}
.r5-target-chair{left:19%;top:38%;width:17%;height:48%}
.r5-decor-cannon{left:32%;top:37.8%;width:6%;height:9%}
.r5-target-cannon{left:32%;top:37%;width:8%;height:12%}
.r5-target-board{left:5%;top:14%;width:27%;height:28%;box-sizing:border-box;transform:none;border:4px solid #93663a;border-radius:3px;background:#cba56e;padding:4px;box-shadow:0 3px 5px #573e3333}
.r5-board-wall-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:3px;width:100%;height:100%}
.r5-board-wall-grid>span{display:grid;place-items:center;min-width:0;min-height:0;border:2px solid #9b7950;background:#f9f5e8;color:#66513c}
.r5-board-wall-grid svg{width:80%;height:80%}
/* Mirror the seven actual fitted panels on the in-room wall board. */
.r5-board-wall-grid>.r5-wall-tile.is-placed{background:#fff1cb;border-color:#b28c4b;box-shadow:inset 0 0 0 1px #f0d8a5}
.r5-board-wall-grid>.r5-wall-tile img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:pixelated;pointer-events:none}
.r5-board-wall-grid.is-complete>.r5-wall-tile{box-shadow:inset 0 0 0 1px #e6ce89,0 0 6px #e5cb8d77}

.r5-target-rabbit{left:6%;top:15%;width:6%;height:12%}
#game .device-overlay.r5-board-overlay{box-sizing:border-box;height:100%;padding:48px 3% 12px;grid-template-rows:minmax(0,1fr);align-items:center}
#game .r5-board-overlay .r5-board-panel{box-sizing:border-box;width:min(680px,100%);max-width:100%;max-height:100%;min-height:0;margin:0;overflow:auto;padding:12px 16px}
#game .r5-board-panel>.device-close{position:absolute;top:8px;right:8px}
#game .r5-board-panel>h2{padding:0 44px;margin:0 0 6px}
@container game-viewport (min-aspect-ratio: 1/1) and (max-height:480px){
 #game .device-overlay.r5-board-overlay{padding:44px 3% 8px}
 #game .r5-board-overlay .r5-board-panel{padding:8px 12px}
 .r5-board-panel .r5-counter-slot{width:min(64.8px,100%)}
 .r5-board-panel .r5-inventory-tile{width:59.4px;height:59.4px;min-width:36px;min-height:36px}
}

/* Room 5 provisional combined illustrations: childlike crayon doodles in the
   confirmed 4 x 2 wooden sockets. Keep the source picture intact, and reveal
   each combined motif only when its correct collectible is placed. */
#game .r5-board-panel .r5-doodle-board{
  position:relative;width:min(100%,640px);aspect-ratio:320/152;
  background:#b7733d url("images/background/room05/crayon-board-preview.webp") center/100% 100% no-repeat;
  margin:8px auto 10px;overflow:hidden;
}
#game .r5-board-panel .r5-doodle-board .r5-counter-grid{
  position:absolute;inset:0;width:100%;height:100%;
  display:block;padding:0;margin:0;overflow:visible;
}
#game .r5-board-panel .r5-doodle-board .r5-counter-slot{
  position:absolute;left:var(--slot-x);top:var(--slot-y);
  transform:translate(-50%,-50%);
  display:grid;place-items:center;width:20.2%;height:auto;aspect-ratio:1;
  box-sizing:border-box;border:7px solid #c18b57;border-radius:50%;padding:0;min-width:0;min-height:0;
  background:#724126;box-shadow:inset 0 0 0 3px #a66c40,inset 0 0 10px 6px #3b2517;
  color:#d7a272;cursor:pointer;
}
#game .r5-board-panel .r5-doodle-board .r5-counter-slot svg{
  display:block;width:52%;height:52%;stroke:currentColor;
}
#game .r5-board-panel .r5-doodle-board .r5-counter-slot.fixed,
#game .r5-board-panel .r5-doodle-board .r5-counter-slot.filled{
  background:transparent;border:0;box-shadow:none;cursor:default;
}
#game .r5-board-panel .r5-doodle-board .r5-counter-slot.available:hover,
#game .r5-board-panel .r5-doodle-board .r5-counter-slot.available:focus-visible{
  outline:3px solid #ffe3a0;outline-offset:2px;background:#875435;
}
#game .r5-board-wall-grid.is-complete{
  background:#b7733d url("images/background/room05/crayon-board-preview.webp") center/100% 100% no-repeat;
}
#game .r5-board-wall-grid.is-complete>span{visibility:hidden}

/* The approved front artwork contains a keypad on the wall. Hide that baked-in
   keypad with a neighboring sample of the same wall, and show the artwork's
   own keypad on the door only after the board has produced its four digits. */
.r5-wall-keypad-cover,.r5-door-keypad-art{position:absolute;pointer-events:none;visibility:hidden;background-image:url("images/background/room05/front.webp");background-repeat:no-repeat}
.r5-wall-keypad-cover{
 left:61.4%;top:32.9%;width:3.9%;height:10.2%;z-index:2;
 background-size:2564.1026% 980.3922%;background-position:68.46% 36.69%;
}
.r5-door-keypad-art{
 left:52.2%;top:34.2%;width:3%;height:8%;z-index:4;
 background-size:3333.3333% 1250%;background-position:63.50% 36.60%;
 clip-path:inset(1% 1% 1% 1% round 4%);
}
.r5-living-scene[data-view="front"] .r5-wall-keypad-cover,
.r5-living-scene[data-view="front"] .r5-door-keypad-art{visibility:visible}

/* After the code appears, return to the room and connect the board to the
   door visually; the same caption text remains available to assistive tech. */
.r5-door-reveal{position:absolute;inset:0;z-index:12;pointer-events:none}
.r5-door-reveal-light{position:absolute;inset:0;width:100%;height:100%;opacity:0;overflow:visible}
.r5-door-reveal-light path{fill:none;stroke:#fff3b0;stroke-width:8;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;filter:drop-shadow(0 0 9px #ffe4a0)}
.r5-door-reveal-caption{
 position:absolute;left:13%;right:13%;bottom:3%;padding:10px 18px;
 border:1px solid #b99a6b;border-radius:5px;background:#201a17eF;
 color:#fff5dc;text-align:center;font-size:16px;line-height:1.5;
}
.r5-door-reveal-caption p{margin:0}
.r5-door-reveal-caption b{margin-right:12px;color:#f7d9a4}
.is-r5-reveal-waiting .r5-door-keypad-art{opacity:0}
.is-r5-revealing .r5-door-reveal-light{opacity:1}
.is-r5-revealing .r5-door-reveal-light path{animation:r5-light-to-door 1.3s ease-out both}
.is-r5-revealing .r5-door-keypad-art{animation:r5-keypad-appear 1.2s .8s ease-out both}
@keyframes r5-light-to-door{to{stroke-dashoffset:0}}
@keyframes r5-keypad-appear{from{opacity:0;filter:brightness(2.2) drop-shadow(0 0 12px #fff0a6)}to{opacity:1;filter:none}}
@media(prefers-reduced-motion:reduce){
 .is-r5-revealing .r5-door-reveal-light path{animation:none;stroke-dashoffset:0}
 .is-r5-revealing .r5-door-keypad-art{animation:none;opacity:1;filter:none}
}

.r5-chair-left,.r5-chair-right{z-index:1}
.r5-dining-table{z-index:2}
