/**
 * LivreAudio — Design Tokens (Design Constitution)
 * Seules ces variables sont autorisées dans l'UI Phase D+
 */
:root {
  /* Couleurs */
  --bg: #0a0e14;
  --bg-elevated: #121820;
  --card: #161d28;
  --border: #2a3544;
  --text: #f0f4f8;
  --text-muted: #94a3b8;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --success: #10b981;
  --secondary-btn: #1e2836;

  /* Alias compat V3 */
  --muted: var(--text-muted);
  --ok: var(--success);
  --drop: var(--secondary-btn);

  /* Layout */
  --content-max: 1480px;
  --sidebar-width: 220px;
  --nav-bottom-height: 64px;

  /* Espacement */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;

  /* Rayons */
  --radius-card: 16px;
  --radius-btn: 14px;
  --radius-cover: 8px;

  /* Composants */
  --book-card-width: 280px;
  --book-card-min-height: 200px;
  --cover-width: 88px;
  --cover-height: 118px;
  --btn-height: 48px;

  /* Breakpoints (référence JS/CSS) */
  /* mobile: <768 | tablet: 768-1279 | desktop: >=1280 */
}

@media (min-width: 1280px) {
  :root {
    --shell-padding-x: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  :root {
    --shell-padding-x: 16px;
  }
}

@media (max-width: 767px) {
  :root {
    --shell-padding-x: 16px;
  }
}
