#room{max-width:1500px;padding:18px 22px 8px}.room-board{display:flex;margin:auto;width:fit-content;max-width:100%;border:3px solid #ee78af;border-radius:18px;overflow:hidden;background:#e44394;box-shadow:inset 0 0 0 2px white,0 7px 22px #ad22623b}.room-world{width:min(calc(100vw - 150px),calc((100svh - 165px)*1.333333));min-width:0}.room-world .room-scene{max-width:none;margin:0;position:relative;isolation:isolate;cursor:crosshair;outline:none}.room-world .room-background{width:100%;display:block;border-radius:0;user-select:none;pointer-events:none}.room-scene:focus-visible{outline:3px solid #ffd7ef;outline-offset:-3px}.room-menu{width:82px;flex:0 0 82px;display:flex;flex-direction:column;justify-content:space-evenly;gap:12px;padding:15px 7px;background:linear-gradient(100deg,#f54a9b,#c82277);border-right:2px solid #ffb3d6;box-shadow:inset 0 0 0 2px #ffffff4d}.room-menu button{background:none;border:0;color:#fff;font-size:12px;font-weight:600;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 0;border-radius:12px}.room-menu button:hover,.room-menu button:focus-visible{background:#ffbbe944;transform:translateY(-2px)}.room-menu span{font-size:36px;line-height:1}.room-menu small{font-size:10px;font-weight:500;opacity:.9}.room-menu svg{width:35px;height:45px}.object-hotspot{position:absolute;border:0;background:transparent;cursor:pointer;border-radius:18px;z-index:90;transition:box-shadow .2s}.object-hotspot span{position:absolute;left:50%;top:-30px;transform:translateX(-50%);padding:7px 14px;color:#bf206c;background:#fff2fb;border:1px solid #ed6ca7;border-radius:20px;white-space:nowrap;opacity:0;transition:opacity .2s,top .2s;box-shadow:0 3px 10px #70334f33;font-size:13px}.object-hotspot:hover span,.object-hotspot:focus-visible span{opacity:1;top:-38px}.object-hotspot:hover{box-shadow:inset 0 0 14px #fff3,0 0 15px #fff2}.booth-object{left:80.2%;top:8.8%;width:19.4%;height:46.5%}.computer-object{left:2%;top:28%;width:20%;height:20%}.phone-object{left:70.7%;top:47.6%;width:4.6%;height:8%}.camera-object{left:62.8%;top:50%;width:5.3%;height:5.5%}.phone-object:after{content:'';position:absolute;inset:0;border-radius:15px;animation:phone-idle 8s infinite;pointer-events:none}.booth-glow{position:absolute;pointer-events:none;left:82%;top:10.5%;width:14.5%;height:6%;border-radius:35px;background:#fff7fc0a;box-shadow:0 0 25px 8px #ffdeee30;animation:lamp-on 4s ease-in-out infinite}.room-avatar{position:absolute;left:51%;top:83%;width:13%;height:37%;pointer-events:none;transform:translate(-50%,-100%) scale(var(--avatar-scale,1));transform-origin:center bottom;will-change:left,top;user-select:none}.room-avatar>img{position:relative;width:100%;height:100%;object-fit:contain;object-position:center bottom;display:block;transform-origin:center bottom;filter:drop-shadow(2px 2px 2px #8b476a20)}.avatar-shadow{position:absolute;bottom:-.5%;left:20%;width:60%;height:4%;background:#5b364f40;border-radius:50%;filter:blur(3px)}.room-avatar.walking>img{animation:walk-bob .38s infinite ease-in-out}.room-avatar.walking .avatar-shadow{animation:walk-shadow .38s infinite ease-in-out}#walkMarker{position:absolute;width:22px;height:10px;border:2px solid #fff2fa;border-radius:50%;box-shadow:0 0 0 2px #d92e8a88;transform:translate(-50%,-50%);opacity:0;pointer-events:none;z-index:2}#walkMarker.visible{opacity:.75;animation:destination 1s infinite}.room-note{margin:8px 0 0;line-height:1.8;font-size:12px}.camera-controls{flex-wrap:wrap}#mirrorCamera[aria-pressed=true]{background:#ffd6ec;border-color:#e561a1;color:#b42e72}#cameraVideo{transform:scaleX(-1)}@keyframes walk-bob{0%,100%{transform:translateY(0) rotate(-1.2deg)}50%{transform:translateY(-2%) rotate(1.2deg)}}@keyframes walk-shadow{50%{transform:scale(.87);opacity:.7}}@keyframes destination{50%{transform:translate(-50%,-50%) scale(1.25);opacity:.4}}@keyframes lamp-on{50%{box-shadow:0 0 30px 10px #ffdeee50}}@keyframes phone-idle{0%,82%,100%{box-shadow:0 0 0 transparent;transform:rotate(0)}84%,88%{box-shadow:0 0 12px #ffe7fc77;transform:rotate(-4deg)}86%,90%{transform:rotate(4deg)}}
@media(max-width:760px){#room{padding:16px 8px}.room-world{width:calc(100vw - 74px)}.room-menu{flex-basis:47px;width:47px;padding:10px 2px;gap:6px}.room-menu button{font-size:8px;gap:4px}.room-menu span{font-size:24px}.room-menu small{font-size:8px}.room-menu svg{width:23px;height:32px}.room-board{border-radius:13px;border-width:2px}.object-hotspot span{font-size:10px;padding:5px 9px}.room-note{font-size:10px;padding:0 8px}.room-avatar{width:14%;height:38%}.room-world .room-scene{border-radius:0}.booth-glow{box-shadow:0 0 15px 5px #ffdeee44}.topbar:has(.back[hidden]){grid-template-columns:1fr}.topbar:has(.back[hidden]) .logo{justify-self:center}}
@media(prefers-reduced-motion:reduce){.room-avatar.walking>img,.room-avatar.walking .avatar-shadow,.booth-glow,.phone-object:after,#walkMarker.visible{animation:none!important}}
/* Match the sprite's transparent portrait canvas to its display box. */
.room-avatar{width:18.5%}
@media(max-width:760px){.room-avatar{width:19%}}
