/* ==========================================================================
   THE WISE GUY · Live Spotify "The Wise Jam" Brand Lockup
   Approved Design: Proposal 4 ("Battito Smeraldo Executive" + Turntable Popover)
   Dark & Light 1:1 Parity · Zero Navbar Shift · WCAG 2.2.2 Motion Safe
   ========================================================================== */

:root,
:root[data-theme="dark"] {
  --wj-spotify: #1DB954;
  --wj-spotify-bright: #4EDEA3;
  --wj-spotify-soft: rgba(29, 185, 84, 0.16);
  --wj-trigger-border: rgba(29, 185, 84, 0.42);
  --wj-surface: rgba(11, 8, 22, 0.95);
  --wj-surface-2: rgba(22, 16, 40, 0.92);
  --wj-ink: #F8FAFC;
  --wj-sub: #CBD5E1;
  --wj-muted: #94A3B8;
  --wj-border: rgba(168, 85, 247, 0.38);
  --wj-border-soft: rgba(255, 255, 255, 0.11);
  --wj-shadow: 0 24px 60px -14px rgba(0, 0, 0, 0.82), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --wj-vibe-ink: #F3E8FF;
  --wj-vibe-bg: linear-gradient(90deg, rgba(168, 85, 247, 0.26), rgba(34, 211, 238, 0.18));
  --wj-vibe-border: rgba(192, 132, 252, 0.85);
  --wj-vibe-glow: rgba(168, 85, 247, 0.62);
  --wj-vibe-glow-2: rgba(34, 211, 238, 0.42);
  --wj-vibe-text-glow: 0 0 8px rgba(216, 180, 254, 0.85);
}

:root[data-theme="light"] {
  --wj-spotify: #059669;
  --wj-spotify-bright: #047857;
  --wj-spotify-soft: rgba(5, 150, 105, 0.12);
  --wj-trigger-border: rgba(5, 150, 105, 0.38);
  --wj-surface: rgba(255, 255, 255, 0.97);
  --wj-surface-2: #F3F0FA;
  --wj-ink: #0F172A;
  --wj-sub: #334155;
  --wj-muted: #475569;
  --wj-border: rgba(109, 40, 217, 0.30);
  --wj-border-soft: rgba(15, 23, 42, 0.12);
  --wj-shadow: 0 22px 52px -14px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.08);
  --wj-vibe-ink: #5B21B6;
  --wj-vibe-bg: linear-gradient(90deg, rgba(124, 58, 237, 0.12), rgba(8, 145, 178, 0.10));
  --wj-vibe-border: rgba(124, 58, 237, 0.62);
  --wj-vibe-glow: rgba(124, 58, 237, 0.42);
  --wj-vibe-glow-2: rgba(8, 145, 178, 0.30);
  --wj-vibe-text-glow: 0 0 6px rgba(124, 58, 237, 0.28);
}

/* ── Base Shell inside .nav-bar (Zero Layout Shift: <= 206px desktop) ── */
.wj-brand-shell { position: relative; display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; max-width: 206px; z-index: 105; }
.wj-emblem-link, .wj-wordmark-link { display: inline-flex; align-items: center; text-decoration: none; color: inherit; position: relative; z-index: 2; }
.wj-emblem-stage { display: block; position: relative; width: 56px; height: 56px; flex-shrink: 0; transform: translateZ(0); }
.wj-face { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 999px; }
.wj-face picture { display: block; width: 100%; height: 100%; }
.wj-face--guy .brand-emblem, .wj-face--jam .wj-jam-emblem, .wj-face--mood .wj-mood-emblem { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; display: block; }
.wj-emblem-link:hover .brand-emblem { transform: scale(1.05); border-color: var(--accent-cyan); }
.wj-face--jam, .wj-face--mood { opacity: 0; pointer-events: none; transition: opacity 0.55s ease; }
.wj-face--jam .wj-jam-emblem, .wj-face--mood .wj-mood-emblem { border: 1.5px solid var(--wj-spotify); background: #09060F; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.34); }
.wj-face--mood { z-index: 2; }
.wj-sonar, .wj-dj-corner, .wj-mood-charm, .wj-live-trigger { display: none; }
.wj-brand-col { display: flex; flex-direction: column; justify-content: center; min-width: 125px; max-width: 133px; line-height: 1.05; }
.wj-wordmark { position: relative; height: 21px; display: flex; align-items: center; }
.wj-word-guy { font-size: 18.5px; font-weight: 800; letter-spacing: -0.025em; white-space: nowrap; color: var(--fg-primary); }

/* ── «VIBE CODING» BADGE + PLAYFUL MOODS (23/11/2026): acceso solo mentre Spotify suona ──
   Impilato sopra il wordmark dentro la colonna (56px totali = altezza avatar, zero overlap nav). */
.wj-word-row { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 2px; min-height: 21px; }
.wj-vibe { display: none; appearance: none; -webkit-appearance: none; cursor: pointer; position: relative; z-index: 3; }
.wj-brand-shell.is-jam-live .wj-wordmark,
.wj-brand-shell.is-jam-irl .wj-wordmark { height: 19px; }
.wj-brand-shell.is-jam-live .wj-word-guy,
.wj-brand-shell.is-jam-irl .wj-word-guy { font-size: 16.5px; }
.wj-brand-shell.is-jam-live .wj-vibe,
.wj-brand-shell.is-jam-irl .wj-vibe,
.wjp-air-pill.is-live {
  box-shadow: 0 0 10px var(--wj-vibe-glow), 0 0 22px var(--wj-vibe-glow-2);
}
.wj-brand-shell.is-jam-live .wj-vibe,
.wj-brand-shell.is-jam-irl .wj-vibe {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; max-width: var(--tp-brand-w, 136px); padding: 2px 7px;
  border-radius: 999px; border: 1px solid var(--wj-vibe-border); background: var(--wj-vibe-bg);
  color: var(--wj-vibe-ink); font: 700 8.5px/1.1 var(--font-mono, "JetBrains Mono", ui-monospace, monospace);
  letter-spacing: 0.055em; text-transform: uppercase; white-space: nowrap; text-shadow: var(--wj-vibe-text-glow);
  overflow: hidden;
  transition: border-color 0.45s ease, color 0.45s ease, background 0.45s ease;
}
.wj-brand-shell.is-jam-live .wj-vibe:hover,
.wj-brand-shell.is-jam-irl .wj-vibe:hover { filter: brightness(1.08); }
.wj-brand-shell.is-jam-live .wj-vibe:focus-visible,
.wj-brand-shell.is-jam-irl .wj-vibe:focus-visible { outline: 2px solid var(--wj-vibe-border); outline-offset: 2px; }
.wj-vibe-dot {
  width: 5px; height: 5px; border-radius: 999px; flex-shrink: 0;
  background: var(--wj-vibe-dot, var(--accent-cyan, #22d3ee));
  box-shadow: 0 0 6px var(--wj-vibe-dot, var(--accent-cyan, #22d3ee)), 0 0 10px var(--wj-vibe-glow);
  transition: background-color 0.45s ease;
}
.wj-vibe-text { display: inline-block; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.22s ease, translate 0.22s ease; }
.wj-vibe-text.is-swapping { opacity: 0; translate: 0 3px; }

/* Per-mood playful palettes (Dark & Light parity) */
.wj-brand-shell[data-vibe-mood="mesmerizing"] {
  --wj-vibe-border: rgba(34, 211, 238, 0.85);
  --wj-vibe-bg: linear-gradient(90deg, rgba(34, 211, 238, 0.24), rgba(168, 85, 247, 0.24));
  --wj-vibe-glow: rgba(34, 211, 238, 0.56);
  --wj-vibe-glow-2: rgba(168, 85, 247, 0.44);
  --wj-vibe-dot: #67E8F9;
}
.wj-brand-shell[data-vibe-mood="coffee"] {
  --wj-vibe-border: rgba(251, 191, 36, 0.82);
  --wj-vibe-bg: linear-gradient(90deg, rgba(245, 158, 11, 0.24), rgba(168, 85, 247, 0.18));
  --wj-vibe-glow: rgba(245, 158, 11, 0.52);
  --wj-vibe-glow-2: rgba(168, 85, 247, 0.34);
  --wj-vibe-dot: #FCD34D;
}
.wj-brand-shell[data-vibe-mood="cursing"] {
  --wj-vibe-border: rgba(251, 113, 133, 0.85);
  --wj-vibe-bg: linear-gradient(90deg, rgba(244, 63, 94, 0.24), rgba(168, 85, 247, 0.22));
  --wj-vibe-glow: rgba(244, 63, 94, 0.52);
  --wj-vibe-glow-2: rgba(168, 85, 247, 0.38);
  --wj-vibe-dot: #FDA4AF;
}
.wj-brand-shell[data-vibe-mood="shipping"] {
  --wj-vibe-border: rgba(52, 211, 153, 0.88);
  --wj-vibe-bg: linear-gradient(90deg, rgba(16, 185, 129, 0.24), rgba(34, 211, 238, 0.20));
  --wj-vibe-glow: rgba(16, 185, 129, 0.54);
  --wj-vibe-glow-2: rgba(34, 211, 238, 0.38);
  --wj-vibe-dot: #6EE7B7;
}
.wj-brand-shell[data-vibe-mood="activity"] {
  --wj-vibe-border: rgba(34, 211, 238, 0.92);
  --wj-vibe-bg: linear-gradient(90deg, rgba(16, 185, 129, 0.28), rgba(14, 165, 233, 0.24));
  --wj-vibe-glow: rgba(16, 185, 129, 0.56);
  --wj-vibe-glow-2: rgba(34, 211, 238, 0.44);
  --wj-vibe-dot: #34D399;
}
/* IRL («Offline · Living») warm Florentine gold & sunlit olive palettes */
.wj-brand-shell[data-vibe-mood="irl"] {
  --wj-vibe-ink: #FEF3C7;
  --wj-vibe-border: rgba(251, 191, 36, 0.78);
  --wj-vibe-bg: linear-gradient(90deg, rgba(245, 158, 11, 0.24), rgba(217, 119, 6, 0.16));
  --wj-vibe-glow: rgba(245, 158, 11, 0.36);
  --wj-vibe-glow-2: rgba(251, 191, 36, 0.20);
  --wj-vibe-dot: #FBBF24;
  --wj-vibe-text-glow: 0 0 6px rgba(251, 191, 36, 0.45);
}
.wj-brand-shell[data-vibe-mood="irl-nature"] {
  --wj-vibe-ink: #DCFCE7;
  --wj-vibe-border: rgba(74, 222, 128, 0.78);
  --wj-vibe-bg: linear-gradient(90deg, rgba(34, 197, 94, 0.22), rgba(245, 158, 11, 0.16));
  --wj-vibe-glow: rgba(34, 197, 94, 0.36);
  --wj-vibe-glow-2: rgba(251, 191, 36, 0.18);
  --wj-vibe-dot: #4ADE80;
  --wj-vibe-text-glow: 0 0 6px rgba(74, 222, 128, 0.40);
}
:root[data-theme="light"] .wj-brand-shell[data-vibe-mood="mesmerizing"] {
  --wj-vibe-ink: #0C4A6E; --wj-vibe-border: rgba(8, 145, 178, 0.72);
  --wj-vibe-bg: linear-gradient(90deg, rgba(14, 165, 233, 0.16), rgba(124, 58, 237, 0.14));
  --wj-vibe-glow: rgba(8, 145, 178, 0.34); --wj-vibe-dot: #0284C7;
  --wj-vibe-text-glow: none;
}
:root[data-theme="light"] .wj-brand-shell[data-vibe-mood="coffee"] {
  --wj-vibe-ink: #92400E; --wj-vibe-border: rgba(217, 119, 6, 0.62);
  --wj-vibe-bg: linear-gradient(90deg, rgba(245, 158, 11, 0.16), rgba(124, 58, 237, 0.08));
  --wj-vibe-glow: rgba(217, 119, 6, 0.34); --wj-vibe-dot: #D97706;
}
:root[data-theme="light"] .wj-brand-shell[data-vibe-mood="cursing"] {
  --wj-vibe-ink: #9F1239; --wj-vibe-border: rgba(225, 29, 72, 0.58);
  --wj-vibe-bg: linear-gradient(90deg, rgba(244, 63, 94, 0.14), rgba(124, 58, 237, 0.10));
  --wj-vibe-glow: rgba(225, 29, 72, 0.32); --wj-vibe-dot: #E11D48;
}
:root[data-theme="light"] .wj-brand-shell[data-vibe-mood="shipping"] {
  --wj-vibe-ink: #065F46; --wj-vibe-border: rgba(5, 150, 105, 0.62);
  --wj-vibe-bg: linear-gradient(90deg, rgba(16, 185, 129, 0.15), rgba(8, 145, 178, 0.10));
  --wj-vibe-glow: rgba(5, 150, 105, 0.34); --wj-vibe-dot: #059669;
}
:root[data-theme="light"] .wj-brand-shell[data-vibe-mood="activity"] {
  --wj-vibe-ink: #065F46; --wj-vibe-border: rgba(5, 150, 105, 0.75);
  --wj-vibe-bg: linear-gradient(90deg, rgba(16, 185, 129, 0.18), rgba(14, 165, 233, 0.14));
  --wj-vibe-glow: rgba(5, 150, 105, 0.36); --wj-vibe-dot: #059669;
  --wj-vibe-text-glow: none;
}
:root[data-theme="light"] .wj-brand-shell[data-vibe-mood="irl"] {
  --wj-vibe-ink: #92400E; --wj-vibe-border: rgba(217, 119, 6, 0.68);
  --wj-vibe-bg: linear-gradient(90deg, rgba(245, 158, 11, 0.16), rgba(251, 191, 36, 0.12));
  --wj-vibe-glow: rgba(217, 119, 6, 0.26); --wj-vibe-glow-2: rgba(245, 158, 11, 0.14);
  --wj-vibe-dot: #D97706; --wj-vibe-text-glow: none;
}
:root[data-theme="light"] .wj-brand-shell[data-vibe-mood="irl-nature"] {
  --wj-vibe-ink: #166534; --wj-vibe-border: rgba(22, 163, 74, 0.65);
  --wj-vibe-bg: linear-gradient(90deg, rgba(34, 197, 94, 0.14), rgba(245, 158, 11, 0.10));
  --wj-vibe-glow: rgba(22, 163, 74, 0.24); --wj-vibe-glow-2: rgba(245, 158, 11, 0.12);
  --wj-vibe-dot: #16A34A; --wj-vibe-text-glow: none;
}

/* ── LIVE STATE: BATTITO SMERALDO EXECUTIVE & IRL STATE («Offline · Living») ── */
.wj-brand-shell.is-jam-live .wj-face--jam { opacity: 1; }
.wj-brand-shell.is-jam-live .wj-face--mood.is-active,
.wj-brand-shell.is-jam-irl .wj-face--mood.is-active { opacity: 1; }
.wj-brand-shell.is-jam-irl .wj-face--mood .wj-mood-emblem {
  border-color: rgba(245, 158, 11, 0.82);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.24);
}
.wj-brand-shell.is-jam-live .wj-sonar {
  display: block; position: absolute; inset: -4px; border-radius: 999px;
  border: 1.5px solid var(--wj-spotify); box-shadow: 0 0 14px var(--wj-spotify-soft); pointer-events: none;
}
.wj-brand-shell.is-jam-irl .wj-sonar {
  display: block; position: absolute; inset: -3px; border-radius: 999px;
  border: 1.5px solid rgba(245, 158, 11, 0.52); box-shadow: 0 0 12px rgba(245, 158, 11, 0.22);
  pointer-events: none; animation: none !important;
}
.wj-brand-shell.is-jam-live .wj-dj-corner,
.wj-brand-shell.is-jam-irl .wj-dj-corner {
  display: inline-flex; align-items: center; justify-content: center; position: absolute; right: -3px; bottom: -2px;
  width: 21px; height: 21px; border-radius: 999px; background: var(--wj-spotify); color: #FFFFFF;
  border: 2px solid var(--bg-page); font-size: 10px; z-index: 4; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.wj-brand-shell.is-jam-irl .wj-dj-corner {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45);
}
.wj-brand-shell.is-jam-live .wj-mood-charm,
.wj-brand-shell.is-jam-irl .wj-mood-charm {
  display: inline-flex; align-items: center; justify-content: center; position: absolute; left: -4px; top: -3px;
  width: 20px; height: 20px; border-radius: 999px; background: var(--wj-surface); color: var(--wj-ink);
  border: 1.5px solid var(--wj-vibe-border); font-size: 10px; line-height: 1; z-index: 4;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.38), 0 0 8px var(--wj-vibe-glow);
  opacity: 0; scale: 0.72; pointer-events: none;
  transition: opacity 0.35s ease, scale 0.35s ease, border-color 0.45s ease;
}
.wj-brand-shell.is-jam-live .wj-mood-charm.is-visible,
.wj-brand-shell.is-jam-irl .wj-mood-charm.is-visible { opacity: 1; scale: 1; }
.wj-brand-shell.is-jam-live .wj-live-trigger,
.wj-brand-shell.is-jam-irl .wj-live-trigger {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; padding: 2px 6px; max-width: var(--tp-brand-w, 136px);
  border-radius: 999px; border: 1px solid var(--wj-trigger-border); background: var(--wj-spotify-soft);
  color: var(--wj-ink); font-size: 10px; font-weight: 600; cursor: pointer; overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.wj-brand-shell.is-jam-irl .wj-live-trigger {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.14);
}
.wj-brand-shell.is-jam-irl .wj-live-trigger:hover { border-color: rgba(251, 191, 36, 0.85); }
.wj-brand-shell.is-jam-irl .wj-live-trigger:focus-visible { outline: 2px solid #F59E0B; outline-offset: 2px; }
.wj-brand-shell.is-jam-irl .wj-eq-bars { display: none; }
.wj-brand-shell.is-jam-live .wj-live-trigger:hover { border-color: var(--wj-spotify); }
.wj-brand-shell.is-jam-live .wj-live-trigger:focus-visible { outline: 2px solid var(--wj-spotify); outline-offset: 2px; }
.wj-live-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--wj-spotify); box-shadow: 0 0 8px var(--wj-spotify); flex-shrink: 0; }
.wj-eq-bars { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 9px; color: var(--wj-spotify); flex-shrink: 0; }
.wj-eq-bars i { display: block; width: 2px; border-radius: 2px; background: currentColor; height: 70%; transform-origin: bottom; }
.wj-ticker-viewport {
  overflow: hidden; flex: 1; min-width: 0; white-space: nowrap;
  mask-image: linear-gradient(90deg, #000 0%, #000 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 86%, transparent 100%);
}
.wj-ticker-track { display: inline-block; white-space: nowrap; padding-right: 18px; }
.wj-caret { font-size: 8px; opacity: 0.78; flex-shrink: 0; }

/* ── INTERACTIVE MINI-TURNTABLE POPOVER ────────────────────────────────── */
.wj-popover {
  position: fixed; top: 82px; left: max(16px, calc(50vw - 720px + 24px)); width: min(364px, calc(100vw - 32px));
  padding: 15px; border-radius: 20px; background: var(--wj-surface); border: 1px solid var(--wj-border);
  box-shadow: var(--wj-shadow); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  color: var(--wj-ink); z-index: 130; opacity: 1; translate: 0 0; scale: 1;
}
@starting-style { .wj-popover { opacity: 0; translate: 0 -8px; scale: 0.97; } }
.wj-popover:where([hidden], [data-closing]) { opacity: 0; translate: 0 -8px; scale: 0.97; pointer-events: none; }
.wj-popover[hidden] { display: none; }
.wj-pop-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1px solid var(--wj-border-soft);
}
.wj-pop-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wj-spotify-bright); }
.wj-pop-close { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--wj-border-soft); background: transparent; color: var(--wj-muted); cursor: pointer; font-size: 13px; }
.wj-pop-close:hover { color: var(--wj-ink); border-color: var(--accent-violet); }
.wj-deck { display: flex; align-items: center; gap: 14px; }
.wj-platter {
  position: relative; width: 84px; height: 84px; flex-shrink: 0; border-radius: 999px; padding: 15px;
  background: repeating-radial-gradient(circle, #12101B 0 3px, #1E1A2E 3px 5px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.48), inset 0 0 0 2px rgba(168, 85, 247, 0.35);
}
.wj-platter img { width: 100%; height: 100%; border-radius: 999px; object-fit: cover; border: 2px solid #09060F; }
.wj-platter-spindle { position: absolute; inset: calc(50% - 4px); width: 8px; height: 8px; border-radius: 999px; background: #F8FAFC; border: 2px solid #09060F; }
.wj-track-meta { flex: 1; min-width: 0; }
.wj-track-title { font-size: 15px; font-weight: 800; line-height: 1.2; margin-bottom: 3px; color: var(--wj-ink); }
.wj-track-artist { font-size: 12.5px; font-weight: 600; color: var(--accent-violet-bright); margin-bottom: 2px; }
.wj-track-album { font-size: 11px; color: var(--wj-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wj-prog-wrap { margin-top: 12px; }
.wj-prog-bar { height: 4px; border-radius: 99px; background: var(--wj-border-soft); overflow: hidden; }
.wj-prog-bar > i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--wj-spotify), var(--accent-violet)); }
.wj-prog-times { display: flex; justify-content: space-between; font-size: 10px; color: var(--wj-muted); margin-top: 4px; }
.wj-pop-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.wj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 11px;
  border-radius: 10px; font-size: 11.5px; font-weight: 700; border: 1px solid var(--wj-border-soft);
  background: var(--wj-surface-2); color: var(--wj-ink); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.wj-btn[hidden] { display: none; }
.wj-btn:hover { border-color: var(--accent-violet); }
.wj-btn--jam { flex: 1 1 168px; background: var(--accent-violet); border-color: var(--accent-violet); color: #FFFFFF; }
.wj-btn--spotify { flex: 1 1 auto; border-color: var(--wj-trigger-border); color: var(--wj-spotify-bright); }
.wj-btn--motion { flex: 1 1 auto; font-size: 10.5px; }
.wj-btn--lab { flex: 1 1 auto; border-color: rgba(34, 211, 238, 0.45); color: var(--wj-ink); font-size: 10.5px; }

/* ── INTERACTIVE LAB ACTIVITY POPOVER (sanitized session feed) ────────── */
.wj-lab-highlight {
  padding: 10px 12px; border-radius: 12px; background: var(--wj-surface-2);
  border: 1px solid var(--wj-border-soft); margin-bottom: 10px;
}
.wj-lab-hl-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.wj-lab-cat {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 999px;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--wj-spotify-soft); color: var(--wj-spotify-bright); border: 1px solid var(--wj-trigger-border);
}
.wj-lab-meta { font-size: 10px; color: var(--wj-muted); }
.wj-lab-desc { font-size: 12.5px; line-height: 1.4; color: var(--wj-ink); margin: 0; }
.wj-lab-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.wj-lab-item {
  display: grid; grid-template-columns: 38px 1fr auto; align-items: baseline; gap: 7px;
  font-size: 11px; line-height: 1.35; padding: 5px 8px; border-radius: 8px;
  background: rgba(148, 163, 184, 0.06); border: 1px solid var(--wj-border-soft);
}
.wj-lab-time { font-size: 10px; color: var(--wj-muted); }
.wj-lab-text { color: var(--wj-sub); }
.wj-lab-eng {
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--accent-violet-bright, #c084fc); white-space: nowrap;
}
.wj-lab-stats {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px;
  font-size: 10px; color: var(--wj-muted);
}
.wj-lab-stats span {
  padding: 3px 7px; border-radius: 999px; background: var(--wj-surface-2); border: 1px solid var(--wj-border-soft);
}
.wj-lab-privacy { font-size: 10px; color: var(--wj-muted); margin: 8px 0 0; line-height: 1.35; }

/* ── MOTION OPT-IN (WCAG 2.2.2 & prefers-reduced-motion) ───────────────── */
@media (prefers-reduced-motion: no-preference) {
  .wj-popover {
    transition: display 0.24s, opacity 0.24s ease-out, translate 0.24s ease-out, scale 0.24s ease-out;
    transition-behavior: allow-discrete;
  }
  body:not(.wj-motion-paused) .wj-platter.is-spinning { animation: wjSpin 7s linear infinite; }
  body:not(.wj-motion-paused) .wj-live-dot { animation: wjPulseDot 1.6s ease-in-out infinite; }
  body:not(.wj-motion-paused) .wj-sonar { animation: wjSonar 2.3s cubic-bezier(0, 0, 0.2, 1) infinite; }
  body:not(.wj-motion-paused) .wj-eq-bars i:nth-child(1) { animation: wjEq 0.75s ease-in-out infinite alternate; }
  body:not(.wj-motion-paused) .wj-eq-bars i:nth-child(2) { animation: wjEq 0.52s ease-in-out 0.15s infinite alternate; }
  body:not(.wj-motion-paused) .wj-eq-bars i:nth-child(3) { animation: wjEq 0.66s ease-in-out 0.28s infinite alternate; }
  body:not(.wj-motion-paused) .wj-ticker-track.is-long { animation: wjMarquee 10s linear infinite; }
  body:not(.wj-motion-paused) .wj-brand-shell.is-jam-live .wj-vibe,
  body:not(.wj-motion-paused) .wjp-air-pill.is-live { animation: wjVibeGlow 2.4s ease-in-out infinite; }
  body:not(.wj-motion-paused) .wj-vibe-dot { animation: wjPulseDot 1.6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .wj-popover { translate: none; scale: none; transition: opacity 0.1s ease-out; }
  .wj-popover:where([hidden], [data-closing]) { translate: none; scale: none; }
  .wj-vibe-text, .wj-mood-charm, .wj-face--mood { transition: none; }
  .wj-vibe-text.is-swapping { translate: none; }
}
@keyframes wjSpin { to { rotate: 360deg; } }
@keyframes wjPulseDot { 0%, 100% { opacity: 1; scale: 1; } 50% { opacity: 0.42; scale: 0.84; } }
@keyframes wjSonar { 0% { scale: 0.96; opacity: 0.85; } 100% { scale: 1.22; opacity: 0; } }
@keyframes wjEq { 0% { transform: scaleY(0.3); } 100% { transform: scaleY(1); } }
@keyframes wjVibeGlow {
  0%, 100% { box-shadow: 0 0 8px var(--wj-vibe-glow), 0 0 16px var(--wj-vibe-glow-2); }
  50% { box-shadow: 0 0 14px var(--wj-vibe-glow), 0 0 30px var(--wj-vibe-glow-2), 0 0 2px var(--wj-vibe-border) inset; }
}
@keyframes wjMarquee { 0%, 18% { transform: translateX(0); } 82%, 100% { transform: translateX(-46%); } }
@media (max-width: 640px) {
  .wj-brand-shell { gap: 7px; max-width: 162px; }
  .wj-emblem-stage, .wj-face--guy .brand-emblem, .wj-face--jam .wj-jam-emblem, .wj-face--mood .wj-mood-emblem { width: 44px; height: 44px; }
  .wj-brand-shell.is-jam-live .wj-mood-charm { width: 16px; height: 16px; font-size: 8.5px; left: -3px; top: -2px; }
  .wj-word-guy { font-size: 14.5px; }
  .wj-brand-shell.is-jam-live .wj-wordmark { height: 16px; }
  .wj-brand-shell.is-jam-live .wj-word-guy { font-size: 13.5px; }
  .wj-brand-col { min-width: 0; max-width: 111px; }
  .wj-brand-shell.is-jam-live .wj-vibe { max-width: 111px; padding: 1.5px 5px; font-size: 7.5px; letter-spacing: 0.03em; gap: 3px; }
  .wj-brand-shell.is-jam-live .wj-live-trigger { max-width: 111px; margin-top: 2px; padding: 1.5px 5px; font-size: 9px; }
  .wj-vibe-dot { width: 4.5px; height: 4.5px; }
}
