/* Interactive Family Home V2.9.3; preserves full image aspect ratio */
.interactive-frame{position:relative;width:100%;line-height:0;background:#f6f5f3}
.scene.v291 .interactive-frame img.room-photo{width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;display:block}
.room-hotspot{--x:50%;--y:50%;position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:clamp(38px,5vw,58px);height:clamp(38px,5vw,58px);display:grid;place-items:center;background:#ffffffec;border:3px solid #fff;border-radius:50%;box-shadow:0 4px 16px #153c6a72;cursor:pointer;font-size:clamp(18px,2.6vw,27px);line-height:1;transition:transform .15s ease,background .15s;z-index:2}
.room-hotspot:hover,.room-hotspot:focus-visible{transform:translate(-50%,-50%) scale(1.13);outline:3px solid #075fc3;outline-offset:3px}
.room-hotspot.completed{background:#d6f5df;border-color:#65c583}
.hotspot-help{padding:10px 16px;border-radius:18px;background:#e8f3ff;text-align:center;color:#1b5182;font-weight:700;margin:0 0 20px!important}
.secondary-title{font-size:clamp(18px,3vw,22px);margin:24px 0 12px;text-align:center}
.room-quiz-dialog{border:0;border-radius:25px;width:min(92vw,490px);padding:0;max-height:90vh;overflow:auto;box-shadow:0 26px 70px #16304b77;color:#213d5a}
.room-quiz-dialog::backdrop{background:#132943b3}
.quiz-modal{padding:clamp(18px,4vw,30px);position:relative}
.quiz-close{position:absolute;top:13px;right:13px;border:0;border-radius:50%;background:#edf4fb;color:#214b75;width:42px;height:42px;font-size:23px;cursor:pointer}
.quiz-kicker{font-size:15px;color:#3572aa;font-weight:800;margin:0 45px 6px 0}
#room-quiz-title{color:#075fc3;font-size:clamp(23px,5vw,29px);margin:0 40px 12px 0}
#room-quiz-question{font-size:clamp(18px,4vw,22px);line-height:1.45;margin:0 0 20px}
.quiz-choices{display:grid;gap:10px}.quiz-choice{font:inherit;font-size:clamp(16px,4vw,19px);font-weight:650;border:2px solid #c9e0f7;background:#fff;color:#23496c;text-align:left;padding:14px 16px;min-height:54px;border-radius:16px;cursor:pointer;line-height:1.35}
.quiz-choice:focus-visible{outline:3px solid #075fc3}.quiz-choice.correct{background:#d9f7e3;border-color:#2b9e61}.quiz-choice.incorrect{background:#ffe8e8;border-color:#e27474}.quiz-choice:disabled{opacity:1;cursor:default}
#room-quiz-feedback{font-size:16px;font-weight:700;line-height:1.4;min-height:26px;margin:18px 0 8px}.quiz-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.quiz-actions button{font:inherit;font-weight:700;border:0;color:#fff;background:#075fc3;padding:12px 19px;border-radius:23px;min-height:45px;cursor:pointer}.quiz-actions #room-quiz-again{background:#e8f2fc;color:#075fc3}
@media(max-width:600px){.room-hotspot{width:44px;height:44px;font-size:21px;border-width:2px}.room-quiz-dialog{width:94vw}}
@media(prefers-reduced-motion:reduce){.room-hotspot{transition:none}}
