/* Sirius Startup Hub — directory demo (standalone) */
:root {
  --shd-ink: #0f172a;
  --shd-muted: #64748b;
  --shd-line: #e2e8f0;
  --shd-soft: #f8fafc;
  --shd-accent: #1e3a5f;
  --shd-warn: #92400e;
}

.shd-page {
  min-height: 100vh;
  background: #fff;
  color: var(--shd-ink);
  font-family: "Plus Jakarta Sans", "DM Sans", Inter, system-ui, sans-serif;
}

.shd-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

/* Header locale */
.shd-header {
  border-bottom: 1px solid var(--shd-line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.shd-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.shd-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--shd-ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.shd-brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--shd-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
}
.shd-brand__hub {
  color: var(--shd-muted);
  font-weight: 700;
  font-size: 0.92rem;
}
.shd-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}
.shd-nav a {
  color: #334155;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.shd-nav a:hover { color: var(--shd-ink); text-decoration: underline; }
.shd-badge-demo {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--shd-warn);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}
.shd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 8px;
  border: 1px solid var(--shd-line);
  background: #fff;
  color: var(--shd-ink);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 0.95rem;
  text-decoration: none;
  cursor: pointer;
}
.shd-btn:hover { background: var(--shd-soft); color: var(--shd-ink); }
.shd-btn--primary {
  background: var(--shd-accent);
  border-color: var(--shd-accent);
  color: #fff;
}
.shd-btn--primary:hover { background: #152a45; color: #fff; }
.shd-btn--ghost { background: transparent; }
.shd-btn--block { width: 100%; }

/* Hero compatta */
.shd-hero {
  padding: 1.35rem 0 0.85rem;
  border-bottom: 1px solid var(--shd-line);
  margin-bottom: 1.25rem;
}
.shd-hero h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.shd-hero p {
  margin: 0.45rem 0 0.9rem;
  max-width: 40rem;
  color: var(--shd-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}
.shd-search {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.shd-search input[type="search"] {
  flex: 1 1 280px;
  min-height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.7rem 0.95rem;
  font-size: 1rem;
}
.shd-search input:focus {
  outline: 2px solid #cbd5e1;
  border-color: #94a3b8;
}

/* Metrics */
.shd-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1rem 0 0.35rem;
}
.shd-metric {
  border: 1px solid var(--shd-line);
  border-radius: 10px;
  background: var(--shd-soft);
  padding: 0.7rem 0.8rem;
}
.shd-metric strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
}
.shd-metric span {
  font-size: 0.78rem;
  color: var(--shd-muted);
}
.shd-disclaimer {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Chips obiettivi */
.shd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}
.shd-chip {
  display: inline-flex;
  border: 1px solid var(--shd-line);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}
.shd-chip:hover,
.shd-chip.is-active {
  border-color: #94a3b8;
  background: var(--shd-soft);
  color: var(--shd-ink);
}

/* Layout filtri + risultati */
.shd-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.shd-filters {
  border: 1px solid var(--shd-line);
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
  position: sticky;
  top: 72px;
}
.shd-filters h2 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
}
.shd-field { margin-bottom: 0.75rem; }
.shd-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--shd-muted);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.shd-field select,
.shd-field input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font-size: 0.9rem;
  background: #fff;
}
.shd-filter-actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.shd-adv summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.88rem;
  color: #334155;
  margin: 0.5rem 0;
}
.shd-adv[open] summary { margin-bottom: 0.65rem; }

.shd-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.shd-toolbar__count {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
}
.shd-toolbar select {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.4rem 0.55rem;
  font-size: 0.88rem;
  background: #fff;
}

/* Griglia card — separazione via padding celle (affidabile) */
.shd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0.35rem;
  margin: 0.75rem 0 0.75rem;
  background: #e8eef5;
  border: 1px solid #d8e0ea;
  border-radius: 14px;
}
.shd-grid__item {
  padding: 0.85rem;
  min-width: 0;
  box-sizing: border-box;
}
.shd-card {
  border: 1px solid #b8c4d4;
  border-radius: 12px;
  background: #fff;
  padding: 1.2rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
  margin: 0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.07);
  box-sizing: border-box;
}
.shd-card__top {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.shd-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--shd-line);
  background: var(--shd-soft);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #334155;
  flex: 0 0 auto;
}
.shd-card__name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.shd-card__tagline {
  margin: 0.15rem 0 0;
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.35;
}
.shd-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--shd-muted);
}
.shd-desc {
  margin: 0;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.45;
  flex: 1 1 auto;
}
.shd-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.shd-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
  background: var(--shd-soft);
  border: 1px solid var(--shd-line);
  border-radius: 999px;
  padding: 0.18rem 0.48rem;
}
.shd-pill--demo { color: #166534; background: #f0fdf4; border-color: #bbf7d0; }
.shd-pill--stealth { color: #7c2d12; background: #fff7ed; border-color: #fed7aa; }
.shd-pill--vis { color: #1e3a5f; background: #eff6ff; border-color: #bfdbfe; }
.shd-looking {
  margin: 0;
  font-size: 0.8rem;
  color: #475569;
}
.shd-looking strong { color: var(--shd-ink); font-weight: 700; }
.shd-updated {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
}
.shd-card__cta { margin-top: 0.25rem; }

.shd-card--stealth {
  background: #fafafa;
  border-style: dashed;
  border-color: #cbd5e1;
  box-shadow: none;
}
.shd-logo--stealth {
  background: #f1f5f9;
  color: #94a3b8;
  font-size: 1.1rem;
}

.shd-section {
  margin: 2rem 0 0;
}
.shd-section h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
}
.shd-section > p {
  margin: 0 0 0.9rem;
  color: var(--shd-muted);
  font-size: 0.92rem;
}

.shd-calls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.shd-call {
  border: 1px solid var(--shd-line);
  border-radius: 12px;
  padding: 1rem;
  background: var(--shd-soft);
  position: relative;
}
.shd-call--live {
  border-color: #1e3a5f;
  box-shadow: 0 0 0 1px rgba(30, 58, 95, 0.08);
}
.shd-call--disabled {
  opacity: 0.55;
  filter: grayscale(0.35);
}
.shd-call--disabled .shd-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.85;
}
.shd-call__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #0f2744;
  background: rgba(30, 58, 95, 0.1);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.45rem;
}
.shd-call__badge--mute {
  color: #64748b;
  background: rgba(100, 116, 139, 0.12);
}
.shd-call h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 800;
}
.shd-call p {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  color: #475569;
}
.shd-call__meta {
  font-size: 0.78rem;
  color: var(--shd-muted);
  margin-bottom: 0.7rem;
}

.shd-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.shd-step {
  border-top: 2px solid var(--shd-accent);
  padding-top: 0.75rem;
}
.shd-step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.shd-step p {
  margin: 0;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.45;
}

.shd-footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--shd-line);
  color: var(--shd-muted);
  font-size: 0.82rem;
}
.shd-footer strong { color: var(--shd-warn); }

.shd-empty {
  border: 1px dashed var(--shd-line);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  color: var(--shd-muted);
}

/* Modal semplice */
.shd-modal[hidden] { display: none !important; }
.shd-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.shd-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.shd-modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--shd-line);
  padding: 1.25rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}
.shd-modal__panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
}
.shd-modal__panel p {
  margin: 0 0 1rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .shd-layout { grid-template-columns: 1fr; }
  .shd-filters { position: static; }
  .shd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shd-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shd-calls,
  .shd-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .shd-grid,
  .shd-calls,
  .shd-steps,
  .shd-metrics { grid-template-columns: 1fr; }
  .shd-header__inner {
    padding: 0.55rem 0.85rem;
    gap: 0.45rem;
  }
  .shd-nav {
    width: 100%;
    flex-wrap: nowrap;
    gap: 0.55rem 0.7rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.1rem;
  }
  .shd-nav::-webkit-scrollbar { display: none; }
  .shd-nav a,
  .shd-nav .shd-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .shd-nav .shd-badge-demo { display: none; }
  .shd-nav .shd-btn {
    padding: 0.42rem 0.75rem;
    font-size: 0.82rem;
  }
  .shd-card__cta .shd-btn { width: 100%; }
  .shd-search .shd-btn { width: 100%; }
  #orbita,
  #directory,
  #call,
  #come-funziona {
    scroll-margin-top: 6.5rem;
  }
}

/* —— Costellazione full-page (stesso accent navy, senza rompere la directory) —— */
.shd-btn--lg { padding: 0.75rem 1.2rem; font-size: 0.95rem; }
.shd-btn--cosmos {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(226, 232, 240, 0.35);
  color: #f8fafc;
}
.shd-btn--cosmos:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.shd-cosmos {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: calc(100vh - 4rem);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  overflow: hidden;
  color: #e2e8f0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(56, 120, 168, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 45% at 15% 80%, rgba(30, 58, 95, 0.55), transparent 50%),
    linear-gradient(160deg, #061018 0%, #0c1a2e 45%, #152a45 100%);
  border-block: 1px solid rgba(148, 163, 184, 0.18);
  perspective: 900px;
}
.shd-cosmos__sky {
  position: absolute;
  inset: -4%;
  pointer-events: none;
  transform-style: preserve-3d;
  will-change: transform;
}
.shd-cosmos__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,.85), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.5px 1.5px at 44% 30%, rgba(255,255,255,.75), transparent),
    radial-gradient(1px 1px at 58% 78%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 72% 22%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 86% 54%, rgba(255,255,255,.65), transparent),
    radial-gradient(1px 1px at 18% 88%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 92% 12%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 35% 10%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 65% 92%, rgba(255,255,255,.45), transparent);
  animation: shd-twinkle 7s ease-in-out infinite alternate;
  opacity: 0.9;
}
.shd-cosmos__nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}
.shd-cosmos__nebula--a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  right: 8%;
  top: 10%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.35), transparent 68%);
  animation: shd-drift-a 18s ease-in-out infinite alternate;
}
.shd-cosmos__nebula--b {
  width: min(42vw, 360px);
  height: min(42vw, 360px);
  left: 6%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.18), transparent 70%);
  animation: shd-drift-b 22s ease-in-out infinite alternate;
}
.shd-cosmos__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
  animation: shd-grid-drift 30s linear infinite;
}
.shd-cosmos__rings {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(72vw, 640px);
  height: min(72vw, 640px);
  transform: translate(-50%, -50%);
}
.shd-cosmos__rings i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.22);
  animation: shd-spin 48s linear infinite;
}
.shd-cosmos__rings i:nth-child(2) {
  inset: 12%;
  border-color: rgba(96, 165, 250, 0.28);
  animation-duration: 36s;
  animation-direction: reverse;
}
.shd-cosmos__rings i:nth-child(3) {
  inset: 24%;
  border-color: rgba(45, 212, 191, 0.22);
  animation-duration: 26s;
}
.shd-cosmos__core {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(168px, 38vw);
  height: min(168px, 38vw);
  display: grid;
  place-items: center;
  z-index: 2;
  pointer-events: none;
  background: none;
  border: 0;
  box-shadow: none;
}
.shd-sirius {
  position: relative;
  width: 72%;
  height: 72%;
  display: grid;
  place-items: center;
}
.shd-sirius__halo {
  position: absolute;
  inset: -28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.55) 0%, rgba(56, 189, 248, 0.18) 42%, transparent 70%);
  animation: shd-sirius-pulse 3.2s ease-in-out infinite;
  filter: blur(2px);
}
.shd-sirius__halo--soft {
  inset: -48%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(125, 211, 252, 0.12) 35%, transparent 68%);
  animation-duration: 4.6s;
  animation-direction: alternate;
  filter: blur(6px);
}
.shd-sirius__star {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  animation: shd-sirius-spin 18s linear infinite;
  filter:
    drop-shadow(0 0 10px rgba(125, 211, 252, 0.75))
    drop-shadow(0 0 28px rgba(56, 189, 248, 0.45))
    drop-shadow(0 0 48px rgba(30, 58, 95, 0.55));
}
@keyframes shd-sirius-spin {
  to { transform: rotate(360deg); }
}
@keyframes shd-sirius-pulse {
  0%, 100% { opacity: 0.75; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.06); }
}

.shd-cosmos__content {
  position: relative;
  z-index: 3;
  width: min(100% - 2.5rem, 1120px);
  margin: 0 auto;
  padding: clamp(2rem, 5vh, 3.5rem) 0 clamp(2.5rem, 6vh, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.25rem 2rem;
  min-height: inherit;
  align-content: center;
  align-items: center;
}
.shd-cosmos__copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.shd-cosmos__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
}
.shd-cosmos__content h2 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #f8fafc;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.shd-cosmos__lead {
  margin: 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.88);
}
.shd-cosmos__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}
.shd-cosmos__hint {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Nodi startup in orbita */
.shd-cosmos__orbit {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  height: min(62vw, 460px);
  max-width: 100%;
  will-change: transform;
  justify-self: stretch;
}
.shd-cosmos__node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  --angle: calc((var(--i) / var(--n)) * 360deg);
  --radius: clamp(118px, 28vw, 190px);
  transform:
    rotate(var(--angle))
    translateX(var(--radius))
    rotate(calc(-1 * var(--angle)));
  animation: shd-bob 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.28s);
}
.shd-cosmos__planet {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  width: min(168px, 42vw);
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
  text-decoration: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: center;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s ease;
}
a.shd-cosmos__planet { color: inherit; }
.shd-cosmos__planet:hover,
.shd-cosmos__planet:focus-visible {
  transform: translate(-50%, -50%) scale(1.06);
  outline: none;
}
.shd-cosmos__planet-ring {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px dashed rgba(125, 211, 252, 0.45);
  animation: shd-spin 12s linear infinite;
}
.shd-cosmos__planet-body {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(145deg, #2a4a73, #1e3a5f);
  border: 1px solid rgba(191, 219, 254, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}
.shd-cosmos__planet.is-easy .shd-cosmos__planet-body {
  background: linear-gradient(145deg, #0f766e, #1e3a5f);
  border-color: rgba(45, 212, 191, 0.55);
}
.shd-cosmos__planet-meta {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
  padding: 0.45rem 0.65rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.28);
  backdrop-filter: blur(8px);
}
.shd-cosmos__planet-meta strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shd-cosmos__planet-meta em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: #7dd3fc;
}

@keyframes shd-twinkle {
  from { opacity: 0.65; }
  to { opacity: 1; }
}
@keyframes shd-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-24px, 18px) scale(1.08); }
}
@keyframes shd-drift-b {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(20px, -16px) scale(1.06); }
}
@keyframes shd-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 56px, 56px 56px; }
}
@keyframes shd-spin {
  to { transform: rotate(360deg); }
}
@keyframes shd-bob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -6px; }
}

@media (max-width: 900px) {
  .shd-cosmos {
    min-height: auto;
  }
  .shd-cosmos__content {
    grid-template-columns: 1fr;
    align-content: start;
  }
  .shd-cosmos__orbit {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
  .shd-cosmos__node {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    animation: none;
  }
  .shd-cosmos__planet,
  .shd-cosmos__planet:hover,
  .shd-cosmos__planet:focus-visible {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
  }
  .shd-cosmos__rings { opacity: 0.35; }
  .shd-cosmos__core {
    width: 96px;
    height: 96px;
    top: 18%;
    opacity: 0.9;
  }
  .shd-cosmos__content h2 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .shd-cosmos__stars,
  .shd-cosmos__nebula,
  .shd-cosmos__grid,
  .shd-cosmos__rings i,
  .shd-cosmos__planet-ring,
  .shd-cosmos__node,
  .shd-sirius__star,
  .shd-sirius__halo {
    animation: none !important;
  }
}
