/* Textures share the source artwork's framing, including mobile cover cropping. */
#titleScreen .hero-stage{isolation:isolate}
#titleScreen .card-fan,#titleScreen .hero-bottom{z-index:2}
.graveyard-weather{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1;contain:paint}
.graveyard-weather span{position:absolute;inset:0;background-position:center;background-size:cover;background-repeat:no-repeat;animation-play-state:paused!important}
.graveyard-weather.is-running span{animation-play-state:running!important}
.online-board{position:relative;isolation:isolate}
.battle-weather{z-index:-1;opacity:.7;border-radius:inherit}
.graveyard-moon{background-image:url('/rad/tcg/atmosphere/moon.webp');opacity:.5;animation:graveyard-moonlight 10s ease-in-out infinite alternate}
.graveyard-lightning{background-image:url('/rad/tcg/atmosphere/lightning.webp');opacity:0;animation:graveyard-storm 17s linear infinite}
.graveyard-weather .graveyard-fog{inset:-3% -12%;background-image:url('/rad/tcg/atmosphere/fog.webp');opacity:.45;will-change:transform;animation:graveyard-fog-drift 24s ease-in-out infinite alternate}
.graveyard-weather .fog-near{inset:9% -18% -15%;opacity:.3;animation-name:graveyard-fog-return;animation-duration:31s;animation-delay:-12s}
/* A single distant strike and a gradual afterglow, with a long quiet interval. */
@keyframes graveyard-storm{0%,17%,25%,100%{opacity:0}18%{opacity:.85}19.5%{opacity:.38}22%{opacity:.12}}
@keyframes graveyard-moonlight{from{opacity:.4}to{opacity:.85}}
@keyframes graveyard-fog-drift{from{transform:translate3d(-5%,1%,0)}to{transform:translate3d(5%,-2%,0)}}
@keyframes graveyard-fog-return{from{transform:translate3d(6%,2%,0)}to{transform:translate3d(-5%,-1%,0)}}
@media(max-width:700px){.graveyard-weather .fog-near{display:none}.graveyard-weather .fog-far{opacity:.35}}
@media(prefers-reduced-motion:reduce){.graveyard-weather span{animation:none!important;will-change:auto!important}.graveyard-lightning{display:none}.graveyard-moon{opacity:.45}.graveyard-weather .graveyard-fog{opacity:.25}}
