/* Reuse the already presented WebGL canvas; no GPU-to-CPU snapshot on opening. */
body[data-ui-background="frozen"] #scene{filter:blur(3px);transform:scale(1.015)}
/* The start menu hides other app children. Allow invisible startup layout of
   each prebuilt panel, below the opaque loading cover and outside input/focus. */
body[data-start-menu="true"] #app > #panel-overlay[data-preloading="true"]{display:flex!important;visibility:hidden!important;pointer-events:none!important}
/* Never start a live backdrop blur, including the expensive opening frame
   before the scene copy exists, or platforms where the copy is unavailable. */
body[data-panel-open="true"] #panel-overlay,
dialog::backdrop{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
/* World float lifetimes advance with Garden.render; keep them behind menus
   while that renderer is frozen, instead of leaving a suspended number up. */
body[data-ui-background="frozen"] .crop-change-float{visibility:hidden}

/* Preserve the static artwork in long lists; animate the selected preview/card. */
.inventory-grid > .inventory-slot:not(.active) :is(.rarity-glow,.crop-icon),
.inventory-grid > .inventory-slot:not(.active) .item-art::before,
.shop-list > .shop-item:not(.active) .rarity-glow{animation-play-state:paused!important}

/* These exact HUD regions are already hidden by responsive-core.css for menus. */
body[data-panel-open="true"] #app :is(.game-hud,.quickbar,.game-actions,#garden-record,#touch-controls,#interact-button,#camera-zoom-control),
body[data-panel-open="true"] #app :is(.game-hud,.quickbar,.game-actions,#garden-record,#touch-controls,#interact-button,#camera-zoom-control) *,
body[data-panel-open="true"] #app :is(.game-hud,.quickbar,.game-actions,#garden-record,#touch-controls,#interact-button,#camera-zoom-control)::before,
body[data-panel-open="true"] #app :is(.game-hud,.quickbar,.game-actions,#garden-record,#touch-controls,#interact-button,#camera-zoom-control)::after,
body[data-panel-open="true"] #app :is(.game-hud,.quickbar,.game-actions,#garden-record,#touch-controls,#interact-button,#camera-zoom-control) *::before,
body[data-panel-open="true"] #app :is(.game-hud,.quickbar,.game-actions,#garden-record,#touch-controls,#interact-button,#camera-zoom-control) *::after{animation-play-state:paused!important}
