/* WeAD Mini hub — Orbit Deck (B)
 * Real-photo cyberpunk stage + concentric app orbits.
 * Startale auth only. Revert via _revert_hub_cards/. */

/* Type stack aligned with Interact to Earn (Manrope nav / Syne display) */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&family=Syne:wght@600;700;800&display=swap");

:root {
  --orbit-ink: #07080c;
  --orbit-fog: rgba(7, 8, 12, 0.72);
  --orbit-line: rgba(255, 214, 170, 0.22);
  --orbit-accent: #ff6a3d;
  --orbit-cyan: #7ec8e3;
  --orbit-live: #3dde8c;
  --orbit-alpha: #ffb020;
  --orbit-soon: #9b8cff;
  --hub-nav-font: "Manrope", "IBM Plex Sans", sans-serif;
  --hub-display-font: Syne, sans-serif;
}

.hub-home {
  min-height: 100dvh;
  background: var(--orbit-ink);
  color: #fff;
  -webkit-tap-highlight-color: transparent;
  /* Bottom inset is on .orbit-footer — don't stack a second empty band */
  padding-bottom: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.orbit-home {
  --hub-nav-h: calc(3rem + env(safe-area-inset-top, 0px));
  overflow-x: hidden;
}

/* ─── Top nav (shared with HubMenu) ─── */
.hub-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  /* Paint glass into the notch — kills the dark strip above logo/hamburger */
  padding: max(0.55rem, env(safe-area-inset-top, 0px)) 1.25rem 0.55rem;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.03) 40%,
      rgba(255, 140, 0, 0.06) 100%
    ),
    rgba(10, 12, 18, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
  isolation: isolate;
}

/* Flashy shine sweep — right → left across the glass nav */
.hub-nav::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: min(42%, 280px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 28%,
    rgba(0, 240, 255, 0.28) 48%,
    rgba(255, 255, 255, 0.55) 52%,
    rgba(255, 140, 60, 0.32) 58%,
    rgba(255, 255, 255, 0.06) 72%,
    transparent 100%
  );
  filter: blur(0.4px);
  mix-blend-mode: screen;
  transform: translateX(280%);
  animation: hub-nav-shine 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes hub-nav-shine {
  0% {
    transform: translateX(280%);
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    transform: translateX(-180%);
    opacity: 0;
  }
}

/*
 * Orbit hub: float nav over the stage so there is no sibling seam
 * (border / 1px shadow / photo edge) between header and hero.
 */
.orbit-home > .hub-nav {
  margin-bottom: calc(-1 * var(--hub-nav-h));
  background: linear-gradient(
    180deg,
    rgba(7, 8, 12, 0.82) 0%,
    rgba(7, 8, 12, 0.45) 55%,
    rgba(7, 8, 12, 0) 100%
  );
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: none;
}

.orbit-home > .orbit-stage {
  padding-top: calc(var(--hub-nav-h) + 0.65rem);
}

body.hub-menu-open .hub-nav,
.mini-portrait-shell.hub-menu-open-shell .hub-nav {
  z-index: 80;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  padding-top: max(0.55rem, env(safe-area-inset-top, 0px));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #07080c;
}

.hub-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.hub-nav-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  background: #050507;
  padding: 3px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hub-nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.hub-desk-nav {
  display: none;
  align-items: center;
  gap: 0.1rem;
}

.hub-desk-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.78);
  text-decoration: none;
  font-family: var(--hub-nav-font);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hub-desk-link:hover {
  color: #f4f1ea;
  background: rgba(255, 255, 255, 0.05);
}

.hub-desk-drop {
  position: relative;
}

.hub-desk-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 200px;
  padding: 0.4rem;
  border-radius: 12px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(12, 14, 20, 0.82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  z-index: 50;
}

.hub-desk-panel a,
.hub-desk-panel button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.78);
  text-decoration: none;
  font-family: var(--hub-nav-font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: transparent;
  border: none;
  cursor: pointer;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
}

.hub-desk-panel a:hover,
.hub-desk-panel button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #f4f1ea;
}

.hub-desk-wallet {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-family: var(--hub-nav-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(244, 241, 234, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
}

.hub-desk-wallet .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orbit-live);
  box-shadow: 0 0 8px rgba(61, 222, 140, 0.55);
}

/* SoundChains radio — compact inline nav chip (no dropdown) */
.hub-music {
  position: relative;
  flex: 0 0 auto;
  width: 188px;
  max-width: 188px;
  min-width: 0;
  z-index: 45;
  margin-right: 0.2rem;
}

.hub-music-bar {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 30px;
  height: 30px;
  padding: 0 0.28rem 0 0.35rem;
  border-radius: 999px;
  background:
    linear-gradient(120deg, rgba(0, 240, 255, 0.1), transparent 40%, rgba(255, 106, 61, 0.12)),
    rgba(6, 8, 14, 0.72);
  border: 1px solid rgba(0, 230, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 12px rgba(0, 200, 255, 0.1);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  position: relative;
  overflow: hidden;
}

.hub-music-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 60%
  );
  background-size: 220% 100%;
  animation: hub-music-sheen 4.5s linear infinite;
  pointer-events: none;
}

@keyframes hub-music-sheen {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

.hub-music.is-playing .hub-music-bar {
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 1px rgba(255, 140, 0, 0.18),
    0 0 22px rgba(0, 220, 255, 0.22);
}

.hub-music-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 10px;
  flex-shrink: 0;
  z-index: 1;
}

.hub-music-eq i {
  display: block;
  width: 1.5px;
  height: 40%;
  border-radius: 1px;
  background: linear-gradient(180deg, #7ef0ff, #ff8a4c);
  opacity: 0.55;
}

.hub-music.is-playing .hub-music-eq i {
  opacity: 1;
  animation: hub-music-eq 0.85s ease-in-out infinite;
}
.hub-music.is-playing .hub-music-eq i:nth-child(2) {
  animation-delay: 0.12s;
}
.hub-music.is-playing .hub-music-eq i:nth-child(3) {
  animation-delay: 0.24s;
}
.hub-music.is-playing .hub-music-eq i:nth-child(4) {
  animation-delay: 0.36s;
}

@keyframes hub-music-eq {
  0%,
  100% {
    height: 35%;
  }
  50% {
    height: 100%;
  }
}

.hub-music-ticker {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 58px;
  height: 1.1rem;
  text-decoration: none;
  z-index: 1;
  border-radius: 4px;
}

.hub-music-ticker:hover .hub-music-line.is-active {
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 230, 255, 0.45);
}

.hub-music-ticker--idle {
  pointer-events: none;
  opacity: 0.7;
}

.hub-music-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.88);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  pointer-events: none;
}

.hub-music-line.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hub-music-line--user {
  color: #7ec8e3;
  font-weight: 500;
}

.hub-music-line--brand {
  color: #ffb07a;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hub-music-controls {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  flex-shrink: 0;
  z-index: 1;
}

.hub-music-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hub-music-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.hub-music-btn--primary {
  width: 22px;
  height: 22px;
  background: linear-gradient(145deg, #5ef0ff, #2bb8c9 45%, #ff8a4c);
  border-color: transparent;
  color: #061018;
  font-weight: 800;
  box-shadow: 0 0 8px rgba(0, 230, 255, 0.3);
  font-size: 0.58rem;
}

/* Compact: show shuffle only; loop stays JS-default / hidden */
.hub-music-btn--toggle {
  display: none;
  width: 18px;
  height: 18px;
  font-size: 0.58rem;
  opacity: 0.75;
}

.hub-music-controls .hub-music-btn--toggle[aria-label="Shuffle"] {
  display: inline-flex;
}

.hub-music-btn--toggle.is-on {
  opacity: 1;
  border-color: rgba(0, 230, 255, 0.45);
  color: #9ef6ff;
  background: rgba(0, 200, 255, 0.14);
}

@media (max-width: 899px) {
  .hub-music {
    width: 168px;
    max-width: 168px;
  }

  .hub-music-ticker {
    width: 44px;
  }

  .hub-music-line {
    font-size: 0.55rem;
  }
}

.hub-desk-logout {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.hub-desk-logout:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hub-menu-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hub-nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.hub-nav-toggle .bar {
  display: block;
  height: 2px;
  width: 100%;
  background: #ff8c00;
  border-radius: 2px;
}

.hub-nav-toggle.is-open .hub-nav-x {
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

.hub-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: calc(52px + 1.25rem) 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #07080c;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.mini-portrait-shell > .hub-menu-panel {
  position: absolute;
  z-index: 70;
}

.hub-menu-panel a,
.hub-menu-panel button.hub-menu-link {
  display: block;
  width: min(320px, 88vw);
  text-align: center;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-menu-panel a:hover,
.hub-menu-panel button.hub-menu-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hub-m-link,
.hub-m-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: min(320px, 88vw);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: rgba(244, 241, 234, 0.85);
  text-decoration: none;
  font-family: var(--hub-nav-font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  background: transparent;
  border: none;
  cursor: pointer;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
}

.hub-m-link:hover,
.hub-m-trigger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.hub-m-drop {
  width: min(320px, 88vw);
}

.hub-m-trigger {
  width: 100%;
  justify-content: space-between;
}

.hub-m-left {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hub-m-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.25rem 0 0.5rem;
}

.hub-m-sub,
.hub-m-sub-btn {
  display: block;
  padding: 0.45rem 0.85rem 0.45rem 2.1rem;
  color: rgba(244, 241, 234, 0.72);
  text-decoration: none;
  font-family: var(--hub-nav-font);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 999px;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
}

.hub-m-sub:hover,
.hub-m-sub-btn:hover,
.hub-m-sub-btn.active {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.hub-m-auth {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hub-m-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

.hub-m-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
}

.hub-m-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.hub-m-logout:hover {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.3);
  background: rgba(220, 38, 38, 0.08);
}

.hub-m-lang-search {
  width: 100%;
  margin: 0.25rem 0 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.85rem;
}

.hub-m-install {
  width: min(320px, 88vw);
  margin-top: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 140, 0, 0.35);
  background: rgba(255, 140, 0, 0.12);
  color: #ffb060;
  font-size: 0.9rem;
  cursor: pointer;
}

.hub-m-lang-native {
  display: block;
  font-weight: 600;
}

.hub-m-lang-en {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.hub-m-lang-empty {
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.hub-m-lang-code {
  opacity: 0.55;
  font-weight: 400;
}

@media (min-width: 900px) {
  .hub-nav {
    position: relative;
    justify-content: flex-start;
  }

  /* Keep orbit overlay join on desktop too (relative nav still floats via neg margin) */
  .orbit-home {
    --hub-nav-h: 3.25rem;
  }
  .hub-menu-wrap {
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
  }
  /* Shift center menu left; compact music chip sits in the right cluster */
  .hub-desk-nav {
    display: inline-flex;
    position: absolute;
    left: 38%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }
  .hub-desk-wallet,
  .hub-desk-logout {
    display: inline-flex;
  }
  .hub-music {
    width: 198px;
    max-width: 198px;
  }
  .hub-nav-toggle {
    display: none;
  }
}

/* ─── Orbit stage ─── */
.orbit-stage {
  position: relative;
  isolation: isolate;
  min-height: min(92dvh, 920px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 1.25rem 1rem 2rem;
  overflow: hidden;
}

.orbit-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.orbit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(1.05) contrast(1.08);
  transform: scale(1.02);
}

.orbit-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(7, 8, 12, 0.15), rgba(7, 8, 12, 0.82) 70%),
    linear-gradient(
      180deg,
      rgba(7, 8, 12, 0.55) 0%,
      rgba(7, 8, 12, 0.35) 35%,
      rgba(7, 8, 12, 0.72) 72%,
      var(--orbit-ink) 92%,
      var(--orbit-ink) 100%
    );
}

/* Solid ink floor under stage content — no neon strip between focus + Coming */
.orbit-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  z-index: 4;
  background: linear-gradient(180deg, transparent 0%, var(--orbit-ink) 55%, var(--orbit-ink) 100%);
  pointer-events: none;
}

.orbit-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.14;
  background-image:
    linear-gradient(var(--orbit-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--orbit-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 55% 50% at 50% 45%, #000 20%, transparent 75%);
  pointer-events: none;
}

.orbit-scan {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.045) 3px,
    rgba(0, 0, 0, 0.045) 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.orbit-hud {
  position: relative;
  z-index: 5;
  text-align: center;
  margin-bottom: 0.5rem;
  pointer-events: none;
}

.orbit-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 220, 190, 0.72);
}

.orbit-brand {
  margin: 0;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55);
}

.orbit-brand span {
  color: var(--orbit-accent);
}

.orbit-tag {
  margin: 0.55rem auto 0;
  max-width: 28rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.orbit-wallet {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.orbit-deck {
  /* Equal steps from center: 0 → r1 → r2 (= 2×r1) */
  --orbit-r1: 150px;
  --orbit-r2: 300px;
  --orbit-node: 50px;
  position: relative;
  z-index: 6;
  width: min(92vw, 680px);
  height: min(92vw, 680px);
  max-height: 68dvh;
  margin: 0.25rem auto 0;
}

/* Mobile constellation — hidden on desktop (see ≤899 / ≥900 blocks) */
.orbit-constellation {
  display: none;
}

@keyframes orbit-core-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.55),
      0 0 0 6px rgba(0, 0, 0, 0.35),
      0 0 22px rgba(255, 106, 61, 0.28);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.07);
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.55),
      0 0 0 8px rgba(0, 0, 0, 0.28),
      0 0 36px rgba(255, 106, 61, 0.55);
  }
}

@keyframes orbit-logo-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.55),
      0 0 0 5px rgba(0, 0, 0, 0.3),
      0 0 18px rgba(255, 106, 61, 0.28);
  }
  50% {
    transform: scale(1.08);
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.55),
      0 0 0 7px rgba(0, 0, 0, 0.28),
      0 0 32px rgba(255, 106, 61, 0.55);
  }
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  z-index: 8;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #050507;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.55),
    0 0 0 6px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(255, 106, 61, 0.28);
  pointer-events: none;
  animation: orbit-core-pulse 2.8s ease-in-out infinite;
}

.orbit-core img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  /* Soft circular crop if source art is square */
  border-radius: 50%;
}

.orbit-core-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112px;
  height: 112px;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 180, 120, 0.4);
  box-shadow: 0 0 0 8px rgba(255, 106, 61, 0.06);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Static equal-spaced guide rings — same center as core + nodes */
.orbit-guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.orbit-guide {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}

.orbit-guide--1 {
  width: calc(var(--orbit-r1) * 2);
  height: calc(var(--orbit-r1) * 2);
}

.orbit-guide--2 {
  width: calc(var(--orbit-r2) * 2);
  height: calc(var(--orbit-r2) * 2);
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  margin: 0;
  padding: 0;
  /* Full-size layers stack — only nodes should capture clicks */
  pointer-events: none;
}

.orbit-ring--1 {
  z-index: 5;
  --orbit-r: var(--orbit-r1);
  --orbit-spin-dur: 80s;
  animation: orbit-spin var(--orbit-spin-dur) linear infinite;
}

.orbit-ring--2 {
  z-index: 3;
  --orbit-r: var(--orbit-r2);
  --orbit-spin-dur: 120s;
  animation: orbit-spin var(--orbit-spin-dur) linear infinite reverse;
}

.orbit-ring .orbit-node {
  pointer-events: auto;
}

.orbit-deck:hover .orbit-ring,
.orbit-deck:focus-within .orbit-ring {
  animation-play-state: paused;
}

.orbit-deck:hover .orbit-node-spinfix,
.orbit-deck:focus-within .orbit-node-spinfix {
  animation-play-state: paused;
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

/*
  Alignment model:
  - Node anchor is a 0×0 point at deck center (same as guides/core).
  - Face is moved onto the ring, then centered on that point.
  - Labels sit outside the disc box so they never shift the ring math.
*/
.orbit-node {
  --rot: calc(((360deg / var(--n)) * var(--i)) + var(--orbit-phase, 0deg));
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: #fff;
  z-index: 4;
}

.orbit-ring--1 .orbit-node {
  --orbit-phase: 0deg;
}

.orbit-ring--2 .orbit-node {
  --orbit-node: 46px;
  --orbit-phase: calc(180deg / var(--n));
}

/* Face is margin-centered on the deck origin, then moved onto the ring.
   That keeps transform-origin = disc center = orbit math origin. */
.orbit-node-face {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--orbit-node);
  height: var(--orbit-node);
  margin-left: calc(var(--orbit-node) / -2);
  margin-top: calc(var(--orbit-node) / -2);
  display: block;
  transform-origin: center center;
  transform:
    rotate(var(--rot))
    translateY(calc(-1 * var(--orbit-r)))
    rotate(calc(-1 * var(--rot)));
  transition: filter 0.2s ease;
}

.orbit-node:hover .orbit-node-face,
.orbit-node:focus-visible .orbit-node-face {
  filter: brightness(1.12);
}

.orbit-node:focus-visible {
  outline: none;
}

/* Keeps disc + label upright while the ring orbits */
.orbit-node-spinfix {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  animation: orbit-spin var(--orbit-spin-dur, 80s) linear infinite reverse;
}

.orbit-ring--2 .orbit-node-spinfix {
  /* Parent ring runs reverse — counter with forward */
  animation: orbit-spin var(--orbit-spin-dur, 120s) linear infinite;
}

.orbit-node-disc {
  display: block;
  width: var(--orbit-node);
  height: var(--orbit-node);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-sizing: border-box;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  background: #111;
}

.orbit-node-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.orbit-node-meta {
  position: absolute;
  left: 50%;
  top: calc(100% + 5px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  width: max-content;
  max-width: 5.5rem;
  pointer-events: none;
}

.orbit-node-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.15;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 5.5rem;
}

.orbit-node-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orbit-live);
  box-shadow: 0 0 8px rgba(61, 222, 140, 0.6);
  flex-shrink: 0;
}

.orbit-node-dot--alpha {
  background: var(--orbit-alpha);
  box-shadow: 0 0 8px rgba(255, 176, 32, 0.55);
}

.orbit-node-dot--coming {
  background: var(--orbit-soon);
}

.orbit-focus {
  position: relative;
  z-index: 7;
  width: min(420px, 92vw);
  margin: 1.25rem auto 0;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 16, 0.72);
  backdrop-filter: blur(14px);
  text-align: left;
}

.orbit-focus-badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orbit-live);
  margin-bottom: 0.35rem;
}

.orbit-focus-badge--alpha {
  color: var(--orbit-alpha);
}

.orbit-focus-badge--coming {
  color: var(--orbit-soon);
}

.orbit-focus h2 {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.orbit-focus p {
  margin: 0.35rem 0 0.85rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.4;
}

.orbit-focus-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  color: #0b0c10;
  font-weight: 700;
  font-size: 0.85rem;
  background: linear-gradient(135deg, #ff8a4c, #ff5a2c);
  border: none;
}

.orbit-focus-cta:hover {
  filter: brightness(1.06);
}

/* Coming rail */
.orbit-coming {
  position: relative;
  z-index: 5;
  padding: 0.75rem 1.25rem 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  background: var(--orbit-ink);
}

/* Shared site footer — align with Orbit content shell */
body.orbit-deck-home .footer-container,
body.page-home .footer-container {
  max-width: 1120px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

body.orbit-deck-home .footer-content,
body.page-home .footer-content {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  justify-items: start;
}

@media (max-width: 768px) {
  body.orbit-deck-home .footer-content,
  body.page-home .footer-content {
    grid-template-columns: 1fr !important;
    gap: 1.1rem !important;
  }
}

.orbit-coming-head {
  margin-bottom: 0.85rem;
}

.orbit-coming-head h2 {
  margin: 0;
  font-family: Syne, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.orbit-coming-head p {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.orbit-coming-rail {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  -webkit-overflow-scrolling: touch;
  /* Hide scrollbar — drag / swipe to scroll instead */
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}

.orbit-coming-rail::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.orbit-coming-rail.is-dragging {
  cursor: grabbing;
}

.orbit-coming-rail.is-dragging .orbit-chip {
  pointer-events: none;
}

.orbit-chip {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 200px;
  padding: 0.45rem;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

/* Same right → left flash as hub-nav */
.orbit-chip::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: 0;
  width: 55%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 28%,
    rgba(0, 240, 255, 0.28) 48%,
    rgba(255, 255, 255, 0.55) 52%,
    rgba(255, 140, 60, 0.32) 58%,
    rgba(255, 255, 255, 0.06) 72%,
    transparent 100%
  );
  filter: blur(0.4px);
  mix-blend-mode: screen;
  transform: translateX(280%);
  animation: hub-nav-shine 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.orbit-chip:nth-child(2)::after {
  animation-delay: 0.35s;
}
.orbit-chip:nth-child(3)::after {
  animation-delay: 0.7s;
}
.orbit-chip:nth-child(4)::after {
  animation-delay: 1.05s;
}
.orbit-chip:nth-child(5)::after {
  animation-delay: 1.4s;
}
.orbit-chip:nth-child(6)::after {
  animation-delay: 1.75s;
}
.orbit-chip:nth-child(7)::after {
  animation-delay: 2.1s;
}
.orbit-chip:nth-child(8)::after {
  animation-delay: 2.45s;
}

.orbit-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 180, 120, 0.35);
}

.orbit-chip-photo {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.orbit-chip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbit-chip-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.orbit-chip-title {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.orbit-chip-badge {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orbit-soon);
}

.orbit-footer {
  position: relative;
  z-index: 5;
  padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  background: var(--orbit-ink);
}

.orbit-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.orbit-social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.orbit-social:hover {
  transform: translateY(-2px);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 140, 0, 0.35), rgba(255, 255, 255, 0.06)),
    rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 180, 120, 0.45);
}

.orbit-note {
  text-align: center;
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
}

@media (min-width: 900px) {
  /* One center: core logo = ring origin = viewport stage center */
  .orbit-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem 1.25rem;
    min-height: calc(100dvh - 56px);
    overflow: hidden;
  }

  .orbit-hud {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    text-align: center;
    margin: 0 0 0.5rem;
    width: min(36rem, 100%);
    z-index: 10;
    order: 1;
  }

  .orbit-brand {
    display: block;
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    margin: 0 0 0.35rem;
  }

  .orbit-kicker {
    margin-top: 0;
  }

  .orbit-tag {
    margin-top: 0.35rem;
    font-size: 0.88rem;
  }

  .orbit-wallet {
    display: none; /* wallet already in hub nav on desktop */
  }

  .orbit-deck {
    --orbit-r1: 150px;
    --orbit-r2: 300px;
    --orbit-node: 50px;
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 680px;
    height: 680px;
    max-height: none;
    margin: 0 auto;
    order: 2;
    flex-shrink: 0;
  }

  .orbit-ring--2 .orbit-node {
    --orbit-node: 44px;
  }

  /* Focus under the deck — never overlaps rings */
  .orbit-focus {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 0.85rem auto 0;
    width: min(420px, 100%);
    z-index: 12;
    order: 3;
    text-align: center;
  }

  .orbit-focus-cta {
    margin-left: auto;
    margin-right: auto;
  }

  .orbit-core {
    width: 100px;
    height: 100px;
  }

  .orbit-core-ring {
    width: 118px;
    height: 118px;
  }

  .orbit-core img {
    width: 60px;
    height: 60px;
  }

  .orbit-constellation {
    display: none !important;
  }
}

@media (max-width: 899px) {
  /* Safe-area lives on nav + footer — avoid stacked empty bands */
  .hub-home {
    padding-bottom: 0;
  }

  .hub-nav {
    padding: max(0.4rem, env(safe-area-inset-top, 0px)) 0.9rem 0.4rem;
  }

  .orbit-home {
    --hub-nav-h: calc(2.85rem + env(safe-area-inset-top, 0px));
  }

  .orbit-stage {
    min-height: auto;
    align-items: start;
    padding: 0.55rem 0.85rem 0;
    padding-top: calc(var(--hub-nav-h) + 0.45rem);
    overflow: hidden;
  }

  .orbit-focus {
    margin-top: 0.85rem;
    margin-bottom: 0;
  }

  .orbit-coming {
    padding: 0.85rem 0.85rem 0.55rem;
    /* Sit flush on stage ink floor — no photo hairline between sections */
    margin-top: 0;
  }

  .orbit-footer {
    padding: 0.55rem 0.85rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    gap: 0.5rem;
  }

  /* Dual rings only work on desktop width — hide to stop overlaps */
  .orbit-deck {
    display: none !important;
  }

  .orbit-constellation {
    display: block;
    position: relative;
    z-index: 6;
    width: 100%;
    max-width: 520px;
    margin: 0.55rem auto 0;
  }

  /* Match desktop orbit-core: black circular disc (source PNG is square) */
  .orbit-constellation-core {
    width: 72px;
    height: 72px;
    margin: 0 auto 0.75rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    overflow: hidden;
    background: #050507;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.55),
      0 0 0 5px rgba(0, 0, 0, 0.3),
      0 0 22px rgba(255, 106, 61, 0.28);
    animation: orbit-logo-pulse 2.8s ease-in-out infinite;
  }

  .orbit-constellation-core img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px rgba(255, 106, 61, 0.4));
  }

  .orbit-constellation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 0.55rem;
    align-items: start;
  }

  .orbit-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: #fff;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    min-width: 0;
  }

  .orbit-cell-disc {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
    background: #111;
    flex-shrink: 0;
  }

  .orbit-cell-disc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .orbit-cell-disc .orbit-node-dot {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 8px;
    height: 8px;
    border: 1.5px solid rgba(0, 0, 0, 0.55);
  }

  .orbit-cell-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    padding: 0 0.15rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
    /* Allow 2 lines — never rotate / overlap neighbors */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
  }

  .orbit-cell.is-active .orbit-cell-disc {
    border-color: #ff8a4c;
    box-shadow:
      0 0 0 2px rgba(255, 138, 76, 0.35),
      0 8px 20px rgba(0, 0, 0, 0.45);
  }

  .orbit-focus {
    margin-top: 1rem;
    width: 100%;
    max-width: 520px;
  }

  .orbit-tag {
    font-size: 0.88rem;
  }

  .orbit-brand {
    font-size: clamp(2.2rem, 12vw, 3rem);
  }
}

@media (min-width: 900px) {
  .orbit-constellation {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .orbit-constellation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem 0.35rem;
  }
  .orbit-cell-disc {
    width: 56px;
    height: 56px;
  }
  .orbit-cell-label {
    font-size: 0.62rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-ring,
  .orbit-node-spinfix,
  .orbit-core,
  .orbit-constellation-core,
  .hub-music-bar::before,
  .hub-music-eq i,
  .hub-nav::after,
  .orbit-chip::after {
    animation: none !important;
  }

  .hub-music-line {
    transition: none;
  }
}
