.tama-room { --garden:url('/assets/tamagotchi/v145/garden-autumn.webp'); --scene-tint:transparent; }
.season-spring { --garden:url('/assets/tamagotchi/v145/garden-spring.webp'); }
.season-summer { --garden:url('/assets/tamagotchi/v145/garden-summer.webp'); }
.season-winter { --garden:url('/assets/tamagotchi/v145/garden-winter.webp'); }
.phase-morning { --scene-tint:rgba(255,184,111,.16); }
.phase-evening { --scene-tint:rgba(84,37,62,.36); }
.phase-night { --scene-tint:rgba(6,15,43,.76); }
.tamagotchi .tama-scene { isolation:isolate; background:#294c38; }
.tamagotchi .tama-scene::before { content:''; position:absolute; inset:0; z-index:0; background:linear-gradient(var(--scene-tint),var(--scene-tint)),var(--garden) center 65%/cover no-repeat; }
.tamagotchi .tama-scene::after { inset:0; height:auto; z-index:1; pointer-events:none; background:radial-gradient(ellipse at 50% 45%,transparent 35%,rgba(12,21,29,.17)); }
.tamagotchi .weather-rain .tama-scene::before,.tamagotchi .weather-storm .tama-scene::before { filter:brightness(.68) saturate(.72); }
.tamagotchi .weather-fog .tama-scene::after { background:linear-gradient(rgba(226,236,236,.38),rgba(225,237,231,.1)); }
.tamagotchi .tama-sun,.tamagotchi .tama-cloud,.tamagotchi .tama-season-ground { display:none; }
.tamagotchi .tama-weather-particles,.tamagotchi .tama-season-particles { z-index:2; pointer-events:none; }
.tamagotchi .tama-rug { z-index:2; width:150px; height:20px; bottom:27px; background:radial-gradient(ellipse,rgba(18,25,16,.38),transparent 70%); filter:blur(3px); }
.tamagotchi .is-aquarium .tama-scene::before { background:url('/assets/tamagotchi/v145/aquarium.webp') center/cover no-repeat; animation:none; }
.tamagotchi .is-aquarium .tama-scene::after { background:linear-gradient(115deg,rgba(167,236,255,.1),transparent 50%,rgba(0,33,48,.12)); opacity:1; }
.tamagotchi .tama-aquarium-plant { display:none; }
.tamagotchi .tama-aquarium-bubbles { z-index:2; }
.tamagotchi .tama-pet,.tamagotchi .tama-pet-body { animation:none; }
.tamagotchi .tama-pet { filter:drop-shadow(0 6px 4px rgba(30,25,22,.18)); }
.tamagotchi .is-sick { border-color:rgba(244,167,125,.6); }
.tamagotchi .is-sick .tama-speech { color:inherit; background:rgba(90,42,38,.85); color:#fff5eb; white-space:normal; }
.tamagotchi .is-sick .tama-mood-mark { font-size:25px; }
.tamagotchi .tama-actions button:disabled,.tamagotchi .tama-need:disabled { opacity:.38; cursor:default; }
.tamagotchi .tama-stat.is-critical { border-color:#ef8a73; }
.tamagotchi .tama-stat.is-critical .tama-meter i { background:#e36f57; }
.tamagotchi .is-aquarium .tama-mood-mark { top:14px; }
.tamagotchi .is-aquarium .tama-pet { inset:0; width:100%; height:100%; transform:none; filter:drop-shadow(0 3px 3px rgba(4,43,57,.12)); }
.tamagotchi .is-aquarium .tama-pet-body { width:100%; height:100%; }
.tamagotchi .is-aquarium .tama-mood-mark { right:15px; pointer-events:none; }
.tamagotchi .is-aquarium .tama-action-prop { display:none; }
.tamagotchi .tama-water-light { display:none; }
.tamagotchi .kind-cat .tama-pet,.tamagotchi .kind-dog .tama-pet { inset:0; width:100%; height:100%; transform:none; }
.tamagotchi .kind-cat .tama-pet-body,.tamagotchi .kind-dog .tama-pet-body { width:100%; height:100%; }
.tamagotchi .kind-cat .tama-mood-mark,.tamagotchi .kind-dog .tama-mood-mark { top:14px; right:15px; pointer-events:none; }
@media (prefers-reduced-motion:reduce) { .tamagotchi .tama-scene * { animation:none!important; } }
