:root{--scene-rgb:105,169,205;--orb-hue:0deg}
body{position:relative;isolation:isolate;transition:background-color .65s ease}
#atmosphere{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;contain:strict}
.atmosphere-scene{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .5s ease,visibility 0s .5s;overflow:hidden}
.atmosphere-scene.is-active{opacity:1;visibility:visible;transition-delay:0s}
.atmosphere-picture{position:absolute;inset:-5%;width:110%;height:110%;max-width:none;object-fit:cover;object-position:center;filter:blur(9px) saturate(.7) brightness(.55);opacity:.5}
.atmosphere-wash{position:absolute;inset:0;background:linear-gradient(100deg,rgba(0,0,0,.92),rgba(0,0,0,.57) 48%,rgba(0,0,0,.27)),linear-gradient(0deg,rgba(0,0,0,.8),transparent 60%)}
.atmosphere-glow{position:absolute;inset:-10%;background:radial-gradient(ellipse at 80% 28%,rgba(var(--world-rgb),.3),transparent 60%),radial-gradient(ellipse at 15% 95%,rgba(var(--world-rgb),.15),transparent 55%);animation:atmosphere-breathe 15s ease-in-out infinite alternate}
.atmosphere-texture{position:absolute;inset:-40px;opacity:.5;mask-image:linear-gradient(100deg,transparent,black 55%);animation:atmosphere-drift 24s linear infinite}


[data-world=fa2] .atmosphere-texture{background-image:linear-gradient(90deg,rgba(115,226,215,.13) 1px,transparent 1px),linear-gradient(rgba(115,226,215,.1) 1px,transparent 1px),repeating-linear-gradient(0deg,transparent 0 5px,rgba(115,226,215,.025) 5px 6px);background-size:110px 110px,110px 110px,100% 6px;animation-duration:32s}
[data-world=fa2] .atmosphere-glow{background:radial-gradient(ellipse at 85% 4%,rgba(117,239,220,.35),transparent 60%),linear-gradient(125deg,transparent 60%,rgba(58,155,160,.13) 70%,transparent 85%)}


[data-world=fa3] .atmosphere-picture{filter:blur(10px) saturate(.8) brightness(.6)}
[data-world=fa3] .atmosphere-texture{background-image:radial-gradient(circle at 22% 24%,#ffcc8c 0 1px,transparent 2px),radial-gradient(circle at 80% 62%,#e77c41 0 1px,transparent 2px),radial-gradient(circle at 53% 88%,#ffd8aa 0 1px,transparent 2px);background-size:231px 293px,313px 359px,419px 241px;animation-duration:18s}
[data-world=fa3] .atmosphere-glow{background:radial-gradient(ellipse at 85% 80%,rgba(229,91,33,.36),transparent 62%),radial-gradient(ellipse at 15% 0,rgba(125,28,17,.24),transparent 60%)}


[data-world=crefty] .atmosphere-texture{background-image:linear-gradient(90deg,rgba(166,129,235,.17) 1px,transparent 1px),linear-gradient(rgba(166,129,235,.17) 1px,transparent 1px),conic-gradient(from 90deg,transparent 0 75%,rgba(148,103,219,.08) 0);background-size:64px 64px,64px 64px,192px 192px;animation:none}
[data-world=crefty] .atmosphere-glow{background:radial-gradient(ellipse at 78% 20%,rgba(141,76,233,.4),transparent 60%),radial-gradient(ellipse at 15% 85%,rgba(61,161,173,.2),transparent 55%)}


[data-world=climb] .atmosphere-texture{background-image:radial-gradient(circle at 32% 26%,rgba(212,239,147,.8) 0 1px,transparent 2px),radial-gradient(circle at 72% 75%,rgba(166,208,116,.6) 0 1px,transparent 2px);background-size:317px 263px,227px 347px;animation-duration:28s}
[data-world=climb] .atmosphere-glow{background:radial-gradient(ellipse at 75% 16%,rgba(109,192,58,.37),transparent 62%),radial-gradient(ellipse at 10% 90%,rgba(36,106,54,.28),transparent 60%)}
[data-world=climb] .atmosphere-wash{background:linear-gradient(100deg,rgba(3,13,7,.92),rgba(3,13,7,.62) 46%,rgba(3,13,7,.28)),linear-gradient(0deg,rgba(3,13,7,.8),transparent 65%)}


[data-world=alpha] .atmosphere-picture{filter:blur(8px) saturate(.3) brightness(.65)}
[data-world=alpha] .atmosphere-texture{background-image:repeating-linear-gradient(135deg,transparent 0 139px,rgba(190,194,151,.12) 140px 141px,transparent 142px 280px),radial-gradient(circle at 25% 45%,rgba(207,209,174,.55) 0 1px,transparent 2px);background-size:280px 280px,187px 211px;animation-duration:30s}
[data-world=alpha] .atmosphere-glow{background:radial-gradient(ellipse at 85% 5%,rgba(159,165,110,.3),transparent 62%),radial-gradient(ellipse at 15% 95%,rgba(134,99,46,.16),transparent 60%)}

.header,footer,.game-card,.collection-bar,.header-community,dialog,.dialog-top{transition:background-color .65s ease,border-color .65s ease,box-shadow .65s ease}
.game-card{transition:background-color .65s ease,border-color .4s ease,box-shadow .5s ease,transform .35s var(--ease)}
.page-heading h1 span,.hero h1 span,.brand-symbol span,.card-arrow,.button.primary{transition:color .65s ease,background-color .5s ease,border-color .5s ease}


body[data-atmosphere]{--holo-tone:color-mix(in srgb,#537382 68%,rgb(var(--scene-rgb)))}
body[data-atmosphere] .header{background:color-mix(in srgb,var(--bg) 90%,transparent);border-bottom-color:var(--line);box-shadow:0 5px 45px rgba(var(--scene-rgb),.07)}
body[data-atmosphere] footer{background:color-mix(in srgb,var(--bg) 88%,transparent)}
body[data-atmosphere] .page-view{background:radial-gradient(ellipse at 90% 0,rgba(var(--scene-rgb),.12),transparent 65%)}
body[data-atmosphere] .hero{background:radial-gradient(ellipse at 78% 45%,rgba(var(--scene-rgb),.15),transparent 65%)}
body[data-atmosphere] .home-statement{background:linear-gradient(110deg,color-mix(in srgb,var(--panel) 88%,transparent),color-mix(in srgb,var(--bg) 88%,transparent))}
body[data-atmosphere] .game-card{background:color-mix(in srgb,var(--panel) 92%,transparent)}
.game-card.is-atmosphere-active{border-color:var(--accent);box-shadow:0 0 0 1px rgba(var(--scene-rgb),.15),0 14px 50px rgba(var(--scene-rgb),.22);transform:translateY(-5px)}
.game-card.is-atmosphere-active img{filter:saturate(1) brightness(1);transform:scale(1.045)}
body[data-atmosphere] .game-card:not(.is-atmosphere-active) .card-image img{filter:saturate(.35) brightness(.62)}
body[data-atmosphere] .filters button[aria-pressed=true]{background:rgba(var(--scene-rgb),.12);border-color:var(--line)}
body[data-atmosphere] dialog{background:color-mix(in srgb,var(--bg) 88%,#101010);border-color:color-mix(in srgb,var(--accent) 45%,var(--bg));box-shadow:0 25px 100px #000b,0 0 90px rgba(var(--scene-rgb),.15)}
body[data-atmosphere] dialog::backdrop{background:rgba(0,0,0,.8)}
body[data-atmosphere] .dialog-top{background:color-mix(in srgb,var(--bg) 95%,transparent)}
body[data-atmosphere] .status-chip{border-color:var(--line)}
body[data-motion=paused] .atmosphere-glow,body[data-motion=paused] .atmosphere-texture{animation-play-state:paused}
body.modal-open .atmosphere-glow,body.modal-open .atmosphere-texture,body.menu-open .atmosphere-glow,body.menu-open .atmosphere-texture{animation-play-state:paused}
.atmosphere-scene:not(.is-active) .atmosphere-glow,.atmosphere-scene:not(.is-active) .atmosphere-texture{animation-play-state:paused}
@keyframes atmosphere-breathe{from{transform:scale(1);opacity:.8}to{transform:scale(1.06);opacity:1}}
@keyframes atmosphere-drift{from{transform:translate3d(0,16px,0)}to{transform:translate3d(14px,-16px,0)}}
@media(max-width:560px){.atmosphere-picture{opacity:.35}.atmosphere-texture{opacity:.3}body[data-atmosphere] .header nav{background:var(--bg)}}
@media(prefers-reduced-motion:reduce){.atmosphere-scene,.hero-art canvas,body,.header,footer,.game-card,.collection-bar,.header-community,dialog,.dialog-top{transition:none}.atmosphere-glow,.atmosphere-texture{animation:none}}
