/*!
 * Galaxyz — Galaxy World CSS
 * Spatial 3D orbit navigation. Mobile-first.
 */

/* ── Design tokens ──────────────────────────────────────────────── */
#gxz-galaxy-world {
  --gw-bg:        #06030f;
  --gw-star:      rgba(255,255,255,0.7);
  --gw-accent:    #ff2d78;
  --gw-font:      -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gw-radius:    20px;
  --gw-panel-bg:  rgba(10,6,24,0.92);
  --panel-accent: #ff2d78;
}

/* ── Root container ─────────────────────────────────────────────── */
#gxz-galaxy-world {
  position: relative;
  width: 100%;
  min-height: 100svh;
  background: var(--gw-bg);
  overflow-x: hidden;
  overflow-y: auto;
  font-family: var(--gw-font);
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ── Star field canvas ──────────────────────────────────────────── */
.gxz-gw-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.gxz-gw-star {
  position: absolute;
  border-radius: 50%;
  background: var(--gw-star);
  animation: gxz-gw-twinkle var(--d, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes gxz-gw-twinkle {
  0%, 100% { opacity: var(--op, 0.6); transform: scale(1); }
  50%       { opacity: 0.15; transform: scale(0.7); }
}

/* ── Ambient nebula glow ────────────────────────────────────────── */
.gxz-gw-nebula {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.18;
}
.gxz-gw-nebula--a {
  width: 60vw; height: 60vw;
  top: -10vw; left: -15vw;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
}
.gxz-gw-nebula--b {
  width: 50vw; height: 50vw;
  bottom: 10vh; right: -10vw;
  background: radial-gradient(circle, #ff2d78 0%, transparent 70%);
}

/* ── Hero section ───────────────────────────────────────────────── */
.gxz-gw-hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 0;
  text-align: center;
}
.gxz-gw-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
}
.gxz-gw-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: 0 0 0 1px rgba(255,45,120,0.3), 0 0 40px rgba(255,45,120,0.25), 0 12px 40px rgba(0,0,0,0.6);
  animation: gxz-gw-avatar-float 5s ease-in-out infinite;
}
@keyframes gxz-gw-avatar-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.gxz-gw-avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255,45,120,0.35);
  animation: gxz-gw-ring-spin 12s linear infinite;
}
@keyframes gxz-gw-ring-spin {
  to { transform: rotate(360deg); }
}
.gxz-gw-artist-name {
  font-size: clamp(26px, 7vw, 42px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  text-shadow: 0 0 40px rgba(255,45,120,0.3);
}
.gxz-gw-artist-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.gxz-gw-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 4px 10px;
}
.gxz-gw-galaxy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff2d78;
  background: rgba(255,45,120,0.12);
  border: 1px solid rgba(255,45,120,0.3);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.gxz-gw-galaxy-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ff2d78;
  box-shadow: 0 0 8px #ff2d78;
  animation: gxz-gw-dot-pulse 1.8s ease-in-out infinite;
}
@keyframes gxz-gw-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.6); }
}

/* ── 3D Scene ───────────────────────────────────────────────────── */
.gxz-gw-scene {
  position: relative;
  z-index: 3;
  width: 100%;
  perspective: 900px;
  perspective-origin: 50% 50%;
  overflow: visible;
  margin: 0 auto;
  touch-action: pan-y; /* allow vertical scroll, JS handles horizontal swipe */
}
.gxz-gw-camera {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(0);
  will-change: transform;
}

/* ── Orbit ring (SVG drawn by JS, or CSS ellipse) ───────────────── */
.gxz-gw-orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotateX(55deg);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
  /* Width/height set by JS via inline style */
}
.gxz-gw-orbit-ring::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(255,45,120,0.15);
  filter: blur(1px);
}

/* ── Central sun ────────────────────────────────────────────────── */
.gxz-gw-sun {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.25), rgba(255,45,120,0.6) 60%, rgba(142,78,255,0.4));
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.15),
    0 0 30px rgba(255,45,120,0.5),
    0 0 80px rgba(255,45,120,0.25),
    0 0 140px rgba(142,78,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  animation: gxz-gw-sun-pulse 3s ease-in-out infinite;
}
@keyframes gxz-gw-sun-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 0 30px rgba(255,45,120,0.5), 0 0 80px rgba(255,45,120,0.25); }
  50%       { box-shadow: 0 0 0 1px rgba(255,255,255,0.2),  0 0 50px rgba(255,45,120,0.7), 0 0 120px rgba(255,45,120,0.35); }
}
.gxz-gw-sun-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(255,45,120,0.3);
  animation: gxz-gw-ring-spin 8s linear infinite;
}
.gxz-gw-sun-ring-2 {
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  border: 1px solid rgba(255,45,120,0.15);
  animation: gxz-gw-ring-spin 14s linear infinite reverse;
}
.gxz-gw-sun-icon {
  width: 36px; height: 36px;
  opacity: 0.9;
}

/* ── Planets wrap (positioned in JS) ───────────────────────────── */
.gxz-gw-planets {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none; /* re-enabled on individual planets */
}

/* ── Individual planet ──────────────────────────────────────────── */
.gxz-gw-planet {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 104px;
  min-height: 116px;
  padding: 12px 10px;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  will-change: transform, opacity;
}
.gxz-gw-planet-sphere {
  position: relative;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%,
    rgba(255,255,255,0.25),
    color-mix(in srgb, var(--planet-color) 80%, #000 20%) 60%,
    rgba(0,0,0,0.4)
  );
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.12),
    0 0 20px color-mix(in srgb, var(--planet-color) 60%, transparent),
    0 0 50px color-mix(in srgb, var(--planet-color) 25%, transparent),
    inset 0 -8px 20px rgba(0,0,0,0.4);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.gxz-gw-planet.is-active .gxz-gw-planet-sphere {
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.25),
    0 0 30px var(--planet-color),
    0 0 80px color-mix(in srgb, var(--planet-color) 50%, transparent),
    0 0 140px color-mix(in srgb, var(--planet-color) 25%, transparent),
    inset 0 -8px 20px rgba(0,0,0,0.3);
  animation: gxz-gw-planet-pulse 2.5s ease-in-out infinite;
}
@keyframes gxz-gw-planet-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}
.gxz-gw-planet-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--planet-color) 40%, transparent);
  animation: gxz-gw-ring-spin 10s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gxz-gw-planet.is-active .gxz-gw-planet-ring {
  opacity: 1;
}
.gxz-gw-planet-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
}
.gxz-gw-planet-icon svg {
  width: 28px; height: 28px;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.4));
}
.gxz-gw-planet-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
}
.gxz-gw-planet-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
  white-space: nowrap;
}
.gxz-gw-planet-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

/* ── Tap hint ───────────────────────────────────────────────────── */
.gxz-gw-tap-hint {
  position: relative;
  z-index: 3;
  text-align: center;
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
  animation: gxz-gw-hint-fade 3s ease-in-out 1.5s forwards;
}
@keyframes gxz-gw-hint-fade {
  0%   { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}

/* ── Dot indicators ─────────────────────────────────────────────── */
.gxz-gw-dots {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 7px 0 2px;
}
.gxz-gw-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.gxz-gw-dot.is-active {
  background: var(--planet-color, #ff2d78);
  transform: scale(1.4);
  box-shadow: 0 0 10px var(--planet-color, #ff2d78);
}

/* ── Zoom overlay ───────────────────────────────────────────────── */
.gxz-gw-zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 8;
  pointer-events: none;
  transition: background 0.4s ease;
}
#gxz-galaxy-world.is-zoomed .gxz-gw-zoom-overlay {
  background: rgba(0,0,0,0.45);
  pointer-events: auto;
}

/* ── Content panel ──────────────────────────────────────────────── */
.gxz-gw-panel-wrap {
  position: relative;
  z-index: 9;
  width: min(680px, calc(100vw - 32px));
  margin: -2px auto 80px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.gxz-gw-panel-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.gxz-gw-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.gxz-gw-panel-title {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--panel-accent, #ff2d78);
}
.gxz-gw-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.gxz-gw-back-btn:hover { color: #fff; background: rgba(255,255,255,0.12); }
.gxz-gw-panel-inner {
  background: var(--gw-panel-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 2px solid var(--panel-accent, #ff2d78);
  border-radius: var(--gw-radius);
  padding: 24px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  min-height: 200px;
}

/* Panel entrance / exit animations */
.gxz-gw-panel-inner.panel-enter {
  animation: gxz-gw-panel-in 0.35s cubic-bezier(0.22,1,0.36,1) both;
}
.gxz-gw-panel-inner.panel-exit {
  animation: gxz-gw-panel-out 0.2s ease forwards;
}
@keyframes gxz-gw-panel-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gxz-gw-panel-out {
  to { opacity: 0; transform: translateY(-8px); }
}

/* ── Releases panel: flip-card marquee ──────────────────────────── */
.gxz-gw-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.gxz-gw-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: gxz-gw-marquee-scroll 30s linear infinite;
}
@keyframes gxz-gw-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Flip card */
.gxz-gw-flip-card {
  flex: 0 0 auto;
  width: 140px;
  height: 140px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}
.gxz-gw-flip-front,
.gxz-gw-flip-back {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.gxz-gw-flip-front {
  z-index: 2;
}
.gxz-gw-flip-back {
  z-index: 1;
  opacity: 0;
  transform: scale(0.92);
  visibility: hidden;
  pointer-events: none;
  background: rgba(10,6,24,0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
}
.gxz-gw-flip-card.is-flipped .gxz-gw-flip-front {
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}
.gxz-gw-flip-card.is-flipped .gxz-gw-flip-back {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  pointer-events: auto;
  z-index: 3;
}
.gxz-gw-flip-art {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.gxz-gw-flip-art-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gxz-gw-flip-back-title {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}
.gxz-gw-flip-link {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s;
}
.gxz-gw-flip-link:hover { background: rgba(255,255,255,0.18); }
.gxz-gw-flip-link--spotify  { background: rgba(30,215,96,0.15); border-color: rgba(30,215,96,0.3); }
.gxz-gw-flip-link--apple    { background: rgba(252,60,68,0.15);  border-color: rgba(252,60,68,0.3); }

/* ── Socials panel ──────────────────────────────────────────────── */
.gxz-gw-socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.gxz-gw-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s, transform 0.15s;
}
.gxz-gw-social-btn:hover { background: rgba(255,255,255,0.13); transform: translateY(-2px); }
.gxz-gw-social-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Smartlink / actions panel ──────────────────────────────────── */
.gxz-gw-actions-grid {
  display: grid;
  gap: 12px;
}
.gxz-gw-action-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}
.gxz-gw-action-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); border-color: rgba(255,255,255,0.2); }
.gxz-gw-action-card--primary {
  background: linear-gradient(135deg, rgba(255,45,120,0.85), rgba(142,78,255,0.75));
  border-color: rgba(255,45,120,0.4);
}
.gxz-gw-action-card--primary:hover { background: linear-gradient(135deg, rgba(255,45,120,1), rgba(142,78,255,0.9)); }
.gxz-gw-action-card span { font-size: 15px; font-weight: 900; }
.gxz-gw-action-card small { font-size: 12px; color: rgba(255,255,255,0.6); }

/* ── Community panel ────────────────────────────────────────────── */
.gxz-gw-community-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.gxz-gw-community-kicker {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #06b6d4;
}
.gxz-gw-community-wrap h3 {
  margin: 0;
  font-size: clamp(18px, 4vw, 26px);
  font-weight: 900;
  line-height: 1.2;
}
.gxz-gw-community-wrap p {
  margin: 0;
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  line-height: 1.55;
}
.gxz-gw-community-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  box-shadow: 0 0 20px rgba(6,182,212,0.3);
  transition: opacity 0.2s, transform 0.15s;
}
.gxz-gw-community-cta:hover { opacity: 0.88; transform: translateY(-2px); }

/* ── Videos panel ───────────────────────────────────────────────── */
.gxz-gw-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.gxz-gw-video-card {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.gxz-gw-video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.gxz-gw-video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.gxz-gw-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  cursor: pointer;
  transition: background 0.2s;
}
.gxz-gw-video-play:hover { background: rgba(0,0,0,0.5); }
.gxz-gw-video-play svg { filter: drop-shadow(0 0 8px rgba(0,0,0,0.6)); }
.gxz-gw-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── Empty state ────────────────────────────────────────────────── */
.gxz-gw-empty {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  text-align: center;
  padding: 32px 0;
}

/* ── Entrance animation ─────────────────────────────────────────── */
#gxz-galaxy-world.gxz-gw-entering .gxz-gw-hero {
  animation: gxz-gw-hero-in 0.8s cubic-bezier(0.22,1,0.36,1) both;
}
#gxz-galaxy-world.gxz-gw-entering .gxz-gw-scene {
  animation: gxz-gw-scene-in 0.9s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
@keyframes gxz-gw-hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes gxz-gw-scene-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .gxz-gw-avatar,
  .gxz-gw-avatar-ring,
  .gxz-gw-sun,
  .gxz-gw-sun-ring,
  .gxz-gw-sun-ring-2,
  .gxz-gw-planet.is-active .gxz-gw-planet-sphere,
  .gxz-gw-planet-ring,
  .gxz-gw-star,
  .gxz-gw-marquee-track,
  .gxz-gw-galaxy-badge-dot { animation: none !important; }
  .gxz-gw-planet,
  .gxz-gw-camera { transition: none !important; }
}

/* ── Mobile ─────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .gxz-gw-hero { padding-top: 48px; }
  .gxz-gw-planet-sphere { width: 60px; height: 60px; }
  .gxz-gw-planet-icon svg { width: 22px; height: 22px; }
  .gxz-gw-sun { width: 64px; height: 64px; }
  .gxz-gw-panel-inner { padding: 18px 16px; }
  .gxz-gw-flip-card { width: 120px; height: 120px; }
  .gxz-gw-videos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Super beta UI cleanup pass ─────────────────────────────────── */
#gxz-galaxy-world {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 45, 120, 0.22), transparent 34%),
    radial-gradient(circle at 22% 26%, rgba(142, 78, 255, 0.16), transparent 30%),
    #07030f;
}

.gxz-gw-app-header {
  position: sticky;
  top: max(10px, env(safe-area-inset-top));
  z-index: 20;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  width: min(940px, calc(100vw - 28px));
  min-height: 56px;
  margin: 12px auto 0;
  padding: 7px 8px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 999px;
  background: rgba(10, 6, 22, 0.72);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 14px 50px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.08);
}
.gxz-gw-header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.gxz-gw-header-logo img {
  display: block;
  width: min(190px, 42vw);
  max-height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255,45,120,0.45));
}
.gxz-gw-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gxz-gw-header-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
}
.gxz-gw-header-icon span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  position: absolute;
}
.gxz-gw-header-icon span:nth-child(1) { transform: translateY(-6px); }
.gxz-gw-header-icon span:nth-child(2) { transform: translateY(0); }
.gxz-gw-header-icon span:nth-child(3) { transform: translateY(6px); }
.gxz-gw-header-icon svg {
  width: 21px;
  height: 21px;
}

.gxz-gw-hero {
  width: min(940px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 34px 0 0;
  align-items: stretch;
  text-align: left;
}
.gxz-gw-hero-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(16px, 4vw, 34px);
}
.gxz-gw-avatar-wrap {
  width: clamp(116px, 22vw, 172px);
  height: clamp(116px, 22vw, 172px);
  margin: 0;
}
.gxz-gw-avatar {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(255,255,255,0.14);
  box-shadow: 0 0 0 5px rgba(16,25,42,0.8), 0 0 42px rgba(255,45,120,0.28);
  animation: none;
}
.gxz-gw-avatar-ring {
  inset: -9px;
  opacity: 0.75;
}
.gxz-gw-identity {
  min-width: 0;
}
.gxz-gw-galaxy-badge {
  margin: 0 0 10px;
  width: max-content;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}
#gxz-galaxy-world .gxz-gw-artist-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  font-size: clamp(40px, 8.8vw, 86px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.96;
  color: #fff !important;
  text-shadow: 0 0 34px rgba(255,45,120,0.20);
}
.gxz-gw-verified {
  display: inline-flex;
  flex: 0 0 auto;
  width: clamp(28px, 6vw, 46px);
  height: clamp(28px, 6vw, 46px);
  filter: drop-shadow(0 0 14px rgba(255,45,120,0.8));
}
.gxz-gw-verified svg {
  width: 100%;
  height: 100%;
}
.gxz-gw-verified polygon {
  fill: #ff2d78;
}
.gxz-gw-verified polyline {
  fill: none;
  stroke: #fff;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gxz-gw-artist-meta {
  justify-content: flex-start;
  margin: 0;
  gap: 10px;
}
.gxz-gw-meta-pill,
.gxz-gw-social-chip {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: clamp(14px, 3.4vw, 22px);
  font-weight: 650;
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.gxz-gw-meta-pill svg {
  width: 18px;
  height: 18px;
  color: #ff526f;
}
.gxz-gw-social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.gxz-gw-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 28px auto 0;
  padding: 24px 0 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(90deg, transparent, rgba(255,45,120,0.055), transparent);
  text-align: center;
}
.gxz-gw-stats-row div + div {
  border-left: 1px solid rgba(255,255,255,0.09);
}
.gxz-gw-stats-row strong {
  display: block;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1;
  font-weight: 900;
  color: #fff;
}
.gxz-gw-stats-row span {
  display: block;
  margin-top: 10px;
  font-size: clamp(11px, 2.4vw, 17px);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.gxz-gw-scene {
  width: min(940px, 100vw);
  margin: 8px auto 0;
}
.gxz-gw-tap-hint {
  margin-top: 0;
}
.gxz-gw-panel-wrap {
  width: min(760px, calc(100vw - 28px));
  margin-top: 2px;
  margin-bottom: 80px;
}
.gxz-gw-panel-wrap.is-visible {
  transform: translateY(0);
}

@media (max-width: 640px) {
  .gxz-gw-app-header {
    width: calc(100vw - 28px);
  }
  .gxz-gw-hero {
    width: calc(100vw - 32px);
    padding-top: 28px;
  }
  .gxz-gw-hero-card {
    grid-template-columns: auto 1fr;
    gap: 18px;
  }
  .gxz-gw-avatar-wrap {
    width: 112px;
    height: 112px;
  }
  #gxz-galaxy-world .gxz-gw-artist-name {
    font-size: clamp(34px, 11vw, 58px);
    flex-wrap: nowrap;
  }
  .gxz-gw-artist-meta {
    gap: 8px;
  }
  .gxz-gw-meta-pill,
  .gxz-gw-social-chip {
    min-height: 38px;
    padding: 0 13px;
    font-size: 14px;
  }
  .gxz-gw-social-chip {
    width: 38px;
    overflow: hidden;
    color: transparent;
    position: relative;
  }
  .gxz-gw-social-chip::first-letter {
    color: #fff;
  }
  .gxz-gw-stats-row {
    margin-top: 24px;
    padding: 20px 0 18px;
  }
  .gxz-gw-scene {
    margin-top: 14px;
  }
  .gxz-gw-panel-inner {
    border-radius: 18px;
  }
}

/* ── Shippable stabilization pass: flow-nav header + mobile layout ── */
#gxz-galaxy-world {
  --gw-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  --gw-active-color: #f97316;
  min-height: 100dvh;
  overflow-x: clip;
  padding-bottom: max(34px, env(safe-area-inset-bottom));
}

#gxz-galaxy-world .gxz-gw-app-header {
  position: sticky;
  top: max(8px, env(safe-area-inset-top));
  left: auto;
  right: auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(940px, calc(100vw - 28px));
  min-height: 62px;
  margin: 10px auto 0;
  padding: 10px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(16,10,28,.82), rgba(10,4,20,.62));
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 18px 44px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
}

#gxz-galaxy-world .gxz-gw-header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(210px, 45vw);
  height: 42px;
}

#gxz-galaxy-world .gxz-gw-header-logo img {
  width: auto;
  height: 30px;
  max-width: 100%;
  max-height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255,45,120,.45));
}

#gxz-galaxy-world .gxz-gw-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

#gxz-galaxy-world .gxz-gw-header-icon {
  position: relative;
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.075);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#gxz-galaxy-world .gxz-gw-menu-trigger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

#gxz-galaxy-world .gxz-gw-header-icon span {
  position: static;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: none;
}

#gxz-galaxy-world .gxz-gw-header-icon svg {
  width: 21px;
  height: 21px;
}

#gxz-galaxy-world .gxz-gw-account-slot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  z-index: 140;
}

#gxz-galaxy-world .gxz-gw-account-slot #gxz-account-btn-wrap {
  position: static !important;
  top: auto !important;
  right: auto !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  z-index: auto !important;
}

#gxz-galaxy-world .gxz-gw-account-slot #gxz-account-btn-wrap .gxz-acct-icon-btn,
#gxz-galaxy-world .gxz-gw-account-slot #gxz-account-btn-wrap .gxz-avatar-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.075);
  color: rgba(255,255,255,.88);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 0 22px rgba(255,45,120,.12);
  opacity: 1 !important;
}

#gxz-galaxy-world .gxz-gw-account-slot #gxz-account-btn-wrap .gxz-avatar-btn {
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.18);
  background: linear-gradient(135deg,#ff2d78,#8b5cf6);
}

#gxz-galaxy-world .gxz-gw-account-slot #gxz-account-dropdown {
  top: calc(100% + 12px);
  right: 0;
  min-width: 260px;
  width: min(310px, calc(100vw - 36px));
  border-radius: 18px;
  background: rgba(7, 8, 16, .96);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 70px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.05);
}

#gxz-galaxy-world #gxz-fn-avatar-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  z-index: 130;
}

#gxz-galaxy-world #gxz-fn-avatar-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18);
  color: #fff;
  background: linear-gradient(135deg,#ff2d78,#8b5cf6);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 0 22px rgba(255,45,120,.18);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#gxz-galaxy-world #gxz-fn-avatar-btn img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

#gxz-galaxy-world #gxz-fn-avatar-btn .fn-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  color: #fff;
}

#gxz-galaxy-world #gxz-fn-header-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 120;
  min-width: 260px;
  width: min(310px, calc(100vw - 36px));
  overflow: hidden;
  border-radius: 18px;
  background: rgba(7, 8, 16, .96);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 70px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  backdrop-filter: blur(22px) saturate(1.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition: opacity .18s ease, transform .18s ease;
}

#gxz-galaxy-world #gxz-fn-header-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

#gxz-galaxy-world #gxz-fn-header-dropdown .gxz-dd-header {
  padding: 20px 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

#gxz-galaxy-world #gxz-fn-header-dropdown .gxz-dd-name,
#gxz-galaxy-world #gxz-fn-header-dropdown .gxz-dd-handle {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#gxz-galaxy-world #gxz-fn-header-dropdown .gxz-dd-name {
  color: #fff;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0;
}

#gxz-galaxy-world #gxz-fn-header-dropdown .gxz-dd-handle {
  margin-top: 7px;
  color: rgba(255,255,255,.42);
  font-size: 13px;
}

#gxz-galaxy-world #gxz-fn-header-dropdown a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 58px;
  padding: 0 22px;
  color: rgba(255,255,255,.76);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
  border: 0;
}

#gxz-galaxy-world #gxz-fn-header-dropdown a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

#gxz-galaxy-world #gxz-fn-header-dropdown a svg {
  width: 21px;
  height: 21px;
  justify-self: center;
  opacity: .78;
}

#gxz-galaxy-world #gxz-fn-header-dropdown .gxz-dd-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: 8px 0;
}

#gxz-galaxy-world #gxz-fn-header-dropdown a.gxz-logout-link {
  color: #ff6969;
}

#gxz-galaxy-world .gxz-gw-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 64px 24px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,45,120,.22), transparent 34%),
    linear-gradient(180deg, rgba(5,2,12,.97), rgba(14,4,25,.98));
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .2s ease, transform .2s ease;
}

#gxz-galaxy-world .gxz-gw-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#gxz-galaxy-world .gxz-gw-menu a {
  width: min(420px, 86vw);
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
}

#gxz-galaxy-world .gxz-gw-menu-close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
}

#gxz-galaxy-world .gxz-gw-menu-close svg {
  width: 21px;
  height: 21px;
}

#gxz-galaxy-world .gxz-gw-hero {
  width: min(940px, calc(100vw - 28px));
  margin: 0 auto;
  padding: clamp(22px, 5vw, 44px) 0 0;
  text-align: left;
}

#gxz-galaxy-world .gxz-gw-hero-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 4vw, 30px);
}

#gxz-galaxy-world .gxz-gw-avatar-wrap {
  width: clamp(92px, 20vw, 160px);
  height: clamp(92px, 20vw, 160px);
  margin: 0;
}

#gxz-galaxy-world .gxz-gw-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,.14);
  box-shadow: 0 0 0 5px rgba(15,20,38,.9), 0 0 40px rgba(255,45,120,.25);
  animation: none;
}

#gxz-galaxy-world .gxz-gw-galaxy-badge {
  min-height: 34px;
  margin: 0 0 10px;
  padding: 0 15px;
  width: max-content;
  max-width: 100%;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.13);
  letter-spacing: .14em;
}

#gxz-galaxy-world .gxz-gw-artist-name {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 14px;
  color: #fff !important;
  font-family: var(--gw-font);
  font-size: clamp(32px, 7vw, 64px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 0 28px rgba(255,45,120,.24);
}

#gxz-galaxy-world .gxz-gw-artist-name .gxz-gw-verified {
  width: clamp(28px, 5vw, 42px);
  height: clamp(28px, 5vw, 42px);
  min-width: clamp(28px, 5vw, 42px);
}

#gxz-galaxy-world .gxz-gw-artist-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 9px;
  margin: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

#gxz-galaxy-world .gxz-gw-artist-meta::-webkit-scrollbar {
  display: none;
}

#gxz-galaxy-world .gxz-gw-meta-pill,
#gxz-galaxy-world .gxz-gw-social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.84);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: 0;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  flex: 0 0 auto;
}

#gxz-galaxy-world .gxz-gw-social-chip::first-letter {
  color: inherit;
}

#gxz-galaxy-world .gxz-gw-social-chip svg {
  width: 19px;
  height: 19px;
  display: block;
  flex: 0 0 auto;
}

#gxz-galaxy-world .gxz-gw-stats-row {
  width: min(720px, 100%);
  margin: clamp(18px, 4vw, 28px) auto 0;
  padding: 20px 0 18px;
  background: linear-gradient(90deg, transparent, rgba(255,45,120,.045), transparent);
}

#gxz-galaxy-world .gxz-gw-stats-row strong {
  font-family: var(--gw-font);
  font-size: clamp(30px, 7vw, 56px);
  font-weight: 900;
  letter-spacing: 0;
}

#gxz-galaxy-world .gxz-gw-stats-row span {
  margin-top: 8px;
  font-size: clamp(10px, 2.5vw, 13px);
  letter-spacing: .13em;
}

#gxz-galaxy-world .gxz-gw-scene {
  width: min(760px, 100vw);
  margin: clamp(6px, 2.5vw, 16px) auto 0;
  touch-action: pan-y;
}

#gxz-galaxy-world .gxz-gw-sun {
  background:
    radial-gradient(circle at 42% 34%, rgba(255,255,255,.26), color-mix(in srgb, var(--gw-active-color) 74%, transparent) 36%, rgba(8,4,18,.12) 72%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.12),
    0 0 34px color-mix(in srgb, var(--gw-active-color) 74%, transparent),
    0 0 92px color-mix(in srgb, var(--gw-active-color) 44%, transparent),
    0 0 160px color-mix(in srgb, var(--gw-active-color) 24%, transparent);
}

#gxz-galaxy-world .gxz-gw-sun::before {
  content: "";
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gw-active-color) 38%, transparent), transparent 68%);
  filter: blur(5px);
  opacity: .78;
}

#gxz-galaxy-world .gxz-gw-sun-ring,
#gxz-galaxy-world .gxz-gw-sun-ring-2 {
  border-color: color-mix(in srgb, var(--gw-active-color) 36%, transparent);
}

#gxz-galaxy-world .gxz-gw-aura-core {
  position: relative;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.82), color-mix(in srgb, var(--gw-active-color) 72%, #fff 12%) 42%, transparent 72%);
  opacity: .74;
  filter: blur(.5px);
}

#gxz-galaxy-world .gxz-gw-panel-wrap {
  width: min(760px, calc(100vw - 28px));
  margin: 0 auto max(48px, env(safe-area-inset-bottom));
}

#gxz-galaxy-world .gxz-gw-panel-inner {
  min-height: 0;
  padding: clamp(16px, 4vw, 24px);
  border-radius: 20px;
}

#gxz-galaxy-world .gxz-gw-panel-header {
  margin-bottom: 16px;
}

#gxz-galaxy-world .gxz-gw-back-btn {
  display: none;
}

#gxz-galaxy-world .gxz-gw-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

#gxz-galaxy-world .gxz-gw-marquee::-webkit-scrollbar {
  display: none;
}

#gxz-galaxy-world .gxz-gw-marquee.is-user-controlled .gxz-gw-marquee-track,
#gxz-galaxy-world .gxz-gw-marquee:hover .gxz-gw-marquee-track {
  animation-play-state: paused;
}

#gxz-galaxy-world .gxz-gw-flip-card {
  width: 146px;
  height: 146px;
  scroll-snap-align: center;
}

#gxz-galaxy-world .gxz-gw-flip-back {
  gap: 6px;
  padding: 10px;
}

#gxz-galaxy-world .gxz-gw-flip-back-title {
  width: 100%;
  font-size: 10.5px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#gxz-galaxy-world .gxz-gw-flip-link {
  min-height: 31px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10.5px;
  line-height: 1;
  white-space: nowrap;
  justify-content: center;
}

#gxz-galaxy-world .gxz-gw-flip-link svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  #gxz-galaxy-world .gxz-gw-app-header {
    width: calc(100vw - 32px);
    min-height: 58px;
    margin-top: 9px;
    padding: 8px 10px;
  }

  #gxz-galaxy-world .gxz-gw-header-logo img {
    height: 26px;
    max-height: 26px;
  }

  #gxz-galaxy-world .gxz-gw-header-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  #gxz-galaxy-world .gxz-gw-header-actions {
    gap: 7px;
  }

  #gxz-galaxy-world .gxz-gw-hero {
    width: calc(100vw - 32px);
    padding-top: 26px;
  }

  #gxz-galaxy-world .gxz-gw-hero-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }

  #gxz-galaxy-world .gxz-gw-avatar-wrap {
    width: 96px;
    height: 96px;
  }

  #gxz-galaxy-world .gxz-gw-galaxy-badge {
    min-height: 30px;
    margin-bottom: 8px;
    padding: 0 12px;
    font-size: 10px;
  }

  #gxz-galaxy-world .gxz-gw-artist-name {
    font-size: clamp(30px, 9.2vw, 42px);
    flex-wrap: nowrap;
  }

  #gxz-galaxy-world .gxz-gw-meta-pill {
    max-width: 100%;
    min-height: 36px;
    padding: 0 11px;
    font-size: 13px;
  }

  #gxz-galaxy-world .gxz-gw-social-chip {
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    font-size: 0;
  }

  #gxz-galaxy-world .gxz-gw-social-chip::first-letter {
    font-size: 0;
    color: transparent;
  }

  #gxz-galaxy-world .gxz-gw-social-chip svg {
    width: 17px;
    height: 17px;
  }

  #gxz-galaxy-world .gxz-gw-stats-row {
    margin-top: 18px;
    padding: 16px 0 15px;
  }

  #gxz-galaxy-world .gxz-gw-scene {
    margin-top: 4px;
  }

  #gxz-galaxy-world .gxz-gw-flip-card {
    width: 132px;
    height: 132px;
  }

  #gxz-galaxy-world .gxz-gw-marquee-track {
    animation: none;
  }
}

@media (max-width: 390px) {
  #gxz-galaxy-world .gxz-gw-hero-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
  }

  #gxz-galaxy-world .gxz-gw-avatar-wrap {
    width: 82px;
    height: 82px;
  }

  #gxz-galaxy-world .gxz-gw-artist-name {
    font-size: clamp(28px, 9vw, 36px);
  }
}
