:root {
  --atendix-night-sky: radial-gradient(ellipse at 92% 17%, #111d31 0, transparent 39%),
    radial-gradient(ellipse at 20% 83%, #100a20 0, transparent 47%), #05070d;
}
.mgr-sky {
  --sky-horizon: clamp(53px, 14.3vw, 78px);
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.manager[data-view="gestao"] .mgr-sky { --sky-horizon: clamp(92px, 24.7vw, 134px); }
.mgr-orbit {
  container-type: size;
  --sky-shade: linear-gradient(to right, #050911a3, #070b1440 43%, transparent 65%);
  position: absolute;
  top: calc(var(--sky-horizon) - 4px);
  inset-inline: -4px;
  height: clamp(185px, 34vw, 395px);
  mask-image: linear-gradient(to bottom, #000 0 75%, transparent);
}
.planet-dock {
  position: absolute;
  left: 68%;
  top: 49%;
  width: 2px;
  height: 2px;
  transform: translate(-50%, -50%);
}
.mgr-sky::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .47;
  background-image:
    radial-gradient(1px 1px at 4% 7%, #f5dfa8 50%, transparent),
    radial-gradient(1.4px 1.4px at 87% 63%, #b6d6ef 42%, transparent),
    radial-gradient(.9px .9px at 68% 19%, #bfc5e5 65%, transparent),
    radial-gradient(1.1px 1.1px at 54% 85%, #b4adc0 45%, transparent);
  background-size: 103px 137px, 189px 161px, 153px 121px, 199px 193px;
}
.sky-meteor {
  --drop: clamp(80px, 18vw, 295px);
  position: absolute;
  top: var(--sky-horizon);
  left: 94%;
  width: clamp(38px, 8vw, 102px);
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, #ecf9ff, #a1d5ff96 19%, transparent 100%);
  transform-origin: left;
  animation: shooting-star 6.2s linear -1s infinite;
}
.sky-meteor::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  inset: -.5px auto auto 0;
  border-radius: 50%;
  background: #f1faff;
  box-shadow: 0 0 6px 1px #abd7fc;
}
.meteor-distant {
  top: calc(var(--sky-horizon) + 22px);
  left: 78%;
  height: 1px;
  width: clamp(28px, 5vw, 68px);
  animation-delay: -4s;
}
.meteor-low { top: 71%; animation-duration: 8s; animation-delay: -2.5s; }
@keyframes shooting-star {
  0% { opacity: 0; transform: translate(0, 0) rotate(-11deg); }
  5% { opacity: .95; }
  30% { opacity: .75; }
  36%, 100% { opacity: 0; transform: translate(-100vw, var(--drop)) rotate(-11deg); }
}
@media (prefers-reduced-motion: reduce) {
  .meteor-low { animation: none; }
  .sky-meteor:not(.meteor-low) {
    top: calc(var(--sky-horizon) + 20px);
    left: 53%;
    width: 28px;
    animation-name: nearby-star;
  }
  .sky-meteor.meteor-distant { top: calc(var(--sky-horizon) + 42px); left: 85%; }
}
@keyframes nearby-star {
  0% { opacity: 0; transform: translate(0, 0) rotate(-15deg); }
  14% { opacity: .74; }
  46%, 100% { opacity: 0; transform: translate(-48px, 13px) rotate(-15deg); }
}
@media (max-width: 600px) {
  .mgr-orbit { --sky-shade: linear-gradient(90deg, #050911ad, #090d1878 56%, transparent 84%); }
}
@media (min-width: 810px) {
  .mgr-sky { --sky-horizon: 72px; }
  .manager[data-view="gestao"] .mgr-sky { --sky-horizon: 112px; }
}
.orbital-art {
  position: absolute;
  inset: 0;
  container-type: size;
  overflow: hidden;
  pointer-events: none;
  background: url("/atx-assets/bad5c5fabf7cfb107f20b04e40e32005934d467c47f7d47c60d9bf72db6d924c/static/orbita-atendix.webp") var(--orbit-x, 76%) var(--orbit-y, 59%) / cover no-repeat;
}
.orbital-plane {
  position: absolute;
  left: var(--orbit-x, 76%);
  top: var(--orbit-y, 59%);
  width: max(100cqw, 150cqh);
  height: auto;
  aspect-ratio: 3 / 2;
  transform: translate(calc(0% - var(--orbit-x, 76%)), calc(0% - var(--orbit-y, 59%)));
}
.orbital-canvas { display: block; width: 100%; height: 100%; }
.orbital-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sky-shade);
}
