/* ==========================================================================
   CreatorVault — X Creator Discovery Gallery (clone build)
   Neutral near-black palette · violet + gold accents · Inter + JetBrains Mono
   ========================================================================== */

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

:root, [data-theme="oled"] {
  --bg-app: #070506;
  --bg-surface: hsla(330, 17%, 6%, 0.85);
  --bg-surface-hover: hsla(330, 17%, 9%, 0.95);
  --bg-surface-solid: hsl(330, 17%, 5%);
  --bg-elevated: hsla(330, 17%, 7%, 0.96);
  --bg-glass-nav: hsla(330, 17%, 1%, 0.9);
  --bg-card-footer: hsl(330, 17%, 4%);
  --bg-chip: hsla(0, 0%, 100%, 0.08);

  --accent-primary: hsl(18, 100%, 68%);
  --accent-primary-hover: hsl(18, 100%, 62%);
  --accent-primary-subtle: hsla(18, 100%, 68%, 0.14);
  --accent-primary-glow: hsla(18, 100%, 68%, 0.32);
  --spotlight-color: hsla(18, 100%, 68%, 0.12);

  --accent-gold: hsl(345, 100%, 62%);
  --accent-gold-subtle: hsla(345, 100%, 62%, 0.16);
  --accent-spark: hsl(345, 100%, 68%);
  --accent-verified: hsl(345, 100%, 58%);
  --accent-danger: hsl(345, 100%, 58%);
  --accent-danger-subtle: hsla(345, 100%, 62%, 0.14);

  --border-subtle: hsla(0, 0%, 100%, 0.09);
  --border-medium: hsla(0, 0%, 100%, 0.16);
  --border-strong: hsla(0, 0%, 100%, 0.30);
  --border-focus: hsla(18, 100%, 68%, 0.55);

  --text-main: #F7F1EA;
  --text-secondary: hsl(18, 60%, 76%);
  --text-muted: hsl(18, 50%, 108%);
  --text-inverse: #070506;

  --shadow-sm: 0 2px 8px -2px hsla(0, 0%, 0%, 0.7);
  --shadow-md: 0 12px 32px -8px hsla(0, 0%, 0%, 0.85);
  --shadow-lg: 0 24px 50px -12px hsla(0, 0%, 0%, 0.95);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;
}

[data-theme="light"] {
  --bg-app: #f5f5f6;
  --bg-surface: hsla(0, 0%, 100%, 0.88);
  --bg-surface-hover: #ededf0;
  --bg-surface-solid: #ffffff;
  --bg-elevated: #ffffff;
  --bg-glass-nav: hsla(240, 6%, 97%, 0.92);
  --bg-card-footer: #fafafa;
  --bg-chip: hsla(240, 10%, 10%, 0.06);

  --accent-primary: hsl(262, 70%, 52%);
  --accent-primary-hover: hsl(262, 75%, 46%);
  --accent-primary-subtle: hsla(262, 83%, 55%, 0.12);
  --accent-primary-glow: hsla(262, 83%, 55%, 0.22);
  --spotlight-color: hsla(262, 83%, 55%, 0.08);

  --accent-gold: hsl(38, 92%, 42%);
  --accent-gold-subtle: hsla(38, 92%, 50%, 0.14);
  --accent-spark: hsl(330, 75%, 48%);
  --accent-danger: hsl(350, 80%, 52%);
  --accent-danger-subtle: hsla(350, 80%, 52%, 0.12);

  --border-subtle: hsla(240, 10%, 12%, 0.10);
  --border-medium: hsla(240, 10%, 12%, 0.17);
  --border-strong: hsla(240, 10%, 12%, 0.28);
  --border-focus: hsla(262, 83%, 50%, 0.45);

  --text-main: #141417;
  --text-secondary: #43434b;
  --text-muted: #71717a;
  --text-inverse: #ffffff;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.14);
}

body {
  background-color: var(--bg-app);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.25s ease, color 0.25s ease;
}

#bg-particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

[data-theme="light"] #bg-particles-canvas { opacity: 0.25; }

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input { font-family: inherit; color: inherit; }

code, kbd { font-family: var(--font-mono); }

.hidden { display: none !important; }

/* ---------- Motion primitives ---------- */
.shiny-text {
  background: linear-gradient(
    120deg,
    var(--text-main) 0%,
    var(--text-main) 30%,
    var(--accent-primary) 50%,
    var(--text-main) 70%,
    var(--text-main) 100%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shineSweep 4.5s linear infinite;
  display: inline-block;
}

.shiny-gold {
  background: linear-gradient(
    120deg,
    var(--accent-gold) 0%,
    var(--accent-gold) 35%,
    #fff 50%,
    var(--accent-gold) 65%,
    var(--accent-gold) 100%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shineSweep 4s linear infinite;
}

@keyframes shineSweep {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.click-spark-particle {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
  animation: sparkFade 0.65s cubic-bezier(0.12, 0, 0.39, 0) forwards;
}

@keyframes sparkFade {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.15); }
}

.celebration-burst-particle {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform-origin: center;
  will-change: transform, opacity;
  animation: celebrationFly var(--duration, 1.2s) cubic-bezier(0.12, 0.8, 0.32, 1) forwards;
}

@keyframes celebrationFly {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.2) rotate(0deg); }
  20% { opacity: 1; transform: translate(calc(-50% + var(--vx) * 0.35), calc(-50% + var(--vy) * 0.35)) scale(1.25) rotate(var(--rot-mid, 180deg)); }
  65% { opacity: 0.9; transform: translate(calc(-50% + var(--vx) * 0.8), calc(-50% + var(--vy) * 0.8 + 24px)) scale(1) rotate(var(--rot-late, 360deg)); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--vx)), calc(-50% + var(--vy) + 65px)) scale(0.3) rotate(var(--rot-end, 540deg)); }
}

.celebration-star-particle {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px currentColor);
}

.celebration-confetti-ribbon {
  border-radius: 2px;
  box-shadow: 0 0 12px currentColor;
}

.spotlight-interactive { position: relative; overflow: hidden; }

.spotlight-interactive::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--spotlight-color),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.spotlight-interactive:hover::before { opacity: 1; }

.tilt-card-wrap {
  transform-style: preserve-3d;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* ---------- App shell & header ---------- */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.v2-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass-nav);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 28px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.header-inner {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.header-brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-self: start;
}

.brand-link { display: flex; align-items: center; gap: 12px; }

.brand-avatar {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  background: var(--bg-surface);
  transition: box-shadow 0.25s ease;
  flex-shrink: 0;
}

.brand-link:hover .brand-avatar { box-shadow: 0 0 16px var(--accent-primary-glow); }

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-main);
  line-height: 1;
}

.header-search-wrap {
  width: 460px;
  max-width: 40vw;
  justify-self: center;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 40px;
  padding: 0 78px 0 38px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box input:focus {
  border-color: var(--accent-primary);
  background: var(--bg-surface-hover);
  box-shadow: 0 0 0 3px var(--accent-primary-subtle);
}

.search-box input::placeholder {
  color: var(--text-muted);
  font-size: 13px;
}

.search-clear-btn {
  position: absolute;
  right: 36px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  transition: color 0.15s;
}

.search-clear-btn:hover { color: var(--text-main); }

.key-shortcut {
  position: absolute;
  right: 12px;
  padding: 2px 7px;
  font-size: 11px;
  font-family: var(--font-mono);
  background: var(--bg-chip);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-muted);
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.btn-lucky-pick {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(255, 61, 110, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(255, 61, 110, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-lucky-pick:hover {
  background: linear-gradient(135deg, rgba(255, 61, 110, 0.28) 0%, rgba(139, 92, 246, 0.28) 100%);
  border-color: var(--accent-spark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -2px rgba(255, 61, 110, 0.35);
}

.btn-lucky-pick:active { transform: scale(0.96); }

.btn-lucky-pick svg {
  color: var(--accent-spark);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-lucky-pick:hover svg { transform: rotate(180deg) scale(1.15); }

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-toggle-btn:hover {
  color: var(--accent-primary);
  border-color: var(--border-medium);
  background: var(--bg-surface-hover);
  transform: translateY(-1px);
}

.theme-toggle-btn svg { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.theme-toggle-btn:hover svg { transform: rotate(25deg) scale(1.15); }

.btn-nav-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.18s ease;
}

.btn-nav-pill:hover {
  color: var(--text-main);
  background: var(--bg-surface-hover);
  border-color: var(--border-medium);
}

.btn-advertise {
  border-color: hsla(38, 92%, 55%, 0.35);
  color: var(--accent-gold);
  background: var(--accent-gold-subtle);
  font-weight: 700;
}

.btn-advertise:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* ---------- Hero ---------- */
.v2-main {
  flex: 1;
  max-width: 1480px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 28px 48px;
}

.hero-section {
  margin-bottom: 22px;
  background: var(--bg-surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px 36px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: 15%;
  width: 480px;
  height: 280px;
  background: radial-gradient(circle, var(--accent-primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-left-intro { display: flex; flex-direction: column; gap: 14px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
  color: var(--accent-primary);
}

.hero-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.12;
}

.hero-description {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 560px;
}

.hero-unified-capsule {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  background: linear-gradient(135deg, hsla(240, 6%, 10%, 0.85) 0%, hsla(240, 6%, 4%, 0.95) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  width: 100%;
  max-width: 580px;
  margin-top: 14px;
  animation: capsulePulseGlow 6s ease-in-out infinite alternate;
}

@keyframes capsulePulseGlow {
  0% { box-shadow: 0 0 16px -3px var(--accent-primary-glow), inset 0 1px 0 hsla(0, 0%, 100%, 0.1); border-color: var(--border-medium); }
  100% { box-shadow: 0 0 24px 0 hsla(38, 92%, 55%, 0.2), inset 0 1px 0 hsla(0, 0%, 100%, 0.15); border-color: hsla(38, 92%, 55%, 0.3); }
}

[data-theme="light"] .hero-unified-capsule {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 245, 246, 0.98) 100%);
  border-color: var(--border-medium);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.capsule-metric-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 8px;
  width: 100%;
}

.capsule-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wrap-blue { color: var(--accent-primary); background: var(--accent-primary-subtle); }
.icon-wrap-verified { color: var(--accent-verified); background: hsla(199, 89%, 60%, 0.12); }
.icon-wrap-gold { color: var(--accent-gold); background: var(--accent-gold-subtle); }

.capsule-divider {
  width: 1px;
  height: 32px;
  background: var(--border-medium);
  margin: 0 auto;
  flex-shrink: 0;
}

.capsule-data {
  display: flex;
  flex-direction: column;
  min-width: 76px;
  justify-content: center;
}

.capsule-number {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.capsule-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
  white-space: nowrap;
}

/* ---------- Spotlight card ---------- */
.hero-right-spotlight {
  background: var(--bg-elevated);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
  overflow: hidden;
}

.hero-right-spotlight:hover { border-color: var(--border-strong); }

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: var(--accent-gold-subtle);
  border: 1px solid hsla(38, 92%, 55%, 0.3);
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-gold);
  width: fit-content;
}

.spotlight-body { display: flex; align-items: center; gap: 16px; }

.spotlight-loading { color: var(--text-muted); font-size: 13px; }

.spotlight-avatar-wrap { position: relative; flex-shrink: 0; cursor: pointer; }

.spotlight-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  background: var(--bg-surface);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spotlight-avatar-wrap:hover .spotlight-avatar { transform: scale(1.08); }

.spotlight-meta { flex: 1; min-width: 0; }

.spotlight-name-row { display: flex; align-items: center; gap: 6px; }

.spotlight-name {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-handle {
  font-size: 12.5px;
  color: var(--accent-primary);
  font-family: var(--font-mono);
  margin-top: 1px;
  display: block;
}

.spotlight-bio-snippet {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-shuffle-spotlight {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-shuffle-spotlight:hover {
  color: var(--text-main);
  border-color: var(--border-medium);
  background: var(--bg-surface-hover);
  transform: translateY(-1px);
}

.spotlight-ad-note {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-align: right;
  transition: color 0.15s ease;
}

.spotlight-ad-note:hover { color: var(--accent-gold); }

/* ---------- Advertise slots ---------- */
.advertise-slots {
  margin-bottom: 32px;
  background: var(--bg-surface);
  border: 1px solid hsla(38, 92%, 55%, 0.22);
  border-radius: var(--radius-xl);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 90px;
}

.slots-header { margin-bottom: 26px; }

.slots-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-family: var(--font-mono);
  color: var(--accent-gold);
}

.slots-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 6px;
  color: var(--text-main);
}

.slots-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  max-width: 680px;
  margin-top: 8px;
  line-height: 1.6;
}

.sponsor-chip-inline {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--accent-gold-subtle);
  color: var(--accent-gold);
  border: 1px solid hsla(38, 92%, 55%, 0.3);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.slot-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}

.slot-card:hover {
  transform: translateY(-3px);
  border-color: hsla(38, 92%, 55%, 0.4);
  box-shadow: 0 12px 30px -8px hsla(38, 92%, 55%, 0.2);
}

.slot-card-featured {
  border-color: hsla(38, 92%, 55%, 0.45);
  box-shadow: 0 0 30px -8px hsla(38, 92%, 55%, 0.25);
}

.slot-flag {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.slot-tier {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.slot-name { font-size: 17px; font-weight: 800; color: var(--text-main); }

.slot-price { display: flex; align-items: baseline; gap: 5px; }

.slot-amount {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-gold);
  letter-spacing: -0.02em;
}

.slot-per { font-size: 12.5px; color: var(--text-muted); }

.slot-features {
  list-style: none;
  font-size: 12.5px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 2px 0 6px;
}

.slot-features li::before { content: '+ '; color: var(--accent-gold); font-weight: 700; }

.btn-book-slot {
  margin-top: auto;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  background: var(--accent-gold);
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.18s ease;
}

.btn-book-slot:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ---------- Discovery toolbar ---------- */
.discovery-bar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.filter-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 4px;
  margin: -6px -4px;
  scrollbar-width: none;
}
.filter-pills-row::-webkit-scrollbar { display: none; }

.f-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.f-pill:hover {
  color: var(--text-main);
  background: var(--bg-surface-hover);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.f-pill.active {
  background: var(--accent-primary-subtle);
  color: var(--accent-primary);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-sm);
}

.pill-badge {
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: var(--bg-chip);
  color: inherit;
}

.pill-badge.tombstone {
  background: var(--accent-danger-subtle);
  color: var(--accent-danger);
}

.view-mode-tabs {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}

.view-tab-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.view-tab-btn:hover { color: var(--text-main); }

.view-tab-btn.active {
  background: var(--accent-primary-subtle);
  color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.discovery-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.results-indicator {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.sort-selector-wrap { display: flex; align-items: center; gap: 8px; }

.sort-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

.custom-select-box {
  position: relative;
  width: 200px;
}

.select-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  cursor: pointer;
  user-select: none;
}

.select-trigger-btn span {
  flex: 1;
  text-align: left;
  white-space: nowrap;
}

.select-trigger-btn .arrow-icon {
  color: var(--text-muted);
  transition: transform 0.2s ease;
  margin-left: auto;
  flex-shrink: 0;
}

.select-trigger-btn:hover {
  color: var(--text-main);
  border-color: var(--border-medium);
}

.select-trigger-btn[aria-expanded="true"] {
  border-color: var(--accent-primary);
  color: var(--text-main);
}

.select-trigger-btn[aria-expanded="true"] .arrow-icon { transform: rotate(180deg); }

.select-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-elevated);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 6px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 120;
  animation: popoverFadeIn 0.16s ease;
}

@keyframes popoverFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
  transition: all 0.12s;
}

.menu-item:hover {
  background: var(--bg-surface-hover);
  color: var(--text-main);
}

.menu-item.active {
  background: var(--accent-primary-subtle);
  color: var(--accent-primary);
  font-weight: 600;
}

/* ---------- Masonry wall ---------- */
.gallery-container { min-height: 400px; }

.blogger-wall.grid-view {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.blogger-wall.grid-view .masonry-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.blogger-wall.compact-view {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
}

.blogger-wall.compact-view .masonry-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.blogger-wall.list-view {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.card-skeleton {
  height: 260px;
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, var(--bg-surface) 40%, var(--bg-surface-hover) 50%, var(--bg-surface) 60%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s infinite;
  border: 1px solid var(--border-subtle);
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Cards ---------- */
.blogger-card {
  --card-accent: var(--accent-primary);
  --card-accent-rgb: 139, 92, 246;
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  width: 100%;
  animation: cardFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.blogger-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--card-accent-rgb), 0.45);
  box-shadow: 0 0 0 1px rgba(var(--card-accent-rgb), 0.3), 0 16px 36px -6px rgba(var(--card-accent-rgb), 0.16);
}

.card-ambient-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(var(--card-accent-rgb), 0.22) 0%, transparent 65%);
}

.blogger-card:hover .card-ambient-glow { opacity: 1; }

.blogger-card.is-tombstone {
  filter: grayscale(85%) brightness(0.82);
}

.blogger-card.is-tombstone:hover {
  filter: grayscale(25%) brightness(0.95);
  border-color: hsla(240, 8%, 64%, 0.45);
  box-shadow: 0 0 0 1px hsla(240, 8%, 64%, 0.3), 0 14px 32px -4px hsla(240, 8%, 64%, 0.15);
}

.tombstone-banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 3;
  pointer-events: none;
}

.card-header-banner {
  height: 124px;
  width: 100%;
  background-color: var(--bg-surface-hover);
  position: relative;
  overflow: hidden;
  transition: filter 0.3s ease;
}

.blogger-card:hover .card-header-banner { filter: brightness(1.06); }

.card-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blogger-card:hover .card-banner-img { transform: scale(1.06); }

.card-header-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
  pointer-events: none;
}

.card-main-content {
  padding: 0 18px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.card-avatar-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: -40px;
  margin-bottom: 12px;
  position: relative;
  z-index: 5;
}

.card-avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 0;
  background: var(--bg-surface-solid);
  border: 2px solid rgba(var(--card-accent-rgb), 0.85);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.45), 0 0 14px rgba(var(--card-accent-rgb), 0.35);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease, box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  flex-shrink: 0;
  will-change: transform;
}

.blogger-card:hover .card-avatar-wrap {
  transform: scale(1.1) translateY(-2px);
  border-color: rgba(var(--card-accent-rgb), 1);
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.6), 0 8px 22px rgba(0, 0, 0, 0.6), 0 0 24px rgba(var(--card-accent-rgb), 0.8);
}

.card-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.badge-verified-native {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 20px;
  height: 20px;
  background: #1d9bf0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--bg-surface-solid);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 4;
}

.badge-verified-native svg { width: 10px; height: 10px; }

.card-influence-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-chip);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.card-influence-pill.top-tier {
  background: var(--accent-gold-subtle);
  border-color: hsla(38, 92%, 55%, 0.3);
  color: var(--accent-gold);
}

.badge-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-status-pill.suspended {
  background: var(--accent-danger-subtle);
  color: var(--accent-danger);
  border: 1px solid hsla(350, 89%, 62%, 0.3);
}

.badge-status-pill.deleted {
  background: var(--bg-chip);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* Sponsored placement cards */
.sponsor-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: hsla(38, 92%, 55%, 0.92);
  color: #0a0a0a;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.blogger-card.is-sponsored {
  border-color: hsla(38, 92%, 55%, 0.45);
}

.blogger-card.is-sponsored:hover {
  border-color: hsla(38, 92%, 55%, 0.7);
  box-shadow: 0 0 0 1px hsla(38, 92%, 55%, 0.4), 0 16px 36px -6px hsla(38, 92%, 55%, 0.22);
}

/* ---------- Compact view ---------- */
.blogger-wall.compact-view .blogger-card { border-radius: var(--radius-md); }
.blogger-wall.compact-view .card-header-banner { height: 64px; }
.blogger-wall.compact-view .card-avatar-wrap { width: 42px; height: 42px; }
.blogger-wall.compact-view .card-avatar-row { margin-top: -24px; margin-bottom: 6px; }
.blogger-wall.compact-view .card-main-content { padding: 0 14px 10px; }
.blogger-wall.compact-view .card-user-info { margin-bottom: 6px; }
.blogger-wall.compact-view .card-name-row { gap: 6px; margin-bottom: 1px; }
.blogger-wall.compact-view .card-user-name { font-size: 13.5px; }
.blogger-wall.compact-view .card-influence-pill { font-size: 10px; padding: 2px 7px; }
.blogger-wall.compact-view .card-user-handle { font-size: 11px; display: inline; }
.blogger-wall.compact-view .card-metrics-chip {
  display: inline-flex;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 2px;
  padding: 1px 6px;
  font-size: 10.5px;
  vertical-align: middle;
}
.blogger-wall.compact-view .card-bio-content {
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blogger-wall.compact-view .card-action-footer { padding: 6px 12px; }
.blogger-wall.compact-view .btn-inspect-profile { font-size: 11.5px; }
.blogger-wall.compact-view .btn-visit-x { font-size: 11px; padding: 4px 10px; }

.card-metrics-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  background: var(--bg-chip);
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-top: 4px;
  margin-bottom: 12px;
  width: fit-content;
}

.card-user-info { margin-bottom: 10px; }

.card-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.card-user-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-user-handle {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--card-accent, var(--accent-primary));
  margin-top: 1px;
  display: inline-block;
  transition: color 0.25s ease;
}

.card-user-handle:hover { text-decoration: underline; }

.card-bio-content {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.card-bio-content a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card-action-footer {
  padding: 12px 18px;
  background: var(--bg-card-footer);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.btn-inspect-profile {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s;
}

.btn-inspect-profile:hover { color: var(--text-main); }

.btn-visit-x {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  background: var(--accent-primary-subtle);
  color: var(--accent-primary);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius-full);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-visit-x:hover {
  background: var(--accent-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ---------- List view ---------- */
.blogger-wall.list-view .blogger-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  gap: 16px;
}

.blogger-wall.list-view .card-header-banner { display: none; }

.blogger-wall.list-view .card-main-content {
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin: 0;
  width: 100%;
  flex: 1;
  min-width: 0;
}

.blogger-wall.list-view .card-avatar-row { margin: 0; flex-shrink: 0; width: 44px; height: 44px; }

.blogger-wall.list-view .card-avatar-wrap {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(var(--card-accent-rgb), 0.7);
  margin-top: 0;
}

.blogger-wall.list-view .card-user-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
  margin: 0;
}

.blogger-wall.list-view .card-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex-shrink: 0;
}

.blogger-wall.list-view .card-influence-pill {
  order: -1;
  margin: 0;
  white-space: nowrap;
  font-size: 11px;
  flex-shrink: 0;
}

.blogger-wall.list-view .card-user-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.blogger-wall.list-view .card-user-handle {
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--accent-primary);
  margin: 0;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.blogger-wall.list-view .card-metrics-chip {
  margin: 0;
  width: fit-content;
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.blogger-wall.list-view .card-bio-content { display: none !important; }

.blogger-wall.list-view .card-action-footer {
  background: transparent;
  border: none;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .blogger-wall.list-view .blogger-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 12px;
  }

  .blogger-wall.list-view .card-main-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .blogger-wall.list-view .card-user-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }

  .blogger-wall.list-view .card-action-footer {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
  }
}

/* ---------- Infinite scroll ---------- */
.infinite-scroll-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  color: var(--text-muted);
  font-size: 13px;
  gap: 8px;
  width: 100%;
}

.infinite-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-medium);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Empty states ---------- */
.v2-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  background: var(--bg-surface);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-xl);
  width: 100%;
}

.empty-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-chip);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.empty-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.empty-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.btn-reset-filters {
  padding: 8px 20px;
  background: var(--accent-primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  transition: opacity 0.15s;
}

.btn-reset-filters:hover { opacity: 0.9; }

/* ---------- Roulette modal ---------- */
.roulette-backdrop {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: rouletteFadeIn 0.25s ease;
}

@keyframes rouletteFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.roulette-frameless-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 440px;
  animation: roulettePopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes roulettePopIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.roulette-floating-card {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 0 50px -10px rgba(139, 92, 246, 0.3), 0 25px 60px -15px rgba(0,0,0,0.9);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.15s ease, border-color 0.25s ease, opacity 0.16s ease;
  will-change: transform, opacity, filter;
}

.roulette-floating-card.is-shuffling {
  filter: blur(1.5px);
  transform: scale(0.985);
  border-color: var(--accent-spark);
}

.roulette-floating-card.is-rolling-out {
  opacity: 0.15;
  filter: blur(3.5px);
  transform: translateY(-34px) scale(0.96);
  transition: transform 0.15s cubic-bezier(0.4, 0, 1, 1), opacity 0.15s ease, filter 0.15s ease;
}

.roulette-floating-card.is-settled {
  filter: blur(0px);
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: settleSlotReelSpring 0.58s cubic-bezier(0.22, 1.25, 0.36, 1) both;
  border-color: var(--accent-gold);
  box-shadow: 0 0 60px 8px rgba(245, 158, 11, 0.4), 0 0 100px 20px rgba(139, 92, 246, 0.25), 0 30px 70px -10px rgba(0,0,0,0.95);
}

@keyframes settleSlotReelSpring {
  0% { transform: translateY(32px) scale(0.96); opacity: 0.3; filter: blur(2px); }
  45% { transform: translateY(-8px) scale(1.035); opacity: 1; filter: blur(0px); }
  75% { transform: translateY(2.5px) scale(0.995); }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.roulette-banner {
  height: 130px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.roulette-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.65) 100%);
}

.roulette-avatar-zone {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: -38px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.roulette-avatar-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid var(--bg-elevated);
  object-fit: cover;
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
}

.roulette-info-zone { padding: 14px 22px 20px; }

.roulette-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.roulette-name {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
}

.roulette-handle {
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--accent-primary);
}

.roulette-bio {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.roulette-bio a { color: var(--accent-primary); }

.roulette-outside-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.roulette-outside-actions.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-roulette-visit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: var(--accent-primary);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.18s ease;
}

.btn-roulette-visit:hover { filter: brightness(1.12); transform: translateY(-1px); }

.btn-reshuffle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  transition: all 0.18s ease;
}

.btn-reshuffle:hover {
  border-color: var(--accent-spark);
  color: var(--accent-spark);
  transform: translateY(-1px);
}

.roulette-dismiss-hint {
  margin-top: 16px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.roulette-dismiss-hint.is-visible { opacity: 1; }

/* ---------- Inspector drawer ---------- */
.inspector-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: flex-end;
  animation: rouletteFadeIn 0.2s ease;
}

.inspector-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(480px, 100vw);
  background: var(--bg-elevated);
  border-left: 1px solid var(--border-medium);
  display: flex;
  flex-direction: column;
  animation: drawerSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drawerSlideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.inspector-drawer .drawer-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.drawer-title-group { display: flex; align-items: center; gap: 10px; }

.drawer-badge-tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
  color: var(--accent-primary);
  background: var(--accent-primary-subtle);
  border: 1px solid var(--border-focus);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.drawer-meta-tip { font-size: 11.5px; color: var(--text-muted); font-family: var(--font-mono); }

.drawer-close-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.drawer-close-btn:hover {
  background: var(--bg-surface-hover);
  color: var(--text-main);
}

.drawer-body {
  overflow-y: auto;
  padding: 20px 24px 32px;
  --card-accent: var(--accent-primary);
  --card-accent-rgb: 139, 92, 246;
}

/* ---------- Polaroid capsule card ---------- */
.polaroid-capsule-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.polaroid-header-wrap { position: relative; }

.polaroid-banner-img {
  height: 130px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.polaroid-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 100%);
}

.polaroid-stamp {
  position: absolute;
  top: 12px;
  right: 14px;
  transform: rotate(-3deg);
  z-index: 3;
}

.stamp-border {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border: 1.5px dashed var(--accent-gold);
  border-radius: 10px;
  background: hsla(0, 0%, 0%, 0.55);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  text-align: center;
}

.stamp-title {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  font-weight: 800;
}

.stamp-id {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-mono);
}

.stamp-date {
  font-size: 10px;
  color: #d4d4d8;
  font-family: var(--font-mono);
}

.polaroid-profile-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: -34px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.polaroid-avatar-wrap { position: relative; flex-shrink: 0; }

.polaroid-avatar-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--bg-elevated);
  object-fit: cover;
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
}

.polaroid-tags-group {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.polaroid-name-block { padding: 14px 22px 0; }

.polaroid-user-name {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.polaroid-handle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 3px;
  flex-wrap: wrap;
}

.polaroid-handle-text {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--accent-primary);
}

.btn-chip-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-chip);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.btn-chip-copy:hover {
  background: var(--bg-surface-hover);
  color: var(--text-main);
}

.polaroid-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px 22px;
}

.metric-cell {
  background: var(--bg-chip);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  text-align: center;
}

.metric-val {
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
}

.metric-val.is-verified { color: #1d9bf0; }

.metric-val.highlight { color: var(--accent-gold); }

.metric-lbl {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
  white-space: nowrap;
}

.polaroid-bio-section { padding: 0 22px 14px; }

.section-title-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 7px;
}

.polaroid-bio-card {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  background: var(--bg-chip);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.polaroid-bio-card a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.polaroid-history-accordion {
  margin: 0 22px 14px;
  background: var(--bg-chip);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.polaroid-history-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  list-style: none;
  user-select: none;
}

.polaroid-history-summary::-webkit-details-marker { display: none; }

.summary-left { display: flex; align-items: center; gap: 8px; }

.summary-arrow { transition: transform 0.25s ease; color: var(--text-muted); display: flex; }

.polaroid-history-accordion[open] .summary-arrow { transform: rotate(180deg); }

.polaroid-history-content {
  padding: 4px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-loading-spinner {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12.5px;
  justify-content: center;
  padding: 10px 0;
}

.skeleton-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border-medium);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.timeline-item {
  position: relative;
  padding-left: 20px;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
}

.timeline-dot.active {
  background: var(--accent-gold);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.timeline-content {
  border-left: 2px solid var(--border-subtle);
  padding-left: 14px;
}

.timeline-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.timeline-type {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

.timeline-date {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  white-space: nowrap;
}

.timeline-diff {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.diff-line {
  font-size: 12px;
  font-family: var(--font-mono);
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  word-break: break-word;
}

.diff-del {
  background: var(--accent-danger-subtle);
  color: #fda4af;
  border-left: 2px solid var(--accent-danger);
}

.diff-add {
  background: hsla(262, 83%, 68%, 0.1);
  color: #c4b5fd;
  border-left: 2px solid var(--accent-primary);
}

[data-theme="light"] .diff-del { color: hsl(350, 80%, 40%); }
[data-theme="light"] .diff-add { color: hsl(262, 60%, 42%); }

.diff-tag { font-weight: 800; margin-right: 4px; }

.timeline-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.timeline-empty-hint {
  font-size: 11.5px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

.polaroid-actions-row {
  display: flex;
  gap: 10px;
  padding: 14px 22px 20px;
}

.btn-drawer-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  background: var(--accent-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: all 0.18s ease;
}

.btn-drawer-primary:hover { filter: brightness(1.12); }

.btn-drawer-secondary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.18s ease;
}

.btn-drawer-secondary:hover {
  color: var(--text-main);
  background: var(--bg-surface-hover);
  border-color: var(--border-medium);
}

/* ---------- Memorial band ---------- */
.memorial-band {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, hsla(240, 8%, 12%, 0.9), hsla(240, 10%, 6%, 0.95));
  border: 1px dashed hsla(240, 8%, 60%, 0.25);
  border-radius: var(--radius-lg);
}

.memorial-band-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(240, 8%, 64%, 0.12);
  color: hsl(240, 8%, 64%);
  flex-shrink: 0;
}

.memorial-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: hsl(240, 8%, 72%);
}

.memorial-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 3px;
  max-width: 640px;
}

.memorial-cta {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  white-space: nowrap;
}

.memorial-cta:hover { text-decoration: underline; }

/* ---------- Memorial banner in drawer ---------- */
.memorial-banner {
  margin: 14px 22px;
  padding: 14px 16px;
  background: hsla(240, 10%, 10%, 0.75);
  border: 1px solid hsla(240, 8%, 60%, 0.25);
  border-radius: var(--radius-md);
}

.memorial-banner.deleted { border-style: dashed; }

.memorial-banner-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: hsl(240, 8%, 72%);
  font-size: 12.5px;
}

.memorial-banner p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.memorial-actions { margin-top: 12px; }

.btn-send-candle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: hsla(38, 92%, 55%, 0.14);
  border: 1px solid hsla(38, 92%, 55%, 0.3);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-gold);
  transition: all 0.18s ease;
}

.btn-send-candle:hover { filter: brightness(1.2); transform: translateY(-1px); }

.badge-candle-note {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-left: 8px;
}

/* ---------- Toasts ---------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 900;
}

.toast-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
  animation: toastSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Footer ---------- */
.v2-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card-footer);
  padding: 26px 28px 30px;
}

.footer-inner { max-width: 1480px; margin: 0 auto; }

.footer-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-link { font-size: 13px; color: var(--text-secondary); transition: color 0.15s; }

.footer-link:hover { color: var(--text-main); }

.footer-link-gold { color: var(--accent-gold); font-weight: 600; }

.dot-sep { color: var(--text-muted); }

.footer-shortcuts { font-size: 12px; color: var(--text-muted); }

.footer-shortcuts kbd {
  font-size: 10px;
  padding: 1px 5px;
  background: var(--bg-chip);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-family: var(--font-mono);
}

.footer-disclaimer {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-content-grid { grid-template-columns: 1fr; }
  .advertise-slots { padding: 32px 28px; }
}

@media (max-width: 768px) {
  .v2-header { padding: 10px 16px; }
  .header-inner { grid-template-columns: auto 1fr; gap: 10px; }
  .header-search-wrap { order: 3; grid-column: 1 / -1; width: 100%; max-width: none; padding-top: 2px; }
  .header-actions { gap: 8px; }
  .btn-lucky-pick span, .btn-nav-pill span { display: none; }
  .btn-lucky-pick { padding: 8px 12px; }
  .v2-main { padding: 18px 14px 40px; }
  .hero-section { padding: 28px 22px; min-height: unset; }
  .hero-content-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-title { font-size: 26px; }
  .advertise-slots { padding: 28px 18px; }
  .slots-grid { grid-template-columns: 1fr; }
  .discovery-meta-row { flex-wrap: wrap; }
  .polaroid-metric-grid { grid-template-columns: repeat(2, 1fr); }
  .polaroid-actions-row { flex-direction: column; }
  .memorial-band { flex-wrap: wrap; }
  .memorial-cta { margin-left: 0; }
  .footer-shortcuts { display: none; }
  .footer-row-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .capsule-data { min-width: 0; }
  .capsule-number { font-size: 20px; }
  .capsule-icon { width: 28px; height: 28px; }
  .custom-select-box { width: 160px; }
}

/* injected brand logo sizing (layout-neutral) */
.brand-logo { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
/* ===== Afterglow mobile redesign fixes (appended, highest specificity) ===== */
@media (max-width: 640px) {
  body { overflow-x: hidden; }
  .v2-header { padding: 8px 10px; }
  .header-inner { grid-template-columns: auto auto 1fr; gap: 6px; }
  .header-brand-group { gap: 8px; }
  .brand-avatar { width: 42px; height: 42px; }
  .btn-lucky-pick { padding: 7px 9px; }
  .header-actions { gap: 6px; }
  .hero-section { padding: 22px 16px !important; margin-left: 0; margin-right: 0;
                  border-radius: 16px; min-height: 0; }
  .hero-content-grid { gap: 14px !important; }
  .hero-eyebrow { font-size: 10px; }
  .hero-title { font-size: 22px !important; line-height: 1.2; }
  .hero-description { font-size: 14px; line-height: 1.4; }
  .hero-unified-capsule { gap: 6px; }
  .hero-right-spotlight { padding: 14px; }
  .filter-pills-row { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
                       scrollbar-width: none; margin-right: -14px; padding-right: 14px; }
  .filter-header-row { gap: 8px; flex-wrap: wrap; }
  .view-mode-tabs { gap: 4px; }
  .discovery-meta-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .advertise-slots { padding: 22px 16px !important; }
  .slots-grid { grid-template-columns: 1fr !important; }
  .app-container, .v2-main { max-width: 100%; overflow-x: hidden; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 16px; }
  .btn-advertise span, .btn-lucky-pick span { display: none; }
  .hero-title { font-size: 20px !important; }
}

/* Creator editorial and media layer */
.btn-advertise,
.advertise-slots,
.spotlight-ad-note { display: none !important; }

.editorial-note-section .polaroid-bio-card {
  color: var(--text-main);
  border-color: rgba(255, 140, 90, 0.32);
  background: linear-gradient(135deg, rgba(255, 140, 90, 0.09), rgba(255, 61, 110, 0.05));
  font-size: 15px;
  line-height: 1.65;
}

.archive-media-section { margin-top: 24px; }
.archive-media-intro {
  margin: 7px 0 12px;
  color: var(--text-secondary);
  font-size: 12px;
}
.archive-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.archive-media-item {
  position: relative;
  min-height: 160px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-surface-hover);
}
.archive-media-item img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.archive-media-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 10px 9px;
  color: #fff;
  font-size: 11px;
  line-height: 1.35;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
}
.archive-media-item figcaption span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 480px) {
  .archive-media-grid { grid-template-columns: 1fr; }
  .archive-media-item img { height: auto; max-height: 440px; }
}
.hero-sub { color: var(--accent-primary, #FF8C5A); font-weight: 600; font-size: 14px; margin: 0; }

/* Deplatform Record (why-banned narrative) */
.ban-record-section { margin-top: 4px; }
.ban-record-card { border-color: hsla(11, 100%, 72%, 0.35) !important; }
.ban-platform-line { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; color: var(--accent-primary, #FF8C5A); }
.ban-platform-line svg { flex-shrink: 0; }
.ban-reason-line { line-height: 1.6; }
.ban-reason-line strong { color: var(--text-main); }

/* Card-level deplatform line */
.card-ban-line {
  display: flex; align-items: flex-start; gap: 6px;
  margin-bottom: 6px; padding: 6px 8px;
  background: hsla(11, 90%, 50%, 0.10);
  border: 1px solid hsla(11, 90%, 60%, 0.28);
  border-radius: 6px;
  color: hsl(14, 90%, 78%);
  font-size: 11.5px; line-height: 1.45;
}
.card-ban-line svg { flex-shrink: 0; margin-top: 2px; }
