/* Music Mogul -- Dark Luxury Platinum & Gold Glass Morphism Theme */
/* Designed for 9:16 portrait mobile aspect ratio */

/* ====== 1. RESET & ROOT VARIABLES ====== */
:root {
  --primary: #141418;
  --primary-light: #1e1e24;
  --primary-dark: #0a0a0d;
  --gold: #ffd700;
  --gold-light: #ffe44d;
  --gold-dim: rgba(255, 215, 0, 0.3);
  --platinum: #c0c0c8;
  --platinum-light: #e0e0e6;
  --platinum-dim: rgba(192, 192, 200, 0.3);
  --pink: #ff1493;
  --pink-light: #ff69b4;
  --pink-dim: rgba(255, 20, 147, 0.3);
  --blue: #00d4ff;
  --blue-light: #66e5ff;
  --blue-dim: rgba(0, 212, 255, 0.3);
  --bg: #0b0b0f;
  --bg-light: #131317;
  --surface: rgba(18, 18, 26, 0.80);
  --surface-solid: rgba(14, 14, 18, 0.85);
  --text: #eaeaef;
  --text-dim: #9a9aaa;
  --text-muted: #5c5c6e;
  --red: #ff3b5c;
  --red-light: #ff8fa3;
  --green: #00e676;
  --green-light: #69f0ae;
  --orange: #ff9100;
  --orange-light: #ffb74d;
  --purple: #b388ff;
  --purple-light: #d1b3ff;
  --danger: #ff3b5c;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --glass-blur: 20px;
  --glass-border: rgba(255, 215, 0, 0.15);
  --glass-border-bright: rgba(255, 215, 0, 0.35);
  --glass-bg: rgba(42, 48, 52, 0.55);
  --card-bg: rgba(38, 44, 48, 0.45);
  --card-bg-solid: rgba(32, 38, 42, 0.60);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 215, 0, 0.08);
  --btn-glow: 0 0 20px rgba(255, 215, 0, 0.15);
  --transition-fast: 0.15s ease;
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

html, body {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.2px;
  background: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  margin: 0;
}

/* ====== Material Icons baseline ====== */
.material-symbols-outlined.mi {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: inherit;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  /* Glass icon base */
  padding: 4px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  -webkit-backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Compact icon mode — inside small buttons, badges, stats, inline text */
.nav-icon .mi,
.endorsement-category-icon .mi,
.promo-icon .mi,
.venue-icon .mi,
.wc-crown .mi,
.cert-badge .mi,
.ticker-icon .mi,
h2 .mi,
h3 .mi,
.roster-pop .mi,
.detail-pop-badge .mi {
  padding: 2px;
  border: none;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ── Icon color categories — glass gradient look ── */
.mi-music {
  color: #FFD700;
  background: linear-gradient(135deg, rgba(255,215,0,0.18) 0%, rgba(255,180,0,0.08) 100%);
  border-color: rgba(255,215,0,0.15);
  text-shadow: 0 0 8px rgba(255,215,0,0.3);
}
.mi-finance {
  color: #4ADE80;
  background: linear-gradient(135deg, rgba(74,222,128,0.15) 0%, rgba(212,175,55,0.10) 100%);
  border-color: rgba(74,222,128,0.15);
  text-shadow: 0 0 8px rgba(74,222,128,0.3);
}
.mi-marketing {
  color: #FF69B4;
  background: linear-gradient(135deg, rgba(255,105,180,0.16) 0%, rgba(236,72,153,0.08) 100%);
  border-color: rgba(255,105,180,0.15);
  text-shadow: 0 0 8px rgba(255,105,180,0.3);
}
.mi-tour {
  color: #FBBF24;
  background: linear-gradient(135deg, rgba(251,191,36,0.16) 0%, rgba(245,158,11,0.08) 100%);
  border-color: rgba(251,191,36,0.15);
  text-shadow: 0 0 8px rgba(251,191,36,0.3);
}
.mi-business {
  color: #38BDF8;
  background: linear-gradient(135deg, rgba(56,189,248,0.16) 0%, rgba(14,165,233,0.08) 100%);
  border-color: rgba(56,189,248,0.15);
  text-shadow: 0 0 8px rgba(56,189,248,0.3);
}
.mi-award {
  color: #FFD700;
  background: linear-gradient(135deg, rgba(255,215,0,0.20) 0%, rgba(255,180,0,0.10) 100%);
  border-color: rgba(255,215,0,0.2);
  text-shadow: 0 0 10px rgba(255,215,0,0.4);
}
.mi-success {
  color: #4ADE80;
  background: linear-gradient(135deg, rgba(74,222,128,0.16) 0%, rgba(34,197,94,0.08) 100%);
  border-color: rgba(74,222,128,0.15);
  text-shadow: 0 0 8px rgba(74,222,128,0.3);
}
.mi-danger {
  color: #F87171;
  background: linear-gradient(135deg, rgba(248,113,113,0.16) 0%, rgba(239,68,68,0.08) 100%);
  border-color: rgba(248,113,113,0.15);
  text-shadow: 0 0 8px rgba(248,113,113,0.3);
}
.mi-health {
  color: #FB7185;
  background: linear-gradient(135deg, rgba(251,113,133,0.16) 0%, rgba(244,63,94,0.08) 100%);
  border-color: rgba(251,113,133,0.15);
  text-shadow: 0 0 8px rgba(251,113,133,0.3);
}
.mi-endorse {
  color: #C084FC;
  background: linear-gradient(135deg, rgba(192,132,252,0.16) 0%, rgba(168,85,247,0.08) 100%);
  border-color: rgba(192,132,252,0.15);
  text-shadow: 0 0 8px rgba(192,132,252,0.3);
}
.mi-action {
  color: #94A3B8;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}

/* ====== 2. SCALE-TO-FIT CONTAINER ====== */
#game-scaler {
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

#game-root {
  width: 390px;
  height: 844px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--bg);
  overflow: hidden;
  /* Safe area handled by individual elements (HUD, nav bar, footers) — not here */
}

/* Animated radial gradient background */
#game-root::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(30, 30, 36, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(192, 192, 200, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(255, 215, 0, 0.02) 0%, transparent 50%);
  animation: bgPulse 10s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes bgPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

/* Game background layer */
.game-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

/* Ensure all content sits above the background */
#game-root > *:not(.game-bg):not(.game-hud):not(.game-nav-bar):not(.screen-bg):not(.recap-overlay):not(.global-radio-ticker):not(.screen-container):not(.label-watermark) {
  position: relative;
  z-index: 1;
  padding-top: 50px;
}
/* Screen container positioning — separate rules to avoid specificity conflicts */
#game-root > .screen-container {
  position: relative;
  z-index: 1;
}
/* When nav bar is present, screen-container needs extra top padding */
/* HUD = 48px, nav bar = 51px (6+38+6+1), total = 99px. Exact match = no gap. */
#game-root > .screen-container.has-nav {
  padding-top: calc(99px + var(--sat, env(safe-area-inset-top, 0px)));
}
#game-root > .screen-container:not(.has-nav) {
  padding-top: calc(48px + var(--sat, env(safe-area-inset-top, 0px)));
}


/* ====== 3. TYPOGRAPHY ====== */
h1 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffd700, #ffe44d, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

h2 {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffd700, #ffe44d, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 6px rgba(255, 215, 0, 0.2));
}

h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-light);
}

p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
  letter-spacing: 0.2px;
}

strong, b {
  font-weight: 700;
  color: var(--text);
}

.text-dim { color: var(--text-dim); }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--gold); }
.text-platinum { color: var(--platinum); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }
.text-blue { color: var(--blue); }
.text-pink { color: var(--pink); }
.text-orange { color: var(--orange); }
.text-purple { color: var(--purple); }
.text-center { text-align: center; }
.text-small { font-size: 12px; }
.text-xs { font-size: 10px; }


/* ====== 4. COMMON COMPONENTS ====== */

/* --- Glass Buttons --- */
/* ── 3D Expo Gradient Glass — Base Button ── */
.btn-glass {
  position: relative;
  background:
    linear-gradient(180deg,
      rgba(255, 225, 140, 0.08) 0%,
      rgba(255, 215, 0, 0.03) 40%,
      rgba(0, 0, 0, 0.08) 60%,
      rgba(0, 0, 0, 0.20) 100%),
    rgba(22, 22, 30, 0.88);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 215, 0, 0.12);
  border-top-color: rgba(255, 225, 140, 0.18);
  border-bottom-color: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  letter-spacing: 0.5px;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 6px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 225, 140, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.btn-glass::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 225, 140, 0.06) 0%, rgba(255, 215, 0, 0.01) 100%);
  pointer-events: none;
  border-radius: 11px 11px 0 0;
}

.btn-glass::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
  pointer-events: none;
}

.btn-glass:hover {
  background:
    linear-gradient(180deg,
      rgba(255, 225, 140, 0.14) 0%,
      rgba(255, 215, 0, 0.06) 40%,
      rgba(0, 0, 0, 0.05) 60%,
      rgba(0, 0, 0, 0.16) 100%),
    rgba(28, 26, 32, 0.9);
  border-color: rgba(255, 215, 0, 0.22);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(255, 215, 0, 0.06),
    inset 0 1px 0 rgba(255, 225, 140, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.btn-glass:active {
  transform: translateY(1px) scale(0.97);
  background:
    linear-gradient(180deg,
      rgba(255, 215, 0, 0.04) 0%,
      rgba(255, 215, 0, 0.02) 40%,
      rgba(0, 0, 0, 0.14) 60%,
      rgba(0, 0, 0, 0.26) 100%),
    rgba(16, 16, 22, 0.92);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    inset 0 2px 4px rgba(0, 0, 0, 0.25),
    inset 0 -1px 0 rgba(255, 215, 0, 0.03);
}

.btn-glass:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* ── Uniform back button ── */
.mm-back-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); cursor: pointer;
  transition: all 0.2s; flex-shrink: 0;
}
.mm-back-btn:active { transform: scale(0.9); background: rgba(255,255,255,0.1); }
.mm-back-btn:hover { background: rgba(255,255,255,0.1); color: #ffd700; border-color: rgba(255,215,0,0.3); }

/* Primary -- gold 3D gradient */
.btn-glass.btn-primary,
.btn-primary {
  background:
    linear-gradient(180deg,
      rgba(255, 228, 77, 0.28) 0%,
      rgba(255, 215, 0, 0.14) 40%,
      rgba(184, 134, 11, 0.12) 60%,
      rgba(120, 80, 0, 0.30) 100%),
    rgba(30, 24, 8, 0.85);
  border-color: rgba(255, 215, 0, 0.5);
  border-top-color: rgba(255, 228, 77, 0.6);
  border-bottom-color: rgba(120, 80, 0, 0.5);
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 6px 20px rgba(255, 215, 0, 0.12),
    0 0 30px rgba(255, 215, 0, 0.06),
    inset 0 1px 0 rgba(255, 228, 77, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-glass.btn-primary:hover,
.btn-primary:hover {
  background:
    linear-gradient(180deg,
      rgba(255, 228, 77, 0.35) 0%,
      rgba(255, 215, 0, 0.20) 40%,
      rgba(184, 134, 11, 0.16) 60%,
      rgba(120, 80, 0, 0.35) 100%),
    rgba(36, 28, 8, 0.9);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.5),
    0 8px 28px rgba(255, 215, 0, 0.2),
    0 0 40px rgba(255, 215, 0, 0.1),
    inset 0 1px 0 rgba(255, 228, 77, 0.25);
  transform: translateY(-1px);
}

.btn-glass.btn-primary:active,
.btn-primary:active {
  transform: translateY(1px) scale(0.98);
  background:
    linear-gradient(180deg,
      rgba(255, 215, 0, 0.10) 0%,
      rgba(184, 134, 11, 0.12) 50%,
      rgba(120, 80, 0, 0.35) 100%),
    rgba(22, 18, 6, 0.92);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Secondary -- warm platinum 3D */
.btn-glass.btn-secondary,
.btn-secondary {
  background:
    linear-gradient(180deg,
      rgba(220, 210, 190, 0.12) 0%,
      rgba(180, 170, 150, 0.05) 40%,
      rgba(40, 38, 32, 0.10) 60%,
      rgba(20, 18, 14, 0.28) 100%),
    rgba(24, 24, 30, 0.88);
  border-color: rgba(200, 190, 170, 0.22);
  border-top-color: rgba(230, 220, 200, 0.25);
  border-bottom-color: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 6px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 225, 140, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.btn-glass.btn-secondary:hover,
.btn-secondary:hover {
  border-color: rgba(255, 215, 0, 0.2);
  transform: translateY(-1px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.25),
    0 0 16px rgba(255, 215, 0, 0.04),
    inset 0 1px 0 rgba(255, 225, 140, 0.08);
}

.btn-glass.btn-secondary:active,
.btn-secondary:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* Danger -- red/pink 3D */
.btn-glass.btn-danger,
.btn-danger {
  background:
    linear-gradient(180deg,
      rgba(255, 100, 160, 0.22) 0%,
      rgba(255, 20, 147, 0.10) 40%,
      rgba(140, 10, 80, 0.12) 60%,
      rgba(80, 5, 40, 0.30) 100%),
    rgba(28, 14, 20, 0.85);
  border-color: rgba(255, 20, 147, 0.45);
  border-top-color: rgba(255, 100, 160, 0.5);
  border-bottom-color: rgba(80, 5, 40, 0.5);
  color: var(--pink-light);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 6px 16px rgba(255, 20, 147, 0.08),
    inset 0 1px 0 rgba(255, 150, 190, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.btn-glass.btn-danger:hover,
.btn-danger:hover {
  border-color: var(--pink);
  transform: translateY(-1px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(255, 20, 147, 0.15),
    inset 0 1px 0 rgba(255, 150, 190, 0.15);
}

.btn-glass.btn-danger:active,
.btn-danger:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* Success -- green 3D */
.btn-glass.btn-success,
.btn-success {
  background:
    linear-gradient(180deg,
      rgba(100, 255, 180, 0.18) 0%,
      rgba(0, 230, 118, 0.08) 40%,
      rgba(0, 120, 60, 0.10) 60%,
      rgba(0, 60, 30, 0.28) 100%),
    rgba(12, 26, 18, 0.85);
  border-color: rgba(0, 230, 118, 0.4);
  border-top-color: rgba(100, 255, 180, 0.4);
  border-bottom-color: rgba(0, 60, 30, 0.5);
  color: var(--green);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 6px 16px rgba(0, 230, 118, 0.06),
    inset 0 1px 0 rgba(100, 255, 180, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.btn-glass.btn-success:hover,
.btn-success:hover {
  border-color: var(--green);
  transform: translateY(-1px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(0, 230, 118, 0.12),
    inset 0 1px 0 rgba(100, 255, 180, 0.15);
}

.btn-glass.btn-success:active,
.btn-success:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* Blue accent 3D */
.btn-glass.btn-blue,
.btn-blue {
  background:
    linear-gradient(180deg,
      rgba(100, 230, 255, 0.18) 0%,
      rgba(0, 212, 255, 0.08) 40%,
      rgba(0, 100, 140, 0.10) 60%,
      rgba(0, 50, 70, 0.28) 100%),
    rgba(12, 20, 26, 0.85);
  border-color: rgba(0, 212, 255, 0.4);
  border-top-color: rgba(100, 230, 255, 0.4);
  border-bottom-color: rgba(0, 50, 70, 0.5);
  color: var(--blue-light);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.4),
    0 6px 16px rgba(0, 212, 255, 0.06),
    inset 0 1px 0 rgba(100, 230, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.btn-glass.btn-blue:hover,
.btn-blue:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(0, 212, 255, 0.12),
    inset 0 1px 0 rgba(100, 230, 255, 0.15);
}

.btn-glass.btn-blue:active,
.btn-blue:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* Gold accent 3D */
.btn-glass.btn-gold,
.btn-gold {
  background:
    linear-gradient(180deg,
      rgba(255, 235, 100, 0.30) 0%,
      rgba(255, 215, 0, 0.16) 35%,
      rgba(184, 134, 11, 0.14) 55%,
      rgba(100, 70, 0, 0.35) 100%),
    rgba(28, 22, 6, 0.88);
  border-color: var(--gold);
  border-top-color: rgba(255, 235, 100, 0.65);
  border-bottom-color: rgba(100, 70, 0, 0.6);
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 6px 20px rgba(255, 215, 0, 0.12),
    0 0 30px rgba(255, 215, 0, 0.06),
    inset 0 1px 0 rgba(255, 235, 100, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-glass.btn-gold:hover,
.btn-gold:hover {
  background:
    linear-gradient(180deg,
      rgba(255, 235, 100, 0.38) 0%,
      rgba(255, 215, 0, 0.22) 35%,
      rgba(184, 134, 11, 0.18) 55%,
      rgba(100, 70, 0, 0.40) 100%),
    rgba(34, 26, 6, 0.92);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.5),
    0 8px 28px rgba(255, 215, 0, 0.2),
    0 0 40px rgba(255, 215, 0, 0.1),
    inset 0 1px 0 rgba(255, 235, 100, 0.28);
  transform: translateY(-1px);
  animation: goldPulse 1.5s ease-in-out infinite;
}

.btn-glass.btn-gold:active,
.btn-gold:active {
  transform: translateY(1px) scale(0.98);
  animation: none;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    inset 0 2px 6px rgba(0, 0, 0, 0.3);
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 4px 8px rgba(0,0,0,0.5), 0 8px 28px rgba(255,215,0,0.2), 0 0 40px rgba(255,215,0,0.1), inset 0 1px 0 rgba(255,235,100,0.28); }
  50% { box-shadow: 0 4px 8px rgba(0,0,0,0.5), 0 10px 32px rgba(255,215,0,0.28), 0 0 50px rgba(255,215,0,0.15), inset 0 1px 0 rgba(255,235,100,0.32); }
}

/* Small button variant */
.btn-glass.btn-small,
.btn-glass.btn-sm,
.btn-sm { padding: 8px 16px; font-size: 13px; min-height: 36px; }

/* Back button -- circle style */
.btn-back,
.btn-glass.btn-back {
  padding: 0;
  font-size: 0;
  width: 38px;
  height: 38px;
  min-height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 28, 22, 0.8), rgba(22, 20, 16, 0.6));
  border: 1px solid rgba(255, 215, 0, 0.15);
  color: rgba(255, 215, 0, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 215, 0, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-back:hover,
.btn-glass.btn-back:hover {
  background: rgba(40, 36, 24, 0.6);
  border-color: rgba(255, 215, 0, 0.3);
  color: #FFD700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 215, 0, 0.06);
}

.btn-back:active,
.btn-glass.btn-back:active {
  transform: scale(0.92);
  background: rgba(30, 28, 20, 0.7);
}

.btn-back .icon-svg,
.btn-back svg {
  width: 20px;
  height: 20px;
}

/* Button group layout */
.btn-group {
  display: flex;
  gap: 10px;
  width: 100%;
}

.btn-group .btn-glass {
  flex: 1;
}


/* ====== 4b. GLASS FORM ELEMENTS (Global) ====== */

/* Unified glass select */
select,
.control-select,
.filter-select,
.scout-sort-select,
.assign-select,
.genre-filter-select,
.target-select,
.sort-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 10px 32px 10px 12px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  transition: all var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a89bc2' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

select:focus,
.control-select:focus,
.filter-select:focus {
  border-color: var(--gold-dim);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.1);
}

select option {
  background: #0e0e12;
  color: var(--text);
}

/* Unified glass input */
input[type="text"],
input[type="number"],
input[type="search"],
textarea,
.glass-input {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  outline: none;
  width: 100%;
  transition: all var(--transition);
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
.glass-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.12);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

/* Glass search bar */
.glass-search {
  position: relative;
}

.glass-search input {
  padding-left: 36px;
}

.glass-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}


/* ====== 4c. GLASS RANGE SLIDERS ====== */

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #c49b00);
  border: 2px solid rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  cursor: pointer;
  transition: box-shadow 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.5);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #c49b00);
  border: 2px solid rgba(255, 215, 0, 0.6);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.3), rgba(255, 255, 255, 0.08));
}

input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.3), rgba(255, 255, 255, 0.08));
}

/* ====== 4d. GLASS CHECKBOXES ====== */

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--glass-border);
  border-radius: 4px;
  background: var(--glass-bg);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--gold), #c49b00);
  border-color: var(--gold);
}

input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--primary-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="checkbox"]:hover {
  border-color: var(--glass-border-bright);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.15);
}

/* ====== 5. GLASS CARDS ====== */
.card-glass {
  background: var(--card-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition);
}

.card-glass:hover {
  border-color: var(--glass-border-bright);
}

.card-glass-solid {
  background: var(--card-bg-solid);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--card-shadow);
}

/* Compact card variant */
.card-glass.card-compact {
  padding: 10px 12px;
}


/* ====== 6. PROGRESS BARS & STAT BARS ====== */
.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width var(--transition-slow);
  position: relative;
}

.progress-bar-fill.fill-gold {
  background: linear-gradient(90deg, #ffaa00, #ffd700);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.progress-bar-fill.fill-pink {
  background: linear-gradient(90deg, #ff1493, #ff69b4);
  box-shadow: 0 0 8px rgba(255, 20, 147, 0.3);
}

.progress-bar-fill.fill-blue {
  background: linear-gradient(90deg, #0088cc, #00d4ff);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.3);
}

.progress-bar-fill.fill-green {
  background: linear-gradient(90deg, #00b862, #00e676);
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.3);
}

.progress-bar-fill.fill-red {
  background: linear-gradient(90deg, #cc0033, #ff3b5c);
  box-shadow: 0 0 8px rgba(255, 59, 92, 0.3);
}

.progress-bar-fill.fill-purple {
  background: linear-gradient(90deg, #7c4dff, #b388ff);
  box-shadow: 0 0 8px rgba(179, 136, 255, 0.3);
}

/* Stat bar with label */
.stat-bar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-dim);
}

.stat-bar-label .stat-value {
  font-weight: 700;
  color: var(--gold);
}

/* Inline stat row */
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.stat-row:last-child {
  border-bottom: none;
}

.stat-label {
  font-size: 13px;
  color: var(--text-dim);
}

.stat-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}


/* ====== 7. BADGES & TAGS ====== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-gold {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.18), rgba(255, 170, 0, 0.1));
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--gold);
}

.badge-pink {
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.18), rgba(255, 105, 180, 0.1));
  border: 1px solid rgba(255, 20, 147, 0.3);
  color: var(--pink);
}

.badge-blue {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(0, 180, 220, 0.1));
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--blue);
}

.badge-green {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.18), rgba(0, 180, 90, 0.1));
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--green);
}

.badge-red {
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.18), rgba(220, 40, 70, 0.1));
  border: 1px solid rgba(255, 59, 92, 0.3);
  color: var(--red);
}

.badge-purple {
  background: linear-gradient(135deg, rgba(179, 136, 255, 0.18), rgba(150, 100, 230, 0.1));
  border: 1px solid rgba(179, 136, 255, 0.3);
  color: var(--purple);
}

.badge-platinum {
  background: linear-gradient(135deg, rgba(192, 192, 200, 0.15), rgba(160, 160, 170, 0.08));
  border: 1px solid rgba(192, 192, 200, 0.3);
  color: var(--platinum);
}

/* Genre tag pills */
.genre-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.genre-tag.genre-pop {
  background: rgba(255, 20, 147, 0.15);
  border: 1px solid rgba(255, 20, 147, 0.3);
  color: var(--pink);
}

.genre-tag.genre-hiphop {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: var(--gold);
}

.genre-tag.genre-rock {
  background: rgba(255, 59, 92, 0.15);
  border: 1px solid rgba(255, 59, 92, 0.3);
  color: var(--red);
}

.genre-tag.genre-electronic {
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--blue);
}

.genre-tag.genre-country {
  background: rgba(255, 145, 0, 0.15);
  border: 1px solid rgba(255, 145, 0, 0.3);
  color: var(--orange);
}

/* Tier badge */
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tier-badge.tier-s { background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 170, 0, 0.2)); color: var(--gold); border: 1px solid var(--gold); }
.tier-badge.tier-a { background: rgba(179, 136, 255, 0.2); color: var(--purple); border: 1px solid var(--purple); }
.tier-badge.tier-b { background: rgba(0, 212, 255, 0.2); color: var(--blue); border: 1px solid rgba(0, 212, 255, 0.5); }
.tier-badge.tier-c { background: rgba(0, 230, 118, 0.15); color: var(--green); border: 1px solid rgba(0, 230, 118, 0.4); }
.tier-badge.tier-d { background: rgba(255, 255, 255, 0.08); color: var(--text-dim); border: 1px solid rgba(255, 255, 255, 0.15); }


/* ====== 8. MODALS ====== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: fadeIn 0.2s ease;
}

.modal-content {
  background: var(--card-bg-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 360px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.05);
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.modal-close:hover {
  background: rgba(255, 59, 92, 0.2);
  border-color: var(--red);
  color: var(--red);
}


/* ====== 9. TOOLTIPS ====== */
.tooltip {
  position: relative;
}

.tooltip-content {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  z-index: 50;
  pointer-events: none;
  animation: fadeIn 0.15s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--glass-border);
}


/* ====== 10. HUD (TOP BAR) ====== */
.game-hud {
  position: absolute;
  top: var(--sat, env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  height: 48px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  background: linear-gradient(180deg, rgba(11, 11, 15, 0.96) 0%, rgba(11, 11, 15, 0.88) 80%, rgba(11, 11, 15, 0.5) 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Minimal HUD for title/setup screens — just control buttons, no stats */
.game-hud--minimal {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hud-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-shrink: 1;
}

.hud-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hud-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  flex-shrink: 0;
}

.hud-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hud-label-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

/* ── Label avatar (player face / label logo) ── */
.label-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 215, 0, 0.4);
  flex-shrink: 0;
}
.label-avatar--sm {
  width: 28px;
  height: 28px;
  font-size: 12px;
}
.label-avatar--lg {
  width: 56px;
  height: 56px;
  font-size: 22px;
}
.label-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  font-weight: 800;
  font-size: 16px;
}
.go-hof-avatar-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hud-cash {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
}

.hud-cash-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.hud-expenses {
  font-size: 11px;
  font-weight: 700;
  color: #EF4444;
  letter-spacing: 0.3px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hud-expenses.visible {
  opacity: 1;
}

.hud-week {
  font-size: 10px;
  color: var(--text-dim);
}

.hud-era {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.hud-era-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFD700;
}

.hud-era-week {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.hud-era-sep {
  color: rgba(255,255,255,0.3);
  margin: 0 2px;
}

.hud-tier {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255,215,0,0.1);
  color: #FFD700;
  border: 1px solid rgba(255,215,0,0.2);
}

.hud-actions {
  font-size: 10px;
  color: var(--blue);
  font-weight: 600;
}

.hud-debt {
  font-size: 10px;
  font-weight: 600;
  color: var(--red);
  padding: 1px 5px;
  border-radius: 6px;
  background: rgba(255, 59, 92, 0.12);
}

.hud-rep {
  display: flex;
  align-items: center;
  cursor: default;
}
.hud-rep-icon {
  display: block;
  flex-shrink: 0;
}

/* ── Label name watermark behind HUD ── */
.label-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  font-family: 'Georgia', 'Playfair Display', 'Garamond', 'Times New Roman', serif;
  font-size: clamp(64px, 18vw, 180px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 6px;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  line-height: 1;
  opacity: 0.7;
  background: linear-gradient(135deg,
    rgba(255, 215, 0, 0.1) 0%,
    rgba(255, 180, 50, 0.06) 40%,
    rgba(168, 85, 247, 0.05) 70%,
    rgba(255, 215, 0, 0.08) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(255, 215, 0, 0.03);
  filter: blur(0.5px);
}

.hud-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  padding: 0;
  flex-shrink: 0;
}

.hud-btn:hover,
.hud-btn:active {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-dim);
  color: var(--gold);
}

.hud-btn svg {
  width: 18px;
  height: 18px;
}


/* ====== 11. SCREEN BASE ====== */
.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 0 12px;
  overflow-y: auto;
  overflow-x: hidden;
  gap: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.screen::-webkit-scrollbar {
  display: none;
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  padding: 10px 14px 10px;
  background: linear-gradient(180deg, rgba(11,15,26,0.95) 0%, rgba(11,15,26,0.75) 70%, transparent 100%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 10;
}

.screen-title {
  flex: 1;
  font-size: 1rem; font-weight: 700; color: var(--text); margin: 0;
}
.screen-subtitle {
  font-size: 0.7rem; font-weight: 800; color: var(--text-dim);
}

.screen-actions {
  display: flex;
  gap: 8px;
}

.screen-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 2px;
}

.screen-body::-webkit-scrollbar {
  display: none;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Scroll container for lists */
.scroll-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 16px;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}


/* ====== 12. TITLE SCREEN ====== */
.title-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 0;
  position: relative;
  /* Fill the entire screen-container so flex children (image area + buttons) can stretch */
  height: 100%;
}

.title-exit-btn {
  position: absolute;
  top: 6px;
  right: 52px;
  z-index: 60;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.title-exit-btn:active {
  background: rgba(255, 255, 255, 0.2);
}

.title-image-area {
  flex: 1;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.title-splash-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.title-content {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 24px 32px;
  gap: 12px;
  width: 100%;
}

.title-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 300px;
}

.title-buttons .btn-glass {
  font-size: 16px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.title-continue-container {
  width: 100%;
}
.title-continue-btn {
  flex-direction: column !important;
  gap: 4px !important;
  padding: 12px 20px !important;
}
.title-continue-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.title-continue-text {
  font-size: 16px;
  font-weight: 800;
}
.title-continue-sep {
  opacity: 0.35;
  font-weight: 400;
}
.title-continue-label {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}
.title-continue-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,215,0,0.6);
  letter-spacing: 0.3px;
}
.title-save-stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.title-save-stat svg {
  vertical-align: -1px;
  opacity: 0.6;
}
.title-save-sep {
  opacity: 0.3;
  font-weight: 400;
}

.title-howto {
  width: 100%;
  max-width: 300px;
}

.title-howto-toggle {
  font-size: 13px;
  color: var(--gold);
  cursor: pointer;
  padding: 8px 0;
}

.title-howto-content {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: left;
  padding: 8px 0;
  line-height: 1.5;
}

.title-howto-content ul {
  padding-left: 16px;
  margin: 8px 0 0;
}

.title-howto-content li {
  margin-bottom: 4px;
}

.title-credits {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin: 0;
}


/* ====== 13. LABEL SETUP SCREEN ====== */
/* ── Label Setup Screen ── */
.label-setup-screen {
  padding: 0 16px 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
}
.label-setup-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 0;
}
.label-setup-screen > * {
  position: relative;
  z-index: 1;
}

/* Hero section — logo left, text right */
.setup-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.setup-hero-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(42, 48, 52, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gold);
}

.setup-heading {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.setup-subtitle {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.setup-subtitle-chip {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  line-height: 1.4;
}

/* Section containers — glass matching draft cards */
.setup-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
  padding: 10px 14px;
  background: rgba(42, 48, 52, 0.4);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.setup-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.setup-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.setup-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0;
  background: none;
  -webkit-text-fill-color: var(--gold);
}

.setup-required {
  font-size: 9px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  background: rgba(255, 59, 92, 0.12);
  border: 1px solid rgba(255, 59, 92, 0.25);
  border-radius: 4px;
}

.setup-optional {
  font-size: 9px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.setup-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  margin-top: -2px;
  line-height: 1.4;
}

/* Selected name preview */
.setup-name-preview {
  padding: 12px 16px;
  background: rgba(42, 48, 52, 0.3);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.setup-name-preview.has-name {
  color: var(--gold-light);
  border: 1px solid var(--gold);
  border-style: solid;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 170, 0, 0.03));
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

/* Name picker grid */
.setup-name-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
  contain: layout style;
}

.setup-name-grid::-webkit-scrollbar { width: 4px; }
.setup-name-grid::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }

.setup-name-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  content-visibility: auto;
  contain-intrinsic-size: auto 32px;
  background: rgba(42, 48, 52, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.12s, color 0.12s;
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
}

.setup-name-text {
  flex: 1;
}

.setup-name-check {
  margin-left: auto;
  color: var(--gold);
  flex-shrink: 0;
  display: none;
}
.setup-name-btn.selected .setup-name-check {
  display: flex;
}

.setup-name-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.setup-name-btn.selected {
  background: rgba(255, 215, 0, 0.12);
  border-color: rgba(255, 215, 0, 0.4);
  color: var(--gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.15), inset 0 1px 0 rgba(255, 215, 0, 0.1);
}

.setup-name-btn svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

.setup-name-btn.selected svg {
  color: var(--gold);
}

/* Side-by-side row: Label Name + Genre */
.setup-row {
  display: flex;
  gap: 10px;
  flex: 1;
  min-height: 0;
  align-items: stretch;
}
.setup-row > .setup-section {
  margin-bottom: 0;
  overflow: hidden;
  flex-shrink: 1;
}
.setup-section-name {
  flex: 1;
  min-width: 0;
  min-height: 0;
}
.setup-section-genre {
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 10px 8px;
  gap: 6px;
}

/* Genre picker — vertical column of square buttons */
.setup-genre-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.setup-genre-square {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-height: 0;
  background: rgba(42, 48, 52, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
  color: rgba(255, 255, 255, 0.6);
  padding: 2px;
}

.setup-genre-square:active {
  transform: scale(0.94);
}

.setup-genre-square.selected {
  border-color: var(--genre-color, rgba(255, 215, 0, 0.4));
  background: color-mix(in srgb, var(--genre-color, #FFD700) 12%, rgba(42, 48, 52, 0.4));
  color: var(--genre-color, #FFD700);
  box-shadow: 0 0 12px color-mix(in srgb, var(--genre-color, #FFD700) 15%, transparent);
}

.genre-sq-icon {
  display: flex;
  align-items: center;
  color: var(--genre-color, var(--gold));
}
.genre-sq-icon svg {
  width: 22px;
  height: 22px;
}

.setup-genre-square.selected .genre-sq-icon {
  color: var(--genre-color, var(--gold));
  filter: brightness(1.3);
}

.genre-sq-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Difficulty row */
.setup-difficulty-row {
  display: flex;
  gap: 6px;
}

.setup-diff-btn,
.setup-difficulty-btn {
  flex: 1;
  padding: 8px 6px;
  background: rgba(42, 48, 52, 0.4);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(255, 255, 255, 0.6);
}

.setup-diff-btn:active,
.setup-difficulty-btn:active {
  transform: scale(0.97);
}

.setup-diff-btn.selected,
.setup-difficulty-btn.selected {
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1);
}

.setup-diff-btn .diff-name,
.setup-difficulty-btn .diff-label {
  font-size: 11px;
  font-weight: 700;
}

.setup-diff-btn .diff-desc,
.setup-difficulty-btn .diff-desc {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  line-height: 1.2;
}

.setup-diff-btn.selected .diff-desc,
.setup-difficulty-btn.selected .diff-desc {
  color: var(--text-dim);
}

/* Launch button */
.setup-launch-btn {
  width: 100%;
  margin-top: 8px;
  font-size: 16px;
  padding: 14px 24px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.setup-launch-btn:disabled {
  opacity: 0.3;
}


/* ====== 14. DRAFT / SIGN YOUR ROSTER SCREEN ====== */

/* Label Reveal Screen */
.lr-screen { display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; background-size: cover; background-position: center top; background-repeat: no-repeat; }
.lr-header {
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(11,15,26,0.92) 0%, rgba(18,18,28,0.85) 60%, rgba(18,18,28,0) 100%);
  padding: 0; text-align: center;
}
.lr-header-inner {
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px 16px;
}
.lr-title { font-size: 1.25rem; font-weight: 900; color: #FFD700; margin: 0; letter-spacing: 1px; text-transform: uppercase; text-shadow: 0 0 20px rgba(255,215,0,0.2); }
.lr-subtitle { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin: 6px 0 0; font-weight: 600; }
.lr-body { flex: 1; overflow-y: auto; padding: 0 12px 20px; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: 6px; }
.lr-row { background: rgba(18,18,28,0.75); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; animation: endo-cardIn 0.35s ease-out both; }
.lr-row-player { border-color: rgba(255,215,0,0.25); background: rgba(28,24,8,0.75); }
.lr-row:nth-child(1) { animation-delay: 0s; }
.lr-row:nth-child(2) { animation-delay: 0.04s; }
.lr-row:nth-child(3) { animation-delay: 0.08s; }
.lr-row:nth-child(4) { animation-delay: 0.12s; }
.lr-row:nth-child(5) { animation-delay: 0.16s; }
.lr-row:nth-child(6) { animation-delay: 0.20s; }
.lr-row:nth-child(7) { animation-delay: 0.24s; }
.lr-row:nth-child(8) { animation-delay: 0.28s; }
.lr-row:nth-child(9) { animation-delay: 0.32s; }
.lr-row:nth-child(10) { animation-delay: 0.36s; }
.lr-row:nth-child(11) { animation-delay: 0.40s; }
.lr-row:nth-child(12) { animation-delay: 0.44s; }
.lr-row:nth-child(13) { animation-delay: 0.48s; }
.lr-row:nth-child(14) { animation-delay: 0.52s; }
.lr-row:nth-child(15) { animation-delay: 0.56s; }
.lr-row:nth-child(16) { animation-delay: 0.60s; }
.lr-label-info { width: 82px; flex-shrink: 0; }
.lr-label-name { font-size: 0.7rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.lr-label-focus { font-size: 0.55rem; font-weight: 600; margin-top: 2px; line-height: 1.3; }
.lr-label-budget { font-size: 0.5rem; font-weight: 700; color: rgba(34,197,94,0.7); margin-top: 1px; }
.lr-label-cat {
  font-size: 0.48rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
  margin-top: 3px; padding: 1px 5px; border-radius: 4px; display: inline-block;
}
.lr-cat-specialist { background: rgba(168,85,247,0.15); color: #a78bfa; }
.lr-cat-major { background: rgba(59,130,246,0.12); color: #60a5fa; }
.lr-cat-indie { background: rgba(34,197,94,0.12); color: #4ade80; }
.lr-cat-you { background: rgba(255,215,0,0.15); color: #ffd700; }
.lr-artist-row { display: flex; gap: 6px; overflow-x: auto; flex: 1; -webkit-overflow-scrolling: touch; padding: 2px 0; }
.lr-artist-row::-webkit-scrollbar { display: none; }
/* Player's artist row — wrap so all artists are visible */
.lr-artist-row-player { flex-wrap: wrap; gap: 8px; }
.lr-artist { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 44px; }
/* Player's artists — larger thumbnails */
.lr-artist-lg { width: 56px; }
.lr-artist-lg .lr-artist-thumb { width: 48px; height: 48px; border-radius: 10px; border-width: 2px; box-shadow: 0 2px 8px rgba(255,215,0,0.15); }
.lr-artist-lg .lr-artist-name { font-size: 0.55rem; }
.lr-artist-thumb { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; background: rgba(255,255,255,0.06); display: flex; align-items: flex-end; justify-content: center; border: 1px solid rgba(255,255,255,0.08); }
.lr-artist-player { border-color: rgba(255,215,0,0.3); }
.lr-artist-thumb img { width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.lr-artist-initials { font-size: 10px; font-weight: 800; color: rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.lr-artist-name { font-size: 0.5rem; font-weight: 700; color: rgba(255,255,255,0.7); text-align: center; margin-top: 2px; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }
.lr-genre-mini {
  font-size: 0.4rem; font-weight: 800; padding: 1px 4px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.2px; margin-top: 1px;
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.06); display: inline-block;
}
.lr-footer { padding: 12px 16px max(20px, env(safe-area-inset-bottom, 0px)); text-align: center; flex-shrink: 0; }
.lr-continue-btn { font-size: 0.95rem; padding: 12px 32px; margin: 0 auto; display: block; }

.draft-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}
.draft-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 0;
}
.draft-screen > * {
  position: relative;
  z-index: 1;
}

.draft-header {
  text-align: center;
  padding: 2px 16px 0;
  flex-shrink: 0;
}

.draft-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  margin: 0 0 2px;
}

.draft-subtitle {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
  margin-bottom: 10px;
}

.draft-budget-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.draft-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.draft-budget {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  color: #22c55e;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.draft-budget-amount {
  transition: color 0.2s;
}

.draft-budget-low {
  color: #f59e0b;
}

.draft-budget-negative {
  color: #ef4444;
}

.draft-card-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.draft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: min-content;
  gap: 10px;
  padding: 0 16px 90px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.draft-grid::-webkit-scrollbar { display: none; }

.draft-card {
  background: rgba(42, 48, 52, 0.4);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 12px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.draft-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

.draft-card:active {
  transform: scale(0.97);
}

.draft-card.selected {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 170, 0, 0.04));
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

.draft-card-portrait {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #141418 0%, #1a1a22 50%, #0e0e14 100%);
}

.draft-card-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.draft-card-initials {
  font-size: 28px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

.draft-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.draft-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.draft-card-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

/* ── 3D Expo Chips — Genre Badges ── */
.genre-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.genre-badge::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 100%);
  pointer-events: none;
}
/* Genre-specific 3D glass chip colors */
.genre-pop {
  background: linear-gradient(180deg, rgba(255, 140, 180, 0.35) 0%, rgba(255, 107, 157, 0.15) 50%, rgba(140, 50, 80, 0.30) 100%), rgba(40, 16, 26, 0.80);
  color: #FFA0C0; border: 1px solid rgba(255, 107, 157, 0.5);
  border-top-color: rgba(255, 180, 210, 0.5); border-bottom-color: rgba(140, 50, 80, 0.5);
  box-shadow: 0 2px 6px rgba(255, 107, 157, 0.15), inset 0 1px 0 rgba(255, 200, 220, 0.15);
}
.genre-hiphop {
  background: linear-gradient(180deg, rgba(80, 240, 255, 0.30) 0%, rgba(0, 229, 255, 0.12) 50%, rgba(0, 100, 120, 0.30) 100%), rgba(10, 26, 30, 0.80);
  color: #80F0FF; border: 1px solid rgba(0, 229, 255, 0.5);
  border-top-color: rgba(140, 245, 255, 0.5); border-bottom-color: rgba(0, 80, 100, 0.5);
  box-shadow: 0 2px 6px rgba(0, 229, 255, 0.12), inset 0 1px 0 rgba(140, 245, 255, 0.12);
}
.genre-rnb {
  background: linear-gradient(180deg, rgba(210, 170, 255, 0.30) 0%, rgba(179, 136, 255, 0.12) 50%, rgba(90, 60, 140, 0.30) 100%), rgba(24, 16, 36, 0.80);
  color: #D0B0FF; border: 1px solid rgba(179, 136, 255, 0.5);
  border-top-color: rgba(220, 190, 255, 0.5); border-bottom-color: rgba(80, 50, 120, 0.5);
  box-shadow: 0 2px 6px rgba(179, 136, 255, 0.12), inset 0 1px 0 rgba(220, 190, 255, 0.12);
}
.genre-rock {
  background: linear-gradient(180deg, rgba(255, 130, 130, 0.30) 0%, rgba(255, 82, 82, 0.12) 50%, rgba(140, 30, 30, 0.30) 100%), rgba(36, 14, 14, 0.80);
  color: #FFA0A0; border: 1px solid rgba(255, 82, 82, 0.5);
  border-top-color: rgba(255, 160, 160, 0.5); border-bottom-color: rgba(120, 20, 20, 0.5);
  box-shadow: 0 2px 6px rgba(255, 82, 82, 0.12), inset 0 1px 0 rgba(255, 170, 170, 0.12);
}
.genre-country {
  background: linear-gradient(180deg, rgba(255, 210, 130, 0.30) 0%, rgba(255, 183, 77, 0.12) 50%, rgba(140, 90, 20, 0.30) 100%), rgba(34, 24, 10, 0.80);
  color: #FFD0A0; border: 1px solid rgba(255, 183, 77, 0.5);
  border-top-color: rgba(255, 220, 160, 0.5); border-bottom-color: rgba(120, 70, 10, 0.5);
  box-shadow: 0 2px 6px rgba(255, 183, 77, 0.12), inset 0 1px 0 rgba(255, 220, 160, 0.12);
}

/* ── 3D Expo Chips — Tier Badges ── */
.tier-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.tier-badge::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
  pointer-events: none;
}
.tier-superstar {
  background: linear-gradient(180deg, rgba(255, 235, 100, 0.35) 0%, rgba(255, 215, 0, 0.15) 50%, rgba(120, 80, 0, 0.30) 100%), rgba(30, 24, 8, 0.80);
  color: var(--gold-light); border: 1px solid rgba(255, 215, 0, 0.6);
  border-top-color: rgba(255, 240, 140, 0.6); border-bottom-color: rgba(120, 80, 0, 0.5);
  box-shadow: 0 2px 6px rgba(255, 215, 0, 0.15), inset 0 1px 0 rgba(255, 240, 140, 0.15);
}
.tier-top {
  background: linear-gradient(180deg, rgba(220, 220, 230, 0.28) 0%, rgba(192, 192, 200, 0.12) 50%, rgba(80, 80, 90, 0.28) 100%), rgba(24, 24, 28, 0.80);
  color: var(--platinum-light); border: 1px solid rgba(192, 192, 200, 0.5);
  border-top-color: rgba(230, 230, 238, 0.5); border-bottom-color: rgba(60, 60, 70, 0.5);
  box-shadow: 0 2px 6px rgba(192, 192, 200, 0.1), inset 0 1px 0 rgba(230, 230, 238, 0.1);
}
.tier-mid {
  background: linear-gradient(180deg, rgba(80, 230, 255, 0.25) 0%, rgba(0, 212, 255, 0.10) 50%, rgba(0, 80, 110, 0.28) 100%), rgba(10, 20, 28, 0.80);
  color: var(--blue-light); border: 1px solid rgba(0, 212, 255, 0.45);
  border-top-color: rgba(100, 235, 255, 0.45); border-bottom-color: rgba(0, 60, 80, 0.5);
  box-shadow: 0 2px 6px rgba(0, 212, 255, 0.1), inset 0 1px 0 rgba(100, 235, 255, 0.1);
}
.tier-indie {
  background: linear-gradient(180deg, rgba(180, 180, 190, 0.16) 0%, rgba(120, 120, 130, 0.06) 50%, rgba(40, 40, 48, 0.24) 100%), rgba(18, 18, 22, 0.80);
  color: var(--text-dim); border: 1px solid rgba(160, 160, 170, 0.25);
  border-top-color: rgba(200, 200, 210, 0.25); border-bottom-color: rgba(30, 30, 38, 0.5);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(200, 200, 210, 0.06);
}

.draft-card-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.draft-stat {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.draft-stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
  pointer-events: none;
}
.draft-stat-pop {
  background: linear-gradient(180deg, rgba(255, 235, 100, 0.30) 0%, rgba(255, 215, 0, 0.12) 50%, rgba(120, 80, 0, 0.28) 100%), rgba(28, 22, 8, 0.80);
  color: var(--gold-light);
  border: 1px solid rgba(255, 215, 0, 0.45);
  border-top-color: rgba(255, 240, 140, 0.5);
  border-bottom-color: rgba(120, 80, 0, 0.4);
  box-shadow: 0 2px 6px rgba(255, 215, 0, 0.1), inset 0 1px 0 rgba(255, 240, 140, 0.12);
}
.draft-stat-cost {
  background: linear-gradient(180deg, rgba(100, 255, 180, 0.25) 0%, rgba(0, 230, 118, 0.10) 50%, rgba(0, 100, 50, 0.26) 100%), rgba(10, 24, 16, 0.80);
  color: var(--green-light);
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-top-color: rgba(100, 255, 180, 0.4);
  border-bottom-color: rgba(0, 80, 40, 0.4);
  box-shadow: 0 2px 6px rgba(0, 230, 118, 0.08), inset 0 1px 0 rgba(100, 255, 180, 0.1);
}

.draft-card-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all var(--transition);
}

.draft-card.selected .draft-card-check {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary-dark);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

.draft-confirm-btn {
  position: fixed;
  bottom: 44px;
  left: 16px;
  right: 16px;
  width: auto;
  font-size: 16px;
  padding: 14px 24px;
  letter-spacing: 1px;
  z-index: 50;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

.draft-confirm-btn:disabled {
  opacity: 0.3;
}

/* ── Artist Detail Overlay ── */
.draft-detail-overlay {
  position: fixed;
  top: calc(48px + var(--sat, env(safe-area-inset-top, 0px)));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.draft-detail-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.draft-detail-panel {
  width: 100%;
  max-width: 420px;
  max-height: 100%;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(22, 22, 30, 0.97) 0%, rgba(14, 14, 20, 0.99) 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding: 20px 18px 28px;
  position: relative;
}
.draft-detail-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
}

/* ── Top section: portrait + name ── */
.draft-detail-top {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}
.draft-detail-portrait {
  width: 90px;
  height: 90px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
}
.draft-detail-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.draft-detail-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}
.draft-detail-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.draft-detail-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.draft-detail-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  gap: 8px;
  text-transform: capitalize;
}
.draft-detail-cost {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-light);
  margin-top: 2px;
}

/* ── Stat bars ── */
.draft-detail-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.draft-detail-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.draft-detail-stat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.draft-detail-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.draft-detail-stat-val {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}
.draft-detail-stat-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.draft-detail-stat-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* ── Contract section ── */
.draft-detail-contract {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
}
.draft-detail-section-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 10px;
}
.draft-detail-term-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.draft-detail-term-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.draft-detail-term-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.draft-detail-dim {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
}
.draft-detail-split-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

/* ── Revenue Split Slider (reused in detail overlay) ── */
.draft-split-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.draft-split-side {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 72px;
}
.draft-split-label-side {
  justify-content: flex-start;
}
.draft-split-artist-side {
  justify-content: flex-end;
}
.draft-split-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.draft-split-pct {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold-light);
  min-width: 38px;
  text-align: center;
}
.draft-split-artist-side .draft-split-pct {
  color: var(--blue-light);
}
.draft-split-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-dim) 0%, rgba(0, 212, 255, 0.3) 100%);
  outline: none;
}
.draft-split-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #ffaa00);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 215, 0, 0.3);
  cursor: pointer;
}
.draft-split-hint {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.4;
}
.draft-split-hint strong {
  color: rgba(255, 255, 255, 0.8);
}

/* ── Likelihood indicator ── */
.draft-detail-likelihood {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}
.draft-detail-likelihood-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sign-color);
  box-shadow: 0 0 8px var(--sign-color);
  flex-shrink: 0;
}
.draft-detail-likelihood-text {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

/* ── Detail action button ── */
.draft-detail-action {
  width: 100%;
  font-size: 16px;
  padding: 14px 24px;
  font-weight: 700;
}
.draft-detail-action:disabled {
  opacity: 0.3;
}
.btn-danger {
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.3), rgba(255, 59, 92, 0.1));
  border: 1px solid rgba(255, 59, 92, 0.4);
  color: var(--red-light);
}


/* ====== 15. OFFICE HUB / DASHBOARD ====== */
.office-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  gap: 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.office-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.office-week-year {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.office-week {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
}

.office-year {
  font-size: 12px;
  color: var(--text-dim);
}

/* Budget bar (horizontal full width) */
.office-budget-bar {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.office-budget-bar .budget-label {
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}

.office-budget-bar .budget-amount {
  font-size: 16px;
  font-weight: 800;
  color: var(--green);
}

.office-budget-bar .budget-amount.negative {
  color: var(--red);
}

/* Reputation meter */
.office-rep-meter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-rep-meter .rep-label {
  font-size: 12px;
  color: var(--text-dim);
}

.office-rep-meter .rep-value {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
}

/* Quick action grid */
.office-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.office-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.office-action-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 11px 11px 0 0;
}

.office-action-btn:hover {
  border-color: var(--glass-border-bright);
  background: rgba(255, 215, 0, 0.06);
  box-shadow: var(--btn-glow);
}

.office-action-btn:active {
  transform: scale(0.96);
}

.office-action-btn .action-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.office-action-btn .action-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
}

.office-action-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Alert banner */
.office-alert {
  background: rgba(255, 59, 92, 0.1);
  border: 1px solid rgba(255, 59, 92, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--red-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-alert.alert-warning {
  background: rgba(255, 145, 0, 0.1);
  border-color: rgba(255, 145, 0, 0.3);
  color: var(--orange-light);
}

.office-alert.alert-success {
  background: rgba(0, 230, 118, 0.1);
  border-color: rgba(0, 230, 118, 0.3);
  color: var(--green-light);
}

/* Office nav grid */
.office-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  padding: 0 4px;
}

.office-nav-btn {
  flex-direction: column !important;
  gap: 6px !important;
  padding: 14px 12px !important;
  text-align: center;
  min-height: 80px !important;
}

.office-nav-btn .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFD700;
}

.office-nav-btn .nav-label {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

.office-nav-btn .nav-desc {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  line-height: 1.3;
}

.office-bottom {
  padding: 8px 4px 0;
  width: 100%;
}

.office-end-week-btn {
  width: 100%;
  padding: 14px 24px !important;
  font-size: 16px !important;
}


/* ====== 16. ROSTER SCREEN ====== */
.roster-screen {
  padding-bottom: 20px;
}
.roster-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 10px;
  gap: 8px;
  background: linear-gradient(180deg, rgba(11,15,26,0.95) 0%, rgba(11,15,26,0.75) 70%, transparent 100%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 10;
}
.roster-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: 0.5px;
}
.roster-back-btn,
.roster-bands-btn,
.roster-scout-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 5px 10px;
  white-space: nowrap;
}
.roster-empty {
  text-align: center;
  padding: 20px;
  color: var(--text-dim);
  font-size: 13px;
}
.roster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
}

.roster-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  background: rgba(18,18,28,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10);
  border-top: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 15px 12px 10px;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 8px rgba(0,0,0,0.3);
}
.roster-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}
.roster-card:active {
  transform: scale(0.98);
  border-color: rgba(255,215,0,0.3);
}
.roster-card:hover {
  border-color: rgba(255,215,0,0.25);
  background: rgba(255, 215, 0, 0.04);
  box-shadow: 0 0 12px rgba(255,215,0,0.06);
}

/* Popularity corner badge — top-left */
.roster-pop-corner {
  position: absolute;
  top: 6px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 16px;
  font-weight: 800;
  z-index: 2;
  font-variant-numeric: tabular-nums;
}
.roster-pop-corner.rising { color: #4ade80; }
.roster-pop-corner.falling { color: #f87171; }
.roster-pop-corner.stable { color: #facc15; }
.roster-pop-arrow { font-size: 12px; }

/* Card identity row: small portrait + name/genre */
.roster-card-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px; /* space for pop corner */
}

.roster-portrait-sm {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(145deg, #141418 0%, #1a1a22 50%, #0e0e14 100%);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.roster-portrait-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.roster-initials-sm {
  font-size: 14px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--primary-light, #3b82f6);
}

.roster-card-name-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.roster-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #f3f4f6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.roster-genre-label {
  font-size: 10px;
  padding: 1px 6px;
  width: fit-content;
}

/* Slim stat bars */
.roster-stat-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.roster-stat-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.roster-stat-label {
  width: 46px;
  text-align: right;
  font-size: 9px;
  color: var(--text-muted, #6b7280);
  flex-shrink: 0;
}
.roster-bar-track {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.roster-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s;
}
.roster-bar-fill.morale { background: #a78bfa; }
.roster-bar-fill.stamina { background: #38bdf8; }
.roster-stat-value {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-dim, #9ca3af);
  width: 22px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Card footer: contract / cost chip */
/* Busy / greyed-out artist cards */
.roster-card-busy {
  opacity: 0.45;
  pointer-events: none;
  position: relative;
  filter: grayscale(60%);
}
.roster-busy-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  z-index: 2;
}

.roster-card-footer {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  min-height: 20px;
}

.roster-contract-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: var(--gold, #ffd700);
}
.roster-contract-chip.weekly {
  background: rgba(78, 205, 196, 0.12);
  border-color: rgba(78, 205, 196, 0.3);
  color: #4ecdc4;
}
.roster-contract-chip.expiring {
  background: rgba(255, 59, 92, 0.1);
  border-color: rgba(255, 59, 92, 0.3);
  color: var(--red, #ff3b5c);
}

.roster-cost-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, rgba(100, 255, 180, 0.25) 0%, rgba(0, 230, 118, 0.10) 50%, rgba(0, 100, 50, 0.26) 100%), rgba(10, 24, 16, 0.80);
  color: var(--green-light, #6ee7b7);
  border: 1px solid rgba(0, 230, 118, 0.4);
  box-shadow: 0 2px 4px rgba(0, 230, 118, 0.08), inset 0 1px 0 rgba(100, 255, 180, 0.1);
}

/* Roster filter tabs */
.roster-filter-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 12px;
}
.roster-filter-tabs::-webkit-scrollbar { display: none; }
.roster-filter-tab {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 40%, rgba(0,0,0,0.06) 60%, rgba(0,0,0,0.14) 100%),
    rgba(22, 22, 30, 0.82);
  border: 1px solid rgba(255,255,255,0.12);
  border-top-color: rgba(255,255,255,0.18); border-bottom-color: rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-dim);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 4px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06);
}
.roster-filter-tab:hover { border-color: var(--gold-dim); color: var(--text); transform: translateY(-1px); }
.roster-filter-tab.active {
  background: linear-gradient(180deg, rgba(255,235,100,0.22) 0%, rgba(255,215,0,0.10) 40%, rgba(120,80,0,0.12) 60%, rgba(80,50,0,0.26) 100%), rgba(26,22,10,0.85);
  border-color: var(--gold); border-top-color: rgba(255,235,100,0.5); border-bottom-color: rgba(120,80,0,0.5);
  color: var(--gold);
  box-shadow: 0 2px 8px rgba(255,215,0,0.12), inset 0 1px 0 rgba(255,240,140,0.12);
}
.roster-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 8px 0 4px;
}


/* ====== 17. ARTIST DETAIL SCREEN ====== */
.artist-detail-screen {
  padding: 0 16px 12px;
}
.detail-screen-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0 8px;
  position: sticky; top: 0; z-index: 10;
  background: rgba(11,15,26,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  margin: 0 -16px; padding: 10px 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.detail-screen-title {
  font-size: 1rem; font-weight: 800; color: #fff; margin: 0; flex: 1;
  letter-spacing: -0.3px;
}
.detail-screen-header .detail-back-btn {
  flex-shrink: 0;
}

.artist-detail-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.artist-detail-portrait {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #141418 0%, #1a1a22 50%, #0e0e14 100%);
  flex-shrink: 0;
  overflow: hidden;
}

.artist-detail-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-detail-info {
  flex: 1;
}

.artist-detail-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.artist-detail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Radar chart container */
.artist-radar {
  width: 100%;
  aspect-ratio: 1;
  max-width: 200px;
  margin: 0 auto;
}

/* Song history list in artist detail */
.artist-song-history {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.artist-song-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.artist-song-row .song-title {
  font-weight: 600;
  color: var(--text);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.artist-song-row .song-peak {
  font-weight: 700;
  color: var(--gold);
  margin-left: 8px;
}


/* ── Artist Detail Screen (detail-* classes) ── */
.artist-detail-screen {
  padding: 12px 16px;
  overflow-y: auto;
  max-height: 100%;
}
.detail-back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.12) 100%), rgba(20,20,28,0.80);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px; color: var(--gold); font-size: 0.8rem; font-weight: 600;
  padding: 6px 12px; cursor: pointer; margin-bottom: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.detail-hero {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 10px;
}
.detail-portrait {
  width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0;
  overflow: hidden; background: #0e0e14;
  display: flex; align-items: center; justify-content: center;
}
.detail-portrait img { width: 100%; height: 100%; object-fit: cover; }
.detail-initials { font-size: 24px; font-weight: 800; color: #fff; }
.detail-hero-info { flex: 1; }
.detail-name { font-size: 1.4rem; font-weight: 800; color: var(--text); margin: 0 0 4px; }
.detail-tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.detail-pop-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.85rem; font-weight: 700; color: var(--gold);
}
.detail-traits { display: flex; gap: 5px; flex-wrap: wrap; }
.trait-chip {
  font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 8px;
  background: rgba(168,85,247,0.10); color: #C084FC;
  border: 1px solid rgba(168,85,247,0.20);
  text-transform: capitalize; letter-spacing: 0.3px;
}
.trait-chip[data-trait="diva"] { background: rgba(244,63,94,0.12); color: #FB7185; border-color: rgba(244,63,94,0.25); }
.trait-chip[data-trait="perfectionist"] { background: rgba(96,165,250,0.12); color: #93C5FD; border-color: rgba(96,165,250,0.25); }
.trait-chip[data-trait="creative"] { background: rgba(232,121,249,0.12); color: #E879F9; border-color: rgba(232,121,249,0.25); }
.trait-chip[data-trait="rebellious"] { background: rgba(239,68,68,0.12); color: #F87171; border-color: rgba(239,68,68,0.25); }
.trait-chip[data-trait="business"] { background: rgba(34,197,94,0.12); color: #4ADE80; border-color: rgba(34,197,94,0.25); }
.trait-chip[data-trait="mysterious"] { background: rgba(99,102,241,0.12); color: #A5B4FC; border-color: rgba(99,102,241,0.25); }
.trait-chip[data-trait="charismatic"] { background: rgba(245,158,11,0.12); color: #FBBF24; border-color: rgba(245,158,11,0.25); }
.trait-chip[data-trait="easygoing"],
.trait-chip[data-trait="chill"] { background: rgba(52,211,153,0.12); color: #6EE7B7; border-color: rgba(52,211,153,0.25); }
.trait-chip[data-trait="ambitious"] { background: rgba(255,215,0,0.12); color: #FFD700; border-color: rgba(255,215,0,0.25); }
.trait-chip[data-trait="introverted"] { background: rgba(148,163,184,0.12); color: #94A3B8; border-color: rgba(148,163,184,0.25); }
.trait-chip[data-trait="workaholic"] { background: rgba(251,146,60,0.12); color: #FB923C; border-color: rgba(251,146,60,0.25); }
.trait-chip[data-trait="professional"] { background: rgba(56,189,248,0.12); color: #38BDF8; border-color: rgba(56,189,248,0.25); }
/* Artist speech bubble on detail screen */
.artist-speech-bubble {
  position: relative;
  background: rgba(11,15,26,0.80);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(168,85,247,0.30);
  border-top: 1px solid rgba(168,85,247,0.40);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 10px;
  box-shadow: inset 0 1px 0 rgba(168,85,247,0.10);
}
.artist-speech-bubble-arrow {
  position: absolute;
  top: -6px; left: 24px;
  width: 12px; height: 12px;
  background: rgba(11,15,26,0.80);
  border-top: 1px solid rgba(168,85,247,0.30);
  border-left: 1px solid rgba(168,85,247,0.30);
  transform: rotate(45deg);
}
.artist-speech-bubble-text {
  margin: 0;
  font-size: 0.88rem;
  font-style: italic;
  color: #c4b5fd;
  line-height: 1.4;
}
.detail-section {
  background: rgba(11,15,26,0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08); border-top: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 10px 12px; margin-bottom: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.detail-section-title {
  font-size: 0.88rem; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 8px;
}
.detail-stat-row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.detail-stat-label { font-size: 0.82rem; color: var(--text-dim); width: 78px; flex-shrink: 0; }
.detail-stat-row .bar-track {
  flex: 1; height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden;
  position: relative;
}
.detail-stat-row .bar-fill {
  height: 100%; border-radius: 4px; transition: width 0.3s;
}
.detail-stat-row .bar-gain {
  position: absolute; top: 0; height: 100%; border-radius: 4px;
  background: rgba(59, 130, 246, 0.85);
  animation: gainPulse 1.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes gainPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.5; }
}
.detail-stat-row .bar-gain-label {
  font-size: 0.68rem; font-weight: 700; color: #3B82F6; width: 38px; text-align: left; flex-shrink: 0;
  animation: gainFadeIn 0.4s ease-out;
}
@keyframes gainFadeIn {
  from { opacity: 0; transform: translateX(-4px); }
  to { opacity: 1; transform: translateX(0); }
}
.detail-stat-row .bar-value {
  font-size: 0.82rem; font-weight: 700; color: var(--text-dim); width: 28px; text-align: right;
}
/* Chemistry section */
.chem-list { display: flex; flex-direction: column; gap: 6px; }
.chem-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.chem-avatar {
  width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.5);
}
.chem-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chem-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.chem-name { font-size: 0.78rem; font-weight: 600; color: #f3f4f6; }
.chem-bar-track { height: 5px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.chem-bar-fill { height: 100%; border-radius: 3px; transition: width 0.3s; }
.chem-score { font-size: 0.78rem; font-weight: 800; width: 60px; text-align: right; flex-shrink: 0; }
.chem-label { font-size: 0.62rem; font-weight: 600; opacity: 0.7; }

.detail-contract-info {
  display: flex; flex-direction: column; gap: 5px;
  font-size: 0.88rem; color: var(--text-dim);
}
.contract-type-badge {
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
}
.contract-type-badge.long-term {
  background: rgba(78, 205, 196, 0.15); color: #4ecdc4;
}
.contract-type-badge.weekly {
  background: rgba(255, 165, 0, 0.15); color: #ffa500;
}
.detail-song-list { display: flex; flex-direction: column; gap: 6px; }
.detail-song-row-wrap {
  border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 4px;
}
.detail-song-row {
  padding: 8px 10px;
  background: rgba(255,255,255,0.03); font-size: 0.85rem;
  cursor: pointer; transition: background 0.15s;
}
.detail-song-row:hover { background: rgba(255,255,255,0.06); }
.detail-song-row-inner {
  display: flex; flex-direction: column; gap: 4px;
}
.detail-song-row-top {
  display: flex; align-items: center; gap: 8px;
}
.detail-song-row-pills {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.detail-song-title {
  flex: 1; font-weight: 600; color: var(--text);
  display: inline-flex; align-items: center; gap: 4px;
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.detail-song-peak {
  font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 8px;
  background: rgba(255,215,0,0.12); color: #FFD700; border: 1px solid rgba(255,215,0,0.2);
}
.detail-song-cert {
  font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 8px;
  background: rgba(200,164,78,0.12); color: #c8a44e; border: 1px solid rgba(200,164,78,0.2);
  text-transform: uppercase; letter-spacing: 0.3px;
}
.detail-song-sales-sm {
  font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 8px;
  background: rgba(34,197,94,0.10); color: #4ade80; border: 1px solid rgba(34,197,94,0.15);
}

/* Chart position badge in discography */
.detail-song-chart-pos {
  font-size: 0.72rem; font-weight: 800; padding: 2px 8px; border-radius: 8px;
  background: rgba(255,215,0,0.12); color: #FFD700; border: 1px solid rgba(255,215,0,0.2);
  display: inline-flex; align-items: center; gap: 3px;
}
.detail-song-prev {
  font-size: 0.65rem; font-weight: 600; color: rgba(255,255,255,0.35);
}
.disco-mvt-up { color: #4ade80; font-size: 0.68rem; font-weight: 700; }
.disco-mvt-down { color: #f87171; font-size: 0.68rem; font-weight: 700; }
.disco-mvt-same { color: #6b7280; font-size: 0.68rem; font-weight: 700; }
.disco-mvt-new {
  font-size: 0.65rem; font-weight: 800; padding: 1px 6px; border-radius: 6px;
  background: rgba(59,130,246,0.12); color: #60a5fa; border: 1px solid rgba(59,130,246,0.2);
}

/* Song chevron */
.disco-song-chevron {
  color: rgba(255,255,255,0.3); transition: transform 0.2s;
  display: flex; align-items: center; flex-shrink: 0;
}
.disco-song-chevron-open { transform: rotate(180deg); }

/* Song detail dropdown */
.detail-song-dropdown {
  background: rgba(11,15,26,0.60);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.detail-song-dropdown-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
}
.dsdd-item {
  display: flex; flex-direction: column; gap: 2px;
}
.dsdd-label {
  font-size: 0.6rem; font-weight: 700; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.dsdd-value {
  font-size: 0.82rem; font-weight: 600; color: var(--text);
}
.dsdd-peak { color: var(--gold); font-weight: 800; }

/* ── Bundle (EP/LP) entries in discography ── */
.disco-bundle {
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.disco-bundle-header {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  cursor: pointer; user-select: none; transition: background 0.2s;
}
.disco-bundle-header:hover { background: rgba(255,255,255,0.04); }
/* Album cover thumb — contain paint to prevent flash on re-render */
.acov-thumb { contain: layout style paint; content-visibility: visible; }
.acov-thumb img { will-change: opacity; }
.disco-bundle-header .acov-thumb { flex-shrink: 0; }
.disco-bundle-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.disco-bundle-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.disco-bundle-name { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.disco-bundle-type {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.3px;
  padding: 2px 8px; border-radius: 8px;
  background: rgba(168,85,247,0.12); color: #c084fc; border: 1px solid rgba(168,85,247,0.2);
  flex-shrink: 0;
}
.disco-bundle-type.disco-type-lp {
  background: rgba(59,130,246,0.12); color: #60a5fa; border-color: rgba(59,130,246,0.2);
}
.disco-bundle-tracks { font-size: 11px; color: var(--text-dim); flex-shrink: 0; }
.disco-bundle-sales { font-size: 11px; font-weight: 600; color: #22c55e; flex-shrink: 0; }
.disco-bundle-chevron {
  display: flex; align-items: center; color: var(--text-dim);
  transition: transform 0.25s ease; flex-shrink: 0;
}
.disco-bundle-chevron-open { transform: rotate(180deg); }
.disco-bundle-tracklist {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.15); padding: 4px 0;
}
.disco-bundle-track {
  display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 20px;
  font-size: 0.8rem;
}
.disco-bundle-track-num {
  width: 18px; text-align: right; font-size: 0.7rem; font-weight: 600;
  color: var(--text-dim); flex-shrink: 0;
}
.disco-bundle-track-name { flex: 1; color: var(--text); font-weight: 500; }
.detail-song-status {
  font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 8px;
  background: rgba(34,197,94,0.12); color: #4ade80;
  border: 1px solid rgba(34,197,94,0.2);
}
.detail-empty { font-size: 0.88rem; color: var(--text-muted); text-align: center; padding: 10px 0; margin: 0; }
.detail-busy-banner {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; margin-bottom: 10px;
  background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius); color: #f87171;
  font-size: 0.88rem; font-weight: 600;
}
.detail-busy-icon { font-size: 1.1rem; }
.detail-actions-wrap { margin-bottom: 10px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 6px; }

/* ── Inline action panel (expands below buttons) ── */
.ad-inline-panel {
  display: none;
  margin-top: 8px;
  background: rgba(6,6,12,0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 10px;
  animation: slideUpPanel 0.2s ease-out;
}
.ad-panel-list {
  display: flex; flex-direction: column; gap: 5px;
  max-height: 280px; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.ad-panel-list::-webkit-scrollbar { display: none; }
.ad-panel-option {
  display: flex; flex-direction: column; gap: 2px;
  width: 100%; text-align: left; cursor: pointer;
  background: rgba(14,14,24,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 10px 12px;
  transition: all 0.2s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.ad-panel-option:hover {
  border-color: rgba(255,215,0,0.25);
  background: rgba(255,215,0,0.04);
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.ad-panel-option:active { transform: translateY(0); }
.ad-panel-option-name { font-size: 13px; font-weight: 700; color: var(--text); }
.ad-panel-option-meta { font-size: 11px; color: rgba(255,255,255,0.4); }
.ad-panel-option-cost { font-size: 11px; font-weight: 700; color: #F59E0B; }
.ad-panel-option-effect { font-size: 11px; color: #22C55E; font-weight: 600; }
.ad-panel-empty { font-size: 12px; color: rgba(255,255,255,0.35); text-align: center; padding: 16px 0; margin: 0; font-style: italic; }
.ad-panel-subtitle { font-size: 11px; color: rgba(255,255,255,0.4); text-align: center; margin: 0 0 8px; }
.ad-btn-active {
  border-color: rgba(255,215,0,0.3) !important;
  background: rgba(255,215,0,0.08) !important;
  color: #FFD700 !important;
}
.ad-panel-option-used {
  opacity: 0.3 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}
.ad-panel-toast {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; letter-spacing: 0.3px;
  border-radius: 10px; z-index: 5;
  animation: toastPop 0.3s ease-out;
}
.ad-toast-success {
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  color: #22C55E;
}
.ad-toast-fail {
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  color: #EF4444;
}
@keyframes toastPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ── Full-screen result overlay (train / morale) ── */
.ad-result-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  animation: adOverlayIn 0.25s ease-out;
}
.ad-result-overlay-out {
  animation: adOverlayOut 0.3s ease-in forwards;
}
.ad-result-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 28px 36px;
  border-radius: 16px;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: adCardPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ad-result-success .ad-result-icon { color: #22C55E; filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.5)); }
.ad-result-fail .ad-result-icon { color: #EF4444; filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.5)); }
.ad-result-icon { display: flex; }
.ad-result-message {
  font-size: 0.85rem; font-weight: 700; color: #fff;
  text-align: center; margin: 0; line-height: 1.4;
  max-width: 260px;
}
@keyframes adOverlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes adOverlayOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes adCardPop {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

/* ── Artist Detail Buttons (endo-style) ── */
.ad-btn {
  flex: 1; padding: 10px 12px; border-radius: 10px;
  font-size: 13px; font-weight: 800; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  transition: all 0.2s ease; border: 1px solid transparent;
  letter-spacing: 0.3px; background: none;
}
.ad-btn:disabled {
  opacity: 0.35; pointer-events: none;
}
/* Gold accept style (matches endo-btn-accept) */
.ad-btn-accept, .ad-btn-bundle {
  background: rgba(11,15,26,0.70);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #FFD700; border-color: rgba(255,215,0,0.25);
  border-top-color: rgba(255,215,0,0.35);
  box-shadow: inset 0 1px 0 rgba(255,215,0,0.08);
}
.ad-btn-accept:hover, .ad-btn-bundle:hover {
  background: linear-gradient(135deg, rgba(255,215,0,0.25) 0%, rgba(255,215,0,0.12) 100%);
  border-color: rgba(255,215,0,0.4);
  box-shadow: 0 2px 12px rgba(255,215,0,0.15);
  transform: translateY(-1px);
}
.ad-btn-accept:active, .ad-btn-bundle:active { transform: translateY(0); }
/* Green release style */
.ad-btn-release {
  background: rgba(11,15,26,0.70);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #22C55E; border-color: rgba(34,197,94,0.25);
  border-top-color: rgba(34,197,94,0.35);
  padding: 6px 10px; font-size: 12px; flex: 0 0 auto;
  box-shadow: inset 0 1px 0 rgba(34,197,94,0.08);
}
.ad-btn-release:hover {
  background: linear-gradient(135deg, rgba(34,197,94,0.25) 0%, rgba(34,197,94,0.12) 100%);
  border-color: rgba(34,197,94,0.4);
  box-shadow: 0 2px 12px rgba(34,197,94,0.15);
  transform: translateY(-1px);
}
.ad-btn-release:active { transform: translateY(0); }
/* Action buttons (neutral glass) */
.ad-btn-action {
  background: rgba(11,15,26,0.70);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: rgba(255,255,255,0.90); border-color: rgba(255,255,255,0.12);
  border-top-color: rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.ad-btn-action:hover {
  background: rgba(11,15,26,0.80);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(-1px);
}
.ad-btn-action:active { transform: translateY(0); }
/* Danger / destructive (red) */
.ad-btn-danger {
  display: flex; width: 100%; text-align: center; justify-content: center;
  margin-bottom: 10px;
  background: rgba(11,15,26,0.70);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #EF4444; border-color: rgba(239,68,68,0.2);
  border-top-color: rgba(239,68,68,0.3);
}
.ad-btn-danger:hover {
  background: linear-gradient(135deg, rgba(239,68,68,0.2) 0%, rgba(239,68,68,0.08) 100%);
  border-color: rgba(239,68,68,0.35);
  box-shadow: 0 2px 12px rgba(239,68,68,0.12);
  transform: translateY(-1px);
}
.ad-btn-danger:active { transform: translateY(0); }

/* Contract action buttons at top of ArtistDetailScreen */
.ad-contract-actions {
  display: flex; gap: 8px; margin: 8px 0 12px;
}
.ad-contract-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 10px; border-radius: 10px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; text-align: center;
  min-height: 44px; border: 1px solid;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.ad-contract-negotiate {
  background: rgba(255,215,0,0.08); border-color: rgba(255,215,0,0.25);
  color: #ffd700;
}
.ad-contract-negotiate:hover { background: rgba(255,215,0,0.15); }
.ad-contract-urgent {
  background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.35);
  color: #F59E0B;
  animation: ad-contract-pulse 1.5s ease-in-out infinite;
}
@keyframes ad-contract-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.ad-contract-release {
  background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.25);
  color: #ef4444;
}
.ad-contract-release:hover { background: rgba(239,68,68,0.15); }

/* Muted / cancel button */
.ad-btn-muted {
  background: rgba(11,15,26,0.60); color: rgba(255,255,255,0.5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,0.08);
}
.ad-btn-muted:hover {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.12);
}
.detail-confirm-release {
  background: rgba(255,20,147,0.06); border: 1px solid rgba(255,20,147,0.15);
  border-radius: var(--radius); padding: 12px; margin-bottom: 10px; text-align: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.detail-confirm-release p { font-size: 0.88rem; color: var(--text-dim); margin: 0 0 8px; }
.detail-confirm-btns { display: flex; gap: 8px; justify-content: center; }
.detail-rename-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8); z-index: 100;
  display: flex; align-items: center; justify-content: center;
}
.detail-rename-overlay.hidden { display: none; }
.detail-rename-card {
  background: var(--card-bg); border: 1px solid var(--glass-border);
  border-radius: 12px; padding: 20px; width: 280px; text-align: center;
}
.detail-rename-card h3 { color: var(--text); margin: 0 0 8px; font-size: 1rem; }
.detail-rename-cost { color: var(--gold); font-size: 0.88rem; margin-bottom: 12px; }
.detail-rename-input {
  width: 100%; padding: 10px; border-radius: 6px; border: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.3); color: var(--text); font-size: 0.95rem; margin-bottom: 10px;
}
.detail-rename-btns { display: flex; gap: 8px; justify-content: center; }
.detail-tour-info { font-size: 0.88rem; color: var(--text-dim); display: flex; flex-direction: column; gap: 5px; }
.hidden { display: none !important; }

/* ====== 18. PUBLISHING HOUSE ====== */
.publishing-screen .catalog-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.publishing-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.publishing-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.publishing-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.publishing-type-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.publishing-type-badge.type-single {
  background: rgba(0, 212, 255, 0.15);
  color: var(--blue);
}

.publishing-type-badge.type-ep {
  background: rgba(168,85,247,0.30);
  color: #c084fc;
}

.publishing-type-badge.type-lp {
  background: rgba(59,130,246,0.30);
  color: #60a5fa;
}

/* EP/LP packaging interface */
.packaging-interface {
  background: var(--card-bg-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.packaging-slots {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.packaging-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  min-height: 44px;
  cursor: pointer;
  transition: all var(--transition);
}

.packaging-slot.filled {
  border-style: solid;
  border-color: rgba(255, 215, 0, 0.2);
  background: rgba(255, 215, 0, 0.05);
}

.packaging-slot .slot-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  width: 20px;
}

.packaging-slot .slot-song {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}


/* ====== 19. SONG MANAGEMENT ====== */
.song-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition);
}

.song-card:hover {
  border-color: rgba(255, 215, 0, 0.2);
}

.song-position {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.song-position.top-10 {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 170, 0, 0.2));
  color: var(--gold);
  border: 1px solid var(--gold);
}

.song-position.top-20 {
  background: rgba(179, 136, 255, 0.15);
  color: var(--purple);
  border: 1px solid rgba(179, 136, 255, 0.3);
}

.song-position.off-chart {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.song-info {
  flex: 1;
  min-width: 0;
}

.song-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-artist {
  font-size: 12px;
  color: var(--text-dim);
}

.song-streams {
  font-size: 12px;
  color: var(--text-dim);
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.song-streams .stream-count {
  font-weight: 700;
  color: var(--blue);
}

/* Decay indicator */
.decay-indicator {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
}

.decay-indicator.decaying { color: var(--red); }
.decay-indicator.stable { color: var(--green); }
.decay-indicator.climbing { color: var(--gold); }

/* Certification badges */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.cert-badge.cert-gold { background: rgba(255, 215, 0, 0.2); color: var(--gold); }
.cert-badge.cert-platinum { background: rgba(192, 192, 192, 0.2); color: #e0e0e0; }
.cert-badge.cert-diamond { background: rgba(0, 212, 255, 0.2); color: var(--blue); }

.song-mgmt-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.song-mgmt-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}

.song-mgmt-row:hover { border-color: rgba(255,215,0,0.2); }
.song-mgmt-row.song-inactive { opacity: 0.5; }

.song-mgmt-rank {
  width: 28px; text-align: center;
  font-size: 13px; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}

.song-mgmt-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}

.song-mgmt-title {
  font-size: 13px; font-weight: 600; color: #fff;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}

.song-mgmt-artist {
  font-size: 11px; color: var(--text-muted);
}

.song-mgmt-waveform {
  margin-top: 4px;
  line-height: 0;
}

.song-mgmt-waveform svg {
  display: block;
}
.song-mgmt-waveform.waveform-playing {
  outline: 1px solid var(--gold, #FFD700);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(255,215,0,0.2);
}

.song-mgmt-metrics {
  display: flex; gap: 8px; flex-shrink: 0;
}

.song-mgmt-metrics .metric {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  min-width: 42px;
}

.song-mgmt-metrics .metric-label {
  font-size: 9px; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.5px;
}

.song-mgmt-metrics .metric-value {
  font-size: 12px; font-weight: 600; color: #fff;
}


/* ── Song Management Tabs ── */
.sm-tabs {
  display: flex; gap: 0; margin: 0 0 8px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  overflow: hidden;
}
.sm-tab {
  flex: 1; padding: 8px 0; text-align: center;
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  background: none; border: none; cursor: pointer;
  transition: all 0.15s;
}
.sm-tab-active {
  color: var(--gold); background: rgba(255,215,0,0.1);
  box-shadow: inset 0 -2px 0 var(--gold);
}

/* ── Discography Grid ── */
.disco-grid {
  display: flex; flex-direction: column; gap: 8px;
}
.disco-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s;
}
.disco-card:hover { border-color: rgba(255,215,0,0.15); }
.disco-expanded { border-color: rgba(255,215,0,0.25); }

.disco-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; cursor: pointer;
}
.disco-cover {
  width: 48px; height: 48px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.disco-cover-default {
  background: linear-gradient(135deg, #2a2640, #1e1a30);
  color: var(--text-muted);
}
.disco-cover-letter {
  font-size: 22px; font-weight: 800; text-transform: uppercase;
}
.disco-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.disco-title-row { display: flex; align-items: center; gap: 6px; }
.disco-name {
  font-size: 13px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.disco-type-badge {
  font-size: 9px; font-weight: 800; padding: 1px 5px;
  border-radius: 3px; text-transform: uppercase; letter-spacing: 0.5px;
  flex-shrink: 0;
}
.disco-badge-ep { background: rgba(168,85,247,0.25); color: #c084fc; }
.disco-badge-lp { background: rgba(59,130,246,0.25); color: #60a5fa; }
.disco-card-absorbed { opacity: 0.5; }
.disco-card-absorbed .disco-cover { filter: grayscale(0.5); }
.disco-absorbed-badge {
  font-size: 7px; font-weight: 800; padding: 2px 5px;
  border-radius: 3px; text-transform: uppercase; letter-spacing: 0.5px;
  background: rgba(255,165,0,0.15); color: #F59E0B; flex-shrink: 0;
}
.disco-absorbed-lp {
  font-size: 10px; color: rgba(255,165,0,0.5); font-style: italic;
}
.disco-convert-btn { margin-top: 8px; width: 100%; }
.disco-artist { font-size: 11px; color: var(--text-muted); }
.disco-meta {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px;
}
.disco-meta-item {
  font-size: 10px; color: var(--text-muted);
  display: flex; align-items: center; gap: 2px;
}
.disco-expand-btn {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; padding: 4px; flex-shrink: 0;
}

/* ── Tracklist ── */
.disco-tracklist {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4px 0;
}
.disco-track {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  transition: background 0.1s;
}
.disco-track:hover { background: rgba(255,255,255,0.03); }
.disco-track-playing { background: rgba(255,215,0,0.06); }
.disco-track-num {
  width: 18px; text-align: center;
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  flex-shrink: 0;
}
.disco-track-name {
  flex: 1; font-size: 12px; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.disco-track-genre {
  font-size: 9px; flex-shrink: 0;
}
.disco-play-btn {
  background: rgba(255,215,0,0.03); border: 1px solid rgba(255,215,0,0.15);
  border-radius: 50%; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); cursor: pointer; flex-shrink: 0;
  transition: all 0.15s;
}
.disco-play-btn:hover {
  background: rgba(255,215,0,0.15);
  border-color: var(--gold);
}
.disco-track-empty {
  padding: 12px 14px; font-size: 11px; color: var(--text-muted);
  text-align: center;
}

/* ── Marketing type badges ── */
.mkt-type-badge {
  font-size: 9px; font-weight: 800; padding: 1px 5px;
  border-radius: 3px; text-transform: uppercase;
  vertical-align: middle; margin-left: 4px;
}
.mkt-badge-ep { background: rgba(168,85,247,0.25); color: #c084fc; }
.mkt-badge-lp { background: rgba(59,130,246,0.25); color: #60a5fa; }

/* ====== 20. STUDIO SCREEN ====== */
.studio-screen {
  padding: 12px 16px;
}

.studio-session {
  background: var(--card-bg-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.studio-artist-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-quality-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-quality-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

.studio-quality-label .quality-value {
  font-weight: 700;
  color: var(--gold);
}

.studio-quality-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.studio-quality-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #ffaa00);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
  cursor: pointer;
}

.studio-eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  padding: 0 8px;
}

.studio-eq-bar {
  flex: 1;
  background: linear-gradient(0deg, var(--pink), var(--gold));
  border-radius: 2px 2px 0 0;
  animation: eqBounce 0.5s ease-in-out infinite alternate;
}

@keyframes eqBounce {
  0% { height: 20%; }
  100% { height: 100%; }
}

.studio-eq-bar:nth-child(2) { animation-delay: 0.1s; }
.studio-eq-bar:nth-child(3) { animation-delay: 0.2s; }
.studio-eq-bar:nth-child(4) { animation-delay: 0.15s; }
.studio-eq-bar:nth-child(5) { animation-delay: 0.25s; }
.studio-eq-bar:nth-child(6) { animation-delay: 0.05s; }
.studio-eq-bar:nth-child(7) { animation-delay: 0.3s; }
.studio-eq-bar:nth-child(8) { animation-delay: 0.12s; }

.studio-progress-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.studio-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}

.studio-weeks-display {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}


/* ====== 21. MARKETING SCREEN (mkt- prefix) ====== */

.mkt-screen .mkt-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
}

.mkt-section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ── Song Selection ── */

.mkt-song-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mkt-song-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(8,10,18,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  width: 100%;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.mkt-song-card:hover {
  border-color: rgba(255,215,0,0.25);
  background: rgba(14,16,28,0.95);
  box-shadow: 0 2px 12px rgba(255,215,0,0.08), inset 0 1px 0 rgba(255,255,255,0.06);
}

.mkt-song-card.mkt-has-campaign {
  border-color: rgba(0, 230, 118, 0.2);
}

.sched-release-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px; min-height: 36px; border-radius: 14px; cursor: pointer;
  background: rgba(11,15,26,0.40); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,215,0,0.10); border-top: 1px solid rgba(255,215,0,0.15);
  color: #FFD700; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255,215,0,0.06);
}
.sched-release-btn:hover, .sched-release-btn:active {
  border-color: rgba(255,215,0,0.20); background: rgba(11,15,26,0.75);
  transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.sched-release-btn:active { transform: scale(0.97); }

.mkt-recorded-chip {
  background: rgba(34,197,94,0.18); color: #22C55E; border: 1px solid rgba(34,197,94,0.3);
  border-radius: 6px; padding: 1px 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.3px;
}
.mkt-recording-chip {
  background: rgba(251,191,36,0.18); color: #FBBF24; border: 1px solid rgba(251,191,36,0.3);
  border-radius: 6px; padding: 1px 6px; font-size: 10px; font-weight: 700; letter-spacing: 0.3px;
  animation: rec-pulse 1.5s ease-in-out infinite;
}
.mkt-song-recorded { opacity: 1 !important; }

.mkt-song-art {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  position: relative;
}

.mkt-song-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mkt-song-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mkt-song-artist {
  font-size: 12px;
  color: var(--text-dim);
}

.mkt-song-stats {
  display: flex;
  gap: 10px;
  margin-top: 2px;
}

.mkt-stat {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
}

.mkt-stat-spent {
  color: var(--orange);
}
.mkt-stat-weeks {
  color: var(--gold, #FFD700);
  font-weight: 700;
  font-size: 10px;
}
.mkt-genre-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--text-dim, #d1d5db);
}

.mkt-song-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  margin-left: auto;
}
.mkt-campaign-icons {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.mkt-campaign-icon-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(255,255,255,0.08);
}
.mkt-song-art-portrait {
  position: absolute; inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  z-index: 1;
}
.mkt-song-art-fallback {
  z-index: 0;
}
/* Unreleased: each individual song card nearly transparent */
.mkt-song-card.mkt-song-unreleased {
  background: rgba(8,10,18,0.25) !important;
  border-color: rgba(255,255,255,0.04) !important;
  border-top-color: rgba(255,255,255,0.06) !important;
  box-shadow: none !important;
  opacity: 0.5;
}
.mkt-active-badge {
  font-size: 9px;
  font-weight: 800;
  color: var(--green);
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: 0.05em;
}

.mkt-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
  color: var(--text-dim);
  text-align: center;
  font-size: 13px;
}

.mkt-empty-icon {
  opacity: 0.3;
}

/* ── Press Release ── */

.mkt-press-release-toggle {
  margin-top: 14px;
  padding: 0 2px;
}

.mkt-press-btn-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: rgba(20,45,80,0.85);
  border: 1px solid rgba(100,180,255,0.4);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.mkt-press-btn-toggle:hover {
  background: rgba(25,55,95,0.92);
  border-color: rgba(100,180,255,0.6);
}

.mkt-press-btn-toggle.mkt-unaffordable {
  opacity: 0.4;
  pointer-events: none;
}

.mkt-press-icon {
  flex-shrink: 0;
  color: #60a5fa;
}

.mkt-press-toggle-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mkt-press-toggle-title {
  font-weight: 600;
  font-size: 14px;
}

.mkt-press-toggle-desc {
  font-size: 11px;
  opacity: 0.6;
}

.mkt-press-cost {
  font-size: 12px;
  color: #fbbf24;
  white-space: nowrap;
}

.mkt-press-release-panel {
  margin-top: 14px;
  background: rgba(15,35,65,0.9);
  border: 1px solid rgba(100,180,255,0.35);
  border-radius: var(--radius);
  padding: 14px;
}

.mkt-press-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-main);
}

.mkt-press-header strong {
  font-size: 15px;
}

/* ── Campaign Builder ── */

.mkt-selected-song-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(8,10,18,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.mkt-song-art-sm {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
}

.mkt-selected-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mkt-selected-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mkt-selected-artist {
  font-size: 11px;
  color: var(--text-dim);
}

.mkt-change-song-btn {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.mkt-change-song-btn:hover {
  background: rgba(255, 215, 0, 0.15);
}

.mkt-diminishing-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(8,10,18,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 145, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--orange-light);
  line-height: 1.4;
}

.mkt-diminishing-warning svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Campaign type grid */

.mkt-campaign-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (min-width: 480px) {
  .mkt-campaign-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.mkt-type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(8,10,18,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 14px 8px 12px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.mkt-type-card:hover {
  border-color: rgba(255, 215, 0, 0.25);
  background: rgba(14,16,28,0.95);
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(255,215,0,0.08);
}

.mkt-type-card.mkt-type-selected {
  border-color: var(--gold);
  background: rgba(20,18,8,0.95);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.12);
}

.mkt-type-card.mkt-unaffordable {
  opacity: 0.45;
  pointer-events: none;
}

.mkt-type-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mkt-type-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.mkt-type-cost {
  font-size: 10px;
  color: var(--green);
  font-weight: 600;
}

.mkt-type-effect {
  font-size: 10px;
  color: var(--text-dim);
}

.mkt-type-duration {
  font-size: 10px;
  color: var(--text-muted);
}

.mkt-genre-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 8px;
  font-weight: 800;
  color: var(--green);
  background: rgba(0, 230, 118, 0.12);
  border-radius: 3px;
  padding: 1px 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mkt-overused-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 8px;
  font-weight: 800;
  color: var(--orange);
  background: rgba(255, 145, 0, 0.12);
  border-radius: 3px;
  padding: 1px 5px;
  text-transform: uppercase;
}

.mkt-unaffordable-badge {
  font-size: 9px;
  color: var(--red);
  font-weight: 700;
}

/* ── Budget Slider Section ── */

.mkt-budget-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  background: rgba(11,15,26,0.80);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
}

.mkt-campaign-desc {
  background: rgba(11,15,26,0.80);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.mkt-desc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.mkt-desc-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mkt-campaign-desc p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.mkt-budget-control {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mkt-budget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mkt-budget-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mkt-budget-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
}

.mkt-budget-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mkt-budget-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.mkt-budget-option:hover {
  background: rgba(255,215,0,0.06);
  border-color: rgba(255,215,0,0.2);
}

.mkt-budget-option.mkt-budget-selected {
  background: rgba(255,215,0,0.10);
  border-color: var(--gold-dim);
  box-shadow: 0 0 12px rgba(255,215,0,0.12);
}

.mkt-budget-option.mkt-budget-unaffordable {
  opacity: 0.35;
  pointer-events: none;
}

.mkt-budget-option-amount {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
}

.mkt-budget-option-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Impact preview */

.mkt-impact-preview {
  background: rgba(11,15,26,0.80);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mkt-impact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mkt-impact-label {
  font-size: 12px;
  color: var(--text-dim);
}

.mkt-impact-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.mkt-impact-positive {
  color: var(--green);
}

.mkt-launch-btn {
  width: 100%;
  margin-top: 4px;
}

/* ── Summary Overlay ── */

.mkt-summary-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mkt-summary-card {
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px 20px;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  animation: endo-cardIn 0.35s ease-out both;
}

.mkt-summary-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  text-align: center;
  margin-bottom: 4px;
}

.mkt-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  margin-bottom: 4px;
}

.mkt-summary-row:last-of-type {
  border-bottom: none;
}

.mkt-summary-label {
  font-size: 12px;
  color: var(--text-dim);
}

.mkt-summary-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.mkt-summary-cost {
  color: var(--gold);
}

.mkt-summary-balance {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  padding-top: 4px;
}

.mkt-summary-balance strong {
  color: var(--text);
}

.mkt-summary-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.mkt-summary-cancel {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.mkt-summary-cancel:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

.mkt-summary-confirm {
  flex: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(255,215,0,0.2) 0%, rgba(255,165,0,0.12) 100%);
  border: 1px solid rgba(255,215,0,0.3);
  color: #FFD700;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 16px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(255,215,0,0.08), inset 0 1px 0 rgba(255,235,100,0.1);
  transition: all 0.2s ease;
}
.mkt-summary-confirm:hover {
  background: linear-gradient(135deg, rgba(255,215,0,0.3) 0%, rgba(255,165,0,0.2) 100%);
  border-color: rgba(255,215,0,0.5);
  box-shadow: 0 4px 16px rgba(255,215,0,0.15);
}

/* ── Active Campaigns ── */

.mkt-active-section {
  margin-top: 8px;
}

.mkt-active-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
}

.mkt-active-scroll::-webkit-scrollbar {
  height: 3px;
}

.mkt-active-scroll::-webkit-scrollbar-thumb {
  background: var(--gold-dim);
  border-radius: 2px;
}

.mkt-active-card {
  min-width: 180px;
  max-width: 200px;
  flex-shrink: 0;
  background: rgba(11,15,26,0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* scroll-snap-align: start; — disabled, breaks scroll */
}

.mkt-active-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mkt-active-icon {
  flex-shrink: 0;
}

.mkt-active-type {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mkt-active-weeks {
  font-size: 10px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.mkt-active-song {
  font-size: 11px;
  font-weight: 600;
  color: var(--platinum-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mkt-active-artist {
  font-size: 10px;
  color: var(--text-dim);
}

.mkt-active-budget {
  font-size: 10px;
  color: var(--green);
}

.mkt-active-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.mkt-active-progress-fill {
  height: 100%;
  border-radius: 2px;
  transition: width var(--transition);
}

.mkt-active-boost {
  font-size: 10px;
  color: var(--gold);
  font-weight: 600;
  margin-top: 2px;
}

/* ── SlotFillingScreen: promoted song grey-out ── */
.sched-song-card.sched-song-promoted {
  opacity: 0.85;
  position: relative;
  border-color: rgba(34,197,94,0.2);
}

.sched-song-promoted-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #22C55E;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-shadow: 0 0 10px rgba(34,197,94,0.2);
}

/* ── SlotFillingScreen: Song card states ── */
.sched-song-unreleased {
  opacity: 0.75; cursor: pointer;
  border: 1px dashed rgba(245,158,11,0.3) !important;
}
.sched-song-unreleased:hover { opacity: 0.9; }
.sched-song-recording {
  opacity: 0.6; pointer-events: none;
  border: 1px dashed rgba(96,165,250,0.35) !important;
}
.sched-unreleased-tag {
  font-size: 0.68rem; font-weight: 800; color: #F59E0B;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.sched-released-tag {
  font-size: 0.68rem; font-weight: 800; color: #22C55E;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.sched-recording-tag {
  font-size: 0.68rem; font-weight: 800; color: #60A5FA;
  text-transform: uppercase; letter-spacing: 0.5px; font-style: italic;
  animation: sched-recording-flash 1.2s ease-in-out infinite;
}
@keyframes sched-recording-flash {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.sched-song-just-released {
  opacity: 1;
  border: 1px solid rgba(34,197,94,0.3) !important;
  background: rgba(34,197,94,0.06);
}

/* ── SlotFillingScreen: EP/LP album dropdown ── */
.sched-album-wrapper {
  display: flex;
  flex-direction: column;
}
.sched-album-row {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.sched-album-row .sched-song-card {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.sched-album-expand-btn {
  width: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.sched-album-expand-btn svg {
  transition: transform 0.2s;
}
.sched-album-expand-btn.sched-album-expand-open svg {
  transform: rotate(180deg);
}
.sched-album-expand-btn:hover {
  background: rgba(255,255,255,0.08);
}
.sched-album-tracklist {
  padding: 4px 0 4px 12px;
  margin-top: 2px;
  border-left: 2px solid rgba(255,215,0,0.15);
  margin-left: 22px;
}
.sched-album-track {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}
.sched-album-track-num {
  width: 18px;
  text-align: right;
  font-weight: 700;
  color: rgba(255,215,0,0.4);
  font-size: 0.72rem;
}
.sched-album-track-name {
  flex: 1;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.sched-album-track-genre {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  font-style: italic;
}

/* ── SlotFillingScreen: Bundle mode ── */
.sched-bundle-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #ffd700;
  cursor: pointer;
  margin: 0;
}
.sched-bundle-cost {
  font-size: 0.72rem;
  font-weight: 700;
  color: #a78bfa;
  margin-left: 8px;
}
.sched-bundle-actions {
  display: flex;
  gap: 8px;
  padding: 0 2px 8px;
  flex-wrap: wrap;
  align-items: center;
}
.sched-bundle-btn {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255,215,0,0.3);
  background: rgba(255,215,0,0.1);
  color: #ffd700;
  transition: all 0.15s;
}
.sched-bundle-btn:active {
  transform: scale(0.96);
}
.sched-bundle-hint {
  font-size: 0.72rem;
  color: #6b7280;
  font-weight: 600;
}
#sched-album-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
}
#sched-album-overlay:empty,
#sched-album-overlay[style*="display: none"],
#sched-album-overlay[style*="display:none"] {
  pointer-events: none;
}

/* SlotFillingScreen: marketing task greyed when already done from HQ */
.sched-task-item.sched-task-done-hq {
  opacity: 0.35;
  pointer-events: none;
}

.sched-task-done-hq-badge {
  font-size: 0.72rem;
  color: #22C55E;
  font-weight: 800;
  margin-left: auto;
  text-shadow: 0 0 10px rgba(34,197,94,0.2);
}


/* ====== 22. TOUR SCREEN ====== */
.tour-screen .venue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.venue-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition);
}

.venue-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
}

.venue-card.selected {
  border-color: var(--blue);
  background: rgba(0, 212, 255, 0.08);
}

.venue-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.venue-info {
  flex: 1;
}

.venue-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.venue-details {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.venue-revenue {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  margin-top: 4px;
}

/* City map (simple grid for now) */
.tour-city-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 8px;
}

.tour-city-dot {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.2);
  border: 1px solid rgba(0, 212, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: var(--blue);
  cursor: pointer;
  transition: all var(--transition);
}

.tour-city-dot.visited {
  background: rgba(0, 230, 118, 0.2);
  border-color: var(--green);
  color: var(--green);
}

.tour-city-dot.current {
  background: rgba(255, 215, 0, 0.3);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
  animation: pulseGold 1.5s ease-in-out infinite;
}


/* ====== 23. CHARTS SCREEN ====== */
.charts-screen .chart-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chart-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.chart-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.04);
}

.chart-row.my-song {
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.chart-row.top-3 {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.08), transparent);
}

.chart-position {
  width: 28px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.chart-row.top-3 .chart-position {
  color: var(--gold);
}

.chart-arrow {
  width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-arrow.up { color: var(--green); }
.chart-arrow.down { color: var(--red); }
.chart-arrow.same { color: var(--text-muted); }
.chart-arrow.new { color: var(--gold); }

.chart-song-info {
  flex: 1;
  min-width: 0;
}

.chart-song-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chart-song-artist {
  font-size: 11px;
  color: var(--text-dim);
}

.chart-weeks {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
}

/* Album chart section */
.album-chart-section {
  margin-top: 16px;
}

.album-chart-section h3 {
  margin-bottom: 10px;
}

/* ChartScreen additional styles */
.chart-screen {
  padding: 0 12px 20px;
}
.chart-screen .chart-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chart-row-player {
  background: rgba(255, 215, 0, 0.06) !important;
  border: 1px solid rgba(255, 215, 0, 0.15);
}
.chart-rank {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dim);
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.chart-rank-gold {
  background: linear-gradient(135deg, #ffd700, #f59e0b);
  color: #1a1428;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.25);
}
.chart-movement {
  width: 42px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  border-radius: 4px;
  padding: 2px 4px;
}
.chart-up { color: var(--green); background: rgba(34, 197, 94, 0.1); }
.chart-down { color: var(--red); background: rgba(239, 68, 68, 0.1); }
.chart-new { color: var(--gold); background: rgba(255, 215, 0, 0.12); font-weight: 800; }
.chart-same { color: var(--text-muted); }
.chart-song-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  flex-shrink: 0;
}
.chart-stat {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.chart-stat-label {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.chart-type {
  font-size: 9px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
}
.chart-highlights {
  margin-top: 16px;
  padding: 12px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}
.highlights-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.highlight-item {
  font-size: 12px;
  color: var(--text-dim);
  padding-left: 12px;
  position: relative;
}
.highlight-item::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.player-badge {
  font-size: 9px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
}
.chart-ai-label {
  font-size: 9px;
  color: #9ca3af;
  background: rgba(156, 163, 175, 0.1);
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
}
.chart-play-btn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.1);
  color: #a78bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.chart-play-btn:active {
  transform: scale(0.9);
}
.chart-row-playing {
  background: rgba(167, 139, 250, 0.08) !important;
  border-color: rgba(167, 139, 250, 0.3) !important;
}
.chart-row {
  display: flex;
  align-items: center;
  gap: 8px;
}


/* ====== 24. NEWS SCREEN ====== */
.news-screen .news-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeUp 0.3s ease;
}
/* Award news cards with portrait + trophy */
.news-card-award {
  border-color: rgba(255, 215, 0, 0.25);
  background: rgba(255, 215, 0, 0.04);
  flex-direction: row;
}
.news-card-visual {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}
.news-card-portrait {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}
.news-card-award-img {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 24px;
  height: auto;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}
.news-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-card.breaking {
  border-color: rgba(255, 59, 92, 0.4);
  background: rgba(255, 59, 92, 0.05);
}

.news-card.positive {
  border-color: rgba(0, 230, 118, 0.3);
}

.news-headline {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.news-source {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-body {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}

/* Headline ticker */
.news-ticker {
  background: rgba(255, 59, 92, 0.1);
  border: 1px solid rgba(255, 59, 92, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  overflow: hidden;
  white-space: nowrap;
}

.news-ticker-text {
  display: inline-block;
  animation: tickerScroll 15s linear infinite;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-light);
}

@keyframes tickerScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}


/* ====== 25. RADIO SCREEN ====== */
/* ====== RADIO SCREEN ====== */
.radio-screen {
  padding: 12px 16px;
  padding-bottom: 60px; /* space for ticker */
}

.radio-dj-section {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.radio-dj-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.dj-avatar-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #D4A017);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a2e;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.dj-name-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-align: center;
  white-space: nowrap;
}

.radio-commentary-bubble {
  flex: 1;
  min-width: 0;
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--radius) var(--radius) var(--radius) 4px;
  padding: 12px 14px;
  position: relative;
}

.commentary-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.45;
}

.commentary-tail {
  position: absolute;
  left: -8px;
  top: 16px;
  border: 6px solid transparent;
  border-right-color: rgba(255, 215, 0, 0.15);
}

.radio-next-btn {
  font-size: 13px;
  padding: 8px 16px;
  width: 100%;
}

/* Equalizer */
.radio-equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: 40px;
  margin: 12px 0;
}

.eq-bar {
  width: 3px;
  background: linear-gradient(to top, var(--gold), rgba(255, 215, 0, 0.4));
  border-radius: 2px;
  animation: eqPulse 0.8s ease-in-out infinite alternate;
}

@keyframes eqPulse {
  0% { height: 15%; }
  100% { height: var(--bar-height, 60%); }
}

/* Now Playing */
.radio-now-playing {
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.12);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 12px;
}

.now-playing-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
}

.now-playing-song {
  display: flex;
  align-items: center;
  gap: 12px;
}

.now-playing-vinyl {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    #1a1a2e 20%,
    rgba(255, 215, 0, 0.3) 21%,
    rgba(255, 215, 0, 0.1) 40%,
    #1a1a2e 41%,
    rgba(255, 215, 0, 0.2) 60%,
    #1a1a2e 61%
  );
  border: 2px solid rgba(255, 215, 0, 0.3);
  flex-shrink: 0;
}

.now-playing-vinyl.spinning {
  animation: spin 3s linear infinite;
}

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

.now-playing-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.now-playing-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.now-playing-artist {
  font-size: 12px;
  color: var(--text-dim);
}

.now-playing-empty {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: 8px;
}

/* Playlist */
.radio-playlist-section {
  margin-bottom: 12px;
}

.radio-playlist-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.radio-playlist-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.radio-playlist-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.radio-playlist-row:active,
.radio-playlist-row.now-active {
  background: rgba(255, 215, 0, 0.08);
  border-left: 2px solid var(--gold);
}

.playlist-rank {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.playlist-song-info {
  flex: 1;
  min-width: 0;
}

.playlist-song-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-artist-name {
  font-size: 11px;
  color: var(--text-dim);
}

.playlist-badges {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.playlist-chart-pos {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  padding: 2px 6px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 4px;
}

.playlist-promo-badge {
  font-size: 9px;
  font-weight: 700;
  color: var(--pink);
  padding: 2px 6px;
  background: rgba(255, 20, 147, 0.1);
  border-radius: 4px;
  text-transform: uppercase;
}

.playlist-new-badge {
  font-size: 9px;
  font-weight: 700;
  color: #4ade80;
  padding: 2px 6px;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 4px;
  text-transform: uppercase;
}

.radio-playlist-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 12px;
}

/* News & Recap */
.radio-news-section {
  margin-bottom: 16px;
}

.radio-news-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.radio-news-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.radio-news-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border-left: 2px solid rgba(255, 215, 0, 0.2);
}

.radio-news-bullet {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 1px;
}

.radio-news-text {
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
}

.radio-news-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 12px;
  font-style: italic;
}

/* In-screen ticker (RadioScreen bottom) */
.radio-ticker-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: linear-gradient(90deg, rgba(20, 20, 26, 0.95), rgba(14, 14, 18, 0.95));
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  display: flex;
  align-items: center;
  z-index: 100;
  padding: 0 12px;
  gap: 8px;
}

.radio-ticker-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 800;
  color: #ff4444;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  animation: tickerPulse 1.5s ease-in-out infinite;
}

@keyframes tickerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.radio-ticker-scroll {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.radio-ticker-text {
  font-size: 11px;
  color: var(--gold);
  white-space: nowrap;
  transition: opacity 0.3s;
}

/* Global persistent radio ticker (all gameplay screens) */
.global-radio-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22px;
  background: linear-gradient(90deg, rgba(20, 20, 26, 0.95), rgba(14, 14, 18, 0.95));
  border-top: 1px solid rgba(255, 215, 0, 0.15);
  display: flex;
  align-items: center;
  z-index: 200;
  padding: 0 3px;
  gap: 4px;
  pointer-events: none;
}

.global-ticker-label {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  font-weight: 900;
  color: #ff4444;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  flex-shrink: 0;
  font-family: 'Orbitron', 'Courier New', monospace;
  animation: tickerPulse 1.5s ease-in-out infinite;
}

.global-ticker-scroll {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.global-ticker-text {
  font-size: 10px;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.3s;
  font-family: 'Orbitron', 'Courier New', monospace;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.15);
}

/* Ticker vinyl disc */
.global-ticker-vinyl {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticker-vinyl-disc {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #222 30%, #111 31%, #333 60%, #111 61%, #222 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  position: relative;
}

.ticker-vinyl-disc.spinning {
  animation: tickerVinylSpin 2s linear infinite;
}

.ticker-vinyl-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #FFD700;
  box-shadow: 0 0 4px rgba(255, 215, 0, 0.5);
}

@keyframes tickerVinylSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Ensure screen containers account for bottom ticker */
.screen-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

/* Title screen: no scroll, pure flex layout so image area can stretch */
.screen-container:has(.title-screen) {
  overflow-y: hidden;
  padding-bottom: 0;
}

/* ====== NAV BAR (below HUD) ====== */
.game-nav-bar {
  position: absolute;
  top: calc(48px + var(--sat, env(safe-area-inset-top, 0px)));
  left: 0;
  right: 0;
  z-index: 49;
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  background:
    linear-gradient(180deg, rgba(11, 11, 15, 0.90) 0%, rgba(11, 11, 15, 0.80) 80%, rgba(11, 11, 15, 0.3) 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.game-nav-bar::-webkit-scrollbar { display: none; }

.nav-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5.5px 11px;
  border-radius: 9px;
  font-size: 0.715rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.10) 0%,
      rgba(255, 255, 255, 0.03) 40%,
      rgba(0, 0, 0, 0.05) 60%,
      rgba(0, 0, 0, 0.14) 100%),
    rgba(22, 22, 30, 0.80);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top-color: rgba(255, 255, 255, 0.16);
  border-bottom-color: rgba(0, 0, 0, 0.25);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(0,0,0,0.12);
}
.nav-btn:active {
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 1px 2px rgba(0,0,0,0.4), inset 0 2px 4px rgba(0,0,0,0.2);
}
.nav-btn.nav-active {
  background:
    linear-gradient(180deg,
      rgba(255, 235, 100, 0.22) 0%,
      rgba(255, 215, 0, 0.10) 40%,
      rgba(120, 80, 0, 0.12) 60%,
      rgba(80, 50, 0, 0.24) 100%),
    rgba(26, 22, 10, 0.85);
  color: var(--gold-light);
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-top-color: rgba(255, 235, 100, 0.4);
  border-bottom-color: rgba(100, 70, 0, 0.35);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.3),
    0 0 8px rgba(255, 215, 0, 0.06),
    inset 0 1px 0 rgba(255, 240, 140, 0.1),
    inset 0 -1px 0 rgba(0,0,0,0.15);
}
.nav-btn .nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  overflow: visible;
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  position: relative;
}
.nav-btn .nav-icon svg {
  display: block;
  overflow: visible;
  flex-shrink: 0;
}
.nav-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  border: 1.5px solid rgba(10,10,18,0.9);
  box-shadow: 0 0 6px rgba(34,197,94,0.5);
  z-index: 5;
  pointer-events: none;
}


/* ====== 26. AWARD SHOW SCREEN ====== */

/* Ceremony layout — stage bg set inline, overlay darkens it */
.award-ceremony-screen {
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.award-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.award-header-left {}
.award-show-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.award-show-subtitle {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.award-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.award-trophy-count {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
}
.award-skip-btn {
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.15);
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.award-skip-btn:hover { background: rgba(255,255,255,0.15); color: var(--text); }

/* Progress bar */
.award-progress-bar-wrap {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  margin-bottom: 16px;
  overflow: hidden;
}
.award-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #FFA500);
  border-radius: 3px;
  transition: width 0.5s ease;
}
.award-progress-label {
  position: absolute;
  right: 0;
  top: -16px;
  font-size: 10px;
  color: var(--text-dim);
}

/* Category header */
.award-category-header {
  text-align: center;
  margin-bottom: 16px;
}
.award-weight-pill {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.award-weight-pill.weight-major {
  background: rgba(255, 215, 0, 0.2);
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.3);
}
.award-weight-pill.weight-genre {
  background: rgba(100, 200, 255, 0.15);
  color: #7CC4FA;
  border: 1px solid rgba(100, 200, 255, 0.25);
}
.award-weight-pill.weight-minor {
  background: rgba(180, 180, 180, 0.12);
  color: #B0B0B0;
  border: 1px solid rgba(180, 180, 180, 0.2);
}
.award-category-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  margin: 0;
  transition: all 0.4s ease;
}
.award-category-bonus {
  font-size: 0.6rem; font-weight: 600; color: rgba(255,215,0,0.55);
  margin-top: 4px; letter-spacing: 0.3px;
}
.award-title-glow {
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.2);
}

/* Nominee 2×2 grid */
.award-nominee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.award-nominee-card {
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  padding: 14px 10px;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
}
.award-nominee-card.award-border-gold {
  border-color: rgba(255, 215, 0, 0.25);
}
.award-nominee-card.award-border-platinum {
  border-color: rgba(229, 228, 226, 0.25);
}
.award-nominee-card.award-border-radio {
  border-color: rgba(96, 165, 250, 0.25);
}

/* Nominee portrait */
.award-nominee-portrait {
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.award-nominee-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}
.award-nominee-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
}
.award-nominee-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dim);
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
}

/* Nominee text */
.award-nominee-card .award-nominee-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.2;
}
.award-nominee-card .award-nominee-song {
  font-size: 10px;
  color: var(--text-dim);
  line-height: 1.2;
}
.award-your-label {
  display: inline-block;
  font-size: 8px;
  font-weight: 800;
  color: var(--pink);
  background: rgba(255, 20, 147, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.award-ai-label {
  display: inline-block;
  font-size: 8px;
  font-weight: 800;
  color: #8b9fba;
  background: rgba(139,159,186,0.12);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
  letter-spacing: 0.5px;
}
.award-winner-ai-label {
  font-size: 10px;
  font-weight: 800;
  color: #8b9fba;
  background: rgba(139,159,186,0.12);
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 8px;
}
.ai-label-sm {
  font-size: 10px;
  color: #8b9fba;
  font-weight: 800;
}

/* Nominee glow when announced */
.nominee-glow-active {
  box-shadow: 0 0 24px 6px rgba(255, 215, 0, 0.35);
  border-color: var(--gold) !important;
  background: rgba(255, 215, 0, 0.08);
  animation: nomineePulse 1s ease-in-out infinite alternate;
}
.award-border-platinum.nominee-glow-active {
  box-shadow: 0 0 24px 6px rgba(229, 228, 226, 0.4);
  border-color: #E5E4E2 !important;
  background: rgba(229, 228, 226, 0.08);
}
@keyframes nomineePulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.03); }
}

/* Winner highlight on nominee card */
.nominee-winner {
  border-color: var(--gold) !important;
  background: rgba(255, 215, 0, 0.12) !important;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4) !important;
}

/* Center stage (winner takeover) */
.award-center-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
.award-winner-card {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  position: relative;
  overflow: hidden;
}
.award-winner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.06), transparent, rgba(255, 215, 0, 0.03), transparent);
  animation: spotlightRotate 5s linear infinite;
}
@keyframes spotlightRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.award-winner-card > * {
  position: relative;
  z-index: 1;
}
.award-winner-card-bg {
  position: absolute !important;
  inset: 0; z-index: 0 !important;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.08;
  filter: brightness(0.6);
  pointer-events: none;
}
.award-winner-card.award-border-platinum {
  border-color: rgba(229, 228, 226, 0.5);
}
.award-winner-card.award-border-platinum::before {
  background: conic-gradient(from 0deg, transparent, rgba(229, 228, 226, 0.06), transparent, rgba(229, 228, 226, 0.03), transparent);
}
.award-winner-portrait {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
}
.award-winner-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--gold);
  background: rgba(255, 215, 0, 0.15);
  padding: 4px 16px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.award-winner-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}
.award-winner-song {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-style: italic;
}
.award-winner-category {
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.award-winner-your-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--pink);
  background: rgba(255, 20, 147, 0.15);
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 8px;
}
.award-winner-bonus {
  font-size: 11px;
  color: var(--green);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Confetti */
.award-confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}
@keyframes award-bar-pulse {
  from { transform: scaleY(0.5); }
  to { transform: scaleY(1); }
}

.confetti-piece {
  position: absolute;
  top: -10px;
  width: 6px;
  height: 8px;
  opacity: 0.9;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* Bottom actions */
.award-bottom-actions {
  display: flex;
  justify-content: center;
  padding: 12px 0;
}
.award-next-cat-btn {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Recap screen ── */
.award-recap-hero {
  text-align: center;
  padding: 21px 0;
  color: var(--gold);
}
.award-recap-headline {
  font-size: 29px;
  font-weight: 900;
  color: var(--text);
  margin: 10px 0 0;
}
.award-recap-bonuses {
  display: flex;
  justify-content: center;
  gap: 21px;
  margin-bottom: 26px;
}
.award-recap-bonus {
  text-align: center;
}
.award-recap-bonus .bonus-val {
  display: block;
  font-size: 21px;
  font-weight: 800;
}
.award-recap-bonus .bonus-val.positive { color: var(--green); }
.award-recap-bonus .bonus-lbl {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.award-recap-section {
  margin-bottom: 26px;
}
.award-recap-section-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 13px;
}

/* Leaderboard */
.award-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.award-leaderboard-row {
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 13px 16px;
}
.award-leaderboard-row.player-row {
  border-color: rgba(255, 20, 147, 0.25);
  background: rgba(255, 20, 147, 0.08);
}
.award-lb-rank {
  font-size: 21px;
  font-weight: 900;
  color: var(--gold);
  min-width: 26px;
  text-align: center;
}
.award-lb-portrait {
  width: 47px;
  height: 47px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.award-lb-info {
  flex: 1;
  min-width: 0;
}
.award-lb-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.your-label-sm {
  font-size: 10px;
  color: var(--pink);
  font-weight: 800;
}
.award-lb-awards {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}
.award-lb-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(255,255,255,0.06);
  padding: 3px 8px;
  border-radius: 5px;
}
.award-lb-chip svg { color: var(--gold); }
.award-lb-count {
  font-size: 26px;
  font-weight: 900;
  color: var(--gold);
  min-width: 36px;
  text-align: center;
}

/* All winners list */
.award-all-winners {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.award-winner-row {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 13px 16px;
}
.award-winner-row.player-row {
  border-color: rgba(255, 20, 147, 0.2);
  background: rgba(255, 20, 147, 0.06);
}
.award-wr-category {
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}
.award-weight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.award-weight-dot.weight-major { background: var(--gold); }
.award-weight-dot.weight-genre { background: #7CC4FA; }
.award-weight-dot.weight-minor { background: #888; }
.award-wr-winner {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.award-wr-bonus {
  font-size: 13px;
  color: var(--green);
  margin-top: 4px;
}

.award-done-btn {
  width: 100%;
  margin-top: 8px;
}

.award-empty-state {
  text-align: center;
  padding: 20px 14px;
  color: var(--text-dim);
}

/* Dark overlay for stage background */
.award-ceremony-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.85) 100%);
  z-index: 0;
}
.award-ceremony-content {
  position: relative;
  z-index: 1;
  padding: 12px 16px;
  overflow-y: auto;
  max-height: 100%;
  -webkit-overflow-scrolling: touch;
}

/* Opening splash — category listing */
.award-opening-categories-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: var(--radius-lg, 12px);
  padding: 28px 24px;
  overflow: hidden;
}
.award-opening-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.award-opening-categories-title {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 0.90rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #FFD700;
  margin-bottom: 14px;
  text-shadow: 0 0 8px rgba(255,215,0,0.4);
}
.award-opening-categories-list {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.award-opening-categories-list li {
  font-size: 0.98rem;
  font-weight: 700;
  color: #FFD700;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  letter-spacing: 0.5px;
}
.award-begin-btn {
  min-height: 44px;
  padding: 12px 32px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Nominees area with background image */
.award-nominees-area {
  position: relative;
  overflow: hidden;
}
.award-nominees-area-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  border-radius: inherit;
  z-index: 0;
}
.award-nominees-area .award-nominee-grid {
  position: relative;
  z-index: 1;
}

/* Artist portrait with backdrop + dark overlay */
.award-nominee-portrait-wrap {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hitboard stage (no nominees) */
.award-hitboard-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  margin-bottom: 16px;
}
/* Hitboard reveal card — mystery → winner transition */
/* Hitboard reveal card — same dimensions as .award-winner-card */
.award-hitboard-reveal-card {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(229, 228, 226, 0.4);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  position: relative;
  overflow: hidden;
}
.award-hitboard-reveal-card.award-border-gold {
  border-color: rgba(255, 215, 0, 0.4);
}
.award-hitboard-reveal-card.award-border-platinum {
  border-color: rgba(229, 228, 226, 0.4);
}
.award-hitboard-reveal-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(229, 228, 226, 0.06), transparent, rgba(229, 228, 226, 0.03), transparent);
  animation: spotlightRotate 5s linear infinite;
}
.award-hitboard-reveal-card.award-border-gold::before {
  background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.06), transparent, rgba(255, 215, 0, 0.03), transparent);
}
.award-hitboard-reveal-card > * { position: relative; z-index: 1; }
/* Award bg — full opacity initially */
.award-hitboard-reveal-bg {
  position: absolute !important;
  inset: 0; z-index: 0 !important;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.6s, filter 0.6s;
}
/* After reveal: dim the award bg */
.award-hitboard-reveal-bg--dimmed {
  opacity: 0.08;
  filter: brightness(0.6);
}
.award-hitboard-reveal-portrait {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  min-height: 96px;
  margin-bottom: 12px;
}
.award-hitboard-reveal-info {
  position: relative; z-index: 1;
}
.award-hitboard-mystery-category {
  position: relative; z-index: 1;
  font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 1px;
  margin-top: 4px;
}
.award-hitboard-revealed .award-hitboard-mystery-category { display: none; }
/* Mystery state */
.award-hitboard-mystery {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 800; color: rgba(255,255,255,0.2);
  animation: nomineePulse 1.5s ease-in-out infinite alternate;
}
/* Revealed state */
.award-hitboard-revealed {
  animation: hitboardRevealFlash 0.5s ease-out;
}
@keyframes hitboardRevealFlash {
  0% { box-shadow: 0 0 40px rgba(255,215,0,0.6); }
  100% { box-shadow: 0 4px 16px rgba(0,0,0,0.5); }
}

/* Winner portrait with trophy overlay */
.award-winner-portrait-container {
  position: relative;
  width: 96px;
  margin: 0 auto 12px;
}
.award-winner-portrait-wrap {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.award-trophy-overlay {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* Award badge in discography */
.detail-song-award {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #FFD700;
  background: rgba(255, 215, 0, 0.10);
  border: 1px solid rgba(255, 215, 0, 0.18);
  padding: 2px 7px;
  border-radius: 8px;
  letter-spacing: 0.3px;
}
.detail-song-award img {
  width: 12px;
  height: auto;
}


/* ====== 27. MAGAZINE SCREEN ====== */
.magazine-screen {
  padding: 12px 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 80px;
}

/* Charts divider between covers and editorial charts */
.mag-charts-divider {
  display: flex; align-items: center; gap: 10px; margin: 16px 0 4px;
}
.mag-charts-divider-line {
  flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,215,0,0.2), transparent);
}
.mag-charts-divider-label {
  font-size: 10px; font-weight: 800; color: rgba(255,215,0,0.5);
  text-transform: uppercase; letter-spacing: 1.5px; white-space: nowrap;
}

.magazine-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cover-count-badge {
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
}

/* ── Cover Cards Grid ─── */
.magazine-covers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.magazine-cover-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.magazine-cover-card.player-cover {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.15);
}

/* ── Cover Art Container ─── */
.mag-cover-art {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #111;
}

.mag-cover-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Artist portrait — lower 3/4 of the cover */
.mag-artist-portrait {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.mag-artist-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  mask-image: linear-gradient(to top, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 85%, transparent 100%);
}

.mag-portrait-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Cover Info (below image) ─── */
.mag-cover-info {
  padding: 8px 10px 10px;
}

.mag-cover-info-top {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.mag-prestige-badge {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}
.prestige-legendary { background: rgba(255, 215, 0, 0.2); color: #FFD700; }
.prestige-industry { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.prestige-mainstream { background: rgba(255, 255, 255, 0.08); color: #aaa; }

.mag-your-label-badge {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold);
}

.mag-name {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.mag-cover-artist {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mag-headline {
  display: block;
  font-size: 9px;
  color: var(--text-dim);
  font-style: italic;
  margin-top: 3px;
}

.mag-cover-boost {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.boost-tag {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
}

/* ── History List ─── */
.magazine-history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.magazine-history-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
}

/* History thumbnail — small magazine cover with artist */
.history-cover-thumb {
  width: 32px;
  height: 48px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: #111;
}

.history-thumb-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.history-thumb-portrait {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  border-radius: 2px 2px 0 0;
  mask-image: linear-gradient(to top, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 80%, transparent 100%);
}

.history-mag-dot {
  width: 32px;
  height: 48px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.history-mag-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.history-artist {
  font-size: 10px;
  color: var(--text-dim);
}

.history-week {
  font-size: 10px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.history-promo-tag {
  font-size: 7px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  flex-shrink: 0;
}

.magazine-empty, .magazine-history-empty {
  padding: 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
}

.magazine-prestige-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

/* ── Magazine Charts (Heat Seeker, Street Talk, Genre Top) ── */
.mag-chart-section {
  margin-top: 16px; padding: 14px 12px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
}
.mag-chart-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 2px;
}
.mag-chart-subtitle {
  font-size: 10px; color: rgba(255,255,255,0.35); margin: 0 0 10px; font-weight: 500;
}
.mag-chart-list { display: flex; flex-direction: column; gap: 6px; }
.mag-chart-row {
  display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px;
  background: rgba(255,255,255,0.02); transition: background 0.2s;
}
.mag-chart-row:active { background: rgba(255,255,255,0.06); }
.mag-chart-player { border-left: 2px solid var(--gold); }
.mag-chart-rank {
  font-size: 13px; font-weight: 900; color: rgba(255,255,255,0.25); min-width: 20px; text-align: center;
}
.mag-chart-thumb {
  width: 32px; height: 32px; border-radius: 6px; overflow: hidden; flex-shrink: 0;
  background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center;
}
.mag-chart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mag-chart-initial {
  font-size: 12px; font-weight: 800; color: rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
}
.mag-chart-info { min-width: 0; }
.mag-chart-song {
  font-size: 12px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}
.mag-chart-artist {
  font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.4);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}
.mag-chart-bar-wrap {
  flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); overflow: hidden; min-width: 40px;
}
.mag-chart-bar { height: 100%; border-radius: 3px; transition: width 0.5s ease; }
.mag-chart-score {
  font-size: 11px; font-weight: 800; min-width: 28px; text-align: right;
}
/* Street Talk */
.mag-street-row { flex-wrap: wrap; }
.mag-street-bar-wrap {
  width: 100%; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.06);
  overflow: hidden; margin-top: 3px; position: relative;
}
.mag-street-bar { height: 100%; border-radius: 3px; transition: width 0.5s ease; }
.mag-street-tier {
  position: absolute; right: 4px; top: -12px; font-size: 8px; font-weight: 800;
  color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px;
}
.mag-street-score {
  font-size: 14px; font-weight: 900; color: rgba(255,255,255,0.6); min-width: 30px; text-align: right;
}
/* Genre Top Songs */
.mag-genre-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.mag-genre-card {
  border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.mag-genre-card-header {
  display: flex; align-items: center; gap: 6px; padding: 6px 10px;
}
.mag-genre-label {
  font-size: 9px; font-weight: 800; letter-spacing: 1px;
}
.mag-genre-card-body {
  display: flex; align-items: center; gap: 8px; padding: 4px 10px 6px;
}
.mag-genre-stats {
  display: flex; justify-content: space-between; padding: 4px 10px 8px;
  font-size: 9px; font-weight: 600; color: rgba(255,255,255,0.3);
}


/* ====== 28. FINANCE SCREEN ====== */
.finance-screen {
  padding: 12px 16px;
}

.finance-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.finance-stat-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}

.finance-stat-value {
  font-size: 20px;
  font-weight: 800;
}

.finance-stat-value.positive { color: var(--green); }
.finance-stat-value.negative { color: var(--red); }
.finance-stat-value.neutral { color: var(--text); }

.finance-stat-label {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Revenue breakdown (pie chart area) */
.finance-pie-area {
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
  border-radius: 50%;
  position: relative;
}

/* Income/expense list */
.finance-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.finance-line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.finance-line-item:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.finance-line-item .item-label {
  color: var(--text-dim);
}

.finance-line-item .item-amount {
  font-weight: 700;
}

.finance-line-item .item-amount.income { color: var(--green); }
.finance-line-item .item-amount.expense { color: var(--red); }

/* Label tier progress */
.label-tier-section {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.label-tier-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.label-tier-next {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 8px;
}


/* ====== 29. EVENT SCREEN ====== */
/* ===== Event Screen — Premium (matches Endorsement style) ===== */

.evt-screen {
  display: flex; flex-direction: column; height: 100%;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(139,92,246,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 60%, rgba(255,215,0,0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 90%, rgba(96,165,250,0.05) 0%, transparent 40%),
    linear-gradient(180deg, rgba(11,15,26,1) 0%, rgba(8,8,14,1) 100%);
}

/* Sticky Header */
.evt-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; position: sticky; top: 0; z-index: 10;
  background: rgba(10,10,18,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.evt-back-btn {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  padding: 8px 12px !important; font-size: 0.75rem !important;
  color: var(--gold) !important;
  border-radius: 8px !important; cursor: pointer;
}
.evt-header-title { flex: 1; min-width: 0; }
.evt-title {
  font-size: 1.2rem; font-weight: 800; color: var(--text); margin: 0;
  letter-spacing: -0.3px;
}
.evt-subtitle {
  font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 2px;
  letter-spacing: 0.3px;
}
.evt-sev-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 800;
  padding: 6px 12px; border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  text-transform: uppercase; letter-spacing: 0.6px;
  color: rgba(255,255,255,0.5); white-space: nowrap;
}
.evt-sev-dot {
  width: 7px; height: 7px; border-radius: 50%;
}
.evt-sev-label {
  font-size: 0.72rem; font-weight: 800;
}

/* Scrollable Body */
.evt-body {
  flex: 1; overflow-y: auto; padding: 14px 14px 14px;
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 14px;
}

/* Event Card */
.evt-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; transition: all 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  animation: evt-cardIn 0.35s ease-out both;
}
@keyframes evt-cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.evt-card-ribbon {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  border-radius: 14px 0 0 14px;
}
.evt-card-body {
  padding: 14px 14px 14px 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.evt-card-top {
  display: flex; align-items: center; gap: 10px;
}
.evt-cat-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.2s;
}
.evt-cat-icon svg { width: 26px; height: 26px; }
.evt-card:hover .evt-cat-icon { transform: scale(1.05); }
.evt-card-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.evt-event-name {
  font-size: 1.05rem; font-weight: 800; color: var(--text);
  letter-spacing: -0.2px; line-height: 1.25;
}
.evt-cat-label {
  font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.8px;
}
.evt-desc {
  font-size: 0.92rem; color: rgba(255,255,255,0.55);
  line-height: 1.55; margin: 0;
}

/* Section Headers */
.evt-section {
  display: flex; flex-direction: column; gap: 8px;
}
.evt-section-header {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.evt-section-dot {
  width: 7px; height: 7px; border-radius: 50%;
  box-shadow: 0 0 6px currentColor;
}
.evt-section-title {
  flex: 1; margin: 0;
  font-size: 0.85rem; font-weight: 800; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.evt-section-count {
  font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06); padding: 3px 10px; border-radius: 10px;
}

/* Choice Cards */
.evt-choices {
  display: flex; flex-direction: column; gap: 8px;
}
.evt-choice-card {
  position: relative; overflow: hidden; cursor: pointer;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; transition: all 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  animation: evt-cardIn 0.35s ease-out both;
}
.evt-choice-card:hover {
  border-color: rgba(255,215,0,0.25);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3), 0 0 12px rgba(255,215,0,0.06);
}
.evt-choice-card:active { transform: translateY(0) scale(0.99); }
.evt-choice-ribbon {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  border-radius: 14px 0 0 14px; opacity: 0.5;
  transition: opacity 0.2s;
}
.evt-choice-card:hover .evt-choice-ribbon { opacity: 1; }
.evt-choice-body {
  padding: 14px 16px 14px 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.evt-choice-text {
  font-size: 0.95rem; font-weight: 700; color: var(--text);
  line-height: 1.35;
}
.evt-choice-effects {
  display: flex; flex-wrap: wrap; gap: 6px;
}

/* Effect Pills */
.evt-fx {
  font-size: 0.78rem; font-weight: 700;
  padding: 4px 10px; border-radius: 8px;
  display: inline-block;
}
.evt-fx-pos {
  color: #22C55E; background: rgba(34,197,94,0.1);
}
.evt-fx-neg {
  color: #EF4444; background: rgba(239,68,68,0.08);
}
.evt-fx-neutral {
  color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.04);
}

/* Result Card */
.evt-result-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(34,197,94,0.03) 0%, rgba(34,197,94,0.01) 100%);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.evt-result-header {
  display: flex; align-items: center; gap: 8px;
}
.evt-result-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2);
  flex-shrink: 0;
}
.evt-result-title {
  font-size: 0.92rem; font-weight: 800; color: #22C55E;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.evt-result-choice {
  font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.7);
  font-style: italic; margin: 0; line-height: 1.45;
}
.evt-result-effects {
  display: flex; flex-direction: column; gap: 4px;
}
.evt-result-row {
  padding: 2px 0;
}

/* Bottom Done Button */
.evt-bottom {
  padding: 16px 20px 20px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: center;
}
.evt-done-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 36px; border-radius: 12px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff; font-size: 0.95rem; font-weight: 700;
  letter-spacing: 0.5px; transition: all 0.2s;
}
.evt-done-btn:hover {
  background: linear-gradient(135deg, #34D399, #10B981);
  transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}
.evt-done-btn:active { transform: translateY(0); }

/* Empty State */
.evt-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 36px 20px; gap: 6px;
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 14px; background: rgba(255,255,255,0.01);
}
.evt-empty-title {
  font-size: 0.92rem; font-weight: 800; color: rgba(255,255,255,0.4);
  margin: 4px 0 0;
}
.evt-empty-desc {
  font-size: 0.82rem; color: rgba(255,255,255,0.25);
  text-align: center; line-height: 1.45; margin: 0;
}


/* ====== 30. CONTRACT SCREEN ====== */
.contract-screen {
  padding: 12px 16px;
}

.contract-negotiation {
  background: var(--card-bg-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.contract-parties {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.contract-party {
  text-align: center;
}

.contract-party-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.contract-party-role {
  font-size: 11px;
  color: var(--text-dim);
}

.contract-vs {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
}

.contract-terms {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contract-term-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
}

.contract-term-label {
  font-size: 13px;
  color: var(--text-dim);
}

.contract-term-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

/* ── Contract screen layout ── */
.contract-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 8px 0 12px;
}
.contract-empty {
  color: var(--text-dim);
  text-align: center;
  padding: 40px 0;
}
.contract-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  padding: 4px 10px;
}

/* ── Artist summary ── */
.contract-artist-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.contract-portrait {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(167,139,250,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.contract-initials {
  font-size: 18px;
  font-weight: 700;
  color: #a78bfa;
}
.contract-artist-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contract-artist-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.contract-artist-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.contract-tier-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}
.contract-tier-badge.tier-indie {
  background: rgba(96,165,250,0.15);
  color: #60a5fa;
  border: 1px solid rgba(96,165,250,0.3);
}
.contract-tier-badge.tier-mid {
  background: rgba(251,191,36,0.15);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.3);
}
.contract-tier-badge.tier-top {
  background: rgba(167,139,250,0.15);
  color: #a78bfa;
  border: 1px solid rgba(167,139,250,0.3);
}
.contract-tier-badge.tier-superstar {
  background: rgba(251,146,60,0.15);
  color: #fb923c;
  border: 1px solid rgba(251,146,60,0.3);
}
.contract-pop {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: #fbbf24;
  font-weight: 600;
}

/* ── Artist asking terms ── */
.contract-asking-terms {
  background: rgba(167,139,250,0.06);
  border: 1px solid rgba(167,139,250,0.15);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
}
.contract-asking-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(167,139,250,0.6);
  display: block;
  margin-bottom: 6px;
}
.contract-asking-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ── Term rows (enhanced) ── */
.contract-term-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
}
.contract-term-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contract-term-asking {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  font-style: italic;
}
.contract-slider {
  width: 100%;
  margin: 4px 0;
  accent-color: #a78bfa;
}
.contract-split-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Cost summary box ── */
.contract-cost-box {
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin: 12px 0;
}
.contract-cost-header {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fbbf24;
  margin-bottom: 8px;
}
.contract-cost-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contract-cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contract-cost-label {
  font-size: 12px;
  color: var(--text-dim);
}
.contract-cost-amount {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.contract-cost-positive {
  color: #22C55E;
}
.contract-cost-highlight {
  color: #fbbf24;
  font-size: 15px;
}
.contract-cost-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 4px 0;
}
.contract-cost-total-row {
  padding-top: 2px;
}

/* ── Appeal meter ── */
.contract-appeal-meter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 12px;
}
.contract-appeal-label {
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}
.contract-appeal-meter .bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}
.contract-appeal-meter .bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease, background 0.3s ease;
}
.contract-appeal-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  min-width: 72px;
  text-align: right;
}

/* ── Contract buttons ── */
.contract-buttons {
  display: flex;
  gap: 8px;
}
.contract-offer-btn, .contract-walk-btn {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* Lawsuit panel */
.lawsuit-panel {
  background: rgba(255, 59, 92, 0.05);
  border: 1px solid rgba(255, 59, 92, 0.2);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 12px;
}

.lawsuit-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.lawsuit-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
}

.lawsuit-description {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}

.lawsuit-cost {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-top: 8px;
}


/* ====== 31. AR SCOUT SCREEN ====== */
.scout-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.sc-roster-badge {
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
}
.sc-roster-full {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.3);
}

/* ── Filters ── */
.sc-filters {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  background: rgba(11,15,26,0.60);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sc-genre-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sc-genre-row::-webkit-scrollbar { display: none; }
.sc-genre-btn {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(11,15,26,0.80);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.15s;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.sc-genre-btn svg { flex-shrink: 0; }
.sc-filter-sep {
  width: 1px; height: 20px; background: rgba(255,255,255,0.08);
  flex-shrink: 0; margin: 0 2px;
}

/* Genre pill colors — match publishing window */
.sc-genre-btn.genre-pop { color: #FF69B4; border-color: rgba(255,105,180,0.25); }
.sc-genre-btn.genre-pop.sc-genre-active { background: rgba(255,105,180,0.18); border-color: #FF69B4; }
.sc-genre-btn.genre-hiphop { color: #FFD700; border-color: rgba(255,215,0,0.25); }
.sc-genre-btn.genre-hiphop.sc-genre-active { background: rgba(255,215,0,0.18); border-color: #FFD700; }
.sc-genre-btn.genre-rnb { color: #B388FF; border-color: rgba(179,136,255,0.25); }
.sc-genre-btn.genre-rnb.sc-genre-active { background: rgba(179,136,255,0.18); border-color: #B388FF; }
.sc-genre-btn.genre-rock { color: #FF3B5C; border-color: rgba(255,59,92,0.25); }
.sc-genre-btn.genre-rock.sc-genre-active { background: rgba(255,59,92,0.18); border-color: #FF3B5C; }
.sc-genre-btn.genre-country { color: #FF9100; border-color: rgba(255,145,0,0.25); }
.sc-genre-btn.genre-country.sc-genre-active { background: rgba(255,145,0,0.18); border-color: #FF9100; }
.sc-genre-btn.gender-male { color: #60a5fa; border-color: rgba(96,165,250,0.25); }
.sc-genre-btn.gender-male.sc-genre-active { background: rgba(96,165,250,0.18); border-color: #60a5fa; }
.sc-genre-btn.gender-female { color: #f472b6; border-color: rgba(244,114,182,0.25); }
.sc-genre-btn.gender-female.sc-genre-active { background: rgba(244,114,182,0.18); border-color: #f472b6; }

/* Sort arrow toggle */
.sc-sort-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04);
  color: #9ca3af; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; padding: 0; flex-shrink: 0;
}
.sc-sort-arrow svg { transition: transform 0.25s; }
.sc-sort-arrow.sc-sort-asc svg { transform: rotate(180deg); }
.sc-sort-arrow:active { transform: scale(0.9); }

/* Expand/collapse arrow on cards */
.sc-expand-arrow {
  flex-shrink: 0; color: #6b7280; transition: transform 0.2s;
}
.sc-expand-arrow.sc-arrow-open { transform: rotate(180deg); color: #a78bfa; }

/* Expanded body */
.sc-expanded-body {
  padding: 8px 0 0; display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.06); margin-top: 8px;
}

/* Premium scout row */
.sc-premium-row {
  display: flex; gap: 8px; padding: 0 12px 6px; align-items: center;
}
.sc-premium-label {
  font-size: 10px; color: #6b7280; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap;
}
.sc-scout-pill {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: 22px;
  border: none; cursor: pointer; transition: all 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3); font-size: 12px; font-weight: 800;
  min-height: 44px;
}
.sc-scout-pill:active { transform: scale(0.93); }
.sc-scout-pill:disabled { opacity: 0.3; cursor: not-allowed; }
.sc-scout-price { font-weight: 800; }
.sc-scout-silver {
  background: linear-gradient(135deg, #71717a, #a1a1aa, #d4d4d8);
  color: #27272a;
}
.sc-scout-gold {
  background: linear-gradient(135deg, #a16207, #eab308, #fde047);
  color: #422006;
}
.sc-scout-elite {
  background: linear-gradient(135deg, #065f46, #10b981, #6ee7b7);
  color: #022c22;
}
.sc-genre-active {
  background: rgba(167, 139, 250, 0.2);
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.4);
}
.sc-sort-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #d1d5db;
  font-size: 11px;
  padding: 5px 10px;
  cursor: pointer;
}

/* ── Card List ── */
.sc-premium-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  flex-shrink: 0;
}
.sc-premium-label {
  font-size: 11px;
  color: var(--text-dim);
  white-space: nowrap;
}
.sc-premium-btn {
  font-size: 11px;
  padding: 6px 12px;
  border: 1px solid rgba(255,215,0,0.2);
  color: #FFD700;
  background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(255,165,0,0.04));
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,215,0,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.sc-premium-btn:active:not(:disabled) {
  transform: scale(0.95);
}
.sc-premium-btn:disabled {
  opacity: 0.35;
}

.sc-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  -webkit-overflow-scrolling: touch;
}
.sc-empty {
  text-align: center;
  color: #6b7280;
  padding: 40px 20px;
  font-size: 13px;
}

/* ── Card ── */
.sc-card {
  background: rgba(11,15,26,0.80);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 14px;
  transition: all 0.2s;
}
.sc-card-expanded {
  border-color: rgba(167, 139, 250, 0.3);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
}
.sc-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  min-height: 48px;
}
.sc-portrait {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #555;
  background: #0e0e14;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.sc-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.sc-portrait-letter {
  font-size: 18px;
  font-weight: 800;
  color: #9ca3af;
}
.sc-info {
  flex: 1;
  min-width: 0;
}
.sc-name {
  font-size: 15px;
  font-weight: 700;
  color: #f3f4f6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.sc-genre-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid;
  border-radius: 4px;
  padding: 1px 5px;
}
.sc-tier {
  font-size: 11px;
  color: #9ca3af;
}
.sc-cost-box {
  text-align: right;
  flex-shrink: 0;
}
.sc-cost-val {
  font-size: 15px;
  font-weight: 700;
  color: #34d399;
  display: block;
}
.sc-cost-lbl {
  font-size: 10px;
  color: #6b7280;
  text-transform: uppercase;
}
.sc-cant-afford .sc-cost-val {
  color: #ef4444;
}

/* ── Stats (Level 2+) ── */
.sc-stats-preview {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sc-stat-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sc-stat-label {
  font-size: 12px;
  color: #9ca3af;
  width: 55px;
  flex-shrink: 0;
}
.sc-stat-bar {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.sc-stat-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
}
.sc-stat-val {
  font-size: 13px;
  font-weight: 700;
  color: #f3f4f6;
  width: 24px;
  text-align: right;
}
.sc-pop-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #9ca3af;
  margin-top: 2px;
}
.sc-pop-val {
  font-weight: 700;
  color: #f3f4f6;
}

/* ── Hidden stats (Level 1) ── */
.sc-stats-hidden {
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  color: #6b7280;
  padding: 8px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.sc-lock-icon svg {
  opacity: 0.5;
}

/* ── Potential (Level 3) ── */
.sc-potential {
  margin-top: 8px;
  padding: 8px;
  background: rgba(167, 139, 250, 0.05);
  border: 1px solid rgba(167, 139, 250, 0.15);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sc-potential-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #9ca3af;
}
.sc-tier-badge {
  font-size: 10px;
  font-weight: 700;
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}
.sc-tier-gold {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.12);
}
.sc-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.sc-trait {
  font-size: 9px; font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(168,85,247,0.10); color: #C084FC;
  border: 1px solid rgba(168,85,247,0.18);
  text-transform: capitalize; letter-spacing: 0.2px;
}
.sc-trait[data-trait="diva"] { background: rgba(244,63,94,0.12); color: #FB7185; border-color: rgba(244,63,94,0.22); }
.sc-trait[data-trait="perfectionist"] { background: rgba(96,165,250,0.12); color: #93C5FD; border-color: rgba(96,165,250,0.22); }
.sc-trait[data-trait="creative"] { background: rgba(232,121,249,0.12); color: #E879F9; border-color: rgba(232,121,249,0.22); }
.sc-trait[data-trait="rebellious"] { background: rgba(239,68,68,0.12); color: #F87171; border-color: rgba(239,68,68,0.22); }
.sc-trait[data-trait="business"] { background: rgba(34,197,94,0.12); color: #4ADE80; border-color: rgba(34,197,94,0.22); }
.sc-trait[data-trait="mysterious"] { background: rgba(99,102,241,0.12); color: #A5B4FC; border-color: rgba(99,102,241,0.22); }
.sc-trait[data-trait="charismatic"] { background: rgba(245,158,11,0.12); color: #FBBF24; border-color: rgba(245,158,11,0.22); }
.sc-trait[data-trait="easygoing"],
.sc-trait[data-trait="chill"] { background: rgba(52,211,153,0.12); color: #6EE7B7; border-color: rgba(52,211,153,0.22); }
.sc-trait[data-trait="ambitious"] { background: rgba(255,215,0,0.12); color: #FFD700; border-color: rgba(255,215,0,0.22); }
.sc-trait[data-trait="workaholic"] { background: rgba(251,146,60,0.12); color: #FB923C; border-color: rgba(251,146,60,0.22); }
.sc-trait[data-trait="professional"] { background: rgba(56,189,248,0.12); color: #38BDF8; border-color: rgba(56,189,248,0.22); }

/* ── Action Buttons ── */
.sc-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}
.sc-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.sc-btn:active { transform: scale(0.97); }
.sc-btn-scout {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.3);
}
.sc-btn-sign {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.15), rgba(124, 58, 237, 0.1));
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.3);
}
.sc-btn-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.sc-fully-scouted {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: #34d399;
  font-weight: 600;
  padding: 8px;
}
.sc-full-banner {
  position: sticky;
  bottom: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.1);
  border-top: 1px solid rgba(239, 68, 68, 0.2);
  padding: 8px;
}

/* ── Negotiation Overlay ── */
.neg-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}
.neg-overlay {
  width: 100%;
  max-width: 380px;
  background: rgba(14, 14, 18, 0.95);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow), 0 0 60px rgba(167, 139, 250, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideUp 0.25s ease;
  position: relative;
  overflow: hidden;
}
.neg-portrait-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  opacity: 0.08; pointer-events: none; z-index: 0;
}
.neg-overlay > *:not(.neg-portrait-bg) {
  position: relative; z-index: 1;
}
@keyframes slideUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.neg-header {
  text-align: center;
}
.neg-title {
  font-size: 15px;
  font-weight: 800;
  color: #f3f4f6;
  margin: 0;
  letter-spacing: 0.3px;
}
.neg-artist-row {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 6px;
}
.neg-artist-name {
  font-size: 14px;
  color: #f3f4f6;
  font-weight: 700;
}

/* Probability display */
.neg-probability {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
}
.neg-prob-value {
  font-size: 28px;
  font-weight: 900;
  color: #f3f4f6;
  font-variant-numeric: tabular-nums;
}
.neg-chip {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.neg-chip-green {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.neg-chip-yellow {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.neg-chip-red {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Sliders */
.neg-sliders {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.neg-slider-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.neg-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #9ca3af;
  font-weight: 600;
}
.neg-slider-value {
  color: #ffd700;
  font-weight: 700;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.neg-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
}
.neg-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #a78bfa;
  border: 2px solid rgba(14, 14, 18, 0.9);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
  cursor: pointer;
  transition: transform 0.1s;
}
.neg-range::-webkit-slider-thumb:active {
  transform: scale(1.2);
}
.neg-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #a78bfa;
  border: 2px solid rgba(14, 14, 18, 0.9);
  box-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
  cursor: pointer;
}
.neg-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #4b5563;
  padding: 0 2px;
}

/* Buttons */
.neg-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.neg-btn {
  flex: 1;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid;
  min-height: 48px;
  transition: all 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.neg-btn:active { transform: scale(0.97); }
.neg-btn-cancel {
  background: rgba(255, 255, 255, 0.04);
  color: #9ca3af;
  border-color: rgba(255, 255, 255, 0.1);
}
.neg-btn-offer {
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.2), rgba(124, 58, 237, 0.15));
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.1);
}
.neg-btn-offer:disabled { opacity: 0.35; cursor: not-allowed; }

/* Duration +/- counter */
.neg-counter {
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.neg-counter-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: #f3f4f6; font-size: 18px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.neg-counter-btn:active { transform: scale(0.9); background: rgba(167,139,250,0.2); }
.neg-counter-value {
  font-size: 20px; font-weight: 900; color: #f3f4f6;
  min-width: 36px; text-align: center; font-variant-numeric: tabular-nums;
}

/* Signing bonus toggle */
.neg-toggle-row {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: 13px; color: #9ca3af;
  min-height: 36px;
}
.neg-toggle-row input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: #a78bfa; cursor: pointer;
}
.neg-toggle-text { font-weight: 600; }

/* Summary */
.neg-summary {
  background: rgba(255,255,255,0.03); border-radius: 10px;
  padding: 12px 16px; border: 1px solid rgba(255,255,255,0.06);
}
.neg-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; font-size: 13px; color: #9ca3af;
  min-height: 28px;
}
.neg-summary-row span:last-child { color: #f3f4f6; font-weight: 700; font-size: 14px; white-space: nowrap; }
.neg-summary-total { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 8px; margin-top: 4px; }
.neg-summary-total span { color: #a78bfa !important; font-weight: 800 !important; font-size: 15px !important; }

/* Offer result card */
.neg-result-card {
  width: 100%; max-width: 320px;
  background: rgba(14,14,18,0.95); backdrop-filter: blur(20px);
  border-radius: 16px; padding: 32px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: slideUp 0.3s ease;
}
.neg-result-accept { border: 1px solid rgba(34,197,94,0.4); box-shadow: 0 0 40px rgba(34,197,94,0.12); }
.neg-result-decline { border: 1px solid rgba(239,68,68,0.4); box-shadow: 0 0 40px rgba(239,68,68,0.12); }
.neg-result-considering { border: 1px solid rgba(251,191,36,0.4); box-shadow: 0 0 40px rgba(251,191,36,0.12); }
.neg-result-icon { margin-bottom: 4px; }
.neg-result-title { font-size: 18px; font-weight: 900; color: #f3f4f6; margin: 0; letter-spacing: 1px; }
.neg-result-text { font-size: 13px; color: #9ca3af; line-height: 1.5; margin: 0; }
.neg-result-prob { font-size: 11px; color: #6b7280; font-weight: 600; }
.neg-result-card .neg-btn { width: 100%; }

/* Search input */
.sc-search-row { padding: 0 12px 4px; }
.sc-search-input {
  width: 100%; box-sizing: border-box; height: 34px; padding: 0 14px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; color: var(--text); font-size: 0.78rem; font-weight: 700; outline: none;
  transition: border-color 0.2s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sc-search-input:focus { border-color: rgba(255,215,0,0.3); background: rgba(255,255,255,0.06); }
.sc-search-input::placeholder { color: rgba(255,255,255,0.35); font-weight: 700; }

/* Active tier chip in header */
.sc-active-tier {
  font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 3px 8px; border-radius: 6px; flex-shrink: 0;
}
.sc-active-tier-silver { background: rgba(161,161,170,0.15); color: #d4d4d8; border: 1px solid rgba(161,161,170,0.3); }
.sc-active-tier-gold { background: rgba(234,179,8,0.15); color: #fde047; border: 1px solid rgba(234,179,8,0.3); }
.sc-active-tier-elite { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.3); }

/* Scout tier buttons */
.sc-tier-row {
  display: flex; gap: 6px; padding: 4px 12px 8px; align-items: stretch;
}
.sc-tier-btn {
  flex: 1; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px;
  padding: 4px 6px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1); cursor: pointer;
  transition: all 0.2s; position: relative; overflow: hidden;
  opacity: 0.8;
}
.sc-tier-btn:active:not(:disabled) { transform: scale(0.95); opacity: 1; }
.sc-tier-btn:hover:not(:disabled) { opacity: 1; }
.sc-tier-btn svg { opacity: 0.8; }
.sc-tier-label {
  font-size: 0.65rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px;
}
.sc-tier-price {
  font-size: 0.6rem; font-weight: 900;
}
.sc-tier-silver {
  background: linear-gradient(180deg, rgba(161,161,170,0.8) 0%, rgba(113,113,122,0.6) 100%);
  border-color: rgba(161,161,170,0.5); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 0 6px rgba(0,0,0,0.5);
}
.sc-tier-gold {
  background: linear-gradient(180deg, rgba(234,179,8,0.8) 0%, rgba(161,98,7,0.6) 100%);
  border-color: rgba(234,179,8,0.5); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 0 6px rgba(0,0,0,0.5);
}
.sc-tier-elite {
  background: linear-gradient(180deg, rgba(16,185,129,0.8) 0%, rgba(6,95,70,0.6) 100%);
  border-color: rgba(16,185,129,0.5); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 0 6px rgba(0,0,0,0.5);
}
.sc-tier-locked { opacity: 0.2; cursor: not-allowed; }

/* Filter row 2 (gender, tier, sort dropdowns) */
.sc-filter-row2 {
  display: flex; gap: 6px; padding: 0 12px 6px;
}
.sc-filter-select {
  flex: 1; padding: 6px 8px; border-radius: 6px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: #d1d5db; font-size: 11px; font-weight: 600;
  cursor: pointer; outline: none;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%239ca3af' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 6px center;
  padding-right: 20px;
}

/* ====== 32. POWER CARD SCREEN ====== */
.power-card-screen {
  padding: 12px 16px;
}

.power-card-hand {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.power-card-hand::-webkit-scrollbar {
  display: none;
}

.power-card {
  min-width: 140px;
  max-width: 140px;
  background: linear-gradient(180deg, var(--card-bg), rgba(20, 20, 26, 0.5));
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--radius);
  padding: 14px 12px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.power-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.08);
}

.power-card:active {
  transform: translateY(-2px) scale(0.98);
}

.power-card.used {
  opacity: 0.4;
  pointer-events: none;
}

.power-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 0 auto;
}

.power-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.power-card-desc {
  font-size: 10px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.3;
}

.power-card-effect {
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}


/* ── New Power Card Screen (pc-*) ── */
.pc-section { margin-bottom: 14px; }
.pc-section-title {
  font-size: 0.85rem; font-weight: 700; color: var(--text); margin: 0 0 2px;
}
.pc-section-hint {
  font-size: 0.65rem; color: var(--text-dim); margin: 0 0 8px;
}
.pc-shop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.pc-shop-grid::-webkit-scrollbar { display: none; }
.pc-shop-card {
  min-width: 0;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.08) 0%,
      rgba(255,255,255,0.02) 40%,
      rgba(0,0,0,0.06) 60%,
      rgba(0,0,0,0.16) 100%),
    rgba(18,18,24,0.85);
  border: 1px solid rgba(var(--rarity-color,136,136,136),0.25);
  border-top-color: rgba(255,255,255,0.12);
  border-bottom-color: rgba(0,0,0,0.25);
  border-radius: 10px; padding: 10px 8px; display: flex; flex-direction: column; gap: 5px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}
.pc-card-header {
  display: flex; align-items: center; justify-content: space-between;
}
.pc-rarity-badge {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.5px; padding: 2px 7px;
  border-radius: 4px; color: #fff; text-transform: uppercase;
}
.pc-category-icon { display: flex; color: var(--text-dim); }
.pc-category-icon svg { display: block; }
.pc-card-name {
  font-size: 0.72rem; font-weight: 700; color: var(--text); margin: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pc-card-desc {
  font-size: 0.58rem; color: #fff; line-height: 1.25; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-card-effect {
  font-size: 0.58rem; font-weight: 700; color: var(--gold-light);
  padding-top: 4px; border-top: 1px solid rgba(255,215,0,0.1);
}
.pc-buy-btn, .pc-play-btn {
  margin-top: auto; width: 100%; font-size: 0.6rem; padding: 5px 0;
}
.pc-buy-btn:disabled, .pc-play-btn:disabled {
  opacity: 0.4; pointer-events: none;
}
.pc-hand {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.pc-card {
  width: calc(50% - 4px);
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.45) 40%,
      rgba(0,0,0,0.60) 100%),
    url('/powercard.webp') center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px; padding: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 4px;
}
.pc-card-inner { display: flex; flex-direction: column; gap: 4px; }
.pc-card-playing { opacity: 0.5; transform: scale(0.95); transition: all 0.3s; }
.pc-empty-shop, .pc-empty {
  font-size: 0.7rem; color: var(--text-dim); text-align: center; padding: 16px 0;
}
.pc-result-banner {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3);
  border-radius: 8px; margin-bottom: 10px;
}
.pc-result-icon { color: #22C55E; display: flex; }
.pc-result-text { flex: 1; font-size: 0.7rem; color: var(--text); }
.pc-result-text strong { display: block; }
.pc-result-text span { color: var(--text-dim); font-size: 0.6rem; }
.pc-result-dismiss { flex-shrink: 0; font-size: 0.6rem; padding: 4px 10px; }
.pc-back-btn {
  background: linear-gradient(135deg, rgba(30,28,22,0.8), rgba(22,20,16,0.6)) !important;
  border: 1px solid rgba(255,215,0,0.15) !important;
  color: rgba(255,215,0,0.7) !important; cursor: pointer;
  display: flex; align-items: center; padding: 8px !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,215,0,0.06);
}
.pc-back-btn:hover { color: #FFD700 !important; border-color: rgba(255,215,0,0.3) !important; }
.pc-back-btn:active { transform: scale(0.92); }

/* ====== 33. RESULTS SCREEN ====== */
.results-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px;
  gap: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: radial-gradient(ellipse at top center, rgba(255,215,0,0.04) 0%, transparent 50%);
}

.results-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.results-title {
  font-size: 26px;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(135deg, #ffd700, #ffe44d, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  margin: 0;
}

.results-stars {
  display: flex;
  gap: 4px;
}

.star-icon {
  filter: drop-shadow(0 0 4px rgba(255,215,0,0.4));
}

.star-icon.star-filled {
  animation: starPop 0.4s ease-out both;
}

.star-icon.star-filled:nth-child(2) { animation-delay: 0.1s; }
.star-icon.star-filled:nth-child(3) { animation-delay: 0.2s; }
.star-icon.star-filled:nth-child(4) { animation-delay: 0.3s; }
.star-icon.star-filled:nth-child(5) { animation-delay: 0.4s; }

@keyframes starPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); opacity: 1; }
}

.results-star-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,215,0,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.results-grade {
  font-size: 64px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffd700, #ff1493);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 400px;
}

.results-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.08);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.results-card.positive { border-color: rgba(74,222,128,0.15); }
.results-card.negative { border-color: rgba(248,113,113,0.15); }

.results-card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,215,0,0.08);
  color: #FFD700;
  flex-shrink: 0;
}

.results-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.results-card-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.results-card-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.results-card.positive .results-card-value { color: #4ade80; }
.results-card.negative .results-card-value { color: #f87171; }

.results-details {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.results-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.06);
  border-radius: 10px;
}

.detail-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.detail-value {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.detail-value.positive { color: #4ade80; }
.detail-value.negative { color: #f87171; }

.detail-bar-wrap {
  position: relative;
  width: 120px;
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.detail-bar {
  height: 100%;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(255,215,0,0.3);
  transition: width 0.8s ease-out;
}

.detail-bar-label {
  position: absolute;
  right: 0;
  top: -18px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,215,0,0.7);
}

.results-highlight-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 10px;
}

.highlight-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,215,0,0.5);
}

.highlight-value {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

/* Rival rankings */
.results-rival-section {
  width: 100%;
  max-width: 400px;
}

.results-section-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,215,0,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.results-rival-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.results-rival-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.06);
  border-radius: 10px;
}

.results-rival-row.player-row {
  background: rgba(255,215,0,0.06);
  border-color: rgba(255,215,0,0.2);
}

.rival-rank {
  font-size: 14px;
  font-weight: 800;
  color: #FFD700;
  width: 28px;
}

.rival-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.player-row .rival-name {
  color: #FFD700;
}

.rival-revenue {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}

.results-actions {
  width: 100%;
  max-width: 400px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.results-continue-btn,
.results-final-btn {
  padding: 14px 32px !important;
  font-size: 15px !important;
  min-width: 200px;
}

.results-summary {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.results-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.06);
  border-radius: 10px;
}

.results-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.results-stat-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

.results-comparison {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.08);
  border-radius: 14px;
  padding: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}


/* ====== 34. GAME OVER SCREEN ====== */
.game-over-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 0;
  text-align: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: radial-gradient(ellipse at top center, rgba(255,215,0,0.04) 0%, transparent 50%);
}

.go-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.go-spotlight {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(255,215,0,0.06) 0%, transparent 70%);
}

.go-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 20px 40px;
  width: 100%;
  max-width: 420px;
}

/* New Game Over styles */
.go-pre-reveal {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 0;
}
.go-rating-card {
  width: 100%; padding: 16px; border-radius: 14px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
}
.go-score-display {
  display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 8px;
}
.go-score-num {
  font-size: 42px; font-weight: 900; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 20px currentColor;
}
.go-section {
  width: 100%; padding: 14px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
}
.go-section-title {
  font-size: 12px; font-weight: 800; color: #FFD700; text-transform: uppercase;
  letter-spacing: 1px; margin: 0 0 10px;
}
.go-stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.go-stat {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 8px 4px; background: rgba(255,255,255,0.03); border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
}
.go-stat-val { font-size: 13px; font-weight: 800; color: #FFD700; }
.go-stat-lbl { font-size: 8px; font-weight: 600; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.5px; }
.go-breakdown-row {
  display: flex; align-items: center; gap: 8px; padding: 4px 0;
}
.go-bd-label { font-size: 11px; color: rgba(255,255,255,0.5); min-width: 80px; }
.go-bd-bar { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.06); overflow: hidden; }
.go-bd-val { font-size: 11px; font-weight: 800; color: #FFD700; min-width: 30px; text-align: right; }
.go-artist-row {
  display: flex; align-items: center; gap: 8px; padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.go-artist-row:last-child { border-bottom: none; }
.go-artist-rank { font-size: 12px; font-weight: 900; color: rgba(255,255,255,0.25); min-width: 18px; text-align: center; }
.go-artist-thumb {
  width: 32px; height: 32px; border-radius: 6px; overflow: hidden; flex-shrink: 0;
  background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center;
}
.go-artist-thumb img { width: 100%; height: 100%; object-fit: cover; }
.go-artist-initial {
  font-size: 12px; font-weight: 800; color: rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
}
.go-player-highlight { background: rgba(255,215,0,0.04); border-radius: 8px; padding: 6px 8px; }
.go-timeline { display: flex; flex-direction: column; gap: 6px; }
.go-timeline-year { display: flex; align-items: center; gap: 8px; }
.go-tl-label { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.4); min-width: 24px; }
.go-tl-bar-wrap { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.go-tl-bar { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #FFD700, #F59E0B); transition: width 0.5s; }
.go-tl-val { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.5); min-width: 50px; text-align: right; }

/* Reveal button */
.go-reveal-btn {
  padding: 16px 40px !important;
  font-size: 16px !important;
  min-width: 220px;
  animation: goPulseBtn 2s ease-in-out infinite;
}

@keyframes goPulseBtn {
  0%, 100% { box-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 6px 20px rgba(255,215,0,0.12), 0 0 30px rgba(255,215,0,0.06), inset 0 1px 0 rgba(255,235,100,0.22); }
  50% { box-shadow: 0 4px 12px rgba(0,0,0,0.5), 0 10px 36px rgba(255,215,0,0.25), 0 0 50px rgba(255,215,0,0.12), inset 0 1px 0 rgba(255,235,100,0.3); }
}

/* Hall of Fame */
.go-hall-of-fame {
  width: 100%;
  background: rgba(255,215,0,0.03);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.go-hof-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFD700;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.go-hof-avatar-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.go-hof-label-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.go-hof-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.go-hof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.06);
  border-radius: 10px;
}

.hof-stat-value {
  font-size: 16px;
  font-weight: 800;
  color: #FFD700;
  text-shadow: 0 0 8px rgba(255,215,0,0.3);
}

.hof-stat-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Score breakdown */
.go-score-breakdown {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.08);
  border-radius: 14px;
  padding: 16px;
}

.go-breakdown-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,215,0,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.game-over-screen .go-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.game-over-screen .go-breakdown-row:last-child {
  border-bottom: none;
}

.game-over-screen .go-breakdown-row.total-row {
  border-top: 1px solid rgba(255,215,0,0.15);
  border-bottom: none;
  padding-top: 10px;
  margin-top: 4px;
}

.game-over-screen .go-breakdown-row .breakdown-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.game-over-screen .go-breakdown-row .breakdown-value {
  font-size: 14px;
  font-weight: 700;
  color: #FFD700;
}

.game-over-screen .go-breakdown-row.total-row .breakdown-label {
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}

.game-over-screen .go-breakdown-row.total-row .breakdown-value {
  font-size: 16px;
  text-shadow: 0 0 8px rgba(255,215,0,0.3);
}

/* Achievements */
.go-achievements {
  width: 100%;
}

.go-achievements-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,215,0,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.go-achievement-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.go-achievement-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.08);
  border-radius: 10px;
}

.achievement-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.achievement-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.achievement-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.achievement-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

/* Game over actions */
.go-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.go-play-again-btn {
  padding: 14px 32px !important;
  font-size: 15px !important;
  min-width: 200px;
}

.go-share-btn {
  font-size: 14px !important;
}

/* Legacy */
.game-over-title {
  font-size: 28px;
  font-weight: 900;
}

.game-over-title.victory {
  background: linear-gradient(135deg, #ffd700, #ff1493, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.game-over-title.defeat {
  color: var(--red);
}

.game-over-score {
  font-size: 48px;
  font-weight: 900;
  color: var(--gold);
}

.game-over-subtitle {
  font-size: 14px;
  color: var(--text-dim);
}

.hall-of-fame {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hall-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,215,0,0.06);
  border-radius: 10px;
}

.hall-rank {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  width: 24px;
}

.hall-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-left: 8px;
}

.hall-score {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
}


/* ====== 35. NOTIFICATION BANNER ====== */
.notification-banner {
  position: absolute;
  top: 56px;
  left: 12px;
  right: 12px;
  z-index: 60;
  background: var(--card-bg-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation: slideDown 0.3s ease;
}

.notification-banner.notif-success {
  border-color: rgba(0, 230, 118, 0.3);
}

.notification-banner.notif-danger {
  border-color: rgba(255, 59, 92, 0.3);
}

.notification-banner.notif-info {
  border-color: rgba(0, 212, 255, 0.3);
}

.notification-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.notification-text {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.notification-dismiss {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}


/* ====== 36. ANIMATIONS ====== */
@keyframes vinylSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes slideIn {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideUp {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideDown {
  0% { transform: translateY(-20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeUp {
  0% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 24px rgba(255, 215, 0, 0.5); }
}

@keyframes pulsePink {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 20, 147, 0.3); }
  50% { box-shadow: 0 0 24px rgba(255, 20, 147, 0.5); }
}

@keyframes chartClimb {
  0% { transform: translateY(8px); opacity: 0; }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fanfare {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

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

@keyframes recordScratch {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

/* Animation utility classes */
.anim-slide-in { animation: slideIn 0.3s ease; }
.anim-slide-up { animation: slideUp 0.3s ease; }
.anim-fade-in { animation: fadeIn 0.3s ease; }
.anim-fade-up { animation: fadeUp 0.3s ease; }
.anim-chart-climb { animation: chartClimb 0.4s ease; }
.anim-fanfare { animation: fanfare 0.5s ease; }
.anim-pulse-gold { animation: pulseGold 1.5s ease-in-out infinite; }
.anim-pulse-pink { animation: pulsePink 1.5s ease-in-out infinite; }

/* Shimmer effect for loading / placeholder */
.shimmer {
  background: linear-gradient(90deg, transparent 25%, rgba(255, 255, 255, 0.05) 50%, transparent 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}


/* ====== 37. UPGRADE SCREEN ====== */
.upgrade-screen .upgrade-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upgrade-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  gap: 12px;
  transition: all var(--transition);
}

.upgrade-card.maxed {
  border-color: rgba(255, 215, 0, 0.2);
  background: rgba(255, 215, 0, 0.04);
}

.upgrade-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(179, 136, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  flex-shrink: 0;
}

.upgrade-info {
  flex: 1;
}

.upgrade-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.upgrade-level {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.upgrade-level-dots {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.upgrade-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.upgrade-dot.filled {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.3);
}

.upgrade-cost {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.upgrade-cost.too-expensive {
  color: var(--red);
}


/* ====== 38. SYNC DEAL SCREEN ====== */
.sync-deal-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sync-deal-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
}

.sync-deal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.sync-deal-description {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}

.sync-deal-payout {
  font-size: 18px;
  font-weight: 800;
  color: var(--green);
}


/* ====== 39. WEEK RESULTS / YEAR REVIEW ====== */
.week-results-screen {
  padding: 12px 16px;
}

.week-results-section {
  margin-bottom: 16px;
}

.week-results-section h3 {
  margin-bottom: 8px;
}

.chart-movement-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
}

.chart-movement-row .move-arrow {
  width: 20px;
  text-align: center;
  font-weight: 700;
}

.chart-movement-row .move-arrow.up { color: var(--green); }
.chart-movement-row .move-arrow.down { color: var(--red); }

.year-review-screen {
  padding: 12px 16px;
}

.year-review-highlight {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 20, 147, 0.05));
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.year-review-year {
  font-size: 36px;
  font-weight: 900;
  color: var(--gold);
}

.year-review-subtitle {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 4px;
}


/* ====== 40. GENRE MAP SCREEN ====== */
.genre-map-screen {
  padding: 12px 16px;
}

.genre-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.genre-territory {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
  transition: all var(--transition);
}

.genre-territory.trending {
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.05);
}

.genre-territory.declining {
  border-color: rgba(255, 59, 92, 0.2);
}

.genre-territory-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.genre-territory-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.genre-territory-fans {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

.genre-territory-trend {
  font-size: 11px;
  font-weight: 700;
  margin-top: 6px;
}

.genre-territory-trend.trend-up { color: var(--green); }
.genre-territory-trend.trend-down { color: var(--red); }
.genre-territory-trend.trend-stable { color: var(--text-muted); }

/* Full-width genre (5th) */
.genre-map-grid .genre-territory:nth-child(5) {
  grid-column: 1 / -1;
}


/* ====== 41. RELEASE SCREEN ====== */
.release-screen {
  padding: 12px 16px;
}

.release-strategy-options {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.release-strategy-option {
  flex: 1;
  padding: 16px 12px;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.release-strategy-option:hover {
  border-color: rgba(255, 215, 0, 0.3);
}

.release-strategy-option.selected {
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.08);
}

.release-strategy-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.release-strategy-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.release-strategy-desc {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
}


/* ====== 42. MEDIA / SOCIAL SCREEN ====== */
.media-screen {
  padding: 12px 16px;
}

.media-buzz-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.media-buzz-label {
  font-size: 12px;
  color: var(--text-dim);
}

.media-buzz-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--pink);
}

.social-post {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 8px;
}

.social-post-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.social-post-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
}

.social-post-username {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.social-post-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: auto;
}

.social-post-content {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
}

.social-post-stats {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}


/* ====== 43. ICON INLINE STYLES ====== */
.icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.icon-svg svg {
  width: inherit;
  height: inherit;
}

/* Icon color categories */
.icon-gold { color: var(--gold); }
.icon-pink { color: var(--pink); }
.icon-blue { color: var(--blue); }
.icon-green { color: var(--green); }
.icon-red { color: var(--red); }
.icon-purple { color: var(--purple); }


/* ====== 44. SCROLLBAR HIDE (global) ====== */
::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }


/* ====== 45. UTILITY CLASSES ====== */
.flex-row { display: flex; align-items: center; }
.flex-col { display: flex; flex-direction: column; }
.flex-1 { flex: 1; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.p-8 { padding: 8px; }
.p-12 { padding: 12px; }
.p-16 { padding: 16px; }
.w-full { width: 100%; }
.hidden { display: none; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ====== 46. CATALOG MARKETPLACE ====== */
.catalog-filters {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 5px 10px;
  font-size: 12px;
  outline: none;
}

.catalog-count {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── PUBLISHING HOUSE SCREEN (pub-*) ── */
/* Palette: light gray containers, gunmetal (#505A62) borders/fonts/waves */
.pub-screen {
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  padding: 12px 14px;
}

/* Header with music icon + title + balance */
.pub-header {
  display: flex; align-items: center; gap: 8px; padding: 6px 12px 20px; flex-shrink: 0;
  color: #8090A0;
  background: linear-gradient(180deg, rgba(11,15,26,0.95) 0%, rgba(11,15,26,0.75) 70%, transparent 100%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 10;
}
.pub-header svg { opacity: 0.8; }
.pub-title {
  font-size: 0.9rem; font-weight: 800; color: #C8CDD2; margin: 0; flex: 1;
  letter-spacing: 0.3px;
}
.pub-balance {
  font-size: 0.65rem; font-weight: 700; color: #A0AAB4;
  background: rgba(80,90,98,0.15); border: 1px solid rgba(80,90,98,0.30);
  padding: 3px 10px; border-radius: 20px;
}

/* 4-Tab Bar — gunmetal pill style */
.pub-tabs {
  display: flex; gap: 3px; padding: 0 0 8px; flex-shrink: 0;
}
.pub-tab {
  flex: 1; padding: 7px 0; border: none; border-radius: 10px; cursor: pointer;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  background: rgba(255,255,255,0.025);
  color: rgba(160,170,180,0.5);
  border: 1px solid rgba(255,255,255,0.06); border-top: 1px solid rgba(255,255,255,0.1);
  transition: all 0.18s ease;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.pub-tab svg { opacity: 0.5; transition: opacity 0.18s; }
.pub-tab-active {
  background:
    rgba(255,255,255,0.06);
  color: #C8CDD2;
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.08);
}
.pub-tab-active svg { opacity: 0.9; }

/* Scrollable body */
.pub-body {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 20px;
}
.pub-body::-webkit-scrollbar { display: none; }

/* Per-tab header (icon + title + count) */
.pub-tab-header {
  display: flex; align-items: center; gap: 6px; padding: 2px 0 8px;
  color: #8090A0;
}
.pub-tab-header h3 {
  font-size: 0.78rem; font-weight: 700; color: #C8CDD2; margin: 0; flex: 1;
}
.pub-tab-count {
  font-size: 0.75rem; font-weight: 600; color: rgba(160,170,180,0.5);
  background: rgba(255,255,255,0.04); padding: 3px 10px; border-radius: 10px;
}

/* ── Store sub-header ── */
.pub-tab-header-store h3 {
  font-size: 0.85rem; font-weight: 800; color: #B0B8C0;
  letter-spacing: 0.5px;
}
.pub-tab-header-store svg { color: #8090A0; }

/* ── Search Bar (pill, gunmetal glass) ── */
.pub-search-bar {
  position: relative; display: flex; align-items: center;
}
.pub-search-bar svg {
  position: absolute; left: 7px; color: rgba(255,255,255,0.3);
  pointer-events: none; flex-shrink: 0;
}
.pub-search-input {
  width: 100%; height: 34px; padding: 0 14px 0 28px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1); box-sizing: border-box;
  background: rgba(255,255,255,0.03); color: var(--text);
  font-size: 0.78rem; font-weight: 700; outline: none; transition: border-color 0.2s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.pub-search-input::placeholder { color: rgba(255,255,255,0.35); font-weight: 700; }
.pub-search-input:focus {
  border-color: rgba(255,215,0,0.3); background: rgba(255,255,255,0.06);
}

/* Filters */
.pub-filters {
  display: flex; flex-direction: column; gap: 5px; padding: 0 0 6px; flex-shrink: 0;
}
.pub-filter-pills { display: flex; flex-direction: column; gap: 5px; }
.pub-filter-row { display: flex; align-items: center; gap: 6px; }
.pub-genre-pills {
  display: flex; gap: 4px; overflow-x: auto; padding: 2px 0;
  -webkit-overflow-scrolling: touch; align-items: center;
}
.pub-filter-sep {
  width: 1px; height: 14px; background: rgba(255,255,255,0.1);
  flex-shrink: 0; margin: 0 2px;
}

/* Pill buttons */
.pub-pill {
  padding: 7px 12px; border-radius: 20px; font-size: 0.58rem; font-weight: 600;
  white-space: nowrap; border: 1px solid rgba(255,215,0,0.08);
  background: rgba(255,215,0,0.03); color: rgba(255,255,255,0.35);
  cursor: pointer; transition: all 0.15s; display: inline-flex; align-items: center; gap: 3px;
  box-sizing: border-box;
}
.pub-pill-sm { padding: 7px 10px; }
.pub-pill-icon { padding: 7px 8px; }
.pub-pill-active {
  background: rgba(80,90,98,0.18); color: #C8CDD2;
  border-color: rgba(255,255,255,0.12);
}
.pub-pill.genre-pop { color: #e87aab; border-color: rgba(255,105,180,0.2); }
.pub-pill.genre-pop.pub-pill-active { background: rgba(255,105,180,0.15); color: #e87aab; border-color: rgba(255,105,180,0.4); }
.pub-pill.genre-hiphop { color: #d9a040; border-color: rgba(255,165,0,0.2); }
.pub-pill.genre-hiphop.pub-pill-active { background: rgba(255,165,0,0.15); color: #d9a040; border-color: rgba(255,165,0,0.4); }
.pub-pill.genre-rnb { color: #9a80d0; border-color: rgba(139,92,246,0.2); }
.pub-pill.genre-rnb.pub-pill-active { background: rgba(139,92,246,0.15); color: #9a80d0; border-color: rgba(139,92,246,0.4); }
.pub-pill.genre-rock { color: #d06060; border-color: rgba(239,68,68,0.2); }
.pub-pill.genre-rock.pub-pill-active { background: rgba(239,68,68,0.15); color: #d06060; border-color: rgba(239,68,68,0.4); }
.pub-pill.genre-country { color: #b8a850; border-color: rgba(180,160,80,0.2); }
.pub-pill.genre-country.pub-pill-active { background: rgba(180,160,80,0.15); color: #b8a850; border-color: rgba(180,160,80,0.4); }
.pub-sort-sel {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; color: var(--text); font-size: 0.58rem; padding: 7px 8px;
  font-weight: 600; margin-left: auto;
}
.pub-sort-inline { margin-left: auto; }

/* ── Song Card — light gray + gunmetal ── */
.pub-card-list {
  display: flex; flex-direction: column; gap: 5px;
}
.pub-load-more-btn {
  display: block; width: 100%; padding: 12px; margin: 8px 0; min-height: 44px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; color: rgba(255,255,255,0.6); font-size: 0.75rem;
  font-weight: 600; cursor: pointer; text-align: center; letter-spacing: 0.5px;
}
.pub-load-more-btn:active { background: rgba(255,255,255,0.1); color: #fff; }
.pub-card {
  background: rgba(12,12,20,0.80);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 7px 10px;
  display: flex; flex-direction: column; gap: 3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: all 0.15s;
}
.pub-card:hover { border-color: rgba(80,90,98,0.40); }
.pub-card-owned { border-color: rgba(34,197,94,0.2); }
.pub-card-locked { opacity: 0.6; }
.pub-card-rec {
  border-color: rgba(80,90,98,0.45) !important;
  box-shadow: 0 0 10px rgba(80,90,98,0.12), 0 2px 6px rgba(0,0,0,0.20);
  animation: pub-glow 2.5s ease-in-out infinite alternate;
}
@keyframes pub-glow {
  0% { box-shadow: 0 0 8px rgba(80,90,98,0.10), 0 2px 6px rgba(0,0,0,0.20); }
  100% { box-shadow: 0 0 14px rgba(80,90,98,0.20), 0 2px 6px rgba(0,0,0,0.20); }
}

.pub-card-top { display: flex; align-items: center; gap: 6px; }
.pub-card-title {
  flex: 1; font-size: 0.82rem; font-weight: 800; color: #E2E6EA;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pub-card-chips { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }

/* Genre pill */
.pub-genre-pill {
  font-size: 0.75rem; font-weight: 800; padding: 4px 9px; border-radius: 10px;
  text-transform: uppercase; letter-spacing: 0.3px;
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.40);
  border: 1px solid rgba(255,255,255,0.06);
}
.pub-genre-pill.genre-pop { background: linear-gradient(rgba(0,0,0,0.45),rgba(0,0,0,0.45)),rgba(255,105,180,0.25); color: #e87aab; border-color: rgba(255,105,180,0.25); }
.pub-genre-pill.genre-hiphop { background: linear-gradient(rgba(0,0,0,0.45),rgba(0,0,0,0.45)),rgba(255,165,0,0.25); color: #d9a040; border-color: rgba(255,165,0,0.25); }
.pub-genre-pill.genre-rock { background: linear-gradient(rgba(0,0,0,0.45),rgba(0,0,0,0.45)),rgba(239,68,68,0.25); color: #d06060; border-color: rgba(239,68,68,0.25); }
.pub-genre-pill.genre-rnb { background: linear-gradient(rgba(0,0,0,0.45),rgba(0,0,0,0.45)),rgba(139,92,246,0.25); color: #9a80d0; border-color: rgba(139,92,246,0.25); }
.pub-genre-pill.genre-country { background: linear-gradient(rgba(0,0,0,0.45),rgba(0,0,0,0.45)),rgba(180,160,80,0.25); color: #b8a850; border-color: rgba(180,160,80,0.25); }

/* Chips */
.pub-chip {
  font-size: 0.75rem; font-weight: 700; padding: 4px 8px; border-radius: 6px;
  border: 1px solid rgba(80,90,98,0.20); cursor: default;
  display: inline-flex; align-items: center; gap: 3px;
  color: rgba(160,170,180,0.55);
}
.pub-chip-gender { background: rgba(255,255,255,0.025); }
.pub-gender-male { color: #60a5fa; border-color: rgba(96,165,250,0.25); background: rgba(96,165,250,0.10); }
.pub-gender-female { color: #f472b6; border-color: rgba(244,114,182,0.25); background: rgba(244,114,182,0.10); }
.pub-pill.gender-male { color: #60a5fa; border-color: rgba(96,165,250,0.2); }
.pub-pill.gender-male.pub-pill-active { background: rgba(96,165,250,0.15); color: #60a5fa; border-color: rgba(96,165,250,0.4); }
.pub-pill.gender-female { color: #f472b6; border-color: rgba(244,114,182,0.2); }
.pub-pill.gender-female.pub-pill-active { background: rgba(244,114,182,0.15); color: #f472b6; border-color: rgba(244,114,182,0.4); }
.pub-chip-play {
  background: rgba(80,90,98,0.15); color: #A0AAB4;
  border-color: rgba(80,90,98,0.35); cursor: pointer; transition: all 0.12s;
}
.pub-chip-play:hover { background: rgba(80,90,98,0.25); color: #C8CDD2; }
.pub-chip-owned {
  background: rgba(34,197,94,0.10); color: #4ade80; border-color: rgba(34,197,94,0.20);
}
.pub-chip-lock {
  background: rgba(200,50,50,0.08); color: #c06060; border-color: rgba(200,50,50,0.15);
}
.pub-chip-recording {
  background: rgba(251,191,36,0.12); color: #fbbf24; border-color: rgba(251,191,36,0.25);
  animation: pub-recording-pulse 1.5s ease-in-out infinite;
}
/* Card-level recording state — dims card and blocks interaction */
.pub-card-recording {
  opacity: 0.6; pointer-events: none; position: relative;
}
.pub-recording-banner {
  display: flex; align-items: center; gap: 6px; justify-content: center;
  padding: 4px 0; margin-bottom: 4px;
  font-size: 0.72rem; font-weight: 800; color: #fbbf24;
  text-transform: uppercase; letter-spacing: 1px;
  animation: pub-recording-pulse 1.5s ease-in-out infinite;
}
.pub-recording-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ef4444;
  animation: pub-recording-dot-blink 1s ease-in-out infinite;
}
@keyframes pub-recording-dot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
@keyframes pub-recording-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.pub-chip-sell {
  background: rgba(239,68,68,0.1); color: rgba(239,68,68,0.7);
  border-color: rgba(239,68,68,0.2); cursor: pointer; transition: all 0.12s;
  font-size: 10px;
}
.pub-chip-sell:hover { background: rgba(239,68,68,0.25); color: #f87171; }
.pub-chip-toggle {
  background: rgba(255,255,255,0.025); color: rgba(160,170,180,0.5);
  cursor: pointer; transition: all 0.12s;
}
.pub-chip-toggle:hover { background: rgba(80,90,98,0.20); color: #C8CDD2; }
.pub-release-btn {
  background: rgba(34,197,94,0.08); color: rgba(34,197,94,0.6);
  border-color: rgba(34,197,94,0.20); cursor: pointer;
}
.pub-release-btn:hover {
  background: rgba(34,197,94,0.15); color: #4ade80;
  border-color: rgba(34,197,94,0.35);
}

/* Price button */
.pub-price-btn {
  margin-left: auto; flex-shrink: 0;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.3px;
  padding: 4px 10px; border-radius: 8px; cursor: pointer;
  color: #C8CDD2;
  background:
    linear-gradient(180deg,
      rgba(80,90,98,0.30) 0%,
      rgba(60,68,76,0.18) 50%,
      rgba(40,45,50,0.25) 100%);
  border: 1px solid rgba(80,90,98,0.40);
  border-top-color: rgba(160,170,180,0.20);
  border-bottom-color: rgba(30,35,40,0.30);
  box-shadow: 0 2px 5px rgba(0,0,0,0.25), inset 0 1px 0 rgba(200,210,220,0.06), inset 0 -1px 0 rgba(0,0,0,0.10);
  transition: all 0.12s;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.pub-price-btn:hover:not([disabled]) {
  box-shadow: 0 3px 8px rgba(0,0,0,0.3), 0 0 8px rgba(80,90,98,0.10);
  transform: translateY(-1px); color: #fff;
}
.pub-price-btn:active:not([disabled]) { transform: translateY(1px) scale(0.97); }
.pub-price-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.pub-price-no-afford { opacity: 0.55; }

/* Waveform — gunmetal, interactive seek */
.pub-card-wave { height: 16px; opacity: 0.6; overflow: hidden; }
.pub-card-wave svg { width: 100%; height: 100%; display: block; color: #505A62; }
.pub-wave-seek {
  position: relative; cursor: pointer; border-radius: 4px;
  transition: opacity 0.2s;
}
.pub-wave-seek:hover { opacity: 1; }
.pub-wave-seek[data-audio-url] { cursor: pointer; }
.pub-wave-seek:not([data-audio-url]) { cursor: default; }
.pub-wave-progress {
  position: absolute; top: 0; left: 0; bottom: 0; width: 0%;
  background: rgba(200,164,78,0.25);
  border-radius: 4px 0 0 4px;
  pointer-events: none; z-index: 1;
  transition: none;
}
.pub-wave-bars { position: relative; z-index: 2; pointer-events: none; }
.pub-wave-active { opacity: 1; }
.pub-wave-active .pub-wave-progress {
  border-right: 2px solid #c8a44e;
}

/* Stat bars */
.pub-card-stats { display: flex; gap: 8px; }
.pub-stat { flex: 1; display: flex; align-items: center; gap: 3px; }
.pub-stat-lbl {
  font-size: 0.65rem; font-weight: 800; color: rgba(128,144,160,0.6);
  width: 24px; text-transform: uppercase;
}
.pub-bar {
  flex: 1; height: 3px; background: rgba(80,90,98,0.15); border-radius: 2px; overflow: hidden;
}
.pub-bar-fill {
  height: 100%; border-radius: 2px; transition: width 0.3s;
  background: linear-gradient(90deg, rgba(80,90,98,0.50) 0%, rgba(128,144,160,0.70) 100%);
}
.pub-stat-val {
  font-size: 0.7rem; font-weight: 800; color: rgba(160,170,180,0.75); width: 18px; text-align: right;
}

.pub-rec-tag {
  font-size: 0.75rem; font-weight: 800; color: #C0C8D0;
  padding: 2px 0; letter-spacing: 0.2px;
}
.pub-locked-msg {
  font-size: 0.65rem; color: rgba(160,170,180,0.5); text-align: center;
  padding: 2px 0; font-style: italic;
}

/* Card actions (library) */
.pub-card-actions { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.pub-assign-sel {
  flex: 1; min-width: 0;
  background: rgba(255,215,0,0.04); border: 1px solid rgba(255,215,0,0.08);
  border-radius: 6px; color: var(--text); font-size: 0.72rem; padding: 4px 8px;
}
.pub-assigned {
  font-size: 0.7rem; font-weight: 700; color: #B0B8C0;
  background: rgba(80,90,98,0.12); border: 1px solid rgba(255,255,255,0.06);
  padding: 2px 8px; border-radius: 6px;
}

/* ── Artist Row on Library Cards ── */
.pub-card-artist-row {
  display: flex; align-items: center; gap: 5px; margin: 2px 0 0;
}
.pub-card-artist-thumb {
  width: 18px; height: 18px; border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(80,90,98,0.35); flex-shrink: 0;
}
.pub-card-artist-initials {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(80,90,98,0.20); color: #A0AAB4;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.3px;
}
.pub-card-artist-name {
  font-size: 0.78rem; font-weight: 700; color: #C0C8D0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pub-card-unassigned {
  color: rgba(255,255,255,0.3); font-style: italic;
}

/* ── Library Filters ── */
.lib-filters { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.lib-search-bar { margin: 0; }
.lib-filter-row {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap;
}
.lib-toggles { display: flex; gap: 4px; flex-wrap: wrap; }
.lib-toggle {
  display: flex; align-items: center; gap: 3px;
  padding: 7px 8px; border-radius: 14px; border: 1px solid rgba(255,215,0,0.08);
  background: rgba(255,215,0,0.04); color: rgba(255,255,255,0.4);
  font-size: 0.58rem; font-weight: 600; cursor: pointer; transition: all 0.15s;
}
.lib-toggle:hover { border-color: rgba(80,90,98,0.3); color: rgba(255,255,255,0.6); }
.lib-toggle-on {
  background: rgba(80,90,98,0.20); color: #C8CDD2;
  border-color: rgba(255,255,255,0.12);
}
.lib-sort-group { display: flex; gap: 2px; }
.lib-sort-pill {
  padding: 7px 8px; border-radius: 10px; border: 1px solid rgba(255,215,0,0.06);
  background: rgba(255,215,0,0.03); color: rgba(255,255,255,0.35);
  font-size: 0.58rem; font-weight: 600; cursor: pointer; transition: all 0.15s;
}
.lib-sort-pill:hover { color: rgba(255,255,255,0.55); }
.lib-sort-active {
  background: rgba(80,90,98,0.18); color: #C8CDD2;
  border-color: rgba(80,90,98,0.40);
}
.lib-artist-pills {
  display: flex; gap: 4px; flex-wrap: wrap; padding-top: 2px;
}
.lib-artist-pill {
  display: flex; align-items: center; gap: 4px;
  padding: 3px 8px; border-radius: 14px; border: 1px solid rgba(255,215,0,0.08);
  background: rgba(255,215,0,0.04); color: rgba(255,255,255,0.4);
  font-size: 0.65rem; font-weight: 700; cursor: pointer; transition: all 0.15s;
}
.lib-artist-pill:hover { border-color: rgba(200,164,78,0.2); color: rgba(255,255,255,0.6); }
.lib-artist-active {
  background: rgba(200,164,78,0.15); color: var(--gold-light, #e0c060);
  border-color: rgba(200,164,78,0.35);
}
.lib-artist-pill-img {
  width: 14px; height: 14px; border-radius: 50%; object-fit: cover;
  border: 1px solid rgba(200,164,78,0.2);
}

.pub-empty {
  font-size: 0.68rem; color: rgba(255,255,255,0.30); text-align: center; padding: 28px 0;
}

/* ── Buy Modal ── */
.pub-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
}
.pub-modal {
  background: linear-gradient(180deg, rgba(40,38,45,0.98) 0%, rgba(22,20,28,0.99) 100%);
  border: 1px solid rgba(200,164,78,0.20);
  border-radius: 16px; padding: 24px; width: 280px; text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45), 0 0 20px rgba(200,164,78,0.06);
}
.pub-modal-title {
  font-size: 0.8rem; font-weight: 800; color: var(--gold, #c8a44e);
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
}
.pub-modal-song { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.pub-modal-details { display: flex; justify-content: center; gap: 6px; margin-bottom: 12px; }
.pub-modal-stats { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.pub-modal-price { font-size: 1.2rem; font-weight: 900; color: var(--gold-light, #e0c060); margin-bottom: 4px; }
.pub-modal-bal { font-size: 0.6rem; color: rgba(255,255,255,0.30); margin-bottom: 4px; }
.pub-modal-warn { font-size: 0.6rem; color: #c06060; font-weight: 700; margin-bottom: 8px; }
.pub-modal-btns { display: flex; gap: 8px; margin-top: 12px; }
.pub-btn-confirm {
  flex: 1; padding: 10px; border-radius: 10px; border: none; cursor: pointer;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  background: linear-gradient(135deg, rgba(200,164,78,0.25) 0%, rgba(160,120,50,0.15) 100%);
  color: var(--gold-light, #e0c060); border: 1px solid rgba(200,164,78,0.30);
  transition: all 0.15s;
}
.pub-btn-confirm:hover:not([disabled]) { background: rgba(200,164,78,0.30); }
.pub-btn-confirm:disabled { opacity: 0.35; cursor: not-allowed; }
.pub-btn-cancel {
  flex: 1; padding: 10px; border-radius: 10px; border: none; cursor: pointer;
  font-size: 0.72rem; font-weight: 600;
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.06); transition: all 0.15s;
}
.pub-btn-cancel:hover { background: rgba(255,255,255,0.08); }

/* ── Section titles (Packaging) ── */
.pub-section { margin-bottom: 14px; }
.pub-section-title { font-size: 0.72rem; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.pub-section-hint { font-size: 0.78rem; font-weight: 400; color: rgba(255,255,255,0.30); }

/* Package selector rows */
.pub-pkg-selector { display: flex; flex-direction: column; gap: 3px; }
.pub-pkg-row {
  display: flex; align-items: center; gap: 6px; padding: 5px 8px;
  background: rgba(12,12,20,0.70); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; font-size: 0.72rem; color: var(--text); cursor: pointer;
  transition: all 0.12s;
}
.pub-pkg-row:hover { background: rgba(255,255,255,0.04); }
.pub-pkg-sel { border-color: rgba(200,164,78,0.25); background: rgba(200,164,78,0.04); }
.pub-pkg-row input[type="checkbox"] { accent-color: #c8a44e; width: 20px; height: 20px; }
.pub-pkg-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.pub-pkg-str { font-size: 0.75rem; color: rgba(255,255,255,0.30); flex-shrink: 0; }
.pub-pkg-warn {
  font-size: 0.58rem; color: #c06060; padding: 4px 8px; margin-top: 4px;
  background: rgba(200,50,50,0.06); border-radius: 6px;
}

/* Artist groups */
.pub-pkg-group { margin-bottom: 8px; }
.pub-pkg-artist {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 8px 3px; margin-bottom: 3px;
  border-bottom: 1px solid rgba(200,164,78,0.12);
}
.pub-pkg-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0; border: 1px solid rgba(200,164,78,0.25);
}
.pub-pkg-initials {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(200,164,78,0.10); color: var(--gold, #c8a44e);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 800; flex-shrink: 0;
}
.pub-pkg-label { font-size: 0.78rem; font-weight: 700; color: var(--gold-light, #e0c060); }
.pub-pkg-count { font-weight: 400; color: rgba(255,255,255,0.30); margin-left: 4px; }

/* Released albums */
.pub-album-list { display: flex; flex-direction: column; gap: 8px; }
.pub-album {
  display: flex; gap: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; padding: 10px; overflow: hidden; transition: border-color 0.15s;
}
.pub-album:hover { border-color: rgba(200,164,78,0.15); }
.pub-album-art {
  width: 60px; height: 60px; border-radius: 8px; flex-shrink: 0;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.pub-album-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.pub-album-init { font-size: 1.4rem; font-weight: 900; color: rgba(255,255,255,0.4); position: relative; z-index: 1; }
.pub-album-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pub-album-top { display: flex; align-items: center; gap: 6px; }
.pub-album-name {
  font-size: 0.7rem; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pub-album-badge {
  font-size: 0.6rem; font-weight: 800; padding: 2px 6px;
  border-radius: 4px; text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0;
}
.pub-badge-ep { background: rgba(168,85,247,0.30); color: #c084fc; }
.pub-badge-lp { background: rgba(59,130,246,0.30); color: #60a5fa; }
.pub-album-artist { font-size: 0.56rem; color: rgba(255,255,255,0.30); }
.pub-album-tracks { margin-top: 3px; padding: 3px 0; border-top: 1px solid rgba(255,255,255,0.04); }
.pub-album-track { display: flex; align-items: center; gap: 4px; padding: 2px 0; font-size: 0.78rem; }
.pub-track-n { color: rgba(255,255,255,0.25); width: 14px; text-align: right; flex-shrink: 0; }
.pub-track-t { color: var(--text); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pub-album-info { display: flex; gap: 8px; margin-top: 3px; font-size: 0.75rem; color: rgba(255,255,255,0.30); }
.pub-album-info span { display: flex; align-items: center; gap: 2px; }

/* ── Absorbed EP styling ── */
.pub-album-absorbed { opacity: 0.5; }
.pub-album-absorbed .pub-album-art { filter: grayscale(0.5); }
.pub-absorbed-badge {
  font-size: 0.5rem; font-weight: 800; padding: 2px 5px;
  border-radius: 3px; text-transform: uppercase; letter-spacing: 0.5px;
  background: rgba(255,165,0,0.15); color: #F59E0B; flex-shrink: 0;
}
.pub-absorbed-lp-name {
  font-size: 0.55rem; color: rgba(255,165,0,0.5); font-style: italic;
}
.pub-convert-sublabel {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  padding: 6px 4px 2px; margin-top: 4px;
}
.pub-convert-ep-row .pub-pkg-name { font-weight: 700; }

/* ── Bundle Cards (EP/LP in Library) ── */
.pub-card-bundle {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 10px 12px;
}
.pub-card-bundle:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.10); }
.pub-card-row { display: flex; align-items: center; gap: 8px; }
.pub-bundle-title {
  font-size: 0.72rem; font-weight: 700; color: #f3f4f6;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1;
}

/* ── Message Option Buttons ── */
.pub-preview-btn {
  cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.1s;
}
.pub-preview-btn:hover { background: rgba(200,164,78,0.18); color: var(--gold, #c8a44e); }
.pub-preview-btn:active { transform: scale(0.92); }

.pub-price-click {
  cursor: pointer; transition: background 0.15s, transform 0.1s;
}
.pub-price-click:hover:not([disabled]) { background: rgba(200,164,78,0.22); }
.pub-price-click:active:not([disabled]) { transform: translateY(1px) scale(0.97); }
.pub-price-click:disabled { opacity: 0.35; cursor: not-allowed; }

.pub-toggle-btn {
  cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.1s;
}
.pub-toggle-btn:hover { background: rgba(80,200,120,0.18); color: #80d0a0; }
.pub-toggle-btn:active { transform: scale(0.95); }

/* ── Packs Tab ── */
.pub-packs-info { margin-bottom: 10px; }
.pub-packs-info p { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin: 3px 0 10px; line-height: 1.4; }
.pub-packs-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pub-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.03); padding: 4px 10px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
}
.pub-pack-list { display: flex; flex-direction: column; gap: 3px; max-height: 360px; overflow-y: auto; }
.pub-packs-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.pub-packs-ct { font-size: 0.78rem; font-weight: 700; color: var(--gold, #c8a44e); }
.pub-packs-hint { font-size: 0.75rem; color: rgba(255,255,255,0.25); font-style: italic; }

/* ── Artist Detail Discography ── */
.ad-discography .ad-song-list { display: flex; flex-direction: column; gap: 3px; }
.ad-song-check {
  display: flex; align-items: center; gap: 8px; padding: 6px 10px;
  border-radius: 8px; cursor: pointer; background: rgba(255,255,255,0.04);
}
.ad-song-check input[type="checkbox"] { accent-color: var(--gold); width: 14px; height: 14px; }
.ad-song-bundled {
  font-size: 0.5rem; font-weight: 700; padding: 1px 5px; border-radius: 4px;
  background: rgba(139,92,246,0.15); color: #8B5CF6;
}
.status-released { background: rgba(34,197,94,0.12); color: #4ade80; border-color: rgba(34,197,94,0.2); }
.status-charting { background: rgba(255,215,0,0.12); color: #FFD700; border-color: rgba(255,215,0,0.2); font-weight: 800; }
.status-unreleased { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.4); border-color: rgba(255,255,255,0.08); }
.status-unreleased.release-tap { cursor: pointer; border-style: dashed; }
.status-recording { background: rgba(245,158,11,0.12); color: #fbbf24; border-color: rgba(245,158,11,0.2); }
.status-active { color: #3B82F6; }

/* Keep old classes for other screens that still use them */
.catalog-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 20px;
}

.song-chips {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 4px 0;
}

.chip {
  font-size: 9px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.chip-vocal { background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 180, 220, 0.06)); color: var(--blue); border-color: rgba(0, 212, 255, 0.2); }
.chip-mood { background: linear-gradient(135deg, rgba(255, 20, 147, 0.15), rgba(255, 105, 180, 0.06)); color: var(--pink); border-color: rgba(255, 20, 147, 0.2); }
.chip-tempo { background: linear-gradient(135deg, rgba(179, 136, 255, 0.15), rgba(150, 100, 230, 0.06)); color: var(--purple); border-color: rgba(179, 136, 255, 0.2); }
.chip-gender { background: linear-gradient(135deg, rgba(192, 192, 200, 0.12), rgba(160, 160, 170, 0.05)); color: var(--text-dim); border-color: rgba(192, 192, 200, 0.15); }

.song-stats-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 4px 0;
}

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

.bar-label {
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  width: 24px;
  text-transform: uppercase;
}

.bar-val {
  font-size: 10px;
  font-weight: 700;
  color: var(--text);
  width: 22px;
  text-align: right;
}

.song-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
  margin: 2px 0;
}

/* ── Song Metadata (AI Insights) ── */
.song-metadata-section {
  margin: 6px 0;
  padding: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}
.song-metadata-section .metadata-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0 0 4px;
}
.song-metadata-section .metadata-production {
  font-size: 10px;
  color: var(--text-muted);
  margin: 0 0 6px;
}
.song-metadata-section .metadata-similar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.similar-artist-badge {
  display: inline-block;
  padding: 2px 7px;
  background: rgba(139,92,246,0.2);
  border: 1px solid rgba(139,92,246,0.35);
  border-radius: 10px;
  font-size: 10px;
  color: #C4B5FD;
}
.song-metadata-section .metadata-bestfor {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 4px;
}
.bestfor-tag {
  display: inline-block;
  padding: 2px 7px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 10px;
  font-size: 10px;
  color: #86EFAC;
}
.song-metadata-section .metadata-theme {
  font-size: 10px;
  color: var(--text-muted);
  margin: 2px 0;
}
.song-metadata-section .metadata-review {
  font-size: 10px;
  font-style: italic;
  color: var(--gold);
  margin: 2px 0;
}
.song-metadata-section .metadata-radio {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}
.metadata-radio .radio-reason {
  font-size: 9px;
  opacity: 0.7;
}
.generate-metadata-btn {
  font-size: 10px;
  margin: 4px 0;
  opacity: 0.85;
}
.generate-metadata-btn:hover {
  opacity: 1;
}

.song-card-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.song-price {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold);
  background: rgba(255,215,0,0.08);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255,215,0,0.15);
}

.was-price s {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.song-fans {
  font-size: 10px;
  color: var(--text-muted);
}

.preview-btn {
  margin-top: 4px;
  font-size: 11px;
  padding: 3px 10px;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.preview-btn svg { display: inline-block; vertical-align: middle; }

/* Inventory cards */
.inventory-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inventory-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 12px;
}

.inventory-card.active-song {
  border-color: rgba(0, 230, 118, 0.2);
}

.inventory-card.inactive-song {
  opacity: 0.75;
}

.status-badge {
  font-size: 8px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.status-active { background: rgba(0, 230, 118, 0.2); color: var(--green); }
.status-inactive { background: rgba(255, 255, 255, 0.06); color: var(--text-muted); }

.inventory-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}

.assign-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.assign-row label {
  font-size: 11px;
  color: var(--text-muted);
}

.assign-select {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 4px 8px;
  font-size: 12px;
}

.assigned-label {
  font-size: 11px;
  color: var(--blue);
}

.toggle-row {
  display: flex;
  justify-content: flex-end;
}

/* ====== 47. ADVISOR HINTS ====== */
.advisor-hints-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0;
}

.advisor-hint {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(255, 215, 0, 0.04));
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.hint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.hint-role {
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hint-dismiss {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.6;
}

.hint-dismiss:hover { opacity: 1; }

.hint-text {
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
}

/* ====== 48. SCHEDULE SCREEN (Glassmorphism) ====== */

.sched-screen {
  display: flex; flex-direction: column; height: 100%;
  background: transparent;
  padding: 0; position: relative; overflow: hidden;
}
.sched-label-watermark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  font-size: 4rem; font-weight: 900; text-transform: uppercase;
  color: rgba(255,215,0,0.03); white-space: nowrap; pointer-events: none;
  z-index: 0; letter-spacing: 0.08em; user-select: none;
}
/* Schedule header ticker */
.sched-ticker-wrap {
  overflow: hidden; flex: 1; min-width: 0; margin-left: 6px;
}
.sched-ticker-text {
  display: inline-block; white-space: nowrap;
  font-size: 0.65rem; color: rgba(255,255,255,0.35); font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
  animation: sched-ticker-scroll 10.4s linear infinite;
}
@keyframes sched-ticker-scroll {
  0%   { transform: translateX(0); opacity: 1; }
  35%  { transform: translateX(0); opacity: 1; }
  50%  { transform: translateX(-100%); opacity: 0; }
  51%  { transform: translateX(100%); opacity: 0; }
  65%  { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(0); opacity: 1; }
}
.sched-header {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 16px 8px; position: sticky; top: 0; z-index: 10;
  background: linear-gradient(180deg, rgba(11,15,26,0.95) 0%, rgba(11,15,26,0.75) 70%, transparent 100%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: none;
}
.sched-header-title { flex: 1; min-width: 0; }
.sched-header-name {
  font-size: 1.1rem; font-weight: 800; margin: 0; letter-spacing: -0.3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(180deg, #f0f0f0 0%, #a8a8a8 50%, #d0d0d0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sched-header-row { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.sched-header-row .sched-header-name { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sched-office-tag {
  font-size: 0.65rem; font-weight: 500; white-space: nowrap; flex-shrink: 0;
  background: linear-gradient(180deg, #c0c0c0 0%, #808080 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sched-header-sub {
  font-size: 0.7rem; font-weight: 800; margin-top: 2px; letter-spacing: 0.5px; text-transform: uppercase;
  background: linear-gradient(180deg, #c0c0c0 0%, #888888 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sched-header svg { filter: brightness(0) invert(0.75); }
.sched-slots-row { display: none; }
.sched-slots-badge { font-size: 0.7rem; font-weight: 800; color: #fff; background: rgba(74,74,85,0.4); padding: 3px 10px; border-radius: 10px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sched-slots-badge.sched-slots-right { margin-left: auto; background: rgba(255,215,0,0.12); color: #FFD700; border: 1px solid rgba(255,215,0,0.2); }
.sched-rep-pill { font-size: 0.7rem; font-weight: 700; color: #FFD700; background: rgba(255,215,0,0.08); padding: 4px 12px; border-radius: 10px; border: 1px solid rgba(255,215,0,0.15); flex-shrink: 0; text-shadow: 0 0 10px rgba(255,215,0,0.2); }
/* Consumer Mood panel */
.sched-mood-panel { display: flex; align-items: center; gap: 8px; padding: 3px 14px; flex-shrink: 0; }
.mood-title { font-size: 0.65rem; font-weight: 800; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.6px; white-space: nowrap; }
.mood-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.mood-chip { font-size: 0.65rem; font-weight: 600; padding: 2px 8px; border-radius: 8px; border: 1px solid; white-space: nowrap; }
.mood-chip b { font-weight: 800; }
.mood-chip small { opacity: 0.7; font-size: 0.6rem; }
/* Investor Challenge banner */
.ic-banner { padding: 6px 14px; flex-shrink: 0; }
.ic-banner-header { display: flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 800; color: #F59E0B; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.ic-banner-header svg { color: #F59E0B; }
.ic-cards { display: flex; flex-direction: column; gap: 6px; }
.ic-card { background: rgba(30,25,10,0.80); border: 1px solid rgba(245,158,11,0.25); border-radius: 12px; padding: 10px 12px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ic-card.ic-active { background: rgba(10,30,15,0.80); border-color: rgba(34,197,94,0.25); }
.ic-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.ic-diff { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.5px; }
.ic-badge-active { font-size: 0.6rem; font-weight: 800; color: #22C55E; letter-spacing: 0.5px; }
.ic-name { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.ic-desc { font-size: 0.7rem; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.ic-reward { font-size: 0.7rem; color: #F59E0B; margin-bottom: 6px; }
.ic-reward b { color: #FFD700; }
.ic-actions { display: flex; gap: 8px; }
/* Compact opportunity lines (endorsements + investor challenges) */
.sched-opp-lines { display: flex; flex-direction: column; gap: 2px; padding: 2px 14px; flex-shrink: 0; }
.sched-opp-line {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 8px;
  background: rgba(18,18,28,0.7); border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.7rem; color: rgba(255,255,255,0.7);
}
.sched-opp-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sched-opp-text b { color: #fff; }
.sched-opp-btn {
  flex-shrink: 0; padding: 8px 14px; border-radius: 8px; font-size: 0.68rem; font-weight: 800;
  min-height: 36px; min-width: 60px;
  border: 1px solid rgba(255,215,0,0.3); background: rgba(255,215,0,0.08); color: #ffd700;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.3px;
}
.sched-opp-btn:hover { background: rgba(255,215,0,0.15); }
.sched-opp-btn-dim { background: transparent; border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.3); }
.sched-opp-btn-dim:hover { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.5); }
.sched-opp-btn-gold { background: rgba(255,215,0,0.18); border-color: rgba(255,215,0,0.45); color: #FFD700; }
.sched-opp-btn.ic-accept-btn { background: rgba(34,197,94,0.22); border-color: rgba(34,197,94,0.5); color: #4ade80; }
.sched-opp-btn.ic-accept-btn:hover { background: rgba(34,197,94,0.35); }

.sched-body { flex: 1; overflow-y: auto; padding: 4px 14px 32px; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.sched-section-header-row { display: flex; align-items: center; gap: 8px; padding-bottom: 2px; margin: 0 0 4px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.sched-section-dot { width: 8px; height: 8px; border-radius: 50%; background: #FFD700; box-shadow: 0 0 6px #FFD700; }
.sched-section-label { flex: 1; margin: 0; font-size: 0.78rem; font-weight: 800; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.8px; }
.sched-artist-list { display: flex; flex-direction: column; gap: 6px; }
.sched-artist-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; cursor: pointer; background: rgba(18,18,28,0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.10); border-top: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 10px 10px 10px 16px; transition: all 0.25s ease; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 8px rgba(0,0,0,0.3); animation: endo-cardIn 0.35s ease-out both; }
.sched-artist-list .sched-artist-card:nth-child(1) { animation-delay: 0s; }
.sched-artist-list .sched-artist-card:nth-child(2) { animation-delay: 0.06s; }
.sched-artist-list .sched-artist-card:nth-child(3) { animation-delay: 0.12s; }
.sched-artist-list .sched-artist-card:nth-child(4) { animation-delay: 0.18s; }
.sched-artist-list .sched-artist-card:nth-child(5) { animation-delay: 0.24s; }
.sched-artist-list .sched-artist-card:nth-child(6) { animation-delay: 0.30s; }
.sched-artist-list .sched-artist-card:nth-child(7) { animation-delay: 0.36s; }
.sched-artist-list .sched-artist-card:nth-child(8) { animation-delay: 0.42s; }
.sched-artist-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 14px 0 0 14px; background: var(--artist-color, rgba(255,255,255,0.15)); transition: background 0.2s; }
.sched-artist-card:hover { border-color: rgba(255,255,255,0.16); background: rgba(22,22,34,0.85); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.sched-artist-card:active { transform: translateY(0) scale(0.98); }
.sched-artist-selected { border-color: rgba(255,215,0,0.25); background: rgba(11,15,26,0.80); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 4px 20px rgba(255,215,0,0.08); flex-wrap: wrap; }
.sched-artist-selected::before { background: var(--artist-color, #FFD700); box-shadow: 0 0 8px var(--artist-color, #FFD700); }
.sched-artist-portrait { width: 55px; height: 55px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: transform 0.2s; }
.sched-artist-card:hover .sched-artist-portrait { transform: scale(1.05); }
.sched-artist-selected .sched-artist-portrait { border-color: rgba(255,215,0,0.3); }
.sched-artist-img { width: 100%; height: 100%; object-fit: cover; }
.sched-artist-initials { font-size: 1.0rem; font-weight: 700; color: rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.sched-artist-info { flex: 1; min-width: 0; }
.sched-artist-name-row { display: flex; align-items: center; gap: 8px; }
.sched-artist-name { font-size: 1.06rem; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.2px; line-height: 1.2; }
.sched-artist-stats { display: flex; gap: 4px; margin-top: 5px; flex-wrap: nowrap; align-items: center; overflow: hidden; }
.sched-stat { display: inline-flex; align-items: center; gap: 2px; font-size: 0.72rem; font-weight: 700; padding: 3px 6px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); line-height: 1; letter-spacing: 0.2px; white-space: nowrap; flex-shrink: 0; }
.sched-stat svg { flex-shrink: 0; opacity: 0.85; }
.sched-task-count { display: block; font-size: 0.78rem; color: #FFD700; font-weight: 600; margin-top: 2px; text-shadow: 0 0 10px rgba(255,215,0,0.2); }
.sched-task-limit-reached { color: #EF4444 !important; text-shadow: 0 0 10px rgba(239,68,68,0.2) !important; }
.sched-selected-indicator { color: #FFD700; flex-shrink: 0; }
.sched-task-panel { background: rgba(11,15,26,0.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.08); border-top: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
.sched-task-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.sched-task-artist-name { font-size: 0.85rem; font-weight: 800; color: #FFD700; text-shadow: 0 0 10px rgba(255,215,0,0.2); }
.sched-remaining { font-size: 0.75rem; color: #22C55E; font-weight: 700; text-shadow: 0 0 10px rgba(34,197,94,0.2); }
.sched-no-slots { font-size: 0.75rem; color: rgba(255,255,255,0.35); text-align: center; padding: 12px; }
.sched-task-list { display: flex; flex-direction: column; gap: 6px; }
.sched-task-item { border-radius: 14px; overflow: hidden; transition: all 0.15s; }
.sched-task-btn { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; cursor: pointer; background: rgba(11,15,26,0.40); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,215,0,0.10); border-top: 1px solid rgba(255,215,0,0.15); border-radius: 14px; padding: 10px 12px; transition: all 0.25s ease; box-shadow: inset 0 1px 0 rgba(255,215,0,0.06); }
.sched-task-btn:hover, .sched-task-btn:active { border-color: rgba(255,215,0,0.20); background: rgba(11,15,26,0.75); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.sched-task-btn:active { transform: scale(0.97); }
.sched-task-expanded .sched-task-btn { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom-color: transparent; border-color: rgba(255,215,0,0.2); background: rgba(11,15,26,0.75); }
.sched-task-icon { font-size: 1rem; flex-shrink: 0; }
.sched-task-label { font-size: 0.78rem; font-weight: 700; color: var(--text); flex-shrink: 0; }
.sched-skill-badge { font-size: 0.6rem; font-weight: 800; flex-shrink: 0; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,0.04); border: 1px solid currentColor; opacity: 0.9; }
.sched-task-desc { font-size: 0.6rem; color: rgba(255,255,255,0.35); flex: 1; font-weight: 600; }
.sched-task-arrow { font-size: 0.6rem; color: rgba(255,255,255,0.35); flex-shrink: 0; }
.sched-tier-list { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px 10px; background: rgba(11,15,26,0.80); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.08); border-top: none; border-bottom-left-radius: 14px; border-bottom-right-radius: 14px; }
.sched-tier-btn { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 3px; width: 100%; text-align: left; cursor: pointer; background: rgba(255,255,255,0.025); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.06); border-top: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 12px 14px 12px 18px; transition: all 0.25s ease; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.3px; }
.sched-tier-btn::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 12px 0 0 12px; }
/* Silver tier */
.sched-tier-silver { border-color: rgba(192,192,210,0.10); background: linear-gradient(135deg, rgba(192,192,210,0.04) 0%, rgba(192,192,210,0.01) 100%); }
.sched-tier-silver::before { background: rgba(192,192,210,0.5); }
.sched-tier-silver:hover:not(:disabled) { border-color: rgba(192,192,210,0.25); box-shadow: 0 4px 20px rgba(192,192,210,0.08); }
.sched-tier-silver .sched-tier-label { color: #C0C0D2; }
.sched-tier-silver .sched-tier-cost { color: #C0C0D2; text-shadow: 0 0 8px rgba(192,192,210,0.2); }
/* Gold tier */
.sched-tier-gold { border-color: rgba(255,215,0,0.12); background: linear-gradient(135deg, rgba(255,215,0,0.04) 0%, rgba(255,215,0,0.01) 100%); }
.sched-tier-gold::before { background: rgba(255,215,0,0.5); }
.sched-tier-gold:hover:not(:disabled) { border-color: rgba(255,215,0,0.25); box-shadow: 0 4px 20px rgba(255,215,0,0.08); }
.sched-tier-gold .sched-tier-label { color: #FFD700; }
.sched-tier-gold .sched-tier-cost { color: #FFD700; text-shadow: 0 0 8px rgba(255,215,0,0.2); }
/* Green tier */
.sched-tier-green { border-color: rgba(34,197,94,0.12); background: linear-gradient(135deg, rgba(34,197,94,0.04) 0%, rgba(34,197,94,0.01) 100%); }
.sched-tier-green::before { background: rgba(34,197,94,0.5); }
.sched-tier-green:hover:not(:disabled) { border-color: rgba(34,197,94,0.25); box-shadow: 0 4px 20px rgba(34,197,94,0.08); }
.sched-tier-green .sched-tier-label { color: #22C55E; }
.sched-tier-green .sched-tier-cost { color: #22C55E; text-shadow: 0 0 8px rgba(34,197,94,0.2); }
.sched-tier-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.sched-tier-btn:active:not(:disabled) { transform: translateY(0); }
/* Unaffordable = translucent glass at original dimness */
.sched-tier-unaffordable { opacity: 0.35; cursor: not-allowed; background: rgba(255,255,255,0.02) !important; border-color: rgba(255,255,255,0.04) !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sched-tier-locked { opacity: 0.4; cursor: not-allowed; background: rgba(255,255,255,0.02) !important; border-color: rgba(255,255,255,0.08) !important; color: rgba(255,255,255,0.4) !important; }
.sched-tier-locked::before { background: rgba(255,255,255,0.15) !important; }
.sched-tier-lock-reason { font-size: 0.6rem; font-weight: 700; color: #F59E0B; margin-top: 2px; }
.sched-tier-top { display: flex; justify-content: space-between; align-items: center; }
.sched-tier-label { font-size: 0.78rem; font-weight: 700; transition: color 0.2s; }
.sched-tier-cost { font-size: 0.78rem; font-weight: 800; transition: color 0.2s; }
.sched-tier-effect { font-size: 0.68rem; color: rgba(255,255,255,0.35); font-weight: 600; }
.sched-summary { position: relative; overflow: visible; margin-top: 14px; padding: 14px 14px 14px 18px; background: rgba(11,15,26,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.08); border-top: 1px solid rgba(255,255,255,0.12); border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); animation: endo-cardIn 0.35s ease-out both; }
.sched-summary::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 14px 0 0 14px; background: #22C55E; }
.sched-summary-title { font-size: 0.75rem; font-weight: 800; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.8px; margin: 0 0 8px; }
.sched-summary-list { display: flex; flex-direction: column; gap: 4px; max-height: 50vh; overflow-y: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sched-summary-list::-webkit-scrollbar { display: none; }
.sched-summary-row { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; padding: 6px 4px; border-bottom: 1px solid rgba(255,255,255,0.04); border-radius: 8px; transition: background 0.15s; }
.sched-summary-row:hover { background: rgba(255,255,255,0.03); }
.sched-summary-num { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,215,0,0.1); color: #FFD700; border: 1px solid rgba(255,215,0,0.2); display: flex; align-items: center; justify-content: center; font-size: 0.6rem; font-weight: 800; flex-shrink: 0; }
.sched-summary-artist { color: var(--text); font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.72rem; }
.sched-summary-task { font-size: 0.78rem; flex-shrink: 0; }
.sched-summary-cost { color: #22C55E; font-weight: 700; flex-shrink: 0; font-size: 0.72rem; text-shadow: 0 0 10px rgba(34,197,94,0.2); }
.sched-remove-btn { background: rgba(239,68,68,0.25); border: 1px solid rgba(239,68,68,0.4); color: #EF4444; font-size: 0.9rem; font-weight: 900; cursor: pointer; border-radius: 6px; padding: 4px 9px; line-height: 1; transition: all 0.2s; flex-shrink: 0; opacity: 1; }
.sched-remove-btn:hover { background: rgba(239,68,68,0.4); color: #fff; border-color: rgba(239,68,68,0.6); transform: scale(1.1); }
.sched-summary-totals { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.4); }
.sched-expense-line { color: rgba(255,255,255,0.35); font-weight: 500; }
.sched-total-line { width: 100%; margin-top: 4px; padding-top: 4px; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.78rem; font-weight: 800; color: var(--gold, #FFD700); }
.sched-activity-log { background: rgba(10,10,18,0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.06); border-left: 3px solid #A855F7; border-radius: 12px; padding: 12px 14px; }
.sched-activity-list { display: flex; flex-direction: column; gap: 6px; }
.sched-activity-row { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
.sched-activity-row:last-child { border-bottom: none; }
.sched-activity-icon { width: 24px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sched-activity-text { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.65); line-height: 1.4; }
.sched-expense-total { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; margin-top: 8px; }
.sched-expense-label { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.45); }
.sched-expense-amount { font-size: 0.85rem; font-weight: 800; color: #F59E0B; }
.sched-bottom-actions { padding: 4px 14px 5px; text-align: center; }
.sched-complete-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px 32px; border-radius: 12px; border: 1px solid rgba(255,215,0,0.3); cursor: pointer; background: linear-gradient(135deg, rgba(255,215,0,0.2) 0%, rgba(255,165,0,0.12) 100%); color: #FFD700; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.5px; transition: all 0.25s; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 2px 8px rgba(255,215,0,0.08), inset 0 1px 0 rgba(255,235,100,0.1); }
.sched-complete-btn:hover { background: linear-gradient(135deg, rgba(255,215,0,0.3) 0%, rgba(255,165,0,0.18) 100%); border-color: rgba(255,215,0,0.45); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,215,0,0.15), inset 0 1px 0 rgba(255,235,100,0.15); }
.sched-complete-btn:active { transform: translateY(0); }
.sched-hint { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin: 2px 0 0; }

.sched-deals-banner { position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; padding: 12px 14px 12px 18px; background: linear-gradient(135deg, rgba(255,215,0,0.06) 0%, rgba(255,215,0,0.02) 100%); border: 1px solid rgba(255,215,0,0.15); border-radius: 14px; color: #FFD700; font-size: 0.75rem; font-weight: 800; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: endo-cardIn 0.35s ease-out both; }
.sched-deals-banner::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 14px 0 0 14px; background: #FFD700; }
.sched-deals-banner:active { opacity: 0.8; }
.sched-deals-banner .btn-sm { margin-left: auto; padding: 8px 16px; border-radius: 10px; border: 1px solid rgba(255,215,0,0.3); background: linear-gradient(135deg, rgba(255,215,0,0.2) 0%, rgba(255,165,0,0.12) 100%); color: #FFD700; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 2px 8px rgba(255,215,0,0.08), inset 0 1px 0 rgba(255,235,100,0.1); }
.news-deals-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; margin: 0 12px 12px; background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,165,0,0.1)); border: 1px solid rgba(255,215,0,0.3); border-radius: 12px; }
.news-deals-banner-content { display: flex; align-items: center; gap: 8px; color: #FFD700; font-size: 0.82rem; font-weight: 500; }
.news-review-deals-btn { margin-left: auto; padding: 6px 14px !important; font-size: 0.78rem !important; }
.sched-genre-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.58rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; background: rgba(255,215,0,0.08); color: #FFD700; border: 1px solid rgba(255,215,0,0.15); margin-top: 2px; white-space: nowrap; }
.sched-empty { text-align: center; padding: 20px 14px; color: rgba(255,255,255,0.35); font-size: 0.75rem; }
.sched-scout-btn { margin-top: 12px; }

/* ====== 49. WEEK RESULTS SCREEN ====== */

.wr-card {
  background: var(--surface-solid); border-radius: 12px;
  padding: 14px; border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 8px;
}
.wr-cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px 0;
}
.wr-cert-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: scale(0.92);
  transform-origin: center;
}
.wr-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.wr-artist-info { flex: 1; }
.wr-artist-name { font-size: 15px; font-weight: 700; color: var(--text); margin: 0; }
.wr-song-title { font-size: 12px; color: var(--text-dim); font-style: italic; }
.wr-badge-success {
  background: rgba(0,230,118,0.15); color: var(--green);
  padding: 2px 10px; border-radius: 10px; font-size: 10px; font-weight: 700;
}
.wr-badge-failed {
  background: rgba(255,59,92,0.15); color: var(--red);
  padding: 2px 10px; border-radius: 10px; font-size: 10px; font-weight: 700;
}
.wr-promo-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.wr-promo-type { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-dim); }
.wr-budget { font-size: 12px; color: var(--text-muted); }
.wr-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 8px 0; }
.wr-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wr-stat { display: flex; flex-direction: column; gap: 2px; }
.wr-stat-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }
.wr-delta { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 2px; }
.wr-delta.positive { color: var(--green); }
.wr-delta.negative { color: var(--red); }
.wr-delta.neutral { color: var(--text-muted); }
.wr-message { font-size: 11px; color: var(--text-dim); font-style: italic; margin-top: 6px; }

/* ====== 50. WEEK NEWS SCREEN ====== */

.wn-card {
  background: var(--surface-solid); border-radius: 10px;
  padding: 10px 12px; border-left: 3px solid var(--blue);
  margin-bottom: 6px; opacity: 0; animation: wnFadeIn 0.4s ease forwards;
}
.wn-card:nth-child(2) { animation-delay: 0.1s; }
.wn-card:nth-child(3) { animation-delay: 0.2s; }
.wn-card:nth-child(4) { animation-delay: 0.3s; }
.wn-card:nth-child(5) { animation-delay: 0.4s; }
.wn-card:nth-child(6) { animation-delay: 0.5s; }
.wn-card:nth-child(7) { animation-delay: 0.6s; }

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

.wn-card-header { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.wn-category { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 1px 6px; border-radius: 4px; }
.wn-text { font-size: 12px; color: var(--text); line-height: 1.4; }

/* ====== 51. WEEK CHARTS SCREEN ====== */

.wc-chart-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 8px;
  background: var(--surface-solid, #16141f); margin-bottom: 4px;
  cursor: pointer; transition: background 0.15s;
}
.wc-chart-row:hover { background: rgba(255,255,255,0.05); }
.wc-chart-row.wc-playing { border: 1px solid var(--gold-dim); background: rgba(255,215,0,0.05); }
.wc-chart-row.wc-player-song { border-left: 3px solid var(--gold); }

.wc-rank {
  font-size: 16px; font-weight: 800; color: var(--text-muted);
  width: 28px; text-align: center;
}
.wc-rank-gold { color: var(--gold); }
.wc-rank-silver { color: #c0c0c0; }
.wc-rank-bronze { color: #cd7f32; }

.wc-movement { font-size: 10px; font-weight: 700; margin-left: 2px; }
.wc-up { color: var(--green); }
.wc-down { color: var(--red); }
.wc-new { color: var(--blue); background: var(--blue-dim); padding: 1px 4px; border-radius: 4px; }
.wc-same { color: var(--text-muted); }

.wc-song-info { flex: 1; min-width: 0; }
.wc-song-name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-artist-name { font-size: 10px; color: var(--text-dim); }
.wc-sales { font-size: 11px; color: var(--green-light); font-weight: 600; white-space: nowrap; }

.wc-play-btn {
  background: var(--gold-dim); border: none; border-radius: 50%;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gold); font-size: 12px;
}
.wc-play-btn:hover { background: var(--gold); color: var(--primary-dark); }

/* Chart drill-down */
.wc-drilldown {
  background: var(--surface-solid); border-radius: 8px;
  padding: 10px 12px; margin: 4px 0 8px;
  border: 1px solid rgba(255,255,255,0.06);
}
.wc-drill-row { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; font-size: 11px; }
.wc-drill-label { color: var(--text-muted); }
.wc-drill-value { color: var(--text); font-weight: 600; }

/* Auto-play indicator */
.wc-autoplay-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px;
  background: var(--gold-dim); margin-bottom: 8px;
}
.wc-autoplay-label { font-size: 11px; color: var(--gold); font-weight: 600; }
.wc-autoplay-progress {
  flex: 1; height: 3px; background: rgba(255,255,255,0.1);
  border-radius: 2px; overflow: hidden;
}
.wc-autoplay-fill {
  height: 100%; background: var(--gold);
  transition: width 0.5s linear;
}
.wc-autoplay-skip {
  background: none; border: 1px solid var(--gold-dim); border-radius: 6px;
  padding: 2px 8px; font-size: 10px; color: var(--gold); cursor: pointer;
}

/* ====== 52. MONTHLY RECAP SCREEN ====== */

.mr-screen { overflow: hidden; }

.mr-week-panel {
  background: var(--surface-solid); border-radius: 12px;
  padding: 16px; margin-bottom: 12px;
  animation: mrSlideIn 0.5s ease;
}
@keyframes mrSlideIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

.mr-week-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mr-week-label { font-size: 14px; font-weight: 700; color: var(--gold); }
.mr-week-sales { font-size: 12px; color: var(--green-light); }

.mr-mini-chart { display: flex; flex-direction: column; gap: 4px; }
.mr-chart-entry {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 8px; border-radius: 6px; font-size: 12px;
}
.mr-chart-entry:first-child { background: var(--gold-dim); }
.mr-chart-rank { font-weight: 800; color: var(--text-muted); width: 20px; text-align: center; }
.mr-chart-song { flex: 1; color: var(--text); }
.mr-chart-artist { color: var(--text-dim); font-size: 10px; }

.mr-progress-bar {
  height: 4px; background: rgba(255,255,255,0.06);
  border-radius: 2px; overflow: hidden; margin-top: 12px;
}
.mr-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--gold), var(--pink));
  transition: width 0.3s linear;
}

/* Artist of the Month */
.mr-aotm {
  text-align: center; padding: 24px 16px;
  animation: mrReveal 0.8s ease;
}
@keyframes mrReveal { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

.mr-aotm-badge {
  font-size: 10px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--gold); margin-bottom: 8px;
}
.mr-aotm-name {
  font-size: 28px; font-weight: 800; color: var(--text);
  text-shadow: 0 0 20px var(--gold-dim);
  margin: 8px 0;
}
.mr-aotm-stats { display: flex; justify-content: center; gap: 16px; margin-top: 12px; }
.mr-aotm-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.mr-aotm-stat-value { font-size: 18px; font-weight: 700; color: var(--gold); }
.mr-aotm-stat-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }

/* Monthly chart summary */
.mr-month-chart {
  margin-top: 16px; padding: 12px;
  background: var(--surface-solid); border-radius: 12px;
}
.mr-month-chart-title {
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}

/* Now playing indicator */
.mr-now-playing {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 8px;
  background: var(--gold-dim); margin-bottom: 12px;
}
.mr-playing-icon { color: var(--gold); animation: mrPulse 1s infinite; }
@keyframes mrPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.mr-playing-song { font-size: 12px; color: var(--text); font-weight: 600; }
.mr-playing-artist { font-size: 10px; color: var(--text-dim); }

/* ====== 52b. RECAP OVERLAY ====== */
/* 70% dark overlay during week results / news / monthly recap sequence */
.recap-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.70);
  z-index: 0;
  pointer-events: none;
}

/* ====== 53. SCREEN BACKGROUNDS ====== */
/* Each screen gets a subtle background image overlay */
.screen-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

/* Award Show bg — platinum record */
/* Inbox — radio appearance */
/* Title — label selection */
.screen-bg-title {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/choose-your-label-bg.webp') center top / cover no-repeat;
}

/* Loan — investor/finance */
.screen-bg-loan {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/investor-window-bg.webp') center top / cover no-repeat;
}

.screen-bg-inbox {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/radio-appearance.webp') center top / cover no-repeat;
}

/* Office — city skyline */
.screen-bg-office {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/city-skyline.webp') center top / cover no-repeat;
}

/* Studio / Publishing */
.screen-bg-studio,
.screen-bg-publishing {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/publishing-house.webp') center top / cover no-repeat;
}

/* Radio */
.screen-bg-radio {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/radio-bg-image.webp') center top / cover no-repeat;
}

/* Tour */
.screen-bg-tour {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/tour-window-bg.webp') center top / cover no-repeat;
}

/* Tour Results — award show stage */
.screen-bg-results {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('./awards/grammi-awards-show.webp') center top / cover no-repeat;
}

/* Slot filling / Week results */
.screen-bg-slot,
.screen-bg-week-results {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/start-up-office.webp') center top / cover no-repeat;
}
.screen-bg-week-news,
.screen-bg-news-archive {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/radio-appearance.webp') center top / cover no-repeat;
}

/* Marketing HQ */
.screen-bg-marketing {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/marketing-bg.webp') center top / cover no-repeat;
}

/* Roster / Artist Detail */
.screen-bg-roster,
.screen-bg-artist-detail {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/choose-your-roster-bg.webp') center top / cover no-repeat;
}

/* Charts (standalone + end-of-week) */
.screen-bg-charts,
.screen-bg-week-charts {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/top-20-music-charts.webp') center top / cover no-repeat;
}

/* Record */
.screen-bg-record {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/record-bg.webp') center top / cover no-repeat;
}

/* Finance */
.screen-bg-finance {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/investor-window-bg.webp') center top / cover no-repeat;
}

/* Slot Filling (main hub) */
/* Slot-filling backgrounds — change with purchased label tier */
.screen-bg-tier-startup {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.70) 0%, rgba(8,8,14,0.70) 100%),
              url('/backgrounds/start-up-office.webp') center top / cover no-repeat;
}
.screen-bg-tier-indie {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.65) 0%, rgba(8,8,14,0.65) 100%),
              url('/backgrounds/indie-office.webp') center top / cover no-repeat;
}
.screen-bg-tier-medium {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.60) 0%, rgba(8,8,14,0.60) 100%),
              url('/backgrounds/medium-office.webp') center top / cover no-repeat;
}
.screen-bg-tier-big {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.55) 0%, rgba(8,8,14,0.55) 100%),
              url('/backgrounds/big-office.webp') center top / cover no-repeat;
}
.screen-bg-tier-mega {
  opacity: 1;
  background: linear-gradient(180deg, rgba(11,15,26,0.50) 0%, rgba(8,8,14,0.50) 100%),
              url('/backgrounds/mega-label.webp') center top / cover no-repeat;
}

/* ====== 54. RENAME OVERLAY ====== */
.detail-rename-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-rename-card {
  background: #1a1a2e;
  border-radius: 16px;
  padding: 24px;
  width: 320px;
  text-align: center;
}
.detail-rename-card h3 { margin: 0 0 8px; color: #fff; font-size: 1.1rem; }
.detail-rename-cost { color: #ffd700; font-size: 0.88rem; margin-bottom: 16px; }
.detail-rename-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #0d0d1a;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  box-sizing: border-box;
}
.detail-rename-btns { display: flex; gap: 10px; }
.detail-rename-btns button { flex: 1; padding: 10px; font-size: 0.85rem; }

/* ====== 55. CERTIFICATION BADGES ====== */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cert-gold { background: rgba(255,215,0,0.2); color: #ffd700; }
.cert-platinum { background: rgba(192,192,192,0.2); color: #e0e0e0; }
.cert-diamond { background: rgba(185,242,255,0.2); color: #b9f2ff; }

/* ════════════════════════════════════════════════════════════════
   Band Management Screen
   ════════════════════════════════════════════════════════════════ */

/* ── Band Screen — artist-detail style ── */
.band-screen {
  display: flex; flex-direction: column; gap: 12px;
  padding: 0 16px 16px; max-height: 100%; overflow-y: auto;
}

.band-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0 8px; position: sticky; top: 0; z-index: 10;
  background: rgba(11,15,26,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  margin: 0 -16px; padding: 10px 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.band-back-btn { font-size: 0.85rem; padding: 6px 14px; flex-shrink: 0; }

.band-title {
  flex: 1; margin: 0; font-size: 1.1rem; font-weight: 800;
  color: var(--text); letter-spacing: -0.3px;
}

.band-section {
  background: rgba(14,14,22,0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 4px 20px rgba(0,0,0,0.35);
}

.band-section-title {
  margin: 0 0 8px; font-size: 0.85rem; font-weight: 800;
  color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.5px;
}

.band-instruction {
  margin: 0 0 10px; font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.band-empty-msg {
  color: rgba(255,255,255,0.3); font-size: 0.8rem;
  text-align: center; padding: 20px 0;
}

/* ── Artist selection grid ── */
.band-artist-grid {
  display: flex; flex-direction: column; gap: 5px;
  max-height: 250px; overflow-y: auto; margin-bottom: 12px;
  scrollbar-width: none;
}
.band-artist-grid::-webkit-scrollbar { display: none; }

.band-artist-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 10px;
  background: rgba(18,18,28,0.7);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer; transition: all 0.15s;
  font-size: 0.8rem; color: #e0e0e0;
}

.band-artist-item:hover {
  background: rgba(168,85,247,0.08); border-color: rgba(168,85,247,0.25);
}

.band-artist-item.selected {
  background: rgba(168,85,247,0.12); border-color: rgba(168,85,247,0.4);
}

.band-artist-item.disabled-genre { opacity: 0.35; pointer-events: none; }

.band-cb { accent-color: #a78bfa; }

.band-artist-name { flex: 1; font-weight: 700; }

.band-genre-badge {
  padding: 2px 8px; border-radius: 6px;
  font-size: 0.6rem; font-weight: 800;
  text-transform: uppercase; color: #fff; letter-spacing: 0.3px;
}

.band-pop, .band-morale {
  font-size: 0.7rem; color: rgba(255,255,255,0.5);
  min-width: 45px; text-align: right; font-weight: 600;
}

/* ── Chemistry preview ── */
.band-chemistry-preview {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; margin-bottom: 12px;
  background: rgba(255,255,255,0.03); border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
}

.chemistry-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.5);
  white-space: nowrap; font-weight: 600;
}

.chemistry-bar-wrap {
  flex: 1; height: 6px;
  background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden;
}

.chemistry-bar { height: 100%; border-radius: 3px; transition: width 0.3s; }

.chemistry-value {
  font-size: 0.8rem; font-weight: 800; min-width: 28px; text-align: right;
}

.chemistry-warn {
  color: #EF4444;
  font-size: 0.75rem;
}

/* ── Name picker ── */

.band-name-picker {
  margin-bottom: 12px;
}

.band-name-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.band-name-mode-btn {
  flex: 1;
  font-size: 0.8rem;
  padding: 6px 12px;
  opacity: 0.5;
  transition: opacity 0.15s;
}

.band-name-mode-btn.active {
  opacity: 1;
  border-color: rgba(255, 215, 0, 0.5);
  color: #ffd700;
}

.band-name-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 140px;
  overflow-y: auto;
  padding: 4px;
}

.band-name-option {
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e0e0e0;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  overflow: hidden;
}

.band-name-option:hover:not(.taken) {
  background: rgba(255, 215, 0, 0.08);
  border-color: var(--gold-dim);
  box-shadow: var(--btn-glow);
}

.band-name-option.picked {
  background: rgba(255, 215, 0, 0.15);
  border-color: #ffd700;
  color: #ffd700;
}

.band-name-option.taken {
  opacity: 0.3;
  text-decoration: line-through;
  cursor: default;
}

.band-custom-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
  font-size: 0.85rem;
  outline: none;
}

.band-custom-input:focus {
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.15);
}

/* ── Form band button ── */

.band-form-btn {
  width: 100%;
  padding: 10px;
  font-size: 0.9rem;
}

.band-form-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Active band cards ── */

.band-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.band-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.12);
  border-radius: 10px;
  padding: 12px;
}

.band-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.band-card-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffd700;
  flex: 1;
}

.band-card-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.band-card-stat span:first-child {
  min-width: 70px;
}

.band-pop-value {
  font-weight: 700;
  color: #e0e0e0;
}

.band-members-list {
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.band-member-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  font-size: 0.8rem;
}

.band-member-name {
  flex: 1;
  color: #e0e0e0;
}

.band-member-morale {
  color: rgba(255, 255, 255, 0.6);
  min-width: 50px;
  text-align: right;
}

.band-remove-btn {
  font-size: 0.7rem;
  padding: 3px 8px;
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.band-remove-btn:hover {
  background: rgba(239, 68, 68, 0.1);
}

.band-disband-btn {
  width: 100%;
  margin-top: 8px;
  font-size: 0.8rem;
  padding: 6px;
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.25);
}

.band-disband-btn:hover {
  background: rgba(239, 68, 68, 0.08);
}

/* ====== BATTLE SCREEN ====== */

.battle-screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  max-width: 480px;
  margin: 0 auto;
}

.battle-header {
  text-align: center;
}

.battle-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 6px;
}

.battle-headline {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 0;
  font-style: italic;
}

/* ── VS Card ── */
.battle-vs-card {
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 14px 12px;
  backdrop-filter: blur(var(--glass-blur));
}

.battle-vs-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.battle-vs-player {
  text-align: left;
}

.battle-vs-rival {
  text-align: right;
}

.battle-vs-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.battle-vs-record {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.battle-vs-center {
  flex: 0 0 auto;
  padding: 0 14px;
}

.battle-vs-text {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
}

/* ── Score tally ── */
.battle-tally {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: 800;
}

.battle-tally-player {
  color: var(--green);
}

.battle-tally-divider {
  color: var(--text-muted);
  font-size: 1.4rem;
}

.battle-tally-rival {
  color: var(--red);
}

/* ── Category cards ── */
.battle-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.battle-category-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 12px;
  backdrop-filter: blur(var(--glass-blur));
  opacity: 0;
  transform: translateY(12px);
  animation: battleCardReveal 0.4s ease forwards;
}

@keyframes battleCardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.battle-cat-icon {
  color: var(--gold);
  display: flex;
  align-items: center;
}

.battle-cat-name {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.battle-cat-scores {
  display: flex;
  align-items: center;
  gap: 8px;
}

.battle-cat-player,
.battle-cat-rival {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 60px;
}

.battle-cat-player {
  justify-content: flex-start;
}

.battle-cat-rival {
  justify-content: flex-end;
}

.battle-cat-score-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.battle-cat-indicator {
  display: flex;
  align-items: center;
}

.battle-cat--winner .battle-cat-score-value {
  color: var(--green);
}

.battle-cat--winner .battle-cat-indicator {
  color: var(--green);
}

.battle-cat-indicator svg {
  opacity: 0.7;
}

.battle-cat-player:not(.battle-cat--winner) .battle-cat-indicator {
  color: var(--red);
}

.battle-cat-rival:not(.battle-cat--winner) .battle-cat-indicator {
  color: var(--red);
}

.battle-cat-bar-wrap {
  flex: 1;
  min-width: 0;
}

.battle-cat-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.battle-cat-bar-player {
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transition: width 0.6s ease;
}

.battle-cat-bar-rival {
  background: linear-gradient(90deg, var(--red-light), var(--red));
  transition: width 0.6s ease;
}

/* ── Result banner ── */
.battle-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.battle-result--victory {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.15), rgba(255, 215, 0, 0.15));
  border: 1px solid rgba(0, 230, 118, 0.35);
}

.battle-result--defeat {
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.15), rgba(255, 59, 92, 0.08));
  border: 1px solid rgba(255, 59, 92, 0.35);
}

.battle-result--draw {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.battle-result-icon {
  display: flex;
  align-items: center;
}

.battle-result--victory .battle-result-icon {
  color: var(--gold);
}

.battle-result-label {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.battle-result--victory .battle-result-label {
  background: linear-gradient(135deg, var(--green), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.battle-result--defeat .battle-result-label {
  color: var(--red);
}

.battle-result--draw .battle-result-label {
  color: var(--text-muted);
}

.battle-rep-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.battle-rep--positive {
  background: rgba(0, 230, 118, 0.15);
  color: var(--green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.battle-rep--negative {
  background: rgba(255, 59, 92, 0.15);
  color: var(--red);
  border: 1px solid rgba(255, 59, 92, 0.3);
}

.battle-rep--neutral {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Season standings bar ── */
.battle-standings {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.battle-standings-bar {
  display: flex;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.battle-standings-win {
  background: var(--green);
  transition: width 0.4s ease;
}

.battle-standings-tie {
  background: var(--text-muted);
  transition: width 0.4s ease;
}

.battle-standings-loss {
  background: var(--red);
  transition: width 0.4s ease;
}

.battle-standings-text {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

/* ── History (collapsible) ── */
.battle-history {
  display: flex;
  flex-direction: column;
}

.battle-history-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.battle-history-toggle:active {
  background: rgba(255, 255, 255, 0.08);
}

.battle-history-chevron {
  display: flex;
  align-items: center;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.battle-history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
}

.battle-hist-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
}

.battle-hist-week {
  color: var(--text-muted);
  font-weight: 600;
  min-width: 36px;
}

.battle-hist-opponent {
  flex: 1;
  color: var(--text-dim);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.battle-hist-badge {
  font-weight: 800;
  font-size: 0.8rem;
  width: 22px;
  text-align: center;
}

.battle-hist--win .battle-hist-badge {
  color: var(--green);
}

.battle-hist--loss .battle-hist-badge {
  color: var(--red);
}

.battle-hist--tie .battle-hist-badge {
  color: var(--text-muted);
}

.battle-hist-score {
  color: var(--text-muted);
  min-width: 24px;
  text-align: right;
}

/* ── Continue button ── */
.battle-continue-btn {
  margin-top: 8px;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.battle-subtitle {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 12px 0;
}

/* ====== CERTIFICATION PLAQUE ====== */

.cert-plaque {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.cert-plaque-frame {
  position: relative;
}

.cert-plaque--gold .cert-plaque-frame {
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cert-plaque--platinum .cert-plaque-frame {
  box-shadow: 0 4px 16px rgba(192, 192, 192, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cert-plaque--diamond .cert-plaque-frame {
  box-shadow: 0 4px 16px rgba(135, 206, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cert-plaque-inner {
  background: #0a0a0f;
}

.cert-plaque-art {
  overflow: hidden;
}

.cert-plaque-nameplate {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ====== SVG STAR RATINGS ====== */
.star-row {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.star-svg {
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}
.star-svg--filled path {
  fill: var(--gold, #FFD700);
  stroke: rgba(255, 170, 0, 0.6);
  stroke-width: 0.5;
}
.star-svg--half {
  display: inline-block;
}
.star-svg--empty path {
  fill: rgba(255, 255, 255, 0.12);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 0.5;
}
.star-rating-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold, #FFD700);
  margin-left: 4px;
  opacity: 0.8;
}

.portfolio-cert-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.3);
}

/* ====== ARTIST PORTFOLIO SCREEN (glassmorphism redesign) ====== */

.pf-screen {
  padding: 0 12px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: 100%;
}

.pf-top-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0 8px;
  position: sticky; top: 0; z-index: 10;
  background: rgba(11,15,26,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  margin: 0 -12px; padding: 10px 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.pf-top-title {
  font-size: 0.95rem; font-weight: 800; color: #fff; margin: 0; flex: 1;
  letter-spacing: -0.3px;
}

/* ── Hero ── */
.pf-hero {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 24px 16px 18px;
  margin: 0 -12px 14px;
  background: rgba(11,15,26,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.pf-hero-glow {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, var(--tier-color, #6B7280) 0%, transparent 70%);
  opacity: 0.15; pointer-events: none;
}
.pf-portrait {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,215,0,0.25);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.pf-portrait-initials {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; color: rgba(255,255,255,0.85);
}
.pf-hero-name {
  font-size: 1.15rem; font-weight: 800; color: #fff;
  margin: 0 0 6px; text-align: center;
  position: relative; z-index: 1;
}
.pf-hero-pills {
  display: flex; gap: 6px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 6px;
  position: relative; z-index: 1;
}
.pf-genre-pill {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 3px 8px; border-radius: 20px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.1);
}
.pf-tier-pill {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 3px 8px; border-radius: 20px;
  background: rgba(255,215,0,0.1); color: var(--gold);
  border: 1px solid rgba(255,215,0,0.2);
}
.pf-hero-sub {
  display: flex; gap: 12px; align-items: center;
  position: relative; z-index: 1;
}
.pf-pop-badge, .pf-weeks-badge {
  font-size: 0.65rem; font-weight: 600; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 3px;
}
.pf-pop-badge svg { color: var(--gold); }

/* ── Stats Grid ── */
.pf-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px; margin-bottom: 14px;
}
.pf-stat-card {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 4px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}
.pf-stat-val {
  font-size: 0.8rem; font-weight: 800; color: var(--gold);
  white-space: nowrap;
}
.pf-stat-lbl {
  font-size: 0.55rem; font-weight: 600; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.4px; text-align: center;
}

/* ── Glass Sections ── */
.pf-glass-section {
  margin-bottom: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
}
.pf-section-title {
  font-size: 0.78rem; font-weight: 700; color: var(--gold);
  margin: 0 0 10px; display: flex; align-items: center; gap: 6px;
  letter-spacing: 0.3px;
}
.pf-empty {
  color: rgba(255,255,255,0.35); font-size: 0.7rem; font-style: italic;
  padding: 8px 0;
}

/* ── Skills ── */
.pf-skills-grid { display: flex; flex-direction: column; gap: 6px; }
.pf-skill-row { display: flex; align-items: center; gap: 8px; }
.pf-skill-label { width: 72px; font-size: 0.68rem; font-weight: 600; color: rgba(255,255,255,0.55); }
.pf-skill-track {
  flex: 1; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.08); overflow: hidden;
}
.pf-skill-fill { height: 100%; border-radius: 3px; transition: width 0.4s ease; }
.pf-skill-val { width: 28px; text-align: right; font-size: 0.68rem; font-weight: 700; color: rgba(255,255,255,0.7); }

/* ── Awards ── */
.pf-awards-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pf-award-chip {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 20px;
  background: rgba(255,215,0,0.08); border: 1px solid rgba(255,215,0,0.15);
  font-size: 0.65rem; font-weight: 600; color: var(--gold);
}
.pf-award-icon { font-size: 0.75rem; }
.pf-certs-wall { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0; }
.pf-cert-badge {
  font-size: 0.55rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 2px 6px; border-radius: 4px;
  background: rgba(0,0,0,0.3); border: 1px solid;
}

/* ── Discography tabs ── */
.pf-disco-tabs {
  display: flex; gap: 0; border-radius: 8px;
  overflow: hidden; border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 10px;
}
.pf-tab {
  flex: 1; padding: 7px 0; text-align: center;
  font-size: 0.65rem; font-weight: 600; cursor: pointer;
  background: rgba(255,255,255,0.02); color: rgba(255,255,255,0.4);
  border: none; outline: none; transition: all 0.2s;
}
.pf-tab.active { background: rgba(255,215,0,0.1); color: var(--gold); }
.pf-disco-list { display: flex; flex-direction: column; gap: 5px; }

/* ── Disco card ── */
.pf-disco-card {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; cursor: pointer;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px; transition: background 0.2s;
}
.pf-disco-card:active { background: rgba(255,255,255,0.06); }
.pf-disco-cover-placeholder {
  width: 42px; height: 42px; border-radius: 6px;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
}
.pf-disco-info { flex: 1; min-width: 0; }
.pf-disco-title {
  font-size: 0.75rem; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pf-disco-meta { font-size: 0.58rem; color: rgba(255,255,255,0.4); margin-top: 2px; }
.pf-disco-rating { font-size: 0.58rem; color: var(--gold); margin-top: 1px; }
.pf-disco-right { flex-shrink: 0; display: flex; align-items: center; gap: 6px; }
.pf-disco-chevron { color: rgba(255,255,255,0.25); transition: transform 0.2s; }

/* ── Disco detail dropdown ── */
.pf-disco-detail {
  padding: 6px 10px 8px 58px;
  background: rgba(255,255,255,0.02);
  border-radius: 0 0 8px 8px; margin-top: -2px; margin-bottom: 4px;
}
.pf-disco-detail .pdd-item { display: flex; justify-content: space-between; align-items: center; }
.pf-disco-detail .pdd-label { font-size: 11px; color: rgba(255,255,255,0.4); }
.pf-disco-detail .pdd-value { font-size: 11px; font-weight: 700; color: var(--text); }
.pf-disco-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 12px; }

/* ── Reviews ── */
.pf-review-list {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 240px; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.pf-review-card {
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
}
.pf-review-header { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.pf-review-stars { font-size: 0.72rem; color: var(--gold); }
.pf-review-song { font-size: 0.65rem; color: rgba(255,255,255,0.45); font-weight: 600; }
.pf-review-verdict { font-size: 0.68rem; color: var(--text); font-style: italic; margin: 4px 0; line-height: 1.4; }
.pf-review-bullets { list-style: none; padding: 0; margin: 4px 0 0; }
.pf-review-bullets li { font-size: 0.68rem; color: rgba(255,255,255,0.55); padding: 2px 0 2px 14px; position: relative; }
.pf-review-bullets li::before { content: '\2022'; position: absolute; left: 0; color: rgba(255,215,0,0.5); }

/* ── Career timeline ── */
.pf-timeline { position: relative; padding-left: 20px; }
.pf-timeline::before {
  content: ''; position: absolute; left: 6px; top: 0; bottom: 0;
  width: 2px; background: rgba(255,215,0,0.12); border-radius: 1px;
}
.pf-timeline-item { position: relative; padding: 6px 0; }
.pf-timeline-dot {
  position: absolute; left: -17px; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  box-shadow: 0 0 6px rgba(255,215,0,0.3);
}
.pf-timeline-content { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pf-timeline-icon { font-size: 0.75rem; }
.pf-timeline-text { font-size: 0.68rem; color: var(--text); font-weight: 500; }
.pf-timeline-when { font-size: 0.6rem; color: rgba(255,255,255,0.35); margin-left: auto; }

/* ====== CHART SCREEN (nav bar version) — Drill-down panels ====== */
.chart-detail-panel {
  padding: 12px 16px;
  background: rgba(255, 215, 0, 0.04);
  border-top: 1px solid rgba(255, 215, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  animation: fadeIn 0.2s ease;
}

.chart-detail-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chart-detail-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chart-detail-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.chart-ep-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  gap: 16px;
}

.chart-ep-gate-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.chart-ep-gate-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.chart-ep-gate-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 280px;
  line-height: 1.5;
}

/* ====== FINANCE SCREEN — Overhauled Visuals ====== */
.fin-screen {
  padding: 0 12px 32px;
}

.fin-gauge-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 10px;
}

.fin-gauge-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.fin-gauge-amount {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.fin-gauge-amount.positive { color: var(--green); }
.fin-gauge-amount.negative { color: var(--red); }

.fin-wow {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}
.fin-wow.up { color: var(--green); }
.fin-wow.down { color: var(--red); }

/* Finance Market Mood panel */
.fin-section-card { background: rgba(18,18,28,0.75); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 14px; margin: 10px 0; }
.fin-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.fin-section-label { font-size: 0.8rem; font-weight: 800; color: var(--text); text-transform: uppercase; letter-spacing: 0.5px; }
.fin-section-meta { font-size: 0.65rem; color: rgba(255,255,255,0.4); }
.fin-mood-grid { display: flex; flex-direction: column; gap: 6px; }
.fin-mood-row { display: flex; align-items: center; gap: 8px; }
.fin-mood-genre { font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,0.6); width: 55px; flex-shrink: 0; }
.fin-mood-bar-wrap { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.fin-mood-bar { height: 100%; border-radius: 3px; transition: width 0.3s ease; }
.fin-mood-label { font-size: 0.65rem; font-weight: 700; width: 60px; text-align: right; flex-shrink: 0; }
.fin-mood-mult { font-size: 0.6rem; font-weight: 600; width: 38px; text-align: right; flex-shrink: 0; opacity: 0.7; }

.fin-kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}

.fin-kpi-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 12px 10px;
  text-align: center;
}

.fin-kpi-value {
  font-size: 1rem;
  font-weight: 800;
}

.fin-kpi-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.fin-section {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
}

.fin-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}

.fin-donut-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.fin-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fin-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-dim);
}

.fin-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fin-legend-value {
  font-weight: 700;
  color: var(--text);
  margin-left: auto;
}

/* Budget breakdown bars */
.fin-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.fin-bar-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  width: 85px;
  flex-shrink: 0;
  text-transform: capitalize;
}

.fin-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  overflow: hidden;
}

.fin-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}

.fin-bar-fill.income { background: linear-gradient(90deg, var(--green), var(--green-light)); }
.fin-bar-fill.expense { background: linear-gradient(90deg, var(--red), var(--red-light)); }

.fin-bar-amount {
  font-size: 0.65rem;
  font-weight: 700;
  width: 55px;
  text-align: right;
  flex-shrink: 0;
}

/* Sparkline */
.fin-sparkline-container {
  padding: 8px 0;
}

.fin-sparkline-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Roster earnings */
.fin-roster-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fin-artist-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
}

.fin-artist-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.fin-artist-info {
  flex: 1;
  min-width: 0;
}

.fin-artist-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fin-artist-bar {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}

.fin-artist-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.fin-artist-revenue {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  text-align: right;
  flex-shrink: 0;
}

/* Tier progress */
.fin-tier-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fin-tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fin-tier-current {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold);
}

.fin-tier-next {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.fin-tier-bar {
  height: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 5px;
  overflow: hidden;
}

.fin-tier-bar-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  transition: width 0.6s ease;
}

.fin-tier-pct {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-align: right;
}

/* Invest buttons */
.fin-invest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.fin-invest-btn {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 12px 8px;
  text-align: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.fin-invest-btn:not([disabled]):active {
  transform: scale(0.96);
  background: var(--gold-dim);
}

.fin-invest-btn[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Lifetime stats */
.fin-lifetime-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.fin-lifetime-stat {
  text-align: center;
}

.fin-lifetime-value {
  font-size: 0.9rem;
  font-weight: 800;
}

.fin-lifetime-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ====== POWER CARD SCREEN — Fixes ====== */
/* Power Card Screen — matches Finance window power card design */
.power-card-screen {
  padding: 0 12px 32px;
}

.pc-section {
  margin-bottom: 16px;
}

.pc-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gold);
  margin-bottom: 4px;
}

.pc-section-hint {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  margin-bottom: 10px;
}

.pc-shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pc-shop-card {
  background: rgba(11,15,26,0.92);
  border: 1px solid var(--rarity-color, rgba(255,255,255,0.08));
  border-radius: 14px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pc-shop-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/powercard.webp') center/cover no-repeat;
  opacity: 0.5;
  filter: brightness(0.35);
  pointer-events: none;
  z-index: 0;
}
.pc-shop-card > * { position: relative; z-index: 1; }
.pc-shop-card:hover { border-color: var(--rarity-color, rgba(255,215,0,0.3)); }

.pc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.pc-rarity-badge {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 6px;
  color: #fff;
}

.pc-card-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.pc-card-desc {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
  margin-bottom: 4px;
}

.pc-card-effect {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.pc-hand {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Hand cards match shop cards exactly */
.pc-card {
  background: rgba(11,15,26,0.92);
  border: 1px solid var(--rarity-color, rgba(255,255,255,0.08));
  border-radius: 14px;
  padding: 12px 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/powercard.webp') center/cover no-repeat;
  opacity: 0.5;
  filter: brightness(0.35);
  pointer-events: none;
  z-index: 0;
}
.pc-card > * { position: relative; z-index: 1; }
.pc-card > .pc-card-inner > * { position: relative; z-index: 1; }
.pc-card:hover { border-color: var(--rarity-color, rgba(255,215,0,0.3)); }

.pc-card-inner {
  padding: 0;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 4px;
}

.pc-card-playing {
  opacity: 0.5;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

.pc-empty, .pc-empty-shop {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
}

.pc-result-banner {
  background: var(--green);
  color: #000;
  padding: 10px 14px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pc-result-text {
  flex: 1;
  font-size: 0.75rem;
}

.pc-result-text strong {
  display: block;
  font-size: 0.8rem;
}

.pc-buy-btn {
  width: 100%;
  padding: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: auto;
  flex-shrink: 0;
}
.pc-hand-actions {
  display: flex; gap: 6px; margin-top: auto; flex-shrink: 0;
}
.pc-play-btn {
  flex: 1; padding: 7px 0;
  display: flex; align-items: center; justify-content: center;
}
.pc-discard-btn {
  padding: 7px 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px; cursor: pointer;
}
.pc-discard-btn:hover { color: #EF4444; border-color: rgba(239,68,68,0.3) !important; }

/* Power Card Artist Picker Overlay */
.pc-artist-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1100;
  background: rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  /* iOS fix: ensure centering works in WebView */
  width: 100%; height: 100%;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.pc-artist-modal {
  background: rgba(20,20,28,0.95);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 16px; padding: 20px;
  max-width: 340px; width: 90%;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  margin: auto; /* Centers vertically in flex + auto margin */
}
.pc-artist-modal-title {
  font-size: 0.85rem; font-weight: 800; color: #FFD700;
  text-align: center; margin: 0;
}
.pc-artist-modal-effect {
  font-size: 0.7rem; color: rgba(255,255,255,0.6);
  text-align: center; margin: 0;
}
.pc-artist-list {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 300px; overflow-y: auto;
}
.pc-artist-pick {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; transition: all 0.15s;
  text-align: left; width: 100%;
}
.pc-artist-pick:hover {
  background: rgba(255,215,0,0.08);
  border-color: rgba(255,215,0,0.25);
}
.pc-artist-pick-info { display: flex; flex-direction: column; gap: 2px; }
.pc-artist-pick-name { font-size: 0.8rem; font-weight: 700; color: #fff; }
.pc-artist-pick-genre { font-size: 0.6rem; font-weight: 600; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.5px; }
.pc-artist-pick-stats { display: flex; gap: 4px; }
.pc-artist-stat-pill {
  font-size: 0.6rem; font-weight: 700; color: rgba(255,255,255,0.7);
  padding: 2px 6px; border-radius: 4px;
  background: rgba(255,255,255,0.06);
  transition: all 0.3s;
  position: relative;
}
.pc-stat-delta {
  margin-left: 3px; font-weight: 800; font-size: 0.6rem;
  animation: pcDeltaPop 0.4s ease-out;
}
.pc-stat-delta-pos { color: #4ade80; }
.pc-stat-delta-neg { color: #f87171; }
@keyframes pcDeltaPop {
  0% { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* Power Card animation overlay */
.pc-anim-card {
  background: rgba(11,15,26,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: 20px;
  padding: 28px 24px;
  max-width: 300px; width: 85%;
  text-align: center;
  box-shadow: 0 12px 48px rgba(0,0,0,0.6), 0 0 30px rgba(255,215,0,0.08);
}
.pc-anim-icon {
  font-size: 40px; margin-bottom: 8px;
  animation: pcAnimBounce 0.5s ease-out;
}
@keyframes pcAnimBounce {
  0% { transform: scale(0.3) rotate(-10deg); opacity: 0; }
  60% { transform: scale(1.2) rotate(5deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
.pc-anim-title {
  font-size: 1.1rem; font-weight: 900; color: #FFD700;
  margin-bottom: 4px; text-shadow: 0 0 12px rgba(255,215,0,0.3);
}
.pc-anim-artist {
  font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.pc-anim-stats {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 14px;
}
.pc-anim-stat-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}
.pc-anim-stat-icon { font-size: 16px; flex-shrink: 0; }
.pc-anim-stat-label {
  flex: 1; text-align: left;
  font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.7);
}
.pc-anim-stat-before {
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.4);
}
.pc-anim-stat-arrow {
  font-size: 0.7rem; color: rgba(255,255,255,0.25);
}
.pc-anim-stat-after {
  font-size: 0.85rem; font-weight: 800;
}
.pc-anim-stat-delta {
  font-size: 0.75rem; font-weight: 900;
  min-width: 30px; text-align: right;
}
.pc-anim-effect {
  font-size: 0.7rem; font-weight: 600; color: rgba(255,215,0,0.6);
  padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.06);
}

.pc-artist-cancel {
  align-self: center; padding: 8px 24px;
  font-size: 0.7rem; color: rgba(255,255,255,0.6);
}

/* ====== NEGOTIATION OVERLAY ====== */
.neg-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}
.neg-card {
  background: var(--card-bg-solid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  width: 100%; max-width: 360px;
  display: flex; flex-direction: column; gap: 14px;
}
.neg-title {
  font-size: 1rem; font-weight: 700; color: var(--text);
  text-align: center;
}
.neg-artist-name {
  font-size: 0.8rem; color: var(--gold); text-align: center;
  margin-top: -8px;
}
.neg-likelihood {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.5px;
}
.neg-likelihood.likely { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.neg-likelihood.uncertain { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
.neg-likelihood.unlikely { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.neg-pct { font-size: 1.1rem; font-weight: 800; }
.neg-slider-group {
  display: flex; flex-direction: column; gap: 4px;
}
.neg-slider-header {
  display: flex; justify-content: space-between; align-items: center;
}
.neg-slider-label { font-size: 0.7rem; color: var(--text-dim); font-weight: 600; }
.neg-slider-value { font-size: 0.75rem; color: var(--gold); font-weight: 700; }
.neg-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px; outline: none;
}
.neg-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 50%; cursor: pointer;
  box-shadow: 0 0 8px rgba(255,215,0,0.3);
}
.neg-actions {
  display: flex; gap: 8px; margin-top: 4px;
}
.neg-actions .btn-glass { flex: 1; padding: 10px; font-size: 0.75rem; font-weight: 700; }

/* ====== SCHEDULE ARTIST CARDS (handled in section 48) ====== */

/* ====== TOUR BOOKING OVERLAY (glassmorphism) ====== */
.sched-tour-overlay {
  position: fixed; inset: 0; z-index: 100;
  /* Start below HUD (48px) + nav bar (51px) + safe-area */
  padding-top: calc(100px + var(--sat, env(safe-area-inset-top, 0px)));
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn 0.2s ease;
}
.sched-tour-card {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(139,92,246,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(255,215,0,0.04) 0%, transparent 45%),
    linear-gradient(180deg, rgba(14,14,22,0.98) 0%, rgba(10,10,16,0.99) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px 20px 0 0;
  padding: 20px 16px 32px;
  width: 100%; max-width: 420px;
  max-height: 100%; overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.sched-tour-title { font-size: 20px; font-weight: 800; color: var(--text); text-align: center; letter-spacing: -0.3px; }

/* ====== SCHEDULE TOURING ARTIST ====== */
.sched-artist-touring {
  opacity: 0.5;
  pointer-events: none;
  border-color: rgba(232, 121, 249, 0.12);
}
.sched-artist-touring::before {
  background: #E879F9;
}

/* ====== SCHEDULE UNAVAILABLE ARTIST (break / suspended) ====== */
.sched-artist-unavailable {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(0.7);
  border-color: rgba(255, 145, 0, 0.12);
}
.sched-artist-unavailable::before {
  background: #F97316;
}

.sched-tour-nav-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px;
  font-size: 13px; font-weight: 700;
  margin-bottom: 8px;
  color: #FFD700;
  border-color: rgba(255, 215, 0, 0.2);
  background: linear-gradient(135deg, rgba(255,215,0,0.06), rgba(255,165,0,0.03));
}

/* ====== EXIT BUTTON ====== */
.hud-exit-btn {
  color: #ef4444;
  margin-left: 4px;
}
.hud-exit-btn:hover { color: #f87171; }

/* ====== RADIO BUTTON ====== */
.hud-radio-active {
  color: #22c55e;
}
.hud-radio-active:hover { color: #4ade80; }

/* ====== SECTION HEADER ====== */
.screen-section-header {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold, #FFD700);
  padding: 8px 16px 4px;
  text-shadow: 0 0 8px rgba(255,215,0,0.3);
}

/* ====== NAV BAR (endorsement-style tabs) ====== */
.nav-btn {
  flex-direction: column; gap: 0; font-size: 0;
  padding: 9px 10px; border-radius: 10px;
  background: none; border: 1px solid transparent;
  color: rgba(255,255,255,0.35); box-shadow: none;
  transition: all 0.25s ease;
}
.nav-btn:hover {
  color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.03);
  border-color: transparent; box-shadow: none; transform: none;
}
.nav-btn:active { transform: scale(0.95); box-shadow: none; }
.nav-btn svg { opacity: 0.5; transition: opacity 0.2s; }
.nav-btn:hover svg { opacity: 0.7; }
.nav-btn.nav-active {
  color: #FFD700;
  background: linear-gradient(180deg, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0.04) 100%);
  border-color: rgba(255,215,0,0.2);
  box-shadow: 0 2px 12px rgba(255,215,0,0.08), inset 0 1px 0 rgba(255,215,0,0.1);
}
.nav-btn.nav-active svg { opacity: 1; }
.nav-btn .nav-icon { display: flex; align-items: center; justify-content: center; }
.nav-btn .nav-icon svg { width: 20px; height: 20px; }

/* ====== PUBLISHING GENRE TABS ====== */
.pub-genre-tabs {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 6px;
}
.pub-genre-tabs::-webkit-scrollbar { display: none; }
.pub-genre-tab {
  padding: 4px 10px; border-radius: 16px;
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.3px; white-space: nowrap;
  background: rgba(255,255,255,0.04); color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.06); cursor: pointer;
  transition: all 0.15s;
}
.pub-genre-tab.active {
  background: rgba(255,215,0,0.12); color: var(--gold, #FFD700);
  border-color: rgba(255,215,0,0.25);
}
.pub-genre-tab:hover:not(.active) { background: rgba(255,255,255,0.08); }

/* ====== PUBLISHING FILTER ROW ====== */
.pub-filter-row {
  display: flex; align-items: center; gap: 8px; justify-content: space-between;
}
.pub-gender-filter {
  display: flex; gap: 3px;
}
.pub-gender-btn {
  padding: 4px 8px; border-radius: 10px;
  font-size: 0.55rem; font-weight: 700;
  background: rgba(255,255,255,0.04); color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.06); cursor: pointer;
  transition: all 0.15s;
  display: flex; align-items: center; justify-content: center;
  min-width: 28px; min-height: 22px;
}
.pub-gender-btn.active {
  background: rgba(139,92,246,0.12); color: #a78bfa;
  border-color: rgba(139,92,246,0.25);
}
.pub-gender-btn:hover:not(.active) { background: rgba(255,255,255,0.08); }
.pub-gender-btn svg { display: block; }

/* Publishing search bar (wrap variant) */
.pub-search-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}
.pub-search-icon {
  position: absolute;
  left: 7px;
  color: rgba(200,164,78,0.45);
  pointer-events: none;
  flex-shrink: 0;
}


/* ====== CAMPAIGN / PROMOTE OVERLAY ====== */
.campaign-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  padding: 20px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.campaign-overlay.hidden { display: none; }

.campaign-overlay-header {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.campaign-overlay-title {
  font-size: 16px;
  font-weight: 800;
  color: #f3f4f6;
  margin: 0;
}
.campaign-overlay-artist {
  font-size: 12px;
  color: #9ca3af;
}

.campaign-stats-row {
  display: flex;
  gap: 10px;
}
.campaign-stat-item {
  flex: 1;
  background: rgba(42, 48, 52, 0.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.campaign-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.campaign-stat-value {
  font-size: 15px;
  font-weight: 800;
  color: #f3f4f6;
  font-variant-numeric: tabular-nums;
}

.campaign-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.campaign-promo-option {
  background: rgba(8,10,18,0.90);
  border: 1px solid rgba(255,215,0,0.15);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s;
}
.campaign-promo-option:hover {
  border-color: rgba(255,215,0,0.3);
  box-shadow: 0 2px 10px rgba(255,215,0,0.06);
}
.campaign-promo-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.campaign-promo-icon {
  width: 28px;
  height: 28px;
  color: #ffd700;
  flex-shrink: 0;
}
.campaign-promo-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.campaign-promo-name {
  font-size: 14px;
  font-weight: 700;
  color: #f3f4f6;
}
.campaign-promo-desc {
  font-size: 13px;
  color: #9ca3af;
}

.campaign-tiers {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.campaign-tier-btn {
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(42, 48, 52, 0.6);
  border: 1px solid rgba(255,255,255,0.1);
  color: #ccc;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.campaign-tier-btn:hover {
  border-color: rgba(255,215,0,0.4);
  color: #FFD700;
  background: rgba(255,215,0,0.08);
}
.campaign-tier-btn:active {
  transform: scale(0.96);
}

/* Promote button inline in discography rows */
.promote-song-btn {
  font-size: 13px !important;
  padding: 4px 12px !important;
  color: #ffd700;
  border-color: rgba(255,215,0,0.25);
  flex-shrink: 0;
  margin-left: auto;
}
.promote-song-btn:hover {
  background: rgba(255,215,0,0.1);
  border-color: rgba(255,215,0,0.4);
}

/* Talk button highlight on artist detail */
.detail-talk-btn {
  border-color: rgba(168,85,247,0.35) !important;
  color: #c084fc !important;
}
.detail-talk-btn:hover {
  background: rgba(168,85,247,0.12) !important;
}

/* ====== ARTIST CHAT SCREEN ====== */

.ac-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: calc(100vh - 120px);
  overflow: hidden;
}

/* Header */
.ac-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(20,20,24,0.95);
  border-bottom: 1px solid rgba(255,215,0,0.1);
  flex-shrink: 0;
}
.ac-back-btn {
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.ac-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid rgba(255,215,0,0.3);
}
.ac-header-info {
  flex: 1;
  min-width: 0;
}
.ac-header-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ac-header-mood {
  font-size: 0.6rem;
  font-weight: 600;
}
.ac-header-stats {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}
.ac-stat {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ac-stat-label {
  font-size: 0.5rem;
  color: rgba(255,255,255,0.5);
  width: 36px;
  text-align: right;
}
.ac-stat-track {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.ac-stat-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.4s ease;
}
.ac-stat-value {
  font-size: 0.5rem;
  color: rgba(255,255,255,0.6);
  width: 18px;
  font-weight: 600;
}

/* Messages Area */
.ac-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-behavior: smooth;
}
.ac-msg {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  max-width: 88%;
  animation: ac-msg-in 0.3s ease-out;
}
@keyframes ac-msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ac-msg-artist {
  align-self: flex-start;
}
.ac-msg-player {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.ac-msg-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}
.ac-bubble {
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.72rem;
  line-height: 1.4;
  max-width: 100%;
  word-wrap: break-word;
}
.ac-bubble-artist {
  background: rgba(30,20,60,0.85);
  border: 1px solid rgba(120,100,180,0.35);
  color: #e8e4f0;
  border-bottom-left-radius: 4px;
}
.ac-bubble-player {
  background: linear-gradient(135deg, rgba(50,40,10,0.88) 0%, rgba(40,32,8,0.82) 100%);
  border: 1px solid rgba(255,215,0,0.4);
  color: #ffd700;
  border-bottom-right-radius: 4px;
}

/* Effect badges */
.ac-effect-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 5px;
}
.ac-effect-badge {
  font-size: 0.62rem;
  padding: 1px 5px;
  border-radius: 6px;
  font-weight: 700;
}
.ac-effect-badge svg { display: inline-block; vertical-align: -2px; margin-right: 2px; }
.ac-chip svg { display: inline-block; vertical-align: -2px; margin-right: 1px; }
.ac-effect-pos {
  color: #4ade80;
  background: rgba(34,197,94,0.12);
}
.ac-effect-neg {
  color: #f87171;
  background: rgba(239,68,68,0.12);
}
.ac-effect-special {
  color: #60a5fa;
  background: rgba(96,165,250,0.15);
  border: 1px solid rgba(96,165,250,0.25);
}
/* Choice button cost/reward chips */
.ac-choice-chips {
  display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px;
}
.ac-chip {
  font-size: 0.6rem; font-weight: 700; padding: 1px 6px; border-radius: 8px;
}
.ac-chip-neg { color: #f87171; background: rgba(239,68,68,0.15); }
.ac-chip-pos { color: #4ade80; background: rgba(34,197,94,0.15); }
.ac-chip-special { color: #60a5fa; background: rgba(96,165,250,0.12); border: 1px solid rgba(96,165,250,0.2); }

/* Typing indicator */
.ac-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 16px;
  min-width: 50px;
}
.ac-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: ac-typing-bounce 1.2s infinite;
}
.ac-typing-dot:nth-child(2) { animation-delay: 0.2s; }
.ac-typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes ac-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Choice Panel */
.ac-choice-panel {
  padding: 8px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(20,20,24,0.95);
  border-top: 1px solid rgba(255,215,0,0.08);
  flex-shrink: 0;
  max-height: 40%;
  overflow-y: auto;
}
.ac-choice-hint {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.ac-choice-btn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  animation: ac-choice-in 0.3s ease-out backwards;
}
@keyframes ac-choice-in {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}
.ac-choice-btn:hover {
  transform: translateX(3px);
  filter: brightness(1.2);
}
.ac-choice-btn:active {
  transform: scale(0.97);
}
.ac-choice-btn:disabled {
  pointer-events: none;
}
.ac-choice-type {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ac-choice-text {
  font-size: 0.7rem;
  color: #e0e0e6;
  line-height: 1.3;
}

/* Continue/Done buttons */
.ac-continue-btn, .ac-done-btn {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,215,0,0.2);
  background: rgba(255,215,0,0.08);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}
.ac-continue-btn:hover, .ac-done-btn:hover {
  background: rgba(255,215,0,0.15);
}
.ac-done-btn {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

/* ══════════════════════════════════════════════════════
   Signing Confirmation Overlay
   ══════════════════════════════════════════════════════ */
.sign-confirm-backdrop {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.sign-confirm-confetti {
  position: fixed; inset: 0; z-index: 10000;
  pointer-events: none; overflow: hidden;
  animation: fadeIn 0.25s ease;
}
.sign-confirm-modal {
  width: 100%; max-width: 360px;
  background: linear-gradient(180deg, rgba(30,30,42,0.97) 0%, rgba(14,14,18,0.98) 100%);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 18px;
  padding: 28px 22px 22px;
  text-align: center;
  box-shadow: 0 12px 48px rgba(0,0,0,0.6), 0 0 24px rgba(255,215,0,0.08);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sign-confirm-portrait {
  width: 72px; height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,215,0,0.4);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 16px rgba(255,215,0,0.15);
}
.sign-confirm-portrait-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.sign-confirm-portrait-initials {
  font-size: 1.6rem; font-weight: 800;
  color: #FFD700;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}

.sign-confirm-title {
  font-size: 1.1rem; font-weight: 800;
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 8px;
}
.sign-confirm-msg {
  font-size: 0.78rem; line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin: 0 0 16px;
}
.sign-confirm-msg strong {
  color: #f3f4f6;
}

.sign-confirm-terms {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
}
.sign-confirm-term-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.sign-confirm-term-row:last-child {
  border-bottom: none;
}
.sign-confirm-term-label {
  font-size: 0.7rem; font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.sign-confirm-term-value {
  font-size: 0.75rem; font-weight: 700;
  color: rgba(255,255,255,0.85);
}
.sign-confirm-term-gold {
  color: #FFD700;
}

.sign-confirm-bonus-section {
  background: rgba(255,215,0,0.04);
  border: 1px solid rgba(255,215,0,0.1);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.sign-confirm-bonus-hint {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  margin: 0 0 10px;
  line-height: 1.4;
}

.sign-confirm-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 0.78rem; font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.sign-confirm-btn-bonus {
  background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,180,0,0.1));
  border-color: rgba(255,215,0,0.3);
  color: #FFD700;
}
.sign-confirm-btn-bonus:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(255,215,0,0.25), rgba(255,180,0,0.18));
  box-shadow: 0 0 12px rgba(255,215,0,0.15);
}
.sign-confirm-btn-paid {
  background: rgba(34,197,94,0.12) !important;
  border-color: rgba(34,197,94,0.3) !important;
  color: #22C55E !important;
  cursor: default;
}
.sign-confirm-btn-disabled {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.35) !important;
  cursor: not-allowed;
}

.sign-confirm-btn-continue {
  margin-top: 6px;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
}
.sign-confirm-btn-continue:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* ====== RECORD SCREEN — Premium Overhaul ====== */
.rec-screen {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  background: rgba(8,8,14,0.45);
}

/* Header */
.rec-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px 8px; position: sticky; top: 0;
  z-index: 10; backdrop-filter: blur(12px);
  background: rgba(11,15,26,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.rec-header-title { flex: 1; min-width: 0; }
.rec-header-title-text {
  flex-shrink: 0;
  background: linear-gradient(135deg, #f4f4f5, #a1a1aa, #d4d4d8, #e4e4e7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-flex; align-items: center; gap: 6px;
}
.rec-header-icon {
  display: inline-flex; align-items: center;
}
.rec-header-icon svg {
  filter: brightness(1.8) drop-shadow(0 0 3px rgba(200,200,220,0.4));
  color: #c0c0c8;
}
.rec-ticker-wrap {
  overflow: hidden; flex: 1; min-width: 0; margin-left: 6px;
}
.rec-ticker-text {
  display: inline-block; white-space: nowrap;
  font-size: 0.65rem; color: rgba(255,255,255,0.35);
  font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
  animation: sched-ticker-scroll 10.4s linear infinite;
}

/* Subtabs */
.rec-subtabs { display: flex; gap: 4px; padding: 4px 14px 6px; }
.rec-subtab {
  flex: 1; padding: 6px 8px; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px;
  background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.4);
  font-size: 0.65rem; font-weight: 700; cursor: pointer; text-align: center;
  transition: all 0.15s; text-transform: uppercase; letter-spacing: 0.5px;
}
.rec-subtab:hover { background: rgba(255,255,255,0.06); }
.rec-subtab-active { background: rgba(168,85,247,0.15); border-color: rgba(168,85,247,0.4); color: #a78bfa; }
.rec-subtab-count { font-weight: 800; margin-left: 3px; }
.rec-studio-count { color: #FBBF24; }

/* Compact filter bar */
.rec-filter-compact { padding: 2px 14px 4px !important; }
.rec-filter-compact .rec-search-wrap { height: 34px; }
.rec-filter-compact .rec-search-icon { top: 9px; left: 8px; }
.rec-filter-compact .rec-genre-btn { padding: 4px 6px; font-size: 0.65rem; height: 34px; }
.rec-title {
  font-size: 1rem; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 6px; margin: 0; min-width: 0;
}
.rec-title svg { flex-shrink: 0; }
.rec-title-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-hint {
  font-size: clamp(0.5rem, 2.2vw, 0.72rem); color: rgba(255,255,255,0.35); font-weight: 500;
  letter-spacing: 0.2px;
}

/* Dashboard Stats */
.rec-dashboard {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: 0 10px;
}
.rec-dash-card {
  display: flex; align-items: center; gap: 8px;
  background: rgba(18,18,28,0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10);
  border-top: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px; padding: 8px 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 8px rgba(0,0,0,0.25);
}
.rec-dash-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rec-dash-data { display: flex; flex-direction: column; gap: 1px; }
.rec-dash-value { font-size: 0.92rem; font-weight: 800; }
.rec-dash-label { font-size: 0.62rem; color: rgba(255,255,255,0.4); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }

/* Section Headers */
.rec-section-header {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.rec-section-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.rec-section-title {
  font-size: 0.78rem; font-weight: 800; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.5px; margin: 0;
}
.rec-section-count {
  background: rgba(255,215,0,0.12); color: var(--gold, #FFD700);
  font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 8px;
  margin-left: auto;
}

/* Side-by-side layout: artists left, songs right */
.rec-panes {
  display: flex; flex-direction: row; gap: 6px; flex: 1; min-height: 0; overflow: hidden;
  padding: 0 10px;
}
.rec-pane {
  background: rgba(14,14,22,0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 4px 20px rgba(0,0,0,0.35);
}
/* Artists left (narrower), Songs right (wider) */
.rec-pane-artists { flex: 1; flex-shrink: 0; min-width: 90px; }
.rec-pane-songs { flex: 2.5; min-width: 0; }

/* Artist List — vertical column */
.rec-artist-list {
  overflow-y: auto; overflow-x: hidden; padding: 6px;
  display: flex; flex-direction: column; gap: 6px;
  scrollbar-width: none; -ms-overflow-style: none;
  flex: 1;
}
.rec-artist-list::-webkit-scrollbar { display: none; }
.rec-artist-card {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 5px 4px; border-radius: 8px;
  background: rgba(18,18,28,0.75);
  border: 1.5px solid rgba(255,255,255,0.08);
  cursor: pointer; transition: all 0.2s;
  text-align: center; position: relative; overflow: hidden;
  flex-shrink: 0; width: 100%;
}
.rec-artist-card:hover { background: rgba(22,22,34,0.85); border-color: rgba(255,255,255,0.18); }
.rec-artist-active {
  background: rgba(168,85,247,0.1) !important;
  border-color: rgba(168,85,247,0.4) !important;
}
.rec-artist-unavail { opacity: 0.45; }
.rec-artist-center-row { display: flex; align-items: center; justify-content: center; gap: 6px; }
.rec-artist-name { font-size: 0.6rem; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.rec-artist-genre-icon { display: flex; align-items: center; flex-shrink: 0; }
.rec-artist-avatar {
  width: 38px; height: 38px; border-radius: 8px; overflow: hidden;
  flex-shrink: 0; background: rgba(14,14,20,0.8);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.08);
}
.rec-artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rec-artist-initial {
  font-size: 0.85rem; font-weight: 800; color: rgba(255,255,255,0.4);
}
.rec-artist-details {
  display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1;
}
.rec-artist-name {
  font-size: 0.85rem; font-weight: 700; color: var(--text);
  white-space: normal; word-break: break-word; line-height: 1.2;
}
.rec-genre-pill {
  font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: 7px;
  text-transform: uppercase; letter-spacing: 0.3px; width: fit-content;
}
.rec-busy-pill {
  font-size: 0.65rem; font-weight: 700; color: #F59E0B;
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2);
  padding: 3px 8px; border-radius: 7px; text-transform: uppercase;
  letter-spacing: 0.3px; width: fit-content;
}
.rec-artist-status {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  flex-shrink: 0; margin-left: auto;
}
.rec-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.rec-status-ready { background: #22C55E; box-shadow: 0 0 5px rgba(34,197,94,0.4); }
.rec-status-busy { background: #EF4444; }
.rec-mini-bars { display: flex; flex-direction: column; gap: 3px; width: 44px; }
.rec-mini-bar {
  height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden;
}
.rec-mini-fill { height: 100%; border-radius: 2px; transition: width 0.3s; }

/* Filter Bar */
.rec-filter-bar {
  display: flex; flex-direction: column; gap: 4px;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.rec-search-wrap {
  position: relative; display: flex; align-items: center;
}
.rec-search-icon {
  position: absolute; left: 7px; color: rgba(255,255,255,0.3);
  pointer-events: none;
}
.rec-search-input {
  width: 100%; height: 34px; padding: 0 14px 0 28px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1); box-sizing: border-box;
  background: rgba(255,255,255,0.03); color: var(--text);
  font-size: 0.78rem; font-weight: 700; outline: none; transition: border-color 0.2s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.rec-search-input::placeholder { color: rgba(255,255,255,0.35); font-weight: 700; }
.rec-search-input:focus {
  border-color: rgba(255,215,0,0.3); background: rgba(255,255,255,0.06);
}
.rec-genre-filters {
  display: flex; gap: 6px; overflow-x: auto; padding: 3px 0;
  -webkit-overflow-scrolling: touch; align-items: center; flex: 1;
}

/* Producer pill button */
.rec-producer-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 22px;
  font-size: 0.65rem; font-weight: 800;
  color: rgba(255,255,255,0.6);
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  cursor: pointer; white-space: nowrap;
  transition: all 0.15s;
  min-height: 44px; flex-shrink: 0;
}
.rec-producer-btn:active { transform: scale(0.95); }
.rec-producer-active {
  color: #A855F7;
  background: rgba(139,92,246,0.2);
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 0 8px rgba(139,92,246,0.2);
}

/* Producer overlay */
.rec-producer-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.rec-producer-overlay.visible { opacity: 1; pointer-events: auto; }
.rec-producer-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.rec-producer-panel {
  position: relative; z-index: 1;
  width: 92%; max-width: 380px; max-height: 60vh;
  background: rgba(18,18,26,0.95);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 16px 16px 0 0;
  display: flex; flex-direction: column;
  animation: recProducerSlide 0.25s ease-out;
}
@keyframes recProducerSlide {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.rec-producer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rec-producer-title { font-size: 14px; font-weight: 800; color: #A855F7; }
.rec-producer-close {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: none;
  color: rgba(255,255,255,0.5); font-size: 18px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.rec-producer-list {
  overflow-y: auto; padding: 8px 12px calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 8px;
}
.rec-producer-card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.rec-producer-card:active { background: rgba(139,92,246,0.1); border-color: rgba(139,92,246,0.3); }
.rec-producer-card-top { display: flex; justify-content: space-between; align-items: center; }
.rec-producer-card-name { font-size: 12px; font-weight: 800; color: #fff; }
.rec-producer-card-rarity { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.rec-producer-card-desc { font-size: 10px; color: rgba(255,255,255,0.5); line-height: 1.4; margin: 0; }
.rec-producer-card-stats { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.rec-producer-stat {
  font-size: 10px; font-weight: 800; color: #22C55E;
  background: rgba(34,197,94,0.1); padding: 2px 6px; border-radius: 4px;
}
.rec-producer-stat-pop { color: #F59E0B; background: rgba(245,158,11,0.1); }
.rec-producer-cost { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.4); margin-left: auto; }

/* ── Named Producer: Genre Match & Preview ── */
.rec-producer-genres {
  display: flex; gap: 4px; align-items: center; flex-wrap: wrap; margin: 4px 0 2px;
}
.rec-producer-genre-pill {
  font-size: 9px; font-weight: 700; padding: 1px 6px; border-radius: 8px;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.35);
  text-transform: capitalize;
}
.rec-genre-match {
  background: rgba(34,197,94,0.15); color: #22C55E;
  border: 1px solid rgba(34,197,94,0.3);
}
.rec-producer-match-badge {
  font-size: 9px; font-weight: 800; color: #22C55E; display: flex; align-items: center; gap: 2px;
}
.rec-producer-miss-badge {
  font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.25);
  letter-spacing: 0.5px;
}
.rec-producer-match {
  border-color: rgba(34,197,94,0.3) !important;
  background: rgba(34,197,94,0.04) !important;
}
.rec-stat-matched { color: #22C55E; background: rgba(34,197,94,0.15); }
.rec-producer-stat-sec { color: #60A5FA; background: rgba(96,165,250,0.1); }
.rec-producer-preview {
  display: flex; align-items: center; gap: 6px; margin-top: 4px;
  padding-top: 4px; border-top: 1px solid rgba(255,255,255,0.05);
}
.rec-producer-preview-label {
  font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.3);
  white-space: nowrap; min-width: 52px;
}
.rec-producer-preview-bar {
  flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.06);
  position: relative; overflow: hidden;
}
.rec-producer-preview-before {
  position: absolute; inset: 0; height: 100%; border-radius: 2px;
  background: rgba(255,255,255,0.15);
}
.rec-producer-preview-after {
  position: absolute; inset: 0; height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, rgba(168,85,247,0.5), rgba(34,197,94,0.6));
}
.rec-producer-preview-values {
  font-size: 10px; font-weight: 800; color: #22C55E;
  white-space: nowrap; display: flex; align-items: center; gap: 2px;
}
.rec-producer-selected {
  border-color: rgba(34,197,94,0.5) !important;
  background: rgba(34,197,94,0.08) !important;
  transform: scale(0.97);
  transition: all 0.3s ease;
}

/* ── Producer Boost Animation ── */
.rec-producer-boost-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.3s ease;
}
.rec-producer-boost-overlay.rec-producer-boost-active { opacity: 1; }
.rec-producer-boost-overlay.rec-producer-boost-done { opacity: 0; transition: opacity 0.5s ease 0.1s; }
.rec-producer-boost-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 32px 40px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(139,92,246,0.1));
  border: 1px solid rgba(168,85,247,0.4);
  transform: scale(0.7); transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.rec-producer-boost-active .rec-producer-boost-card { transform: scale(1); }
.rec-producer-boost-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(168,85,247,0.15); border: 2px solid rgba(168,85,247,0.5);
  display: flex; align-items: center; justify-content: center;
  animation: rec-producer-spin 1.2s linear infinite;
}
@keyframes rec-producer-spin {
  0% { transform: rotate(0deg); box-shadow: 0 0 10px rgba(168,85,247,0.3); }
  50% { box-shadow: 0 0 25px rgba(168,85,247,0.6); }
  100% { transform: rotate(360deg); box-shadow: 0 0 10px rgba(168,85,247,0.3); }
}
.rec-producer-boost-label {
  font-size: 14px; font-weight: 800; color: #A855F7;
  text-transform: uppercase; letter-spacing: 1px;
}
.rec-producer-boost-value {
  font-size: 28px; font-weight: 900; color: #22C55E;
  text-shadow: 0 0 20px rgba(34,197,94,0.4);
}
.rec-producer-boost-bar {
  width: 160px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.1); overflow: hidden;
}
.rec-producer-boost-fill {
  width: 0%; height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, #A855F7, #22C55E);
  transition: width 1s ease;
}
.rec-producer-boost-active .rec-producer-boost-fill { width: 100%; }

.rec-genre-btn {
  padding: 8px 14px; border-radius: 22px; font-size: 0.78rem; font-weight: 700;
  white-space: nowrap; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.4);
  cursor: pointer; transition: all 0.15s; display: inline-flex;
  align-items: center; justify-content: center; gap: 4px;
  min-width: 38px; min-height: 34px;
  -webkit-tap-highlight-color: transparent;
}
.rec-genre-btn:hover { background: rgba(255,255,255,0.06); }
.rec-genre-active {
  background: rgba(200,164,78,0.12); color: var(--gold-light, #e0c060);
  border-color: rgba(200,164,78,0.35);
}

/* Song List */
.rec-song-list {
  overflow-y: auto; flex: 1; padding: 4px;
  display: flex; flex-direction: column; gap: 4px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.rec-song-card {
  padding: 10px 12px; border-radius: 14px;
  background: rgba(18,18,28,0.75);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10);
  border-top: 1px solid rgba(255,255,255,0.14);
  cursor: pointer; transition: all 0.25s ease; position: relative;
  text-align: left; width: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 8px rgba(0,0,0,0.3);
}
.rec-song-card:hover { background: rgba(22,22,34,0.85); border-color: rgba(255,255,255,0.18); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.rec-song-selected {
  background: rgba(255,215,0,0.06) !important;
  border-color: rgba(255,215,0,0.2) !important;
}
.rec-song-queued { opacity: 0.45; border-color: rgba(96,165,250,0.2); }
.rec-song-recorded { pointer-events: none; background: rgba(0,0,0,0.35) !important; border-color: rgba(255,255,255,0.03) !important; }
.rec-song-recorded .rec-song-title { color: rgba(255,255,255,0.25); }
.rec-song-recorded .rec-song-tags,
.rec-song-recorded .rec-compat { display: none; }
.rec-song-ready-badge {
  display: inline-flex; flex-shrink: 0;
  font-size: 0.55rem; font-weight: 800; color: #22C55E;
  background: rgba(34,197,94,0.18); padding: 1px 6px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.3px; line-height: 1.4;
}
.rec-song-recorded-badge {
  display: inline-flex; flex-shrink: 0;
  font-size: 0.55rem; font-weight: 800; color: #60A5FA;
  background: rgba(96,165,250,0.18); padding: 1px 6px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.3px; line-height: 1.4;
}
.rec-song-recording-badge {
  display: inline-flex; flex-shrink: 0;
  font-size: 0.55rem; font-weight: 800; color: #FBBF24;
  background: rgba(251,191,36,0.18); padding: 1px 6px; border-radius: 3px;
  text-transform: uppercase; letter-spacing: 0.3px; line-height: 1.4;
  animation: rec-pulse 1.5s ease-in-out infinite;
}
.rec-recording-pulse {
  color: #FBBF24 !important;
  background: rgba(251,191,36,0.12) !important;
  border-color: rgba(251,191,36,0.25) !important;
  animation: rec-pulse 1.5s ease-in-out infinite;
}
@keyframes rec-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.rec-song-artist-thumb {
  width: 26px; height: 26px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(96,165,250,0.35);
  display: flex; align-items: center; justify-content: center;
}
.rec-song-artist-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.rec-song-artist-initial {
  font-size: 0.6rem; font-weight: 800; color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.rec-song-check {
  position: absolute; top: 6px; right: 8px; color: #22C55E;
}
.rec-song-queued-badge {
  position: absolute; top: 6px; right: 8px;
  font-size: 0.65rem; font-weight: 700; color: #60A5FA;
  background: rgba(96,165,250,0.12); padding: 2px 8px; border-radius: 4px;
}
.rec-song-top {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.rec-song-title {
  font-size: clamp(0.7rem, 2.5vw, 0.85rem); font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.25; flex: 1 1 auto; min-width: 60%;
}
.rec-song-genre {
  font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 8px;
  text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap;
  flex-shrink: 0;
}
.rec-play-btn {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: #22C55E; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s ease;
}
.rec-play-btn:hover { background: rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.3); }
.rec-play-btn:active { transform: scale(0.92); }
.rec-song-tags {
  display: flex; gap: 5px; margin-top: 4px; flex-wrap: wrap;
}
.rec-song-tag {
  font-size: 0.65rem; padding: 2px 7px; border-radius: 4px;
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.5);
  text-transform: capitalize;
}
.rec-compat {
  display: flex; align-items: center; gap: 8px; margin-top: 5px;
}
.rec-compat-track {
  flex: 1; height: 5px; background: rgba(255,255,255,0.06);
  border-radius: 3px; overflow: hidden;
}
.rec-compat-fill {
  height: 100%; border-radius: 3px; transition: width 0.3s;
}
.rec-compat-score {
  font-size: 0.72rem; font-weight: 700; white-space: nowrap;
}

/* Artist Stat Bonuses */
.rec-stat-bonuses {
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  margin-top: 4px;
  align-items: center;
}
.rec-bonus-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.58rem;
  font-weight: 600;
  border: 1px solid;
  white-space: nowrap;
}
.rec-bonus-pill svg {
  flex-shrink: 0;
}
.rec-bonus-pill b {
  font-weight: 800;
}
.rec-bonus-total {
  font-size: 0.58rem;
  font-weight: 700;
  margin-left: auto;
  white-space: nowrap;
}

/* Action Bar */
.rec-actions {
  display: flex; gap: 6px; padding: 6px 10px 2px;
}
.rec-btn {
  flex: 1; padding: 12px 14px; border-radius: 10px;
  font-size: 0.85rem; font-weight: 700; border: none;
  cursor: pointer; transition: all 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.rec-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.rec-btn-record {
  background: linear-gradient(135deg, rgba(255,215,0,0.18), rgba(255,180,0,0.12));
  border: 1px solid rgba(255,215,0,0.3); color: var(--gold-light, #FFD700);
}
.rec-btn-record:not(:disabled):hover {
  background: linear-gradient(135deg, rgba(255,215,0,0.25), rgba(255,180,0,0.18));
}
.rec-btn-queue {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.6);
}
.rec-btn-queue:not(:disabled):hover {
  background: rgba(255,255,255,0.08); color: var(--text);
}
.rec-btn svg { flex-shrink: 0; }

/* Bundle Queue */
.rec-queue-section {
  background: rgba(96,165,250,0.04);
  border: 1px solid rgba(96,165,250,0.12);
  border-radius: 10px; padding: 8px 10px; margin: 0 10px 4px;
}
.rec-queue-clear-btn {
  font-size: 0.68rem; font-weight: 700; color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; padding: 4px 10px; cursor: pointer;
  margin-left: auto; transition: all 0.15s;
}
.rec-queue-clear-btn:hover { color: #EF4444; border-color: rgba(239,68,68,0.2); }
.rec-queue-items {
  display: flex; flex-direction: column; gap: 2px; margin: 4px 0 6px;
}
.rec-queue-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; padding: 6px 8px;
  background: rgba(255,255,255,0.02); border-radius: 6px;
}
.rec-queue-num {
  color: rgba(255,255,255,0.25); font-weight: 700; width: 14px; text-align: center;
}
.rec-queue-song {
  flex: 1; color: var(--text); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rec-queue-artist {
  color: rgba(255,255,255,0.45); font-size: 0.72rem;
}
.rec-queue-remove {
  background: none; border: none; color: rgba(255,255,255,0.3);
  cursor: pointer; font-size: 0.7rem; padding: 0 2px;
}
.rec-queue-remove:hover { color: #EF4444; }

/* Empty states */
.rec-empty-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 20px 12px; gap: 4px; text-align: center;
}
.rec-empty-title {
  font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.4); margin: 0;
}
.rec-empty-desc {
  font-size: 0.72rem; color: rgba(255,255,255,0.25); margin: 0; max-width: 220px;
}

/* ===== Endorsement Screen — Premium Overhaul ===== */

/* Layout Shell */
.endo-screen {
  display: flex; flex-direction: column; height: 100%;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(139,92,246,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 60%, rgba(255,215,0,0.06) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 90%, rgba(96,165,250,0.05) 0%, transparent 40%),
    linear-gradient(180deg, rgba(11,15,26,1) 0%, rgba(8,8,14,1) 100%);
}

/* Sticky Header */
.endo-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; position: sticky; top: 0; z-index: 10;
  background: rgba(10,10,18,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.endo-back-btn {
  background: linear-gradient(135deg, rgba(30,28,22,0.8), rgba(22,20,16,0.6)) !important;
  border: 1px solid rgba(255,215,0,0.15) !important;
  padding: 6px 10px !important; font-size: 0.5rem !important;
  color: rgba(255,215,0,0.7) !important;
  border-radius: 50% !important;
  width: 34px !important; height: 34px !important; min-height: 34px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,215,0,0.06) !important;
}
.endo-header-title { flex: 1; min-width: 0; }
.endo-title {
  font-size: 0.8rem; font-weight: 800; color: var(--text); margin: 0;
  letter-spacing: -0.3px;
}
.endo-subtitle {
  font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 1px;
  letter-spacing: 0.3px;
}

/* ── Tab Bar ── */
.endo-tab-bar {
  display: flex; gap: 2px; padding: 8px 14px 6px;
  background: rgba(10,10,18,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.endo-tab {
  flex: 1; padding: 9px 4px; border-radius: 10px;
  background: none; border: 1px solid transparent;
  color: rgba(255,255,255,0.35); cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: all 0.25s ease; position: relative;
}
.endo-tab svg { opacity: 0.5; flex-shrink: 0; transition: opacity 0.2s; }
.endo-tab-text {
  font-size: 0.5rem; font-weight: 700; letter-spacing: 0.3px;
}
.endo-tab:hover {
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.03);
}
.endo-tab:hover svg { opacity: 0.7; }
.endo-tab-active {
  color: #FFD700;
  background: linear-gradient(180deg, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0.04) 100%);
  border-color: rgba(255,215,0,0.2);
  box-shadow: 0 2px 12px rgba(255,215,0,0.08), inset 0 1px 0 rgba(255,215,0,0.1);
}
.endo-tab-active svg { opacity: 1; stroke: #FFD700; }
.endo-tab-badge {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #fff; border-radius: 10px;
  padding: 3px 8px; font-size: 0.72rem; font-weight: 800;
  min-width: 16px; text-align: center; line-height: 1.4;
  box-shadow: 0 1px 4px rgba(239,68,68,0.3);
  animation: endo-pulse 2s ease-in-out infinite;
}
@keyframes endo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ── Scrollable Body ── */
.endo-body {
  flex: 1; overflow-y: auto; padding: 14px 14px 14px;
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 14px;
}

/* ── Dashboard Stats ── */
.endo-dashboard {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.endo-dash-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 10px;
  display: flex; align-items: center; gap: 8px;
  transition: border-color 0.2s;
}
.endo-dash-card:hover { border-color: rgba(255,255,255,0.1); }
.endo-dash-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.endo-dash-data { min-width: 0; }
.endo-dash-value {
  display: block; font-size: 0.65rem; font-weight: 800; color: var(--text);
  line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.endo-dash-label {
  display: block; font-size: 0.72rem; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px;
  font-weight: 600;
}

/* ── Section Headers ── */
.endo-section {
  display: flex; flex-direction: column; gap: 8px;
}
.endo-section-header {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.endo-section-dot {
  width: 7px; height: 7px; border-radius: 50%;
  box-shadow: 0 0 6px currentColor;
}
.endo-section-title {
  flex: 1; margin: 0;
  font-size: 0.85rem; font-weight: 800; color: rgba(255,255,255,0.6);
  text-transform: uppercase; letter-spacing: 0.8px;
}
.endo-section-count {
  font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06); padding: 3px 8px; border-radius: 10px;
}
.endo-list {
  display: flex; flex-direction: column; gap: 8px;
}

/* ── Deal Cards ── */
.endo-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; transition: all 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  animation: endo-cardIn 0.35s ease-out both;
}
.endo-list .endo-card:nth-child(1) { animation-delay: 0s; }
.endo-list .endo-card:nth-child(2) { animation-delay: 0.06s; }
.endo-list .endo-card:nth-child(3) { animation-delay: 0.12s; }
.endo-list .endo-card:nth-child(4) { animation-delay: 0.18s; }
.endo-list .endo-card:nth-child(5) { animation-delay: 0.24s; }
@keyframes endo-cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.endo-card:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.endo-card-ribbon {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  border-radius: 14px 0 0 14px;
}
.endo-card-body {
  padding: 14px 14px 14px 18px;
  display: flex; flex-direction: column; gap: 10px;
}

/* Pending card glow */
.endo-card-pending {
  border-color: rgba(255,215,0,0.12);
  background: linear-gradient(135deg, rgba(255,215,0,0.03) 0%, rgba(255,215,0,0.01) 100%);
}
.endo-card-pending:hover {
  border-color: rgba(255,215,0,0.25);
  box-shadow: 0 4px 20px rgba(255,215,0,0.08);
}

/* Active card */
.endo-card-active {
  border-color: rgba(34,197,94,0.12);
  background: linear-gradient(135deg, rgba(34,197,94,0.03) 0%, rgba(34,197,94,0.01) 100%);
}
.endo-card-active:hover {
  border-color: rgba(34,197,94,0.25);
  box-shadow: 0 4px 20px rgba(34,197,94,0.08);
}

/* Sync card */
.endo-card-sync {
  border-color: rgba(96,165,250,0.12);
  background: linear-gradient(135deg, rgba(96,165,250,0.03) 0%, rgba(96,165,250,0.01) 100%);
}
.endo-card-sync:hover {
  border-color: rgba(96,165,250,0.25);
  box-shadow: 0 4px 20px rgba(96,165,250,0.08);
}

/* History card */
.endo-card-history { opacity: 0.75; }
.endo-card-history:hover { opacity: 0.9; }

/* ── Card Header ── */
.endo-card-top {
  display: flex; align-items: center; gap: 10px;
}
.endo-brand-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.2s;
}
.endo-brand-icon svg { width: 26px; height: 26px; }
.endo-card:hover .endo-brand-icon { transform: scale(1.05); }
.endo-brand-icon-sm { width: 42px; height: 42px; border-radius: 12px; }
.endo-brand-icon-sm svg { width: 22px; height: 22px; }
.endo-card-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.endo-brand-name {
  font-size: 0.65rem; font-weight: 800; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: -0.2px; line-height: 1.2;
}
.endo-artist-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
  display: flex; align-items: center; gap: 3px;
  font-weight: 500;
}
.endo-artist-label svg { opacity: 0.5; flex-shrink: 0; }
.endo-cat-pill {
  font-size: 0.72rem; font-weight: 800; padding: 3px 10px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: 0.6px;
  white-space: nowrap; flex-shrink: 0;
}
.endo-time-badge {
  font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06); padding: 3px 8px; border-radius: 8px;
  white-space: nowrap;
}

/* ── Expiry Warning ── */
.endo-expiry {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.5);
  padding: 4px 8px; border-radius: 6px;
  background: rgba(255,255,255,0.03);
}
.endo-expiry svg { flex-shrink: 0; }
.endo-expiry.warning {
  color: #F59E0B; background: rgba(245,158,11,0.08);
}
.endo-expiry.urgent {
  color: #EF4444; background: rgba(239,68,68,0.08);
  animation: endo-urgent 1.5s ease-in-out infinite;
}
@keyframes endo-urgent {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ── Deal Terms (new layout) ── */
.endo-terms {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
}
.endo-term-item {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px; padding: 8px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center; transition: background 0.2s;
}
.endo-term-item:hover { background: rgba(255,255,255,0.04); }
.endo-term-icon {
  color: rgba(255,255,255,0.25);
}
.endo-term-data { display: flex; flex-direction: column; gap: 1px; }
.endo-term-val {
  font-size: 0.7rem; font-weight: 800; color: var(--text);
  line-height: 1.1;
}
.endo-term-lbl {
  font-size: 0.6rem; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600;
}

/* ── Total Value Banner ── */
.endo-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,215,0,0.06) 0%, rgba(255,215,0,0.02) 100%);
  border: 1px solid rgba(255,215,0,0.1);
}
.endo-total-label {
  font-size: 0.65rem; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700;
}
.endo-total-value {
  font-size: 0.82rem; font-weight: 900; color: #FFD700;
  letter-spacing: -0.3px;
  text-shadow: 0 0 12px rgba(255,215,0,0.3);
}

/* ── Action Buttons ── */
.endo-actions {
  display: flex; gap: 6px;
}
.endo-btn {
  flex: 1; padding: 10px 12px; border-radius: 10px;
  font-size: 0.7rem; font-weight: 800; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: all 0.2s ease; border: 1px solid transparent;
  letter-spacing: 0.3px;
}
.endo-btn-accept {
  background: linear-gradient(135deg, rgba(255,215,0,0.15) 0%, rgba(255,215,0,0.08) 100%);
  color: #FFD700; border-color: rgba(255,215,0,0.25);
}
.endo-btn-accept:hover {
  background: linear-gradient(135deg, rgba(255,215,0,0.25) 0%, rgba(255,215,0,0.12) 100%);
  border-color: rgba(255,215,0,0.4);
  box-shadow: 0 2px 12px rgba(255,215,0,0.15);
  transform: translateY(-1px);
}
.endo-btn-accept:active { transform: translateY(0); }
.endo-btn-decline {
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.4);
  border-color: rgba(255,255,255,0.06);
}
.endo-btn-decline:hover {
  background: rgba(239,68,68,0.08); color: #EF4444;
  border-color: rgba(239,68,68,0.2);
}

/* ── Done Button ── */
.endo-bottom {
  padding: 16px 20px 20px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: center;
}
.endo-done-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px;
  padding: 12px 32px; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, rgba(255,215,0,0.15) 0%, rgba(255,215,0,0.08) 100%);
  color: #FFD700; border: 1px solid rgba(255,215,0,0.25);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.5px; transition: all 0.2s;
}
.endo-done-btn:hover {
  background: linear-gradient(135deg, rgba(255,215,0,0.25) 0%, rgba(255,215,0,0.12) 100%);
  border-color: rgba(255,215,0,0.4);
  transform: translateY(-1px); box-shadow: 0 2px 12px rgba(255,215,0,0.15);
}
.endo-done-btn:active { transform: translateY(0); }

/* ── Progress Bar ── */
.endo-progress-section {
  display: flex; flex-direction: column; gap: 4px;
}
.endo-progress-header {
  display: flex; justify-content: space-between; align-items: center;
}
.endo-progress-label {
  font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.5);
}
.endo-progress-pct {
  font-size: 0.65rem; font-weight: 800; color: rgba(255,255,255,0.6);
}
.endo-progress-track {
  height: 5px; background: rgba(255,255,255,0.06);
  border-radius: 3px; overflow: hidden;
}
.endo-progress-fill {
  height: 100%; border-radius: 3px;
  transition: width 0.4s ease;
  box-shadow: 0 0 8px var(--cat-color, #22C55E);
}

/* ── Revenue Row ── */
.endo-revenue-row {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px; padding: 8px 0; overflow: hidden;
}
.endo-revenue-row-compact { padding: 6px 0; }
.endo-rev-item {
  flex: 1; text-align: center;
  display: flex; flex-direction: column; gap: 1px;
}
.endo-rev-label {
  font-size: 0.6rem; font-weight: 700; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.endo-rev-value {
  font-size: 0.7rem; font-weight: 800; color: var(--text);
  line-height: 1.2;
}
.endo-rev-divider {
  width: 1px; height: 24px; background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}

/* ── Sync Description ── */
.endo-sync-desc {
  font-size: 0.65rem; color: rgba(255,255,255,0.55);
  font-style: italic; line-height: 1.4;
  padding: 4px 0;
}

/* ── Status Badges ── */
.endo-status-badge {
  display: inline-flex; align-items: center;
  font-size: 0.72rem; font-weight: 800;
  padding: 3px 10px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.5px;
  white-space: nowrap; flex-shrink: 0;
}
.endo-status-done {
  background: rgba(34,197,94,0.12); color: #22C55E;
  border: 1px solid rgba(34,197,94,0.2);
}
.endo-status-declined {
  background: rgba(239,68,68,0.1); color: #EF4444;
  border: 1px solid rgba(239,68,68,0.15);
}
.endo-status-expired {
  background: rgba(107,114,128,0.1); color: #6B7280;
  border: 1px solid rgba(107,114,128,0.15);
}

/* ── Empty State ── */
.endo-empty-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 36px 20px; gap: 6px;
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 14px; background: rgba(255,255,255,0.01);
}
.endo-empty-title {
  font-size: 0.55rem; font-weight: 800; color: rgba(255,255,255,0.4);
  margin: 4px 0 0;
}
.endo-empty-desc {
  font-size: 0.78rem; color: rgba(255,255,255,0.25);
  text-align: center; line-height: 1.4; max-width: 260px; margin: 0;
}

/* ── Utility ── */
.endo-gold { color: #FFD700 !important; text-shadow: 0 0 10px rgba(255,215,0,0.2); }
.endo-green { color: #22C55E !important; text-shadow: 0 0 10px rgba(34,197,94,0.2); }

/* ── Dashboard entrance ── */
.endo-dashboard .endo-dash-card {
  animation: endo-cardIn 0.3s ease-out both;
}
.endo-dashboard .endo-dash-card:nth-child(1) { animation-delay: 0s; }
.endo-dashboard .endo-dash-card:nth-child(2) { animation-delay: 0.08s; }
.endo-dashboard .endo-dash-card:nth-child(3) { animation-delay: 0.16s; }

/* ── Progress fill animation ── */
.endo-progress-fill {
  animation: endo-fillIn 0.6s ease-out both 0.3s;
}
@keyframes endo-fillIn {
  from { width: 0 !important; }
}

/* ====== ARTIST MANAGEMENT SCREEN ====== */

.am-screen {
  display: flex; flex-direction: column; height: 100%;
  padding: 0; overflow: hidden;
}
.am-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 8px;
  background: rgba(11,15,26,0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.am-back-btn {
  background: linear-gradient(135deg, rgba(30,28,22,0.8), rgba(22,20,16,0.6)) !important;
  border: 1px solid rgba(255,215,0,0.15) !important;
  padding: 8px !important; border-radius: 10px !important;
  line-height: 0;
  color: rgba(255,215,0,0.7) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,215,0,0.06) !important;
}
.am-back-btn:active { transform: scale(0.92); }
.am-header-title { flex: 1; min-width: 0; }
.am-title {
  font-size: 1.1rem; font-weight: 800; color: var(--text); margin: 0;
  letter-spacing: -0.3px;
}
.am-subtitle {
  font-size: 0.82rem; color: rgba(255,255,255,0.35); margin-top: 2px;
  display: block;
}
.am-header-actions { display: flex; gap: 6px; }
.am-header-actions .btn-glass {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  padding: 12px 18px !important; border-radius: 10px !important;
  line-height: 0;
}

/* Tab Bar */
.am-tab-bar {
  display: flex; gap: 2px; padding: 8px 14px 6px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.am-tab-bar::-webkit-scrollbar { display: none; }
.am-tab {
  flex: 0 0 auto; padding: 9px 10px; border-radius: 10px;
  background: rgba(11,15,26,0.80); border: 1px solid rgba(255,255,255,0.06); cursor: pointer;
  color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 5px;
  transition: all 0.2s; white-space: nowrap;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.am-tab svg { opacity: 0.6; flex-shrink: 0; transition: opacity 0.2s; }
.am-tab-text { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.3px; }
.am-tab:hover {
  color: rgba(255,255,255,0.7);
  background: rgba(11,15,26,0.90);
  border-color: rgba(255,255,255,0.1);
}
.am-tab:hover svg { opacity: 0.8; }
.am-tab-active {
  color: #FFD700;
  background: rgba(11,15,26,0.90);
  border-color: rgba(255,215,0,0.25);
  box-shadow: inset 0 -2px 0 rgba(255,215,0,0.4);
}
.am-tab-active svg { opacity: 1; }
.am-tab-badge {
  background: linear-gradient(135deg, #A78BFA, #7C3AED);
  color: #fff; font-size: 0.72rem; font-weight: 800;
  padding: 1px 6px; border-radius: 8px; min-width: 16px;
  text-align: center; line-height: 1.4;
}
.am-tab-badge-sm {
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5);
}

/* Scrollable Body */
.am-body {
  flex: 1; overflow-y: auto; padding: 14px 14px 20px;
  display: flex; flex-direction: column; gap: 16px;
  -webkit-overflow-scrolling: touch;
}

/* Dashboard Stats */
.am-dashboard {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.am-dash-card {
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 12px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: border-color 0.2s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  animation: endo-cardIn 0.3s ease-out both;
}
.am-dashboard .am-dash-card:nth-child(1) { animation-delay: 0s; }
.am-dashboard .am-dash-card:nth-child(2) { animation-delay: 0.08s; }
.am-dashboard .am-dash-card:nth-child(3) { animation-delay: 0.16s; }
.am-dash-card:hover { border-color: rgba(255,255,255,0.1); }
.am-dash-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.am-dash-data { text-align: center; min-width: 0; }
.am-dash-value {
  display: block; font-size: 0.85rem; font-weight: 800; color: var(--text);
  white-space: nowrap;
}
.am-dash-label {
  display: block; font-size: 0.72rem; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px;
}

/* Section Headers */
.am-section { display: flex; flex-direction: column; gap: 8px; }
.am-section-header {
  display: flex; align-items: center; gap: 8px; padding: 0 2px;
}
.am-section-dot { width: 7px; height: 7px; border-radius: 50%; }
.am-section-title {
  flex: 1; margin: 0;
  font-size: 0.82rem; font-weight: 800; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.am-section-count {
  font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04); padding: 2px 8px; border-radius: 8px;
}
.am-list { display: flex; flex-direction: column; gap: 8px; }

/* Artist Cards */
.am-card {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; cursor: pointer;
  transition: all 0.2s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  animation: endo-cardIn 0.3s ease-out both;
}
.am-list .am-card:nth-child(1) { animation-delay: 0s; }
.am-list .am-card:nth-child(2) { animation-delay: 0.04s; }
.am-list .am-card:nth-child(3) { animation-delay: 0.08s; }
.am-list .am-card:nth-child(4) { animation-delay: 0.12s; }
.am-list .am-card:nth-child(5) { animation-delay: 0.16s; }
.am-list .am-card:nth-child(6) { animation-delay: 0.20s; }
.am-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.am-card:active { transform: scale(0.98); }
.am-card-ribbon {
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
}
.am-card-body {
  padding: 12px 14px 10px 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.am-card-busy { opacity: 0.55; }
/* Availability border states */
.am-card-available {
  border-color: rgba(34,197,94,0.3);
  box-shadow: inset 0 0 0 1px rgba(34,197,94,0.06);
}
.am-card-unavailable {
  border-color: rgba(239,68,68,0.3);
  box-shadow: inset 0 0 0 1px rgba(239,68,68,0.06);
}
.am-card-recording {
  pointer-events: none;
  opacity: 0.4;
  cursor: default;
}
.am-card-limited {
  border-color: rgba(245,158,11,0.35);
  box-shadow: inset 0 0 0 1px rgba(245,158,11,0.06);
}

/* Card Header */
.am-card-top { display: flex; align-items: center; gap: 10px; }
.am-artist-avatar {
  width: 48px; height: 48px; border-radius: 14px;
  overflow: hidden; flex-shrink: 0;
  background: #0e0e14;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.am-card:hover .am-artist-avatar { transform: scale(1.05); }
.am-artist-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.am-artist-initials {
  font-size: 0.82rem; font-weight: 800; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.am-card-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.am-artist-name {
  font-size: 0.85rem; font-weight: 800; color: var(--text);
}
.am-artist-meta {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.am-genre-pill {
  font-size: 0.72rem; font-weight: 800; padding: 2px 8px;
  border-radius: 6px; text-transform: uppercase; letter-spacing: 0.3px;
}
.am-busy-pill {
  font-size: 0.72rem; font-weight: 700;
  background: rgba(167,139,250,0.12); color: #A78BFA;
  border: 1px solid rgba(167,139,250,0.2);
  padding: 2px 8px; border-radius: 6px;
}
.am-pop-badge {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  flex-shrink: 0; min-width: 32px;
}
.am-pop-value {
  font-size: 0.7rem; font-weight: 900; color: #FFD700;
  text-shadow: 0 0 8px rgba(255,215,0,0.15);
}

/* Stat Bars */
.am-stat-bars { display: flex; flex-direction: column; gap: 4px; }
.am-stat-row { display: flex; align-items: center; gap: 6px; }
.am-stat-icon {
  flex-shrink: 0; width: 14px;
  display: flex; align-items: center;
}
.am-bar-track {
  flex: 1; height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px; overflow: hidden;
}
.am-bar-fill {
  height: 100%; border-radius: 2px;
  transition: width 0.4s ease-out;
}
.am-stat-val {
  font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.45);
  min-width: 18px; text-align: right;
}

/* Card Footer / Revenue Row */
.am-card-footer {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 6px;
}
.am-revenue-row {
  display: flex; align-items: center; gap: 0;
  padding: 4px 0;
}
.am-rev-item {
  flex: 1; text-align: center;
  display: flex; flex-direction: column; gap: 1px;
}
.am-rev-label {
  font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: 0.3px;
}
.am-rev-value {
  font-size: 0.78rem; font-weight: 800; color: var(--text);
}
.am-rev-divider {
  width: 1px; height: 20px; background: rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.am-sign-row {
  display: flex; align-items: baseline; gap: 6px; justify-content: center;
}
.am-sign-cost {
  font-size: 0.82rem; font-weight: 900; color: #FFD700;
  text-shadow: 0 0 8px rgba(255,215,0,0.15);
}
.am-sign-label {
  font-size: 0.75rem; color: rgba(255,255,255,0.3);
  text-transform: uppercase; letter-spacing: 0.3px;
}

/* Empty State */
.am-empty-state {
  display: flex; flex-direction: column; align-items: center;
  padding: 20px; gap: 8px; text-align: center;
}
.am-empty-title {
  font-size: 0.82rem; font-weight: 800; color: rgba(255,255,255,0.4);
  margin: 0;
}
.am-empty-desc {
  font-size: 0.78rem; color: rgba(255,255,255,0.25);
  margin: 0; max-width: 240px;
}

/* Utility */
.am-gold { color: #FFD700 !important; text-shadow: 0 0 10px rgba(255,215,0,0.2); }
.am-green { color: #22C55E !important; text-shadow: 0 0 10px rgba(34,197,94,0.2); }
.am-red { color: #EF4444 !important; }

/* ===== Copyright Screen ===== */
.copyright-screen {
  padding: 8px 12px; display: flex; flex-direction: column; gap: 10px;
}
.copyright-title {
  font-size: 0.75rem; font-weight: 800; color: var(--text);
  display: flex; align-items: center; gap: 6px; margin: 0;
}
.copyright-back-btn {
  align-self: flex-start; font-size: 0.5rem !important;
  padding: 5px 10px !important; margin-bottom: 2px;
}
.copyright-tabs {
  display: flex; gap: 4px; background: rgba(255,255,255,0.04);
  border-radius: 10px; padding: 3px;
}
.copyright-tab {
  flex: 1; padding: 8px 6px; border-radius: 8px;
  background: none; border: none; color: rgba(255,255,255,0.4);
  font-size: 0.7rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  transition: all 0.2s;
}
.copyright-tab:hover { color: rgba(255,255,255,0.6); }
.copyright-tab-active {
  background: rgba(255,215,0,0.12); color: #FFD700;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.copyright-tab-count {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5);
  border-radius: 10px; padding: 0 5px; font-size: 0.6rem;
  min-width: 14px; text-align: center; line-height: 1.5;
}
.copyright-tab-active .copyright-tab-count {
  background: rgba(255,215,0,0.2); color: #FFD700;
}
.copyright-content {
  display: flex; flex-direction: column; gap: 8px;
}
.copyright-section {
  display: flex; flex-direction: column; gap: 8px;
}
.copyright-budget-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.12); border-radius: 10px;
}
.copyright-budget-label {
  font-size: 0.65rem; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.copyright-budget-value {
  font-size: 0.75rem; font-weight: 800; color: #FFD700;
}
.copyright-list {
  display: flex; flex-direction: column; gap: 6px;
}
.copyright-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 12px; transition: all 0.2s;
}
.copyright-card:hover {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
}
.copyright-card-auction {
  border-color: rgba(255,215,0,0.15);
  background: rgba(255,215,0,0.03);
}
.copyright-card-owned {
  border-color: rgba(34,197,94,0.15);
  background: rgba(34,197,94,0.03);
}
.copyright-card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.copyright-card-info {
  display: flex; flex-direction: column; gap: 1px;
}
.copyright-song-name {
  font-size: 0.75rem; font-weight: 800; color: var(--text);
}
.copyright-artist-name {
  font-size: 0.65rem; color: rgba(255,255,255,0.55);
}
.copyright-expires {
  font-size: 0.6rem; color: #F59E0B; font-weight: 700;
}
.copyright-weeks-owned {
  font-size: 0.6rem; color: rgba(255,255,255,0.5);
}
.copyright-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px;
  margin-bottom: 8px;
}
.copyright-stat {
  background: rgba(255,255,255,0.03);
  border-radius: 8px; padding: 6px 8px; text-align: center;
}
.copyright-stat-label {
  display: block; font-size: 0.72rem; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.3px;
}
.copyright-stat-value {
  display: block; font-size: 0.82rem; font-weight: 700; color: var(--text);
  margin-top: 2px; display: flex; align-items: center; justify-content: center; gap: 3px;
}
.copyright-stat-value.gold { color: #FFD700; }
.copyright-stat-value.green { color: #22C55E; }
.copyright-bid-row {
  display: flex; gap: 6px; align-items: center;
}
.copyright-bid-input {
  flex: 1; padding: 7px 10px; border-radius: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text); font-size: 0.7rem; font-weight: 600;
  outline: none; transition: border-color 0.2s;
}
.copyright-bid-input:focus {
  border-color: rgba(255,215,0,0.4);
}
.copyright-bid-input::placeholder {
  color: rgba(255,255,255,0.25);
}
.copyright-bid-btn {
  font-size: 0.78rem !important; padding: 9px 16px !important;
  white-space: nowrap;
}
.copyright-roi-bar {
  margin-top: 4px;
}
.copyright-roi-label {
  font-size: 0.6rem; color: rgba(255,255,255,0.5);
  display: block; margin-top: 3px;
}
.copyright-summary {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px;
}
.copyright-summary-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 10px 8px; text-align: center;
}
.copyright-summary-label {
  display: block; font-size: 0.65rem; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.5px;
}
.copyright-summary-value {
  display: block; font-size: 0.75rem; font-weight: 800; color: var(--text);
  margin-top: 2px;
}
.copyright-summary-value.gold { color: #FFD700; }
.copyright-summary-value.green { color: #22C55E; }
.copyright-empty {
  padding: 24px; text-align: center;
  color: rgba(255,255,255,0.4); font-size: 0.7rem;
}

/* ====== HOW TO PLAY SCREEN ====== */
.htp-screen {
  display: flex; flex-direction: column;
  height: 100%; width: 100%; overflow: hidden;
  background: linear-gradient(180deg, rgba(11,15,26,0.97) 0%, rgba(8,8,14,0.99) 100%);
}
.htp-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.htp-close-btn {
  background: rgba(255,255,255,0.08); border: none; border-radius: 50%;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); cursor: pointer; flex-shrink: 0;
}
.htp-close-btn:hover { background: rgba(255,255,255,0.15); }
.htp-header-title {
  font-size: 16px; font-weight: 700; color: #FFD700; margin: 0;
}
.htp-tabs {
  display: flex; gap: 0; padding: 0 16px;
  background: rgba(0,0,0,0.3); border-bottom: 1px solid rgba(255,255,255,0.08);
}
.htp-tab {
  flex: 1; padding: 10px 0; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.45); background: none; border: none;
  border-bottom: 2px solid transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: color 0.2s, border-color 0.2s;
}
.htp-tab:hover { color: rgba(255,255,255,0.7); }
.htp-tab-active {
  color: #FFD700; border-bottom-color: #FFD700;
}
.htp-panel-hidden { display: none !important; }
.htp-charting-panel,
.htp-guide-panel {
  position: relative;
}
.htp-charting-panel::before,
.htp-guide-panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../dist/poster.webp');
  background-size: cover; background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.05; pointer-events: none; z-index: 0;
}
.htp-charting-panel > *,
.htp-guide-panel > * {
  position: relative; z-index: 1;
}
.htp-scroll {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 0 16px 40px;
}
.htp-section {
  margin-top: 28px;
}
.htp-section:first-child { margin-top: 16px; }
.htp-section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; color: #FFD700;
  margin: 0 0 10px; padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,215,0,0.2);
}
.htp-sub-title {
  font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.9);
  margin: 14px 0 6px;
}
.htp-section p, .htp-subsection p {
  font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,0.75);
  margin: 0 0 8px;
}

/* Intro */
.htp-intro { text-align: center; }
.htp-intro-icon { margin-bottom: 8px; color: #FFD700; }
.htp-main-title {
  font-size: 22px; font-weight: 800; color: #FFD700; margin: 0 0 4px;
  text-shadow: 0 0 20px rgba(255,215,0,0.3);
}
.htp-subtitle {
  font-size: 13px; color: rgba(255,255,255,0.5); margin: 0 0 16px;
}
.htp-intro-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 16px; text-align: left;
}
.htp-intro-card p { margin: 0 0 8px; }
.htp-intro-card p:last-child { margin: 0; }
.htp-intro-card strong { color: #FFD700; }

/* Info grid */
.htp-info-grid {
  display: flex; flex-direction: column; gap: 8px;
}
.htp-info-item {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 10px 12px;
}
.htp-info-item strong { color: rgba(255,255,255,0.95); }
.htp-info-item div { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.7); }
.htp-info-icon {
  flex-shrink: 0; color: #FFD700; margin-top: 1px;
}

/* Nav guide */
.htp-nav-guide {
  display: flex; flex-direction: column; gap: 4px;
}
.htp-nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px; border-radius: 8px;
  background: rgba(255,255,255,0.03);
}
.htp-nav-icon { flex-shrink: 0; color: #FFD700; }
.htp-nav-item strong { font-size: 12px; color: rgba(255,255,255,0.9); white-space: nowrap; }
.htp-nav-desc {
  font-size: 11px; color: rgba(255,255,255,0.5); margin-left: auto;
}

/* Steps */
.htp-steps {
  display: flex; flex-direction: column; gap: 10px;
}
.htp-step {
  display: flex; align-items: flex-start; gap: 12px;
}
.htp-step-num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #FFD700, #F59E0B);
  color: #000; font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.htp-step div { font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,0.75); }
.htp-step strong { color: rgba(255,255,255,0.95); }
.htp-step p { margin: 4px 0 0; }

/* Artist cards */
.htp-artist-row {
  display: flex; gap: 10px; overflow-x: auto; padding: 8px 0 12px;
  -webkit-overflow-scrolling: touch;
}
.htp-artist-card {
  flex-shrink: 0; width: 90px; display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 10px 8px;
}
.htp-artist-img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,215,0,0.3);
}
.htp-artist-info {
  text-align: center; display: flex; flex-direction: column; gap: 2px;
}
.htp-artist-info strong { font-size: 10.5px; color: rgba(255,255,255,0.9); }
.htp-artist-genre {
  font-size: 9px; text-transform: uppercase; color: #FFD700;
  letter-spacing: 0.5px; font-weight: 600;
}
.htp-artist-tier {
  font-size: 9px; text-transform: uppercase; color: rgba(255,255,255,0.4);
}

/* Tip box */
.htp-tip {
  background: rgba(255,215,0,0.08); border: 1px solid rgba(255,215,0,0.15);
  border-radius: 10px; padding: 10px 12px; margin-top: 10px;
  font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.75);
}
.htp-tip strong { color: #FFD700; }

/* Callout */
.htp-callout {
  background: rgba(255,215,0,0.06); border: 1px solid rgba(255,215,0,0.12);
  border-radius: 12px; padding: 14px; margin-top: 14px;
}
.htp-callout h3 {
  font-size: 13px; font-weight: 700; color: #FFD700; margin: 0 0 10px;
}
.htp-flow-steps {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
}
.htp-flow-step {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 5px 10px;
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.9);
  white-space: nowrap;
}
.htp-flow-arrow { color: #FFD700; font-size: 14px; font-weight: 700; }

/* Subsection */
.htp-subsection { margin-top: 12px; }

/* Tier table */
.htp-tier-table {
  display: flex; flex-direction: column; gap: 2px; margin-top: 8px;
}
.htp-tier-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 4px; padding: 6px 10px; border-radius: 6px;
  font-size: 11.5px; color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.03);
}
.htp-tier-row:nth-child(even) { background: rgba(255,255,255,0.06); }
.htp-tier-header {
  font-weight: 700; color: #FFD700 !important;
  background: rgba(255,215,0,0.08) !important;
}
.htp-tier-row span:first-child { font-weight: 600; color: rgba(255,255,255,0.9); }
/* 4-col variant */
.htp-tier-4col .htp-tier-row {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* Task list */
.htp-task-list {
  display: flex; flex-direction: column; gap: 8px;
}
.htp-task-item {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 10px 12px;
}
.htp-task-icon { flex-shrink: 0; margin-top: 2px; }
.htp-task-item div { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.75); }
.htp-task-item strong { color: rgba(255,255,255,0.95); }
.htp-task-tiers {
  font-size: 10.5px; color: rgba(255,255,255,0.45); margin-top: 2px;
}

/* Grade row */
.htp-grade-row {
  display: flex; justify-content: center; gap: 8px; margin: 10px 0;
}
.htp-grade {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #000;
}
.htp-grade-s { background: linear-gradient(135deg, #FFD700, #F59E0B); }
.htp-grade-a { background: #22C55E; }
.htp-grade-b { background: #3B82F6; }
.htp-grade-c { background: #A855F7; }
.htp-grade-d { background: #F97316; }
.htp-grade-f { background: #EF4444; }

/* Pro tips grid */
.htp-tip-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.htp-tip-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; padding: 10px;
}
.htp-tip-card strong {
  display: block; font-size: 11.5px; color: #FFD700; margin-bottom: 4px;
}
.htp-tip-card p {
  font-size: 11px; line-height: 1.5; color: rgba(255,255,255,0.6); margin: 0;
}

/* Footer */
.htp-footer {
  text-align: center; padding: 28px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.06); margin-top: 24px;
}
.htp-footer p {
  font-size: 14px; color: rgba(255,255,255,0.5); margin: 0 0 16px;
  font-style: italic;
}
.htp-got-it-btn {
  font-size: 15px !important; padding: 14px 32px !important;
  display: block; margin: 0 auto;
}

/* Title screen how-to-play button */
.title-htp-btn {
  opacity: 0.7;
  font-size: 14px !important;
}
.title-htp-btn:hover { opacity: 1; }

/* Inbox guide contact */
.ib-contact-guide .ib-avatar {
  border: 2px solid rgba(255,215,0,0.4);
}
.ib-contact-guide .ib-contact-name {
  color: #FFD700;
}

/* ── Finance Deals Tab ── */
.fin-section { padding: 0 4px; }
.fin-section-title { font-size: 0.85rem; font-weight: 800; color: rgba(255,255,255,0.7); margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.fin-deal-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: rgba(18,18,28,0.7); border: 1px solid rgba(255,255,255,0.06); margin-bottom: 4px; }
.fin-deal-pending { border-color: rgba(251,191,36,0.2); }
.fin-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.fin-stat-card { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: rgba(18,18,28,0.7); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; }
.fin-stat-icon { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fin-stat-data { display: flex; flex-direction: column; }
.fin-stat-value { font-size: 0.9rem; font-weight: 800; }
.fin-stat-label { font-size: 0.6rem; color: rgba(255,255,255,0.4); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }


/* Finance Deals tab buttons */
.fin-deal-accept {
  flex-shrink: 0; padding: 3px 10px; border-radius: 6px; font-size: 0.6rem; font-weight: 800;
  border: 1px solid rgba(34,197,94,0.3); background: rgba(34,197,94,0.1); color: #22c55e;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.3px; transition: all 0.15s;
}
.fin-deal-accept:hover { background: rgba(34,197,94,0.2); }
.fin-deal-decline {
  flex-shrink: 0; padding: 3px 8px; border-radius: 6px; font-size: 0.6rem; font-weight: 800;
  border: 1px solid rgba(255,255,255,0.1); background: transparent; color: rgba(255,255,255,0.3);
  cursor: pointer; transition: all 0.15s;
}
.fin-deal-decline:hover { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.5); }
.fin-deal-viewall {
  width: 100%; padding: 10px; border-radius: 8px; font-size: 0.7rem; font-weight: 700;
  border: 1px solid rgba(34,197,94,0.2); background: rgba(34,197,94,0.06); color: #22c55e;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.15s;
}
.fin-deal-viewall:hover { background: rgba(34,197,94,0.12); }


/* Finance Loan Detail */
.fin-loan-detail { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.fin-loan-offer {
  padding: 12px; border-radius: 10px;
  background: rgba(18,18,28,0.7); border: 1px solid rgba(255,255,255,0.08);
}
.fin-loan-confirm-btn {
  width: 100%; padding: 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 800;
  border: 1px solid rgba(34,197,94,0.3); background: rgba(34,197,94,0.1); color: #22c55e;
  cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.15s;
}
.fin-loan-confirm-btn:hover { background: rgba(34,197,94,0.2); }
.fin-loan-confirm-btn:disabled { opacity: 0.3; cursor: default; }


/* Artist portrait images prioritize showing the head (top of image) */
.cra-photo-preview,
.cra-preview-thumb,
.cra-artist-portrait,
.cra-portrait-preview img,
.cra-portrait-option img {
  object-position: top center;
}


/* ============================================================
   CREATE ARTIST SCREEN
   ============================================================ */

.cra-screen {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 80px;
  scrollbar-width: none;
  margin-top: 0;
}
.cra-screen::-webkit-scrollbar { display: none; }

.cra-header {
  text-align: center;
  margin-bottom: 4px;
  padding: 0;
}

.cra-step-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.cra-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}
.cra-dot.active { background: #FFD700; box-shadow: 0 0 8px rgba(255,215,0,0.4); width: 20px; border-radius: 4px; }
.cra-dot.done { background: rgba(34,197,94,0.7); }

.cra-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.cra-body {
  /* No longer a flex child — just flows naturally in the scroll */
}

.cra-footer {
  padding: 6px 0 4px;
  text-align: center;
}

.cra-section { margin-bottom: 12px; }

.cra-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.cra-sublabel {
  font-weight: 400;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-transform: none;
  letter-spacing: 0;
}

.cra-sublabel-center {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* ── Genre Grid ── */
.cra-genre-grid {
  display: flex;
  gap: 6px;
}

.cra-genre-tile {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 4px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(42, 48, 52, 0.7);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  cursor: pointer;
  transition: all var(--transition);
  color: rgba(200,210,220,0.7);
}
.cra-genre-tile:active { transform: scale(0.96); }

.cra-genre-tile.selected {
  border-color: var(--genre-border, rgba(255,215,0,0.4));
  background: var(--genre-bg, rgba(255,215,0,0.15));
  box-shadow: 0 2px 12px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
  color: var(--genre-color, #FFD700);
}

.cra-genre-icon { line-height: 0; }
.cra-genre-tile .cra-genre-icon svg { stroke: rgba(200,210,220,0.6); }
.cra-genre-tile.selected .cra-genre-icon svg { stroke: var(--genre-color); }

.cra-genre-name { font-size: 11px; font-weight: 700; color: rgba(200,210,220,0.7); text-transform: uppercase; letter-spacing: 0.4px; }
.cra-genre-tile.selected .cra-genre-name { color: var(--genre-color); }

/* ── Gender Toggle ── */
.cra-gender-toggle { display: flex; gap: 8px; }

.cra-gender-btn {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(42, 48, 52, 0.7);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cra-gender-btn.selected-male {
  border-color: rgba(59,130,246,0.4);
  background: rgba(59,130,246,0.12);
  color: #3B82F6;
  box-shadow: 0 0 12px rgba(59,130,246,0.15);
}
.cra-gender-btn.selected-female {
  border-color: rgba(236,72,153,0.4);
  background: rgba(236,72,153,0.12);
  color: #EC4899;
  box-shadow: 0 0 12px rgba(236,72,153,0.15);
}

/* ── Photo Upload ── */
.cra-photo-upload {
  width: 160px; height: 160px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(42, 48, 52, 0.4);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
}
.cra-photo-upload:active { border-color: rgba(255,215,0,0.3); }

.cra-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 12px;
}

.cra-photo-preview { width: 100%; height: 100%; object-fit: cover; }

/* ── Name Input ── */
.cra-name-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(42, 48, 52, 0.4);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
  box-sizing: border-box;
}
.cra-name-input:focus { border-color: rgba(255,215,0,0.3); }
.cra-name-input::placeholder { color: rgba(255,255,255,0.25); }

.cra-name-error { font-size: 11px; color: #EF4444; margin-top: 4px; padding-left: 4px; }

/* ── Confirm / Action Buttons ── */
.cra-confirm-btn {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #15803d 0%, #0f6b31 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  margin-top: 8px;
  box-shadow: 0 3px 10px rgba(21,128,61,0.4);
}
.cra-confirm-btn:active { transform: scale(0.97); filter: brightness(0.9); }
.cra-confirm-btn.disabled { opacity: 0.3; pointer-events: none; }

.cra-skip-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  cursor: pointer;
  padding: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cra-marketing-btn,
.cra-submit-btn {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #FFD700 0%, #e6a800 100%);
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 16px;
  transition: all 0.15s;
  box-shadow: 0 3px 12px rgba(255,215,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cra-marketing-btn:active,
.cra-submit-btn:active { transform: scale(0.97); filter: brightness(0.85); }
.cra-marketing-btn.sending {
  pointer-events: none;
  background: linear-gradient(135deg, #e6a800 0%, #cc9600 100%);
}

/* ── Step 2: Preview Card ── */
.cra-marketing-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.cra-preview-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(42, 48, 52, 0.4);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.cra-preview-thumb { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.cra-preview-info { display: flex; flex-direction: column; gap: 4px; }
.cra-preview-name { font-size: 16px; font-weight: 700; color: #fff; }
.cra-preview-meta { font-size: 12px; color: rgba(255,255,255,0.45); }

/* ── Processing / Spinner ── */
.cra-processing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  gap: 16px;
}

.cra-record-spinner { animation: cra-pulse 2s ease-in-out infinite; }
.cra-record-spinner.done { animation: none; }

@keyframes cra-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.cra-spin { animation: cra-rotate 3s linear infinite; }

@keyframes cra-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cra-processing-status { font-size: 14px; color: rgba(255,255,255,0.6); text-align: center; margin: 0; }
.cra-processing-status.cra-success { color: #22C55E; font-weight: 600; }

/* ── TTS Preview Button ── */
.cra-tts-preview-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px auto;
  padding: 10px 20px;
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(124, 58, 237, 0.5);
  border-radius: 24px;
  color: #C4B5FD;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cra-tts-preview-btn:hover {
  background: rgba(124, 58, 237, 0.4);
  color: #fff;
  transform: scale(1.03);
}
.cra-tts-preview-btn.playing {
  background: rgba(124, 58, 237, 0.5);
  color: #fff;
  pointer-events: none;
  animation: cra-tts-pulse 0.8s ease-in-out infinite;
}
@keyframes cra-tts-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.cra-tts-preview-btn svg { flex-shrink: 0; }

/* ── Roster / Delete Toast ── */
.roster-reloaded-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg,
    rgba(255, 215, 0, 0.12) 0%,
    rgba(22, 22, 30, 0.92) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: rgba(255, 255, 255, 0.92);
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 215, 0, 0.1);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  max-width: 90vw;
}
.roster-reloaded-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Speaker button inside toast */
.toast-speaker-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.15);
  color: #FFD700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.toast-speaker-btn:hover {
  background: rgba(255, 215, 0, 0.3);
  transform: scale(1.1);
}
.toast-speaker-btn.playing {
  animation: cra-tts-pulse 0.8s ease-in-out infinite;
  background: rgba(255, 215, 0, 0.35);
}

/* ── Countdown Bar ── */
.cra-countdown { width: 80%; margin-top: 12px; text-align: center; }
.cra-countdown-label { font-size: 11px; color: rgba(255,255,255,0.35); display: block; margin-bottom: 8px; }
.cra-countdown-bar { width: 100%; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.08); overflow: hidden; }
.cra-countdown-fill { height: 100%; width: 0%; border-radius: 2px; background: linear-gradient(90deg, #FFD700, #22C55E); transition: width 0.1s linear; }

/* ── Done Check ── */
.cra-done-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  border: 2px solid rgba(34,197,94,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22C55E;
  animation: cra-checkIn 0.4s ease-out;
}

@keyframes cra-checkIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ── Step 3: Artist Preview Row ── */
.cra-artist-preview-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(42, 48, 52, 0.4);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cra-artist-portrait {
  width: 72px; height: 72px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(255,215,0,0.15);
}

.cra-artist-portrait-placeholder {
  width: 72px; height: 72px;
  border-radius: 14px;
  background: rgba(255,215,0,0.1);
  border: 2px solid rgba(255,215,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #FFD700;
}

.cra-artist-preview-stats { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.cra-artist-preview-name { font-size: 16px; font-weight: 700; color: #fff; }

/* ── Stat Bars ── */
.cra-stat-bars { display: flex; flex-direction: column; gap: 4px; }
.cra-stat-row { display: flex; align-items: center; gap: 6px; }
.cra-stat-label { font-size: 10px; color: rgba(255,255,255,0.45); width: 65px; flex-shrink: 0; }
.cra-stat-track { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.08); overflow: hidden; }
.cra-stat-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, #FFD700, #FFA500); transition: width 0.3s ease; }
.cra-stat-value { font-size: 11px; font-weight: 700; color: #FFD700; width: 16px; text-align: right; }

/* ── Training Packs Grid ── */
.cra-packs-grid { display: flex; flex-direction: column; gap: 8px; }

.cra-pack-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(42, 48, 52, 0.7);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}
.cra-pack-card:active { transform: scale(0.98); }
.cra-pack-card.selected {
  border-color: rgba(255,215,0,0.25);
  background: rgba(11,15,26,0.85);
  box-shadow: 0 4px 20px rgba(255,215,0,0.08);
}
.cra-pack-card.disabled { opacity: 0.35; pointer-events: none; }

.cra-pack-category { font-size: 10px; text-transform: uppercase; letter-spacing: 0.6px; color: rgba(255,255,255,0.3); }
.cra-pack-name { font-size: 14px; font-weight: 700; color: #fff; }
.cra-pack-card.selected .cra-pack-name { color: #FFD700; }
.cra-pack-desc { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ── Choice Toggle (inside packs) ── */
.cra-choice-toggle { display: flex; gap: 6px; margin-top: 8px; }

.cra-choice-btn {
  flex: 1;
  padding: 8px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.cra-choice-btn.active {
  border-color: rgba(255,215,0,0.3);
  background: rgba(255,215,0,0.08);
  color: #FFD700;
}

/* ── Trait Grid ── */
.cra-trait-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }

.cra-trait-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(42, 48, 52, 0.7);
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}
.cra-trait-chip:active { transform: scale(0.97); }
.cra-trait-chip.selected {
  border-color: rgba(255,215,0,0.25);
  background: rgba(11,15,26,0.85);
  box-shadow: 0 4px 16px rgba(255,215,0,0.08);
}

.cra-trait-name { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.8); }
.cra-trait-chip.selected .cra-trait-name { color: #FFD700; }
.cra-trait-desc { font-size: 10px; color: rgba(255,255,255,0.35); }

/* ── Submit Summary ── */
.cra-submit-summary { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; }


/* ============================================================
   DRAFT SCREEN — TABS, CUSTOM TAB, SELECTED THUMBS
   ============================================================ */

/* ── Selected Artist Thumbnails Row ── */
.draft-selected-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 0;
  min-height: 0;
  align-items: center;
}

.draft-selected-empty {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  font-style: italic;
}

.draft-selected-thumb {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,215,0,0.4);
  box-shadow: 0 0 10px rgba(255,215,0,0.15);
  background: rgba(18,18,28,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cra-checkIn 0.3s ease-out;
}

.draft-selected-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.draft-selected-initials {
  font-size: 14px;
  font-weight: 700;
  color: #FFD700;
}

/* ── Tab Bar ── */
.draft-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 0 0 10px;
  border-radius: 12px;
  background: rgba(18,18,28,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
}

.draft-tab {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.draft-tab.active {
  background: rgba(255,215,0,0.1);
  color: #FFD700;
  border: 1px solid rgba(255,215,0,0.15);
}

.draft-tab-count {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}

.draft-tab.active .draft-tab-count {
  background: rgba(255,215,0,0.15);
  color: #FFD700;
}

/* ── Draft "or" Tab Bar ── */
.draft-or-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 16px 0;
  flex-shrink: 0;
}

.draft-or-tab {
  flex: 1;
  padding: 11px 0;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  color: rgba(160,170,180,0.5);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
  outline: none;
}

.draft-or-tab.active {
  background: rgba(255,255,255,0.06);
  color: #C8CDD2;
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.08);
}

.draft-or-sep {
  padding: 0 10px;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.2);
  text-transform: lowercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* ── Create Artist Tab Container ── */
.draft-create-tab {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 16px;
  margin-top: 0;
  scrollbar-width: none;
}
.draft-create-tab::-webkit-scrollbar { display: none; }

/* ── Custom Grid ── */
.draft-custom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0 0 80px;
  overflow-y: auto;
}

/* ── Custom Badge ── */
.draft-custom-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, rgba(255,215,0,0.15) 0%, rgba(255,165,0,0.1) 100%);
  border: 1px solid rgba(255,215,0,0.2);
  color: #FFD700;
}

/* ── Custom card gold accent ── */
.draft-card-custom {
  border-color: rgba(255,215,0,0.1);
}
.draft-card-custom::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
}

/* ── Empty Slot ── */
.draft-empty-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  border-radius: 16px;
  border: 2px dashed rgba(255,255,255,0.08);
  background: rgba(18,18,28,0.3);
}

.draft-empty-slot-label {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  font-style: italic;
}

/* ── Buy Slots Button ── */
.draft-buy-slots-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 100px;
  border-radius: 16px;
  border: 1px solid rgba(159,122,234,0.2);
  background: linear-gradient(135deg, rgba(159,122,234,0.08) 0%, rgba(159,122,234,0.02) 100%);
  cursor: pointer;
  transition: all 0.2s;
  grid-column: span 2;
}
.draft-buy-slots-btn:active { transform: scale(0.98); }

.draft-buy-slots-icon {
  font-size: 24px;
  font-weight: 300;
  color: rgba(159,122,234,0.6);
}

.draft-buy-slots-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(159,122,234,0.8);
}

.draft-buy-slots-cost {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
}

/* ── Create Artist: Token Cost Notice ── */
.cra-cost-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px;
  margin-top: 16px;
  border-radius: 12px;
  background: rgba(255,215,0,0.06);
  border: 1px solid rgba(255,215,0,0.15);
}

.cra-cost-amount {
  font-size: 18px;
  font-weight: 800;
  color: #FFD700;
  letter-spacing: 0.3px;
}

.cra-cost-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-align: center;
  line-height: 1.4;
}

/* ── CAA Subtab bar ── */
.cra-subtab-bar {
  display: flex;
  gap: 0;
  margin-bottom: 6px;
  margin-top: 0;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(20,20,30,0.80);
  border: 1px solid rgba(255,255,255,0.15);
}
.cra-subtab {
  flex: 1;
  padding: 7px 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(15,15,25,0.80);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cra-subtab.active {
  color: #FFD700;
  background: rgba(40,35,10,0.80);
  box-shadow: inset 0 -2px 0 #FFD700;
}

/* ── My Creations tab ── */
.cra-creations-empty {
  text-align: center;
  padding: 20px;
  color: rgba(255,255,255,0.5);
}
.cra-creations-empty p { margin: 4px 0; }
.cra-creations-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 0;
  overflow-y: auto;
  max-height: 65vh;
}
.cra-creation-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: background 0.15s;
}
.cra-creation-portrait {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.cra-creation-portrait img { width: 100%; height: 100%; object-fit: cover; }
.cra-creation-initials { font-size: 18px; font-weight: 700; color: rgba(255,255,255,0.4); }
.cra-creation-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cra-creation-name { font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cra-creation-meta { font-size: 11px; color: rgba(255,255,255,0.4); }
.cra-creation-status { font-size: 10px; color: rgba(255,255,255,0.3); }
.cra-creation-status.cra-on-roster { color: #00e676; }
.cra-creation-delete {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,60,60,0.15);
  border: 1px solid rgba(255,60,60,0.3);
  border-radius: 8px;
  color: #ff5252;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
}
.cra-creation-delete:active { background: rgba(255,60,60,0.3); transform: scale(0.95); }
.cra-creation-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  align-items: center;
}
.cra-creation-roster-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #15803d 0%, #0f6b31 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.cra-creation-roster-btn:active { transform: scale(0.95); filter: brightness(0.85); }

/* ── Portrait Review & Pick ── */
.cra-portrait-review {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
  gap: 16px;
}
.cra-review-label {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin: 0;
}
.cra-portrait-preview {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255,215,0,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.cra-portrait-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cra-review-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 280px;
}
.cra-retry-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.cra-retry-btn:active { transform: scale(0.97); background: rgba(255,255,255,0.15); }
.cra-retry-btn.sending { pointer-events: none; opacity: 0.6; }

/* ── Side-by-side pick ── */
.cra-portrait-pick-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  width: 100%;
}
.cra-portrait-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all 0.2s;
  width: 45%;
  max-width: 160px;
}
.cra-portrait-option img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
}
.cra-portrait-option:active {
  transform: scale(0.96);
  border-color: #FFD700;
  background: rgba(255,215,0,0.1);
}
.cra-pick-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

/* ====== CHART RACE SCREEN ====== */
.chart-race-screen { display:flex; flex-direction:column; padding:8px 10px; gap:4px; height:100%; min-height:0; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.cr-header { display:flex; align-items:center; justify-content:space-between; }
.cr-title { font-size:1rem; font-weight:800; margin:0; color:#fff; }
.cr-skip-btn { background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.1); color:#999; padding:4px 12px; border-radius:6px; font-size:0.7rem; cursor:pointer; min-height:44px; }
.cr-skip-btn:hover { background:rgba(255,255,255,0.15); color:#fff; }
.cr-week-label { font-size:1.4rem; font-weight:900; color:#E879F9; text-align:center; text-shadow:0 0 20px rgba(232,121,249,0.4); transition:all 0.3s; }
.cr-number-one { display:flex; align-items:center; justify-content:center; gap:8px; padding:6px 12px; background:linear-gradient(90deg,rgba(232,121,249,0.08),rgba(245,158,11,0.08)); border:1px solid rgba(232,121,249,0.15); border-radius:8px; }
.cr-no1-badge { background:linear-gradient(135deg,#F59E0B,#EF4444); color:#000; font-weight:900; font-size:0.75rem; padding:2px 8px; border-radius:4px; letter-spacing:0.5px; flex-shrink:0; }
.cr-no1-song { color:#fff; font-weight:700; font-size:0.85rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:45%; }
.cr-no1-artist { color:rgba(255,255,255,0.5); font-size:0.75rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:35%; }
.cr-scroll-container { flex:1; overflow-x:auto; overflow-y:hidden; -webkit-overflow-scrolling:touch; border-radius:10px; border:1px solid rgba(255,255,255,0.06); background:#0a0a0f; min-height:0; }
.cr-scroll-container canvas { display:block; height:320px; }
.cr-legend { display:flex; flex-wrap:wrap; gap:4px 10px; justify-content:center; padding:6px 0; max-height:64px; overflow-y:auto; }
.cr-legend-item { display:flex; align-items:center; gap:4px; font-size:0.65rem; }
.cr-legend-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.cr-legend-name { color:#fff; font-weight:600; max-width:90px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cr-legend-artist { color:rgba(255,255,255,0.4); max-width:70px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cr-champion { display:flex; flex-direction:column; align-items:center; gap:10px; padding:12px; animation:fadeIn 0.8s ease; }
.cr-champ-inner { display:flex; align-items:center; gap:12px; background:linear-gradient(135deg,rgba(232,121,249,0.1),rgba(245,158,11,0.1)); border:1px solid rgba(232,121,249,0.2); border-radius:12px; padding:12px 16px; }
.cr-champ-avatar { width:56px; height:56px; border-radius:50%; overflow:hidden; border:2px solid #E879F9; flex-shrink:0; display:flex; align-items:center; justify-content:center; background:rgba(232,121,249,0.15); }
.cr-champ-avatar img { width:100%; height:100%; object-fit:cover; }
.cr-champ-initial { font-size:20px; font-weight:800; color:#E879F9; }
.cr-champ-info { display:flex; flex-direction:column; gap:2px; }
.cr-champ-label { font-size:0.65rem; font-weight:700; color:#F59E0B; text-transform:uppercase; letter-spacing:1px; }
.cr-champ-name { font-size:0.95rem; font-weight:800; color:#fff; }
.cr-champ-artist { font-size:0.75rem; color:rgba(255,255,255,0.5); }
.cr-champ-stat { font-size:0.7rem; color:#E879F9; font-weight:600; }
.cr-champ-reward { font-size:0.7rem; color:#22C55E; font-weight:700; margin-top:2px; }
.cr-done-btn { background:linear-gradient(135deg,#E879F9,#A855F7); border:none; color:#fff; padding:10px 32px; border-radius:8px; font-size:0.85rem; font-weight:700; cursor:pointer; min-height:44px; }

/* Focus-visible accessibility styles */
.pub-load-more-btn:focus-visible,
.rec-producer-btn:focus-visible,
.rec-producer-close:focus-visible,
.rec-play-btn:focus-visible,
.cr-skip-btn:focus-visible,
.cr-done-btn:focus-visible { outline: 2px solid #E0BF4A; outline-offset: 2px; }

