/* The Outer Citadel (A Citizen's Songbook) - Design System */
:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-tertiary: #1a2234;
  --bg-card: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(26, 34, 52, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(245, 158, 11, 0.5);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  /* Civic Palette */
  --gold-primary: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.25);
  --amber-dark: #d97706;
  --civic-blue: #3b82f6;
  --civic-blue-glow: rgba(59, 130, 246, 0.25);
  --sapphire-dark: #1d4ed8;
  --crimson-accent: #ef4444;
  --emerald-accent: #10b981;

  /* Typography */
  --font-display: 'Cinzel', serif, system-ui;
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --player-height: 84px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* High Contrast Mode */
body.high-contrast {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #141414;
  --bg-card: #000000;
  --border-subtle: #ffffff;
  --text-main: #ffffff;
  --text-muted: #e2e8f0;
  --text-dim: #cbd5e1;
  --gold-primary: #ffc107;
  --civic-blue: #60a5fa;
}

/* OpenDyslexic Mode */
body.dyslexic-mode {
  font-family: 'OpenDyslexic', 'Inter', sans-serif !important;
}

/* Font Sizing */
body.font-small { font-size: 14px; }
body.font-large { font-size: 18px; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce), (update) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: calc(var(--player-height) + 40px);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(245, 158, 11, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--gold-primary);
  color: #000;
  padding: 10px 18px;
  font-weight: 700;
  z-index: 10000;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 15px;
}

/* Layout Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}
.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  text-transform: uppercase;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-icon {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.btn-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}
.vault-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.vault-link:hover {
  color: var(--gold-primary);
  border-color: var(--border-focus);
  background: rgba(245, 158, 11, 0.08);
}

/* Hero Section */
.hero-section {
  padding: 48px 0 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.hero-art-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 1;
}
.hero-art-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.hero-art-wrapper:hover img {
  transform: scale(1.03);
}
.art-zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(10, 14, 23, 0.85);
  color: var(--gold-primary);
  border: 1px solid var(--border-focus);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}
.art-zoom-btn:hover {
  background: var(--gold-primary);
  color: #000;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 8px;
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-primary);
  font-style: italic;
  margin-bottom: 16px;
}
.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 24px;
}
.metric-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .metric-badges {
    justify-content: center;
  }
}
.metric-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.metric-pill strong {
  color: var(--gold-primary);
}

.hero-actions {
  display: flex;
  gap: 14px;
}
@media (max-width: 900px) {
  .hero-actions {
    justify-content: center;
  }
}
.btn {
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--gold-primary);
  color: #000;
  border: 1px solid var(--gold-primary);
}
.btn-primary:hover {
  background: var(--amber-dark);
  box-shadow: 0 0 20px var(--gold-glow);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Jukebox & Track Deck Section */
.app-section {
  padding: 36px 0;
}
.section-header {
  margin-bottom: 24px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Filter and Search Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.act-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}
.filter-btn.active {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}
.search-wrapper {
  position: relative;
  min-width: 260px;
}
.search-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 9px 14px 9px 36px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition);
}
.search-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-glow);
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* Main Split: Tracklist & Deck */
.jukebox-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 28px;
}
@media (max-width: 1024px) {
  .jukebox-grid {
    grid-template-columns: 1fr;
  }
}

/* Tracklist */
.tracklist-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 720px;
}
.tracklist-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
}
.tracklist-scroll {
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.track-row {
  display: grid;
  grid-template-columns: 36px 1fr 60px 40px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}
.track-row:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-subtle);
}
.track-row.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}
.track-row.playing .track-num {
  color: var(--gold-primary);
  font-weight: 700;
}
.track-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.track-info {
  overflow: hidden;
  padding-right: 8px;
}
.track-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.track-virtue {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.track-duration {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: right;
}
.track-play-btn {
  background: none;
  border: none;
  color: var(--gold-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0.7;
  transition: var(--transition);
}
.track-row:hover .track-play-btn,
.track-row.active .track-play-btn {
  opacity: 1;
}

/* Active Track Deck */
.deck-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.deck-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
}
.deck-act-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--civic-blue);
  background: var(--civic-blue-glow);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.deck-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 6px;
}
.deck-virtue {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-primary);
  font-style: italic;
}

.deck-context {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.deck-context h4 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.deck-context p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Lyrics Box */
.lyrics-box {
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.lyrics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-subtle);
}
.lyrics-header h4 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.copy-btn {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}
.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}
.lyrics-content {
  padding: 20px;
  max-height: 380px;
  overflow-y: auto;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  white-space: pre-wrap;
}

/* Quotes Card */
.deck-quotes {
  background: rgba(245, 158, 11, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.deck-quotes h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.quote-item {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}
.quote-item::before {
  content: "“";
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-size: 1.2rem;
  line-height: 1;
}

/* 4 Civic Virtues Matrix Table */
.matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 16px;
}
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.matrix-table th {
  background: var(--bg-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}
.matrix-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
  vertical-align: top;
  line-height: 1.6;
}
.matrix-table tr:last-child td {
  border-bottom: none;
}
.matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
}
.virtue-tag {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: block;
}
.virtue-metaphor {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
}
.outcome-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.outcome-pos {
  color: var(--emerald-accent);
  font-size: 0.85rem;
}
.outcome-neg {
  color: var(--crimson-accent);
  font-size: 0.85rem;
}
@media (max-width: 860px) {
  .matrix-table {
    display: block;
    overflow-x: auto;
  }
}

/* Visual Exhibits Carousel */
.exhibits-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.exhibit-view {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.exhibit-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.exhibit-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 14, 23, 0.95) 0%, rgba(10, 14, 23, 0.6) 60%, transparent 100%);
  padding: 36px 28px 24px;
}
.exhibit-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 4px;
}
.exhibit-subtitle {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--gold-primary);
  margin-bottom: 8px;
}
.exhibit-caption {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 840px;
  line-height: 1.5;
}
.exhibit-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 14, 23, 0.75);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.exhibit-nav-btn:hover {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-primary);
}
.exhibit-prev { left: 18px; }
.exhibit-next { right: 18px; }

.exhibit-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 18px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}
@media (max-width: 768px) {
  .exhibit-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
}
.thumb-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  position: relative;
  background: #000;
  transition: var(--transition);
}
.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: var(--transition);
}
.thumb-item:hover img,
.thumb-item.active img {
  opacity: 1;
}
.thumb-item.active {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px var(--gold-glow);
}

/* Sticky Audio Player */
.sticky-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-height);
  background: rgba(10, 14, 23, 0.95);
  border-top: 1px solid rgba(245, 158, 11, 0.3);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
}
.player-grid {
  display: grid;
  grid-template-columns: 280px 1fr 200px;
  align-items: center;
  gap: 24px;
  width: 100%;
}
@media (max-width: 860px) {
  .player-grid {
    grid-template-columns: 1fr auto;
  }
  .player-volume {
    display: none;
  }
}
.player-track-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.player-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}
.player-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player-details {
  overflow: hidden;
}
.player-title {
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-main);
}
.player-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-primary);
}

.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.player-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.p-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-btn:hover {
  color: var(--text-main);
}
.p-btn-main {
  background: var(--gold-primary);
  color: #000;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
}
.p-btn-main:hover {
  background: var(--amber-dark);
  transform: scale(1.05);
}

.player-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 540px;
}
.p-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  width: 40px;
}
.p-time.curr { text-align: right; }
.p-scrubber {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
}
.p-scrubber-fill {
  height: 100%;
  background: var(--gold-primary);
  border-radius: 999px;
  width: 0%;
  position: relative;
}

.player-volume {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.vol-slider {
  width: 90px;
  accent-color: var(--gold-primary);
  cursor: pointer;
}

/* Modal Lightbox */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open {
  display: flex;
}
.modal-content {
  position: relative;
  max-width: 960px;
  max-height: 90vh;
  width: 100%;
}
.modal-content img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Toast */
.toast-msg {
  position: fixed;
  bottom: calc(var(--player-height) + 20px);
  right: 24px;
  background: var(--gold-primary);
  color: #000;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 10000;
}
.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}
