/* ═══════════════════════════════════════════
   Suki Creator Hub — Lavender Neon (wolfyy-inspired)
   ═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #b57bff;
  --accent-2: #e066ff;
  --accent-glow: rgba(181, 123, 255, 0.5);
  --card-bg: rgba(14, 10, 28, 0.88);
  --card-border: rgba(181, 123, 255, 0.4);
  --text: #f5f0ff;
  --muted: #a89bc4;
  --name-grad: linear-gradient(90deg, #ede9fe, #d4a5ff, #e066ff);
  --radius: 16px;
  --radius-pill: 999px;
  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: #08060f;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.hidden { display: none !important; }

/* ── Background ── */
#bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: var(--page-bg, #08060f);
  background-size: cover;
  background-position: center;
  transition: background 0.6s ease;
}

#bg-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 15, 0.35);
  pointer-events: none;
}

/* ── App shell ── */
#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Nav ── */
.hub-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(181, 123, 255, 0.15);
  background: rgba(8, 6, 15, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nav-brand {
  margin-right: auto;
  padding: 8px 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-image: var(--name-grad, linear-gradient(90deg, #ede9fe, #e066ff));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  flex-shrink: 0;
}

.nav-brand:hover {
  filter: drop-shadow(0 0 10px rgba(181, 123, 255, 0.45));
}

.hub-nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: rgba(181, 123, 255, 0.25);
  flex-shrink: 0;
  margin: 0 2px;
}

body.fx-nav-glow .hub-nav {
  border-bottom-color: rgba(181, 123, 255, 0.32);
  animation: neon-nav-bar 3.5s ease-in-out infinite;
}

@keyframes neon-nav-bar {
  0%, 100% { box-shadow: 0 1px 0 rgba(181, 123, 255, 0.15), 0 4px 20px rgba(181, 123, 255, 0.08); }
  50% { box-shadow: 0 1px 0 rgba(224, 102, 255, 0.35), 0 6px 28px rgba(181, 123, 255, 0.18); }
}

.nav-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  font-family: var(--font);
}

.nav-btn:hover,
.nav-brand:hover {
  color: var(--text);
  background: rgba(181, 123, 255, 0.14);
  border-color: rgba(181, 123, 255, 0.42);
  box-shadow: 0 0 18px var(--accent-glow), 0 0 10px rgba(224, 102, 255, 0.22);
  text-shadow: 0 0 10px rgba(224, 102, 255, 0.4);
}

.nav-btn:not(.pulse-neon):not(.pulse-syaz) {
  border-color: rgba(181, 123, 255, 0.14);
  box-shadow: 0 0 10px rgba(181, 123, 255, 0.06);
}

.nav-btn.active {
  color: var(--text);
  background: rgba(181, 123, 255, 0.18);
  border-color: rgba(181, 123, 255, 0.3);
  box-shadow: 0 0 16px var(--accent-glow);
}

.nav-btn.pulse-neon {
  animation: promo-nav-flash 2.2s ease-in-out infinite;
  color: var(--accent-2);
  border: 1px solid rgba(224, 102, 255, 0.45);
  font-weight: 600;
}

.nav-btn.pulse-syaz {
  animation: heartbeat-glow 1.85s ease-in-out infinite;
  color: #ff9ecf;
  border: 1px solid rgba(255, 107, 203, 0.5);
  background: rgba(255, 107, 203, 0.1);
}

/* Real heartbeat: lub-dub — slow, only on Syaz nav tab */
@keyframes heartbeat-glow {
  0%, 100% {
    box-shadow: 0 0 6px rgba(255, 107, 203, 0.35);
    transform: scale(1);
  }
  14% {
    box-shadow: 0 0 22px rgba(255, 107, 203, 0.85), 0 0 36px rgba(255, 150, 220, 0.35);
    transform: scale(1.06);
  }
  28% {
    box-shadow: 0 0 8px rgba(255, 107, 203, 0.4);
    transform: scale(1);
  }
  42% {
    box-shadow: 0 0 20px rgba(255, 120, 210, 0.75), 0 0 32px rgba(224, 102, 255, 0.3);
    transform: scale(1.05);
  }
  56%, 100% {
    box-shadow: 0 0 6px rgba(255, 107, 203, 0.35);
    transform: scale(1);
  }
}

@keyframes promo-nav-flash {
  0%, 100% {
    box-shadow: 0 0 8px rgba(224, 102, 255, 0.35), inset 0 0 10px rgba(224, 102, 255, 0.06);
    border-color: rgba(224, 102, 255, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 26px rgba(224, 102, 255, 0.85), 0 0 44px rgba(255, 120, 255, 0.4), inset 0 0 16px rgba(255, 150, 255, 0.12);
    border-color: rgba(255, 160, 255, 0.75);
    transform: scale(1.04);
    color: #ffc8ff;
  }
}

@keyframes promo-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(224, 102, 255, 0.18); }
  50% { box-shadow: 0 0 10px rgba(224, 102, 255, 0.32); }
}

.nav-btn.admin-btn { color: var(--accent); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ── Main content ── */
#hub-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 20px 100px;
}

/* ── Profile card (transparent glass box) ── */
.profile-card {
  width: min(580px, 100%);
  padding: 24px 26px;
  text-align: left;
  background: rgba(14, 10, 28, 0.52);
  border: 1px solid rgba(181, 123, 255, 0.32);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 36px rgba(181, 123, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: visible;
}

body.fx-profile-glow .profile-card {
  animation: neon-profile-border 3.2s ease-in-out infinite;
}

@keyframes neon-profile-border {
  0%, 100% {
    border-color: rgba(181, 123, 255, 0.35);
    box-shadow: 0 0 24px rgba(181, 123, 255, 0.15), 0 0 48px rgba(181, 123, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
  50% {
    border-color: rgba(224, 102, 255, 0.62);
    box-shadow: 0 0 32px rgba(224, 102, 255, 0.32), 0 0 64px rgba(181, 123, 255, 0.14), inset 0 0 20px rgba(224, 102, 255, 0.06);
  }
}

body.fx-panel-glow .promo-card,
body.fx-panel-glow .content-card {
  animation: neon-panel-border 3.4s ease-in-out infinite;
}

body.fx-panel-glow .comments-wrap {
  animation: neon-panel-border 3.4s ease-in-out infinite;
}

@keyframes neon-panel-border {
  0%, 100% { border-color: rgba(181, 123, 255, 0.28); box-shadow: 0 0 16px rgba(181, 123, 255, 0.08); }
  50% { border-color: rgba(224, 102, 255, 0.42); box-shadow: 0 0 26px rgba(181, 123, 255, 0.16); }
}

.profile-top {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  overflow: visible;
}

.profile-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.avatar-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
}

.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  position: relative;
  z-index: 1;
}

/* Avatar frames */
.frame-neon-ring::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--accent-2);
  box-shadow: 0 0 16px var(--accent-glow), inset 0 0 12px rgba(224, 102, 255, 0.2);
  animation: frame-spin 8s linear infinite;
  z-index: 0;
}

.frame-pulse-glow::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  animation: frame-pulse 2s ease-in-out infinite;
  z-index: 0;
}

.frame-hearts::after {
  content: '♥ ♥ ♥';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: #ff6bcb;
  letter-spacing: 2px;
  animation: frame-float 2.5s ease-in-out infinite;
  z-index: 2;
  text-shadow: 0 0 8px rgba(255, 107, 203, 0.8);
}

.frame-sparkle::before {
  content: '✦';
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 0.85rem;
  color: #fcd34d;
  animation: frame-sparkle 1.5s ease-in-out infinite;
  z-index: 2;
  text-shadow: 0 0 10px rgba(252, 211, 77, 0.9);
}

.frame-nitro::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ff6bcb, #b57bff, #6ee7b7, #fcd34d, #ff6bcb);
  animation: frame-spin 3s linear infinite;
  z-index: 0;
  mask: radial-gradient(circle, transparent 62%, black 64%);
  -webkit-mask: radial-gradient(circle, transparent 62%, black 64%);
}

.frame-cherry::before {
  content: '🌸';
  position: absolute;
  bottom: -4px;
  right: -2px;
  font-size: 1rem;
  z-index: 2;
  animation: frame-float 3s ease-in-out infinite;
}

.frame-galaxy::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px dashed rgba(196, 181, 253, 0.6);
  animation: frame-spin 12s linear infinite reverse;
  z-index: 0;
}

@keyframes frame-spin { to { transform: rotate(360deg); } }
@keyframes frame-pulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes frame-float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-4px); } }
@keyframes frame-sparkle { 0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); } 50% { opacity: 1; transform: scale(1.2) rotate(180deg); } }

.profile-meta { flex: 1; min-width: 200px; padding-top: 8px; overflow: visible; }

.profile-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 4px;
  overflow: visible;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  background: var(--name-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
  line-height: 1.2;
}

.roles-pill-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(181, 123, 255, 0.45);
  background: rgba(181, 123, 255, 0.06);
  box-shadow: 0 0 10px rgba(181, 123, 255, 0.08);
  overflow: visible;
  position: relative;
  z-index: 5;
}

/* Syaz chip below avatar */
.syaz-nav-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 5px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 107, 203, 0.55);
  background: linear-gradient(135deg, rgba(255, 107, 203, 0.22), rgba(224, 102, 255, 0.14));
  cursor: pointer;
  box-shadow: 0 0 14px rgba(255, 107, 203, 0.28), inset 0 0 12px rgba(255, 107, 203, 0.08);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  font-family: var(--font);
}

.syaz-nav-chip:hover {
  box-shadow: 0 0 22px rgba(255, 107, 203, 0.5), inset 0 0 16px rgba(255, 107, 203, 0.12);
  border-color: rgba(255, 150, 220, 0.7);
  transform: translateY(-1px);
}

.syaz-chip-av {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 107, 203, 0.5);
}

.syaz-chip-heart {
  font-size: 0.85rem;
  color: #ff6bcb;
  padding-left: 4px;
  display: inline-block;
  filter: drop-shadow(0 0 6px rgba(255, 107, 203, 0.55));
  animation: heart-sparkle 2.8s ease-in-out infinite;
}

@keyframes heart-sparkle {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(255, 107, 203, 0.5)); }
  50% { transform: scale(1.12); filter: drop-shadow(0 0 10px rgba(255, 107, 203, 0.85)); }
}

.syaz-chip-name {
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--chip-from), var(--chip-to));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-pfp {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.badge-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  min-width: 1.1rem;
  min-height: 1.1rem;
  padding: 1px;
  border-radius: 0;
  font-size: 0.95rem;
  line-height: 1;
  cursor: default;
  background: transparent;
  box-shadow: none;
  transition: transform 0.18s ease, filter 0.18s ease;
  overflow: visible;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(181, 123, 255, 0.3));
  transform: scale(1);
}

.badge-img {
  width: 1.05rem;
  height: 1.05rem;
  object-fit: contain;
  display: block;
  background: transparent;
}

.badge-icon:hover {
  transform: scale(1.14);
  z-index: 20;
  filter: drop-shadow(0 0 10px rgba(224, 102, 255, 0.55));
}

.badge-icon.dev {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-2);
}

.badge-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 130px;
  max-width: 200px;
  padding: 8px 12px;
  background: rgba(12, 8, 24, 0.97);
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--muted);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s, visibility 0.15s, transform 0.15s;
  z-index: 100;
  white-space: normal;
  box-shadow: 0 0 20px var(--accent-glow);
}

.badge-tip strong { display: block; color: var(--text); font-size: 0.72rem; margin-bottom: 3px; }

.badge-icon:hover .badge-tip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-2px);
}

.profile-user {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-bottom: 2px;
}

.profile-info {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 18px;
  max-width: 520px;
}

.profile-info .now-playing { color: var(--accent-2); }

.profile-socials {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 16px;
}

.profile-about {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 520px;
}

.profile-about p + p { margin-top: 10px; }

.profile-about a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.profile-quick-links {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(181, 123, 255, 0.2);
}

.quick-links-title {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.quick-link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(181, 123, 255, 0.35);
  background: rgba(181, 123, 255, 0.1);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.quick-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(181, 123, 255, 0.25);
}

.quick-link-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ql-accent, var(--accent));
}

.quick-link-sub {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--muted);
}

.promo-cta-text {
  margin-top: 14px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.promo-cta-highlight {
  display: inline;
  padding: 0 2px;
  margin: 0;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(224, 102, 255, 0.55);
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent-2);
  cursor: pointer;
  animation: promo-highlight-flash 2s ease-in-out infinite;
  transition: color 0.15s, text-shadow 0.15s;
}

@keyframes promo-highlight-flash {
  0%, 100% { text-shadow: 0 0 6px rgba(224, 102, 255, 0.35); color: var(--accent-2); }
  50% { text-shadow: 0 0 20px rgba(255, 120, 255, 0.95), 0 0 32px rgba(224, 102, 255, 0.45); color: #ffc4ff; }
}

.promo-cta-highlight:hover {
  color: #ffe0ff;
  border-bottom-color: var(--accent);
  text-shadow: 0 0 22px var(--accent-glow);
}

.social-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(181, 123, 255, 0.1);
  border: 1px solid rgba(181, 123, 255, 0.25);
  color: var(--text);
  transition: all 0.2s;
  text-decoration: none;
}

.social-btn:hover {
  background: rgba(181, 123, 255, 0.25);
  box-shadow: 0 0 16px var(--accent-glow);
  transform: translateY(-2px);
}

.social-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ── Page panels (no profile) ── */
.page-panel {
  width: min(640px, 100%);
}

.page-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 8px;
  background: var(--name-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-sub { color: var(--muted); margin-bottom: 24px; font-size: 0.9rem; }

.content-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.content-card p { margin-bottom: 12px; }
.content-card p:last-child { margin-bottom: 0; }
.content-card strong { color: var(--text); }

.tab-link {
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(224, 102, 255, 0.5);
  transition: all 0.15s;
  cursor: pointer;
}

.tab-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}

/* ── Syaz tribute (owner toggle) ── */
.badge-syaz {
  background: linear-gradient(135deg, #ff6bcb, #e066ff) !important;
  box-shadow: 0 0 12px rgba(255, 107, 203, 0.45);
  overflow: hidden;
  border-radius: 5px;
  filter: none;
  font-size: 0.95rem;
  color: #fff;
}

.badge-syaz .badge-pfp,
.badge-syaz .badge-img {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  object-fit: cover;
}

/* ── Syaz tab page ── */
.syaz-page {
  position: relative;
  width: min(640px, 100%);
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 107, 203, 0.35);
  box-shadow: 0 0 24px rgba(255, 107, 203, 0.18);
}

@keyframes syaz-page-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(255, 107, 203, 0.2); border-color: rgba(255, 107, 203, 0.35); }
  50% { box-shadow: 0 0 32px rgba(255, 107, 203, 0.45), 0 0 48px rgba(224, 102, 255, 0.2); border-color: rgba(255, 150, 220, 0.55); }
}

.syaz-page-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2a1060 0%, #4a2080 40%, #6b3090 100%);
  z-index: 0;
  overflow: hidden;
}

.syaz-heart-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 20), 1fr);
  grid-template-rows: repeat(var(--rows, 16), 1fr);
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  padding: 10px;
  gap: 1px;
}

.syaz-grid-heart {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.45rem, 1.8vw, 0.75rem);
  line-height: 1;
  user-select: none;
  transition: opacity 0.05s linear;
}

.syaz-heart-grid-lite .syaz-grid-heart {
  will-change: transform, opacity;
  transition: none;
  text-shadow: 0 0 5px rgba(255, 107, 203, 0.3);
}

.syaz-page-content {
  position: relative;
  z-index: 2;
  margin: 24px 16px 16px;
  padding: 20px;
  text-align: center;
  background: rgba(12, 6, 24, 0.72);
  border: 1px solid rgba(255, 107, 203, 0.35);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  box-shadow: 0 0 30px rgba(255, 107, 203, 0.2);
}

.syaz-page-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(90deg, #fecdd3, #ff6bcb, #e066ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.syaz-page-line {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #ff9ecf;
  margin-bottom: 16px;
}

.syaz-meme {
  max-width: 100%;
  max-height: 260px;
  border-radius: 10px;
  border: 1px solid rgba(255, 107, 203, 0.35);
  object-fit: contain;
}

/* ── Promotions ── */
.promo-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  transition: transform 0.2s;
  animation: promo-card-pulse 3s ease-in-out infinite;
}

@keyframes promo-card-pulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(181, 123, 255, 0.12);
    border-color: rgba(181, 123, 255, 0.28);
  }
  50% {
    box-shadow: 0 0 16px rgba(224, 102, 255, 0.28);
    border-color: rgba(224, 102, 255, 0.4);
  }
}

.promo-logo-box {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 1px solid;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.promo-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.promo-logo-fallback {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.promo-body { flex: 1; min-width: 0; }

.promo-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-2px);
}

.promo-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.promo-body p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 12px; }

.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid;
  transition: all 0.2s;
}

.promo-link:hover { transform: scale(1.03); box-shadow: 0 0 16px var(--accent-glow); }

/* ── Comments (floating window) ── */
.comments-panel {
  width: min(520px, 100%);
}

.comments-wrap {
  position: relative;
  width: 100%;
  padding: 22px 22px 18px;
  background: rgba(10, 7, 20, 0.72);
  border: 1px solid rgba(181, 123, 255, 0.22);
  border-radius: 22px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 48px rgba(181, 123, 255, 0.07);
  overflow: hidden;
}

.comment-form {
  margin-bottom: 14px;
}

.comment-form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.comment-form .form-input,
.comment-form .form-textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(181, 123, 255, 0.07);
  border: 1px solid rgba(181, 123, 255, 0.2);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.comment-form .form-input:focus,
.comment-form .form-textarea:focus {
  outline: none;
  border-color: rgba(181, 123, 255, 0.55);
  box-shadow: 0 0 16px rgba(181, 123, 255, 0.18);
}

.comment-submit {
  flex-shrink: 0;
  padding: 11px 18px;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s;
}

.comment-submit:hover {
  transform: scale(1.03);
  box-shadow: 0 0 18px var(--accent-glow);
}

.comments-admin-hint {
  font-size: 0.72rem;
  color: rgba(181, 123, 255, 0.75);
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(181, 123, 255, 0.08);
  border: 1px dashed rgba(181, 123, 255, 0.25);
}

.comments-live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #7dffb2;
  margin-bottom: 12px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dffb2;
  box-shadow: 0 0 8px #7dffb2;
  animation: live-blink 1.5s ease infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 4px 6px 4px 2px;
  margin: 0 -4px;
}

.comments-list::-webkit-scrollbar { width: 5px; }
.comments-list::-webkit-scrollbar-track { background: transparent; }
.comments-list::-webkit-scrollbar-thumb {
  background: rgba(181, 123, 255, 0.35);
  border-radius: 999px;
}

.comment-item {
  padding: 12px 14px;
  background: rgba(181, 123, 255, 0.05);
  border: 1px solid rgba(181, 123, 255, 0.14);
  border-radius: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.comment-item.comment-highlighted {
  border-color: rgba(224, 102, 255, 0.45);
  box-shadow: 0 0 20px rgba(181, 123, 255, 0.12);
}

.comment-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.comment-author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-2);
}

.comment-author--admin {
  cursor: pointer;
  border-radius: 6px;
  padding: 1px 4px;
  margin: -1px -4px;
  transition: background 0.15s;
}

.comment-author--admin:hover {
  background: rgba(181, 123, 255, 0.15);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.comment-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 600;
  border: 1px solid rgba(181, 123, 255, 0.3);
}

.comment-time {
  margin-left: auto;
  font-size: 0.68rem;
  color: var(--muted);
}

.comment-body {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  word-break: break-word;
}

.comment-actions {
  display: flex;
  gap: 4px;
  margin-left: 4px;
}

.comment-action-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(181, 123, 255, 0.25);
  background: rgba(181, 123, 255, 0.08);
  color: var(--accent-2);
  cursor: pointer;
  font-size: 0.72rem;
  line-height: 1;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  transition: background 0.15s, transform 0.15s;
}

.comment-action-icon {
  width: 14px;
  height: 14px;
  pointer-events: none;
  display: block;
}

.comment-action-btn:focus {
  outline: 2px solid rgba(181, 123, 255, 0.5);
  outline-offset: 2px;
}

body.comment-modal-open {
  overflow: hidden;
}

.comment-action-btn:hover {
  background: rgba(181, 123, 255, 0.22);
  transform: scale(1.05);
}

.comments-empty {
  text-align: center;
  color: var(--muted);
  padding: 28px 16px;
  font-size: 0.9rem;
}

/* Comment style modal (admin on-page) */
.comment-style-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 2, 10, 0.75);
  backdrop-filter: blur(8px);
  overscroll-behavior: contain;
}

.comment-style-loading {
  text-align: center;
  color: var(--muted);
  padding: 32px;
}

.comment-style-card {
  width: min(380px, 100%);
  padding: 24px;
  background: rgba(14, 10, 28, 0.96);
  border: 1px solid rgba(181, 123, 255, 0.35);
  border-radius: 18px;
  box-shadow: 0 0 40px rgba(181, 123, 255, 0.2);
}

.comment-style-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 4px;
  background: var(--name-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.comment-style-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.comment-style-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  cursor: pointer;
}

.comment-style-card .form-group {
  margin-bottom: 14px;
}

.comment-style-card .form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 8px;
}

.comment-style-card .label-hint {
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0.8;
}

.comment-style-card .form-input,
.comment-style-card .form-color {
  width: 100%;
  padding: 9px 12px;
  background: rgba(181, 123, 255, 0.1);
  border: 1px solid rgba(181, 123, 255, 0.3);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
}

.comment-style-card .form-color {
  height: 40px;
  padding: 4px;
  cursor: pointer;
}

.neon-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.neon-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: var(--sw);
  cursor: pointer;
  box-shadow: 0 0 10px color-mix(in srgb, var(--sw) 60%, transparent);
  transition: transform 0.15s, border-color 0.15s;
}

.neon-swatch:hover { transform: scale(1.1); }
.neon-swatch.active {
  border-color: #fff;
  transform: scale(1.12);
  box-shadow: 0 0 16px var(--sw);
}

.comment-style-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.comment-style-btn {
  flex: 1;
  min-width: 90px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(181, 123, 255, 0.3);
  background: rgba(181, 123, 255, 0.1);
  color: var(--text);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s;
}

.comment-style-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  color: #fff;
}

.comment-style-btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.comment-style-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 0 14px rgba(181, 123, 255, 0.2);
}

@media (max-width: 520px) {
  .comments-wrap { padding: 16px; border-radius: 18px; }
  .comment-form-row { flex-direction: column; }
  .comment-submit { width: 100%; }
  .comments-list { max-height: 50vh; }
}

/* ── Footer ── */
.hub-footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(181, 123, 255, 0.12);
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--accent-2);
  text-shadow: 0 0 12px var(--accent-glow);
}

.footer-credit { font-size: 0.75rem; }
.footer-credit span { color: var(--accent-2); }

/* ── Music widget (bottom-left mini FAB) ── */
.music-bar {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
}

.music-bar.hidden { display: none; }

.music-bar > * { pointer-events: auto; }

.music-dock {
  position: relative;
  width: 68px;
  height: 48px;
  flex-shrink: 0;
}

.music-fab {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(181, 123, 255, 0.35);
  background: rgba(14, 10, 28, 0.45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--accent-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 0 18px rgba(181, 123, 255, 0.2);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.music-fab svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  position: relative;
  z-index: 1;
}

.music-fab-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(224, 102, 255, 0.25);
  opacity: 0;
  transition: opacity 0.2s;
}

.music-fab--playing .music-fab-glow {
  opacity: 1;
  animation: music-fab-pulse 2s ease-in-out infinite;
}

.music-fab:hover {
  transform: scale(1.06);
  border-color: rgba(224, 102, 255, 0.55);
  box-shadow: 0 0 24px var(--accent-glow);
}

.music-bar.needs-tap .music-fab {
  animation: music-tap-hint 1.6s ease-in-out infinite;
}

@keyframes music-fab-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes music-tap-hint {
  0%, 100% { transform: scale(1); box-shadow: 0 0 18px rgba(181, 123, 255, 0.2); }
  50% { transform: scale(1.1); box-shadow: 0 0 28px var(--accent-glow); }
}

.music-speaker-fab {
  position: absolute;
  bottom: 0;
  left: 38px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(181, 123, 255, 0.3);
  background: rgba(14, 10, 28, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.15s;
}

.music-speaker-fab svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.music-speaker-fab:hover {
  color: var(--accent-2);
  border-color: rgba(224, 102, 255, 0.5);
  box-shadow: 0 0 14px var(--accent-glow);
}

.music-bar--muted .music-speaker-fab,
.music-bar--muted .music-speaker-btn {
  color: #ff8a9a;
}

.music-panel {
  width: min(260px, calc(100vw - 36px));
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(181, 123, 255, 0.32);
  background: rgba(14, 10, 28, 0.88);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 28px rgba(181, 123, 255, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.96);
  transform-origin: bottom left;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  order: -1;
}

.music-bar--open .music-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.music-transport {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.music-info {
  min-width: 0;
  margin-bottom: 10px;
  text-align: center;
}

.music-title {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-artist {
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: rgba(181, 123, 255, 0.15);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
  padding: 0;
  line-height: 0;
}

.music-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.music-btn:hover {
  background: rgba(181, 123, 255, 0.3);
  box-shadow: 0 0 12px var(--accent-glow);
}

.music-vol {
  display: flex;
  align-items: center;
  gap: 8px;
}

.music-vol input[type="range"] {
  flex: 1;
  min-width: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

/* ── Toast ── */
#toast-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font-size: 0.85rem;
  animation: toast-in 0.3s ease;
  box-shadow: 0 0 16px var(--accent-glow);
}

.toast.error { border-color: rgba(255, 120, 140, 0.4); }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .profile-top { flex-direction: column; align-items: center; text-align: center; }
  .profile-name-row { justify-content: center; }
  .profile-socials { justify-content: center; }
  .hub-nav { gap: 4px; padding: 12px 14px; }
  .hub-nav-links { justify-content: flex-end; }
  .nav-brand { font-size: 0.88rem; }
  .nav-btn { padding: 6px 12px; font-size: 0.8rem; }
  .roles-pill-bar { gap: 4px; padding: 3px 8px; }
  .music-bar { bottom: 14px; left: 14px; }
  .music-panel { width: min(240px, calc(100vw - 28px)); }
}
