/* Финальный CSS-фон владельца. Параметры композиции и полёта — из background.css. */
:root:not([data-skin="light"]){
  --page-stars:url("/img/glass-stars.svg");
  --page-overlay:radial-gradient(ellipse 78% 72% at 72% -16%,rgba(48,10,108,.88) 0%,rgba(27,6,69,.40) 42%,rgba(27,6,69,0) 76%),
    radial-gradient(ellipse 90% 80% at 22% -12%,rgba(6,33,116,.80) 0%,rgba(4,22,76,.30) 46%,rgba(4,22,76,0) 78%),
    linear-gradient(180deg,#080e2b 0%,#060a20 32%,#030511 64%,#010207 100%);
}
.orbita-background{display:none;position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--page-stars) center center/cover no-repeat,var(--page-overlay);background-color:#010207}
:root:not([data-skin="light"]) .orbita-background{display:block}
.star-flight{display:none;position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.star-flight-layer{position:absolute;inset:0;background:url("/img/glass-stars.svg") center center/cover no-repeat;transform-origin:50% 45%;animation:star-flight 48s linear infinite;will-change:transform,opacity}
.star-flight-layer:nth-child(1){--star-angle:0deg;animation-delay:-8s}
.star-flight-layer:nth-child(2){--star-angle:73deg;animation-delay:-24s}
.star-flight-layer:nth-child(3){--star-angle:151deg;animation-delay:-40s}
@keyframes star-flight{
  0%{transform:perspective(900px) translateZ(-2000px) rotate(var(--star-angle));opacity:0}
  13%{opacity:.8}
  85%{opacity:.8}
  100%{transform:perspective(900px) translateZ(600px) rotate(var(--star-angle));opacity:0}
}
.stars-hidden .star-flight-layer,:root[data-skin="light"] .star-flight-layer{animation-play-state:paused}
@media(prefers-reduced-motion:no-preference){
  :root:not([data-skin="light"]){--page-stars:none}
  :root:not([data-skin="light"]) .star-flight{display:block}
}
@media(prefers-reduced-motion:reduce){.star-flight-layer{animation:none!important}}
