/* Entry is always Cosmic, independently of the saved in-game theme. */
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos]{
 --atlas-paper:#211b2b;--atlas-ink:#fff0d6;--atlas-muted:#cfc2ad;--atlas-line:#bfa26766;
 background:linear-gradient(90deg,#111522e8 0%,#111522a8 38%,#11152215 76%),linear-gradient(180deg,#15172370,transparent 45%,#111522a8),url(visuals/welcome/cosmos.webp?v=detail1) 73% center/cover no-repeat;
 background-color:#151723;
}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos]>.online-card{max-width:none;min-height:100dvh}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] #online-content{min-height:100dvh}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .welcome-header{padding-left:max(6%,env(safe-area-inset-left))!important;padding-right:max(6%,env(safe-area-inset-right))!important}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-intro{margin:0;padding:clamp(38px,7dvh,90px) 6% 0;text-align:left;max-width:740px}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-eyebrow{justify-content:flex-start;margin-bottom:25px}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-eyebrow:before{display:none}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] h1{font-size:clamp(48px,5.8vw,84px);font-weight:400!important;line-height:1.05;letter-spacing:-.045em;text-align:left}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-tagline{max-width:355px;margin:25px 0 0;line-height:1.7}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-panorama{display:none}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] #online-content .atlas-launch{display:grid;grid-template-columns:1fr;width:min(420px,88%);max-width:420px;margin:28px 0 0 6%;padding:0;background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;color:var(--atlas-ink)}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-launch button{grid-template-columns:34px minmax(0,1fr) 25px;min-height:94px;gap:17px;padding:18px 0;border:0;border-bottom:1px solid var(--atlas-line);border-radius:0;background:transparent;color:var(--atlas-ink)}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-launch button+button{border-left:0;border-top:0}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-launch button:hover:not(:disabled){color:#e0bf82;background:transparent!important;border-bottom-color:#d2b477}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-launch .welcome-icon{width:34px;height:34px}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-launch strong{font-size:28px;font-weight:400!important;line-height:1.15;color:inherit}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-launch small{color:var(--atlas-muted)}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-arrow{color:#c6a367}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-resume{justify-content:flex-start;align-items:flex-start;margin:12px 6% 0;gap:0 20px}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-footer{margin-top:auto;padding:30px 6% 18px;min-height:90px;flex:none}
@media(max-width:680px){
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos]{background-position:center,center,66% center}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .welcome-header{padding-left:max(5%,env(safe-area-inset-left))!important;padding-right:max(5%,env(safe-area-inset-right))!important}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-intro{padding:40px 6% 0;max-width:100%}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-eyebrow{font-size:10px;letter-spacing:.13em;margin-bottom:22px}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] h1{font-size:clamp(37px,10.6vw,60px)}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-tagline{font-size:14px;margin-top:22px;max-width:285px}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] #online-content .atlas-launch{margin-top:32px;width:88%;max-width:420px}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-launch button{min-height:86px;padding:17px 0;gap:14px}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-launch strong{font-size:26px}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-footer{padding-top:30px;min-height:88px}
}
@media(min-width:681px) and (max-height:560px){
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] #online-content{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:auto 1fr auto}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .welcome-header{grid-column:1/-1;min-height:70px;padding-top:6px!important;padding-bottom:6px!important}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .welcome-logo{width:185px}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-intro{padding:10px 0 10px 12%;align-self:center}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] h1{font-size:clamp(35px,4.7vw,54px)}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-eyebrow{font-size:9px;letter-spacing:.12em;margin-bottom:14px}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-tagline{font-size:13px;line-height:1.45;margin-top:14px;max-width:280px}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] #online-content .atlas-launch{width:80%;margin:8px 12% 8px 7%;align-self:center}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-launch button{min-height:78px;padding:12px 0}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-launch strong{font-size:25px}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-resume{grid-column:1/-1;margin:0 6%}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .atlas-footer{grid-column:1/-1;min-height:58px;padding:6px 6%}
 body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] #local-delete-status:empty{display:none}
}

body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .welcome-header{background:linear-gradient(180deg,#111522b8,transparent);color:var(--atlas-ink)}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .welcome-controls :is(#home-account,#welcome-language,.atlas-preferences>summary){color:#fff0d6!important}
body.faithful-target #online-screen.welcome-screen.welcome-atlas[data-welcome-theme=cosmos] .welcome-controls :is(#home-account,#welcome-language,.atlas-preferences>summary):hover:not(:disabled){color:#f2cb8c!important}

/* Arrival changes opacity only, never layout or button hit areas. */
@media(prefers-reduced-motion:no-preference){
 html[data-ui-runtime=web] #online-screen.welcome-screen.entry-arriving .welcome-header{animation:entry-reveal 1.6s ease-out both}
 html[data-ui-runtime=web] #online-screen.welcome-screen.entry-arriving .atlas-intro{animation:entry-reveal 1.8s .15s ease-out both}
 html[data-ui-runtime=web] #online-screen.welcome-screen.entry-arriving .atlas-launch{animation:entry-reveal 1.5s .35s ease-out both}
 html[data-ui-runtime=web] #online-screen.welcome-screen.entry-arriving .atlas-footer{animation:entry-reveal 1.6s .5s ease-out both}
 @keyframes entry-reveal{from{opacity:0}to{opacity:1}}
}
@media(prefers-reduced-motion:no-preference){
 html[data-ui-runtime=web] #online-screen.welcome-screen.entry-arriving:before{content:"";position:fixed;inset:0;background:var(--entry-arrival-base,#111522);z-index:0;pointer-events:none;animation:entry-scene 2s ease-out both}
 html[data-ui-runtime=web] #online-screen.welcome-screen.entry-arriving>.online-card{position:relative;z-index:1}
 @keyframes entry-scene{from{opacity:1}to{opacity:0}}
}

.entry-label-a11y{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(prefers-reduced-motion:no-preference){
 html[data-ui-runtime=web] #online-screen.welcome-screen.entry-arriving .entry-character{white-space:pre;transition:none}
}
