/* Each planet and the core share one stacking context, ordered by depth. */
.world-layer{z-index:auto}
.world-card{width:176px;height:176px;isolation:isolate;border-radius:50%}
.world-card:is(.locked,.available) .world-card-inner{border:0;border-radius:50%;background:transparent;overflow:visible;box-shadow:none;animation:none;inset:0}
.world-card .world-card-inner::before,.world-card .world-card-inner::after{display:none}
.world-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform:none;filter:drop-shadow(0 0 4px #87cafa24);mask-image:radial-gradient(ellipse,#000 62%,#000e 70%,transparent 79%);transition:filter .45s ease}
.world-card:hover img,.world-card:focus-visible img{transform:none;filter:brightness(1.1) drop-shadow(0 0 10px #9bd8ff65)}
.planet-atmosphere{position:absolute;inset:10%;border-radius:50%;box-shadow:0 0 17px #89cfff1c,inset 0 0 18px #84c9ff15;pointer-events:none;transition:box-shadow .4s}
.world-card:hover .planet-atmosphere,.world-card:focus-visible .planet-atmosphere{box-shadow:0 0 29px #a4d8ff32,inset 0 0 16px #c0e8ff15}
.world-card .world-card-label{left:50%;top:auto;bottom:-12px;transform:translateX(-50%);font-size:8px;letter-spacing:.18em;color:#8da6b3;text-shadow:none;font-weight:400;opacity:.7}
.world-card.planet-glitch .world-card-inner{animation:planetInterference .15s steps(2) both}
@keyframes planetInterference{25%{transform:translateX(-2px);filter:drop-shadow(2px 0 #81ecff88)}65%{transform:translateX(2px);filter:drop-shadow(-2px 0 #d180ff77)}100%{transform:none;filter:none}}
.system-core{z-index:31}.system-core .core-halo{inset:-23px;background:radial-gradient(circle at 38% 30%,#98e7ff10,transparent 45%),radial-gradient(circle,#68cfff08 45%,#9feeff10 67%,transparent 73%);border-color:#a4eaff24;box-shadow:0 0 65px #60d6ff18,inset 0 0 45px #73dcff15}
.system-core .core-halo::before{border-style:solid;border-color:#b5efff0c}.system-core .core-halo::after{border-color:#b5efff09}.world-link{stroke:#7fd4f530;filter:none}.world-link-node{opacity:.15}
@media(max-width:760px){.world-card{width:116px;height:116px}.planet-atmosphere{box-shadow:0 0 12px #89cfff18}.system-core{width:130px;height:130px}.system-core img{width:99px}}
@media(max-width:430px){.world-card{width:108px;height:108px}}
@media(prefers-reduced-motion:reduce){.world-card.planet-glitch .world-card-inner{animation:none}}
