/* Lar v0.2: cenário, pet e controles independentes. */
.immersive-room{position:relative;width:100%;max-width:650px;aspect-ratio:9/16;margin:0 auto;overflow:hidden;border-radius:24px;border:1px solid #8d6b8a55;isolation:isolate;background:#211c34}.room-art{position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.room-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(#0d10202e,transparent 25%,transparent 75%,#101025bd)}.room-greeting{position:absolute;top:4%;left:5%;text-shadow:0 2px 9px #0008}.room-greeting h1{font-size:18px;letter-spacing:0;margin-top:7px;font-weight:500}.pet-hud{position:absolute;right:5%;top:15%;width:43%;padding:15px;text-align:left;background:#17152bce;border:1px solid #a998d766;box-shadow:0 8px 35px #0a071c44;backdrop-filter:blur(12px);border-radius:18px}.pet-hud:hover{background:#24203ce8}.hud-title{display:flex;justify-content:space-between;font-size:21px;font-weight:600}.hud-title>span{color:#efb8ac}.hud-state{display:block;color:#d3c5e2;font-size:11px;margin:7px 0 12px}.hud-meter{display:block;height:5px;background:#514469;border-radius:9px;overflow:hidden}.hud-meter i{display:block;height:100%;background:#eac08a;border-radius:9px}.hud-food{display:block;font-size:10px;color:#f5d7ad;margin-top:8px}.hud-food>span{display:block;color:#bfb1d5;margin-top:8px}.sprite-pet{position:absolute;z-index:2;top:43%;left:29%;width:44%;height:27%;border:0;padding:0;min-height:0;filter:drop-shadow(0 7px 6px #3a233a55);transform-origin:50% 90%;animation:pet-breathe 5s ease-in-out infinite}.sprite-pet img{display:block;width:100%;height:100%;object-fit:contain}.sprite-pet:hover{background:transparent;filter:drop-shadow(0 0 12px #ffc98b55)}.sprite-pet:active{transform:scale(.97)}.pet-bubble{position:absolute;top:-12%;left:50%;transform:translateX(-50%);white-space:nowrap;padding:8px 12px;border-radius:12px;background:#242039e8;border:1px solid #ad91c255;font-size:12px;opacity:0;transition:opacity .2s}.sprite-pet:hover .pet-bubble,.sprite-pet:focus-visible .pet-bubble,.sick .pet-bubble,.tired .pet-bubble,.hungry .pet-bubble,.recovering .pet-bubble{opacity:1}.pet-blanket{position:absolute;bottom:5%;left:13%;width:67%;height:24%;background:repeating-linear-gradient(90deg,#8980b9 0 7px,#9d94c6 7px 9px);border:3px solid #beb0d4;box-shadow:0 3px #453853;border-radius:15% 20% 12% 12%;color:#efd7ac;padding-top:5%;font-size:25px}.sick .sprite-pet,.tired .sprite-pet{transform:translateY(4%) scaleY(.92);animation:none}.sick .sprite-pet img{filter:saturate(.7)}.room-dock{position:absolute;z-index:3;left:8%;right:8%;bottom:4%;text-align:center}.room-dock>p{font-size:12px;color:#efcdb4;margin-bottom:15px;text-shadow:0 2px 5px #111}.focus-launch{display:flex;align-items:center;justify-content:center;gap:18px;width:100%;border-radius:50px;background:linear-gradient(135deg,#b6a6f4,#7761ca 55%,#a08aed);border:1px solid #e3d5ff;box-shadow:inset 0 0 15px #e0ccff88,0 0 24px #a28aff40;padding:16px 20px;color:#fff}.focus-launch:hover{background:linear-gradient(135deg,#c5b7fb,#8a76dc)}.focus-launch>.icon{width:30px;height:30px;fill:currentColor}.focus-launch>span{font-size:23px;letter-spacing:.3px}.focus-launch small{display:block;font-size:9px;color:#e3d6ff;letter-spacing:2px;margin-top:5px}.focus-launch .sparkle{font-size:25px;color:#dfccff}.care-link{border:0;font-size:11px;margin-top:7px;color:#e0cde7;min-height:44px;text-shadow:0 2px 4px #000}.room-upgrades{position:absolute;inset:0;pointer-events:none}.upgrade{position:absolute;width:13%;filter:drop-shadow(0 5px 5px #1a102c66)}.upgrade svg{width:100%;height:100%}.upgrade-plant{right:8%;top:51%}.upgrade-lamp{left:9%;top:48%}.upgrade-bed{left:18%;top:68%;width:23%}.home-view .footer{display:none}.home-view .topbar{margin-bottom:15px}.home-view .nav{margin-bottom:18px}dialog .pet-card{padding:18px 0;background:none;border:0}dialog .pet-card .name-line h2{margin:0}dialog .pet-card .actions{margin-top:0}@keyframes pet-breathe{50%{transform:translateY(-2px) rotate(.5deg)}}
@media(min-width:721px){.home-view .shell{max-width:1000px}.immersive-room{max-width:540px}.home-view .nav{justify-content:center}.home-view .topbar{height:78px}}
@media(max-width:720px){.home-view .shell{padding:0}.home-view .topbar{position:absolute;top:0;left:0;right:0;z-index:5;height:72px;padding:12px 20px;border:0;margin:0;background:linear-gradient(#141226aa,transparent)}.home-view .brand small{display:none}.home-view .brand strong{font-size:16px;text-shadow:0 2px 8px #000}.home-view .wallet{background:#1a1633d9;backdrop-filter:blur(10px);border:1px solid #8873a177}.home-view .wallet .unit{display:none}.home-view .nav{bottom:10px;left:12px;right:12px;padding:6px 5px calc(6px + env(safe-area-inset-bottom));border:1px solid #9b86c377;border-radius:22px;background:#17142bdc;box-shadow:0 4px 30px #120c2988;margin:0}.home-view .nav button{min-height:52px;border-radius:15px}.home-view .nav button.active{background:linear-gradient(135deg,#8e78bd66,#51426c99);color:#fff}.immersive-room{max-width:none;width:100%;height:100svh;min-height:650px;aspect-ratio:auto;border-radius:0;border:0}.room-art{object-fit:cover;object-position:center}.room-greeting{top:11%;left:6%}.room-greeting h1{font-size:14px}.room-greeting .eyebrow{font-size:8px}.pet-hud{top:19%;padding:12px;width:42%;right:5%;border-radius:15px}.hud-title{font-size:19px}.hud-state{font-size:10px;margin:5px 0 10px}.hud-food{font-size:9px}.hud-food>span{display:inline;margin-left:7px}.sprite-pet{top:43%;left:28%;width:48%;height:28%}.room-dock{bottom:calc(85px + env(safe-area-inset-bottom));left:14%;right:14%}.room-dock>p{font-size:10px;margin-bottom:10px}.focus-launch{padding:12px;gap:12px}.focus-launch>span{font-size:20px}.focus-launch small{font-size:8px}.focus-launch>.icon{width:24px;height:24px}.care-link{margin-top:2px;min-height:40px;padding:7px}.home-view .storage-error{position:relative;z-index:6;top:70px}.home-view #toast{bottom:calc(180px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.sprite-pet{animation:none}}
.adopt-art img{width:100%;height:100%;object-fit:contain}.adopt-art{height:150px;border:0;border-radius:0}.sprite-pet{top:39%;left:21%;width:60%;height:34%}
