/* A placeholder must not keep repainting behind every screenshot. */
html body #gameSheet .screenshot::before{animation:none;background:linear-gradient(125deg,#242338,#172c36);background-size:100% 100%}
@media(pointer:coarse),(max-width:700px){
 html body #gameSheet .sheet-navigation{backdrop-filter:none;-webkit-backdrop-filter:none;background:linear-gradient(110deg,#202039,#121a29)}
 html body .sheet-backdrop{backdrop-filter:none;-webkit-backdrop-filter:none;background:#050710b8}
 html body #gameSheet .screenshot-row{mask-image:none!important;-webkit-mask-image:none!important;contain:layout paint;-webkit-overflow-scrolling:touch}
 /* Smaller isolated blur surfaces preserve concealed previews without a full-resolution filter. */
 html body #gameSheet .screenshot{contain:layout paint;isolation:isolate}
 html body #gameSheet .screenshot.blurred img{filter:blur(10px) brightness(.4);transform:scale(1.04);transition:none}
 html body #gameSheet .screenshot img{transition:none}
 html body::before{inset:0;filter:none;will-change:auto}
 html body::after{filter:none;mask-image:none;-webkit-mask-image:none}
 html body .apk-badge,html body .rating-pill{backdrop-filter:none;-webkit-backdrop-filter:none}
 html body .bottom-nav{backdrop-filter:none;-webkit-backdrop-filter:none;background:#181827}
 html.tg-scroll-active body::before,html.tg-scroll-active .topbar::after,html.tg-scroll-active .topbar .main-wordmark{animation-play-state:paused!important}
 html.detail-open .app-shell{visibility:hidden}
 html.detail-open body::before{animation-play-state:paused!important}
 .tg-perf-offscreen,.tg-perf-offscreen::before,.tg-perf-offscreen::after,.tg-perf-offscreen *,.tg-perf-offscreen *::before,.tg-perf-offscreen *::after{animation-play-state:paused!important}
}
/* Static dither is a tiny tile, not a live noise filter or animated gradient. */
html body .public-profile-hero::after,html body .profile-card::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:0;background:url('/profile-grain-v1.png') repeat;opacity:.8}
html body .profile-card{isolation:isolate}
html body .profile-card::after{z-index:-1;background-image:url('/profile-grain-v1.png'),radial-gradient(circle at 12% 72%,#e1d6ff70 0 .65px,transparent 1.5px),radial-gradient(circle at 76% 77%,#d7c7ff55 0 .65px,transparent 1.5px),radial-gradient(ellipse at 20% 75%,#8c66bf12,transparent 60%);background-size:128px 128px,100% 100%,100% 100%,100% 100%}
@media(pointer:coarse),(max-width:700px){html body #gameSheet .tg-gallery-frame{position:relative;margin-inline:-16px}html body #gameSheet .tg-gallery-frame .screenshot-row{margin-inline:0;padding-inline:16px}html body #gameSheet .tg-gallery-frame::after{content:'';position:absolute;right:0;top:0;bottom:8px;width:24px;pointer-events:none;background:linear-gradient(to right,transparent,#11121e);opacity:0;transition:opacity .15s}html body #gameSheet .tg-gallery-frame:has([data-soft-edge=right])::after,html body #gameSheet .tg-gallery-frame:has([data-soft-edge=both])::after{opacity:1}}
