.pet3d{display:block;width:100%;aspect-ratio:220/265;min-height:1px;position:relative}.pet3d canvas,.world3d canvas{width:100%;height:100%;display:block;pointer-events:none}.room-art.world3d{position:absolute;inset:0;width:100%;height:100%}.scene .pet-position{z-index:3}.scene-pet .pet3d{visibility:hidden}.scene .pet-position{height:54%;width:27%;bottom:14%!important;transition:left 1.6s ease}.scene-pet{width:100%;height:100%;touch-action:none}.pet3d{animation:none!important}.scene .room-art{filter:none!important}.scene.evening .world3d{filter:brightness(.86) saturate(.9)!important}.scene.night .world3d{filter:brightness(.66) hue-rotate(12deg)!important}.world3d{display:block}.outing .world3d{position:absolute;inset:0}.outing .outing-pet{display:none}.pet-card .pet3d{height:205px;aspect-ratio:auto}.name-preview .pet3d{height:360px}.modal-hero .pet3d{height:210px}.bath-body>.pet3d,.feeding-pet>.pet3d,.bedtime-pet>.pet3d{height:100%;aspect-ratio:auto}.pet3d canvas{object-fit:contain}.world3d canvas{object-fit:cover}.camera-tools{display:flex;gap:8px;align-items:center;justify-content:center;margin:10px 0}.camera-tools button{min-height:48px;min-width:48px;background:#fff9ef;border:1px solid #e2d7c3;border-radius:16px;padding:8px 15px;font-size:14px}.camera-tools span{font-size:12px;color:#807664}.scene .surprise-hotspot{z-index:4}.scene .hint-bubble{z-index:5}.scene-label{z-index:4}.room-touch{position:absolute;z-index:3;min-width:52px;min-height:52px;border-radius:18px;background:#fff8e1dd;font-size:24px;bottom:22%;right:14%;box-shadow:0 3px 0 #c3b69980}.room-touch.garden{left:18%;right:auto;bottom:16%}#webglFailure{padding:24px;margin:20px;background:#fff3d4;border-radius:20px;font-size:18px} .brand strong::after{content:' 3D';color:#8a9d77;font-size:15px;letter-spacing:0}.welcome h1 em{color:#8b927b}.pet-card{background:#fffbf3}.scene{isolation:isolate}.reduce-motion .scene .pet-position{transition:none}.scene-pet:focus-visible{outline:4px solid #fff5ce;border-radius:50%}.bath-body>.pet3d{min-height:250px}.preview-room .world3d{height:240px;position:relative}.decor-preview .world3d{height:240px;position:relative} @media(max-width:600px){.pet-card .pet3d{height:144px}.name-preview .pet3d{height:260px}.camera-tools{flex-wrap:wrap}.camera-tools span{width:100%;text-align:center}.scene .pet-position{width:32%}.room-touch{right:10%;bottom:18%}}

.install-panel{text-align:center;margin:18px auto 28px;padding:0 20px;color:#807664}.install-panel button,#closeInstall{min-height:48px;padding:12px 22px;border-radius:16px;background:#668d76;color:white;font-weight:700}.install-panel p{font-size:12px;margin-top:9px}#installHelp{border:1px solid #e2d7c3;border-radius:24px;max-width:min(90vw,460px);padding:26px;background:#fffaf0;color:#544d43}#installHelp::backdrop{background:#463e3355}#installHelp p{margin:18px 0}#installHelp button{width:100%}
