.workspace[data-scene],.auth[data-scene],dialog:has(>.page-atmosphere){position:relative;isolation:isolate;background:var(--bg)}
dialog:has(>.page-atmosphere){position:fixed;background:#0d0d0f}
.page-atmosphere{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;user-select:none;color:var(--accent);transition:color .18s ease;contain:paint}
.page-atmosphere svg{position:absolute;width:100%;height:100%;inset:0;opacity:.17}
.page-atmosphere .art-wash{fill:currentColor;stroke:none;opacity:.15}.page-atmosphere .art-faint{opacity:.32}.page-atmosphere .art-stars{opacity:.65}.page-atmosphere .art-landscape{opacity:.85}.page-atmosphere .art-celestial{opacity:.55}.page-atmosphere .art-contours{opacity:.5}
.atmosphere-light{position:absolute;inset:0;background:radial-gradient(ellipse at 85% 15%,color-mix(in srgb,var(--accent) 6%,transparent),transparent 54%),radial-gradient(ellipse at 10% 100%,color-mix(in srgb,var(--accent) 3%,transparent),transparent 47%)}
.atmosphere-vignette{position:absolute;inset:0;background:linear-gradient(90deg,#08080873,transparent 52%),linear-gradient(0deg,#08080855,transparent 35%,transparent 90%,#08080833)}
.workspace[data-scene]>.content{background:transparent}.workspace[data-scene]>.topbar{flex-shrink:0}
.workspace[data-scene="home"] .page-atmosphere svg{opacity:.19}.workspace[data-scene="atlas"] .page-atmosphere svg{opacity:.16}.workspace[data-scene="studio"] .page-atmosphere svg{opacity:.12}.workspace[data-scene="journeys"] .page-atmosphere svg{opacity:.15}.workspace[data-scene="profile"] .page-atmosphere svg{opacity:.13}
.workspace[data-scene="story"] .game,.workspace[data-scene="story"] .story-column{background:transparent}.workspace[data-scene="story"] .page-atmosphere{opacity:.38}.workspace[data-scene="story"] .page-atmosphere svg{opacity:.12}.workspace[data-scene="story"] .atmosphere-light{opacity:.25}
.auth[data-scene]{min-height:100dvh}.auth[data-scene]>.page-atmosphere{position:fixed}.auth .page-atmosphere svg{opacity:.22}.auth .atmosphere-light{background:radial-gradient(ellipse at 23% 56%,color-mix(in srgb,var(--accent) 7%,transparent),transparent 54%)}.auth .atmosphere-vignette{background:linear-gradient(90deg,#08080855,transparent 45%,#08080899 85%)}
.auth[data-scene] .auth-card{background:#111113f5;box-shadow:0 18px 80px #0005}.auth[data-scene] .portal{margin-left:110px;border-color:transparent;background:none;box-shadow:none}
.auth-themes{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:23px}.auth-themes>span{font-size:.75rem;color:var(--muted);margin-right:4px}.auth-themes button{width:28px;height:28px;padding:6px;display:grid;place-items:center;border:1px solid transparent;border-radius:50%;background:transparent}.auth-themes button[aria-pressed="true"]{border-color:var(--accent)}.auth-themes button:hover{background:var(--theme-tint)}.auth-themes button span{display:block;width:13px;height:13px;border-radius:50%}.auth-themes [data-login-theme="gold"] span{background:#d4b574}.auth-themes [data-login-theme="green"] span{background:#7dbb94}.auth-themes [data-login-theme="blue"] span{background:#7e9fcf}
dialog>.page-atmosphere svg{opacity:.12}dialog>.page-atmosphere .atmosphere-vignette{background:linear-gradient(90deg,#0d0d0f99,transparent 80%)}dialog .modal-body{background:transparent}.preset-modal>.page-atmosphere svg{opacity:.2;object-position:top right}.preset-modal .preset-toolbar{background:#101012f5}.preset-modal .preset-row{background:#131315f7}.world-detail-modal>.page-atmosphere svg{opacity:.1}
.hero .arch-outer,.hero .arch-inner{border-color:var(--theme-line)}.hero .arch-star{color:var(--accent)}.hero .arch-horizon,.hero .arch-steps{border-color:var(--theme-line)}
@media(max-width:720px){.page-atmosphere svg{width:155%;left:-40%;opacity:.13}.auth .page-atmosphere svg{width:190%;left:-22%;opacity:.14}.auth .atmosphere-vignette{background:linear-gradient(0deg,#080808bb,transparent 75%)}.auth .auth-themes{margin-top:18px}.auth[data-scene] .portal{margin-left:auto;margin-right:auto;opacity:.45}.atmosphere-vignette{background:linear-gradient(90deg,#08080877,transparent),linear-gradient(0deg,#08080866,transparent 60%)}dialog>.page-atmosphere svg{width:150%;left:-30%}.preset-modal>.page-atmosphere svg{opacity:.12}}
@media(prefers-reduced-motion:reduce){.page-atmosphere{transition:none}}
