/* ==========================================================================
   Le Mur Sonore — charte appliquée aux pages de redirection NFC
   Sora partout, Modak en rappel du logo, orange de marque sur crèmes chauds.
   ========================================================================== */

:root {
  /* Typographie — mêmes rôles que le thème principal */
  --font-body--family:       "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-subheading--family: var(--font-body--family);
  --font-heading--family:    var(--font-body--family);
  --font-accent--family:     var(--font-body--family);
  --font-display--family:    "Modak", var(--font-body--family);

  --weight-body: 400;
  --weight-subheading: 600;
  --weight-heading: 700;
  --tracking-heading: 0.01em;

  /* Orange de marque */
  --brand: #E4572E;
  --brand-dark: #CF4A22;   /* survols */

  /* Crèmes — aucun blanc pur */
  --cream-100: #FAF9F6;    /* le plus clair */
  --cream-200: #FAF7F2;    /* fond principal des sections */
  --cream-300: #EFECE6;    /* zones média */
  --cream-400: #ECE7DF;    /* fond alternatif */
  --border:    #E0D9CD;    /* bordures et séparateurs */
  --peach:     #FBEEE9;    /* fonds d'accent */

  /* Encres — jamais de noir pur */
  --ink: #201E1B;
  --ink-alt: #1A1A1A;
  --ink-muted: rgba(32, 30, 27, .62);   /* --ink adouci, pas une teinte nouvelle */

  color-scheme: light;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background: var(--cream-200);
  color: var(--ink);
  font-family: var(--font-body--family);
  font-weight: var(--weight-body);
  font-size: 16px;
  line-height: 1.55;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

/* --- Titres ------------------------------------------------------------- */

h1 {
  font-family: var(--font-heading--family);
  font-weight: var(--weight-heading);
  letter-spacing: var(--tracking-heading);
  font-size: 21px;
  margin: 0 0 6px;
}

.meta {
  color: var(--ink-muted);
  font-size: 15px;
  margin: 0;
}

/* Rappel du logo — Modak, jamais pour des blocs de texte.
   Sa seule graisse est 400. */
.modak,
.wordmark {
  font-family: var(--font-display--family);
  font-weight: 400;
  letter-spacing: .005em;
}

.wordmark {
  display: block;
  color: var(--brand);
  font-size: 15px;
  line-height: 1;
  margin: 0 0 22px;
}

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

.emoji { font-size: 44px; margin-bottom: 12px; }

/* --- Pochette ----------------------------------------------------------- */

.cover {
  width: 160px;
  height: 160px;
  margin: 0 auto 22px;
  border-radius: 14px;
  background: var(--cream-300) center/cover no-repeat;
  border: 1px solid var(--border);
  box-shadow: 0 14px 32px rgba(32, 30, 27, .13);
}

/* --- Spinner ------------------------------------------------------------ */

.spinner {
  width: 26px;
  height: 26px;
  margin: 0 auto 18px;
  border: 2.5px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 2s; }
}

/* --- Boutons ------------------------------------------------------------ */

.btn {
  display: block;
  margin: 18px auto 0;
  padding: 13px 22px;
  max-width: 280px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--cream-100);
  font-family: var(--font-accent--family);
  font-weight: var(--weight-heading);
  font-size: 15px;
  text-decoration: none;
  transition: background-color .15s ease;
}

.btn:hover { background: var(--brand-dark); }

.btn.ghost {
  background: var(--cream-100);
  color: var(--ink);
  border: 1px solid var(--border);
  font-weight: 500;
  margin-top: 10px;
}

.btn.ghost:hover { background: var(--cream-400); border-color: var(--ink-muted); }

/* --- Choix de la plateforme --------------------------------------------- */

.choices { margin-top: 22px; }

.remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
  color: var(--ink-muted);
  font-size: 13px;
  cursor: pointer;
}

.remember input {
  width: 17px;
  height: 17px;
  accent-color: var(--brand);
  flex: none;
  cursor: pointer;
}

.linklike {
  display: block;
  margin: 22px auto 0;
  padding: 4px;
  background: none;
  border: 0;
  color: var(--ink-muted);
  font-family: inherit;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.linklike:hover { color: var(--brand-dark); }

/* --- Écran de secours --------------------------------------------------- */

.manual {
  margin-top: 26px;
  padding: 20px 18px 22px;
  background: var(--peach);
  border-radius: 16px;
}

.hint {
  color: var(--ink-muted);
  font-size: 13px;
  margin: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--ink);
}

/* --- Page d'accueil : liste des albums ---------------------------------- */

.home { max-width: 520px; text-align: left; }

.home h1 { font-size: 26px; margin-bottom: 4px; }

.home .wordmark { font-size: 17px; margin-bottom: 18px; }

.list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.list li + li { margin-top: 8px; }

.list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 16px;
  background: var(--cream-100);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}

.list a:hover { border-color: var(--brand); background: var(--peach); }

.list strong {
  font-family: var(--font-subheading--family);
  font-weight: var(--weight-subheading);
}

.list .slug {
  color: var(--ink-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  white-space: nowrap;
}

.list .artist { color: var(--ink-muted); font-size: 13px; display: block; }
