/* Move one cached blueprint layer instead of repainting full-screen background-position. */
.ambient-world72:before,.welcome-screen .welcome-artwork:before,
#game-entry-screen.game-entry-screen:before,#cloud-loading:before,
.nav-backdrop45:before,#season-launch60:before {
 inset:-8px; width:calc(100% + 16px); height:calc(100dvh + 16px);
 background-position:center,center,center;
 animation:blueprint-composite174 36s ease-in-out infinite alternate;
 transform:translate3d(0,0,0);
 translate:0 0!important;
 will-change:transform,translate;
}
/* The independent translate provides slow drift; transforms remain compositor-only. */
@keyframes blueprint-composite174 {
 from {transform:translate3d(calc(-3px + var(--kpi-parallax-x72,0px)*.1),calc(-2px + var(--kpi-parallax-y72,0px)*.1),0);}
 to {transform:translate3d(calc(3px + var(--kpi-parallax-x72,0px)*.1),calc(2px + var(--kpi-parallax-y72,0px)*.1),0);}
}
#game-entry-screen .entry-logo {
 filter:none!important; backface-visibility:hidden; will-change:transform,opacity;
 animation-name:entry-logo-arrive174;
}
#game-entry-screen.entry-depart .entry-logo {animation-name:entry-logo-out174;}
@keyframes entry-logo-arrive174 {
 0%{opacity:0;transform:scale(.1) rotate(-180deg);}
 35%{opacity:1;transform:scale(1.04) rotate(4deg);}
 55%{transform:scale(.98) rotate(-2deg);}
 75%,100%{transform:scale(1) rotate(0);}
}
@keyframes entry-logo-out174 {to{transform:scale(1.25);opacity:0;}}
/* Nearly opaque existing surface already supplies contrast; no live blur of moving SVGs. */
.game-chrome .game-topbar {backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
/* Unseen game decorations do not compete with an entry logo. */
body:has(#tab-loader:not([hidden])) #game-chrome *,
body:has(#tab-loader:not([hidden]))>main *,
body:has(#game-entry-screen:not([hidden])) #game-chrome *,
body:has(#game-entry-screen:not([hidden]))>main * {animation-play-state:paused!important;}
html.kpi-light174 .ambient-world72:before,
html.kpi-light174 .welcome-screen .welcome-artwork:before,
html.kpi-light174 #game-entry-screen.game-entry-screen:before,
html.kpi-light174 #cloud-loading:before,
html.kpi-light174 .nav-backdrop45:before,
html.kpi-light174 #season-launch60:before {animation:none;translate:none!important;will-change:auto;}
@media(prefers-reduced-motion:reduce) {
 .ambient-world72:before,.welcome-screen .welcome-artwork:before,
 #game-entry-screen.game-entry-screen:before,#cloud-loading:before,
 .nav-backdrop45:before,#season-launch60:before {animation:none;translate:none!important;will-change:auto;}
}

/* Keep the large illustration's paints inside its existing clipped viewport. */
.kpi-world89 {contain:layout paint;}
.kpi-world89>svg {transform:translateZ(0);}
