/* Space Atlas V2: accessible SVG schematics, respects reduced-motion preference. */
.atlas-page-feature{margin:20px 0 22px}.atlas-motion{position:relative;isolation:isolate;overflow:hidden;border:1px solid rgba(136,204,242,.24);border-radius:18px;background:radial-gradient(ellipse at 50% 20%,#17374e 0%,#091a2b 52%,#07111e 100%);box-shadow:inset 0 1px #ffffff16,0 8px 25px #03091230;margin:16px 0 22px;color:#eef5ff}
.atlas-motion-top{display:flex;align-items:center;justify-content:space-between;padding:15px 18px 0;gap:9px}.atlas-motion-kicker{font-size:10px;letter-spacing:2.1px;color:#9ee2f1;font-weight:750}.atlas-motion-toggle{background:#132b3fcf;border:1px solid #618da856;border-radius:30px;padding:7px 13px;color:#eff7ff;min-width:88px;cursor:pointer;font-size:12px;font-weight:700}.atlas-motion-toggle:hover,.atlas-motion-toggle:focus-visible{background:#244b65;outline:2px solid #9defff;outline-offset:2px}
.atlas-motion-canvas{width:100%;padding:0 12px}.atlas-schematic{display:block;width:100%;height:auto;max-height:255px;min-height:155px}.sp-starfield{fill:#b6d9e8}.atlas-motion-bottom{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:2px 18px 18px}.atlas-motion-bottom strong{font-size:15px;color:#f5e4c2}.atlas-motion-bottom p{font-size:12px!important;color:#a9bfce!important;line-height:1.45!important;margin:6px 0 0!important}.atlas-schematic-label{font-size:9px;text-transform:uppercase;letter-spacing:1.1px;color:#8fb4c6;white-space:nowrap}.atlas-motion.compact{max-width:100%;margin:0}.atlas-motion.compact .atlas-motion-canvas{max-height:155px}.atlas-motion.compact .atlas-schematic{max-height:155px;min-height:100px}.atlas-motion.compact .atlas-motion-top{padding-top:12px}.atlas-motion.compact .atlas-motion-bottom{padding-bottom:14px}
.atlas-modal-extension{padding:0 28px 18px}.atlas-article-tools{margin-top:10px;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.atlas-article-tools button{border:1px solid #5d99b755;background:#102c43;color:#d6efff;border-radius:9px;padding:12px 16px;cursor:pointer;font-size:12px;font-weight:700}.atlas-article-tools button:hover{background:#1b4662}.atlas-article-tools span{font-size:11px;color:#8baabd}.atlas-article-photo{margin-top:12px;padding:15px;background:#0e2231;border:1px solid #4b8ca455;border-radius:13px;display:grid;gap:10px}.atlas-article-photo[hidden]{display:none}.atlas-article-photo img{width:100%;max-height:300px;object-fit:contain;border-radius:8px;background:#030c14}.atlas-article-photo h4{margin:0;color:#f4e2b9}.atlas-article-photo p{margin:0;font-size:13px;line-height:1.55;color:#c7d5df}.atlas-article-photo small{font-size:11px;color:#b4c1ca}.atlas-article-photo a{color:#6dd9ee;text-decoration:underline;text-underline-offset:3px}
.atlas-depth{padding:16px 0 10px;border-top:1px solid #6f9eb13a}.atlas-depth h3{font-size:19px}.atlas-depth h4{font-size:15px;color:#b9ddf3;margin:16px 0 5px}.atlas-depth p{margin:0 0 14px;line-height:1.72}
/* CSS motions run only while the actual scene is mounted in the DOM. */
@keyframes sp-turn{to{transform:rotate(360deg)}}@keyframes sp-sway{0%,100%{transform:translateX(-45px)}50%{transform:translateX(45px)}}@keyframes sp-pulse{0%,100%{opacity:.2;transform:scale(.88)}50%{opacity:1;transform:scale(1.1)}}@keyframes sp-travel{0%{transform:translate(104px,224px) rotate(45deg)}55%{transform:translate(316px,67px) rotate(67deg)}100%{transform:translate(542px,79px) rotate(95deg)}}@keyframes sp-tilt{0%,100%{transform:translateX(0)}50%{transform:translateX(23px)}}@keyframes sp-visibility{0%,100%{opacity:.55}50%{opacity:1}}@keyframes sp-transit{0%{transform:translateX(-200px)}100%{transform:translateX(200px)}}@keyframes sp-phase{0%{transform:translateX(60px)}50%{transform:translateX(-60px)}100%{transform:translateX(60px)}}
.sp-pulse{transform-box:fill-box;transform-origin:center;animation:sp-pulse 6s ease-in-out infinite}.sp-delayed{animation-delay:-3s}.sp-flare{animation:sp-visibility 3s ease-in-out infinite}.sp-orbit-rotate{transform-box:fill-box;transform-origin:center;animation:sp-turn 42s linear infinite}.sp-orbiting{transform-origin:320px 141px;animation:sp-turn 18s linear infinite}.sp-wave{stroke-dasharray:650;stroke-dashoffset:650;animation:sp-wave-go 7s linear infinite}.sp-wave-two{animation-delay:-2.5s}@keyframes sp-wave-go{0%{stroke-dashoffset:650}100%{stroke-dashoffset:-650}}.sp-galaxy{transform-origin:320px 140px;animation:sp-turn 80s linear infinite}.sp-surface{transform-origin:320px 140px;animation:sp-sway 12s ease-in-out infinite;clip-path:circle(90px at 320px 140px)}.sp-transit-body{animation:sp-transit 14s linear infinite}.sp-moon-phase{animation:sp-phase 9s ease-in-out infinite;clip-path:circle(87px at 320px 140px)}.sp-sky-motion{animation:sp-tilt 22s ease-in-out infinite}.sp-ship{animation:sp-travel 12s ease-in-out infinite}.atlas-motion.paused .atlas-schematic *, .atlas-motion.paused .atlas-schematic *::before,.atlas-motion.paused .atlas-schematic *::after{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){.atlas-motion .atlas-schematic *, .atlas-motion .atlas-schematic *::before,.atlas-motion .atlas-schematic *::after{animation-play-state:paused!important}.atlas-motion:not(.paused) .atlas-schematic *{animation-play-state:running!important}.atlas-motion,.atlas-motion *{scroll-behavior:auto!important}}
@media(max-width:640px){.atlas-modal-extension{padding:0 15px 15px}.atlas-motion-top{padding:12px 11px 0}.atlas-motion-bottom{padding:2px 12px 14px;flex-direction:column;align-items:start}.atlas-motion-bottom strong{font-size:14px}.atlas-motion-bottom p{font-size:11px!important}.atlas-motion-kicker{font-size:9px;letter-spacing:1.1px}.atlas-motion.compact .atlas-motion-canvas{max-height:130px}.atlas-motion.compact .atlas-schematic{max-height:130px;min-height:105px}.atlas-motion-toggle{min-width:74px;padding:6px 10px}.atlas-schematic-label{white-space:normal}}

.atlas-lab-intro{padding:18px 20px;border:1px solid #4f9db744;border-radius:14px;background:#0a2539;margin-bottom:16px;color:#d4ebf5}.atlas-lab-intro strong{font-size:16px}.atlas-lab-intro p{font-size:13px;line-height:1.6;margin:6px 0 0}.atlas-lab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.atlas-lab-grid .atlas-motion{margin:0}@media(max-width:780px){.atlas-lab-grid{grid-template-columns:1fr}}
/* Repair a pre-existing minimum-width constraint in the APOD grid on 320px screens. */
@media(max-width:400px){.apod-layout{grid-template-columns:minmax(0,1fr)!important}.apod-preview,.apod-content{min-width:0!important;max-width:100%!important;width:100%!important}.apod-preview .mini-note{max-width:100%;overflow-wrap:anywhere;text-align:center;padding:12px}}
