/* V187: warm/cool room atmosphere, no baked-in furniture, no payment or progression changes. */
.olu177-room[data-olu183-room] .olu177-bare{transition:filter .65s ease}
.olu177-room[data-olu183-room].olu177-day .olu177-bare{filter:brightness(1.13) saturate(1.11) sepia(.075)}
.olu177-room[data-olu183-room].olu177-day .olu177-canvas:before{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:radial-gradient(ellipse at 24% 32%,#ffda8861,transparent 62%),linear-gradient(110deg,#ffcd7019,transparent 72%);mix-blend-mode:screen;opacity:.73}
.olu177-room[data-olu183-room] .olu177-mode[aria-pressed="true"]{background:#805c39;border-color:#ffdd9d;color:#fff6df}
.olu177-room[data-olu183-room] .olu177-layer{filter:drop-shadow(0 8px 7px #0b0712a1) saturate(1.10) contrast(1.06)}
.olu177-room[data-olu183-room].olu177-day .olu177-layer{filter:drop-shadow(0 7px 6px #311b28a8) saturate(1.13) brightness(1.04)}
.olu177-room[data-olu183-room] .olu177-layer.is-on{animation:olu187LayerWake .7s ease both}
@keyframes olu187LayerWake{0%{opacity:0}60%{opacity:.86}100%{opacity:1}}
@media(prefers-reduced-motion:reduce){.olu177-room[data-olu183-room] .olu177-layer.is-on{animation:none}.olu177-room[data-olu183-room] .olu177-bare{transition:none}}
/* One custom treasure may occupy each of the four existing frame openings. */
.olu187-gallery-photo{position:absolute;z-index:4;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid #f2dcad8f;border-radius:1px;background:#22182d;color:#f5e3c2;box-shadow:0 0 4px #e9c28b72,inset 0 0 3px #21152e;cursor:pointer;overflow:hidden;touch-action:manipulation}
.olu187-gallery-photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;pointer-events:none}
.olu187-gallery-photo:focus-visible{outline:2px solid #fff3c8;outline-offset:2px}
.olu187-gallery-photo[data-slot="0"]{left:6.68%;top:28.9%;width:7.15%;height:7.95%}
.olu187-gallery-photo[data-slot="1"]{left:15.58%;top:28.9%;width:7.15%;height:7.95%}
.olu187-gallery-photo[data-slot="2"]{left:6.68%;top:39.28%;width:7.15%;height:7.95%}
.olu187-gallery-photo[data-slot="3"]{left:15.58%;top:39.28%;width:7.15%;height:7.95%}
.olu187-gallery-modal{border:1px solid #e7c28b;background:linear-gradient(145deg,#262039,#111727);color:#fcebd5;border-radius:17px;padding:19px;max-width:min(88vw,520px);max-height:85vh;box-shadow:0 20px 65px #000c}
.olu187-gallery-modal::backdrop{background:#070810d6}
.olu187-gallery-modal img{width:100%;max-height:54vh;object-fit:contain;border-radius:9px}
.olu187-gallery-modal h3{margin:.6rem 0 0;color:#ffe3b7;font:600 1.5rem Georgia,serif}
.olu187-gallery-modal p{font:14px/1.6 system-ui;color:#e3d6d2;white-space:pre-wrap;overflow-wrap:anywhere}
.olu187-gallery-modal button{margin-top:8px;padding:9px 14px;background:#5b4352;color:#fff0d9;border:1px solid #efd2a1;border-radius:9px;cursor:pointer}

/* V187 mobile-friendly treasure selectors. The original gallery frame stays in the room. */
.olu187-gallery-treasures[hidden]{display:none!important}
.olu187-gallery-treasures{margin:7px 2px 8px;padding:10px 12px;border:1px solid #b99b7659;border-radius:13px;background:#17192b7f}
.olu187-gallery-treasures h4{font:600 1.03rem Georgia,serif;color:#f8debb;margin:0 0 8px}
.olu187-gallery-treasures-strip{display:flex;align-items:stretch;gap:9px;overflow-x:auto;scroll-snap-type:x proximity;padding:1px 1px 7px}
.olu187-gallery-treasure-card{flex:0 0 103px;min-height:93px;scroll-snap-align:start;border:1px solid #dcc18b8a;background:linear-gradient(155deg,#332943,#151e2e);color:#fff0d8;border-radius:10px;padding:5px;display:flex;align-items:center;flex-direction:column;gap:5px;cursor:pointer}
.olu187-gallery-treasure-card img{width:57px;height:57px;max-width:100%;border:2px ridge #c9ac80;border-radius:4px;object-fit:cover;pointer-events:none}
.olu187-gallery-treasure-card span{font:600 11px/1.3 system-ui;text-align:center;max-width:98px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.olu187-gallery-treasure-card:focus-visible{outline:2px solid #ffe8bd;outline-offset:2px}
.olu177-mini .olu187-gallery-treasure-card{flex-basis:91px}
@media(max-width:480px){.olu187-gallery-treasures{padding:8px}.olu187-gallery-treasure-card{flex-basis:88px}}
