/* Background paintings recovered from each approved reference.
   A quiet cloud layer continues down the document; each hero is a separate image. */
.atlas-scene-layer{display:none}
body:has(.view.active){
 position:relative;isolation:isolate;
 background:url('assets/atlas-clouds-sky-v121.webp') center top/min(100%,1040px) auto repeat-y,#d9c8f0!important;
 --atlas-scene-image:url('assets/atlas-today-sky-v114.webp');
 --atlas-scene-ratio:941 / 1672;
}
body:has(#today.active){--atlas-scene-image:url('assets/atlas-today-sky-v114.webp')}
body:has(#chart.active){--atlas-scene-image:url('assets/atlas-chart-sky-v121.webp')}
body:has(#synastry.active){--atlas-scene-image:url('assets/atlas-pair-sky-v121.webp')}
body:has(#ask.active){--atlas-scene-image:url('assets/atlas-ask-sky-v121.webp');--atlas-scene-ratio:940 / 1672}
body:has(#places.active){--atlas-scene-image:url('assets/atlas-places-sky-v121.webp')}
body:has(#cabinet.active){--atlas-scene-image:url('assets/atlas-profile-sky-v121.webp')}
body:has(.view.active)>.atlas-scene-layer{
 display:block;position:absolute;inset:0;overflow:hidden;z-index:-1;pointer-events:none;user-select:none;
}
.atlas-scene-picture{
 position:absolute;top:var(--atlas-scene-top,72px);left:0;right:0;width:min(100%,1040px);height:auto;aspect-ratio:var(--atlas-scene-ratio);margin-inline:auto;
 background-image:var(--atlas-scene-image);background-size:100% 100%;background-position:center top;background-repeat:no-repeat;
 /* Blend into the continuing sky, without a rectangular edge or a second planet. */
 -webkit-mask-image:linear-gradient(to bottom,transparent,#000 24px,#000 83%,transparent);
 mask-image:linear-gradient(to bottom,transparent,#000 24px,#000 83%,transparent);
}
/* The painting contains these ornaments already. Keep the live wheel in the reading. */
#synastry>.pair-hero-wheels{display:none!important}
#ask .reference-hero-ask::after{content:none!important;display:none!important}
/* Apply the same dimming to the painting and its continuation in Telegram dark mode. */
html.tg-dark body.telegram-app:has(.view.active){
 background-image:linear-gradient(#24153650,#24153650),url('assets/atlas-clouds-sky-v121.webp')!important;
 background-size:100% 100%,min(100%,1040px) auto!important;
 background-repeat:no-repeat,repeat-y!important;
 background-color:#302143!important;
}
html.tg-dark body.telegram-app .atlas-scene-picture{filter:brightness(.76) saturate(.9)}

body:has(#transits.active){--atlas-scene-image:url('assets/atlas-chart-sky-v121.webp')}
body:is(:has(#access.active),:has(#help.active),:has(#birth.active),:has(#start.active)){--atlas-scene-image:url('assets/atlas-profile-sky-v121.webp')}
