﻿/* =========================================================
   GR20 BLOG â€” STYLE COMMUN
   Inspiration : Geocities 1998-2003, palette Corse
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=Press+Start+2P&family=VT323&display=swap');

/* ---------- RESET LIGHT ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* ---------- FOND Ã‰TOILÃ‰ ANIMÃ‰ ---------- */
body {
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Marker Felt", cursive;
  font-size: 14px;
  color: #FFD700;
  background-color: #000000;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #FFD700, transparent),
    radial-gradient(1px 1px at 60px 70px, #FFFFFF, transparent),
    radial-gradient(1.5px 1.5px at 120px 40px, #FFD700, transparent),
    radial-gradient(1px 1px at 180px 100px, #FFFFFF, transparent),
    radial-gradient(2px 2px at 240px 60px, #FFFAF0, transparent),
    radial-gradient(1px 1px at 300px 130px, #FFD700, transparent),
    radial-gradient(1.5px 1.5px at 360px 20px, #FFFFFF, transparent);
  background-size: 400px 200px;
  background-repeat: repeat;
  animation: starscroll 90s linear infinite;
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><text y='24' font-size='24'>ðŸ¥¾</text></svg>") 4 4, auto;
}

@keyframes starscroll {
  from { background-position: 0 0; }
  to   { background-position: 400px 200px; }
}

/* ---------- LAYOUT 800px CENTRÃ‰ ---------- */
.page {
  width: 800px;
  margin: 0 auto;
  padding: 0;
  background: #1a0000;
  border-left: 4px ridge #FFD700;
  border-right: 4px ridge #FFD700;
  min-height: 100vh;
}

/* ---------- HEADER ---------- */
.header {
  background:
    repeating-linear-gradient(45deg,
      #C41E3A 0,
      #C41E3A 20px,
      #8B0000 20px,
      #8B0000 40px);
  border-bottom: 6px ridge #FFD700;
  padding: 18px 10px 14px;
  text-align: center;
  position: relative;
}

.header h1 {
  margin: 0;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: #FFD700;
  text-shadow:
    3px 3px 0 #000,
    -2px -2px 0 #FFFFFF,
    0 0 12px #FF0000;
  letter-spacing: 2px;
  transform: skewX(-6deg);
}

.header h1 .blink {
  animation: blink 1s steps(2) infinite;
  color: #FFFFFF;
}

@keyframes blink {
  50% { opacity: 0; }
}

.header .moor {
  position: absolute;
  top: 12px;
  font-size: 64px;
  filter: drop-shadow(2px 2px 0 #000);
}
.header .moor.left  { left: 18px;  transform: rotate(-8deg); }
.header .moor.right { right: 18px; transform: rotate(8deg); }

.header .baseline {
  margin-top: 6px;
  font-family: "VT323", monospace;
  font-size: 22px;
  color: #FFFAF0;
  text-shadow: 2px 2px 0 #000;
}

/* ---------- MARQUEE TOP ---------- */
.marquee-top {
  background: #FFFF00;
  color: #C41E3A;
  font-family: "Impact", sans-serif;
  font-size: 18px;
  font-weight: bold;
  padding: 6px 0;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- NAVIGATION ONGLETS ---------- */
.tabs {
  background: #000;
  padding: 8px 4px 0;
  border-bottom: 4px ridge #FFD700;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.tabs a {
  display: inline-block;
  padding: 8px 14px;
  background: linear-gradient(180deg, #FFD700 0%, #B8860B 100%);
  color: #8B0000;
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Marker Felt", cursive;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  border: 2px outset #FFFAF0;
  border-bottom: none;
  text-shadow: 1px 1px 0 #FFFAF0;
  transition: none;
}

.tabs a:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFD700 100%);
  color: #FF0000;
  text-decoration: underline;
}

.tabs a.current {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFAF0 100%);
  color: #C41E3A;
  border: 2px inset #FFD700;
  border-bottom: none;
}

/* ---------- CONTENU ---------- */
.content {
  padding: 20px;
  background:
    repeating-linear-gradient(0deg,
      #1a0000 0,
      #1a0000 38px,
      #220000 38px,
      #220000 40px);
}

/* ---------- BLOCS / CARTES "WIDGETS" ---------- */
.widget {
  border: 4px ridge #FFD700;
  background: #FFFAF0;
  color: #2c0000;
  margin: 14px 0;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  box-shadow: 4px 4px 0 #C41E3A, 8px 8px 0 #000;
}

.widget-title {
  background: linear-gradient(180deg, #C41E3A 0%, #6B0000 100%);
  color: #FFD700;
  padding: 6px 10px;
  font-family: "Impact", sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  border-bottom: 3px ridge #FFD700;
  text-shadow: 2px 2px 0 #000;
  text-transform: uppercase;
}

.widget-title .star {
  color: #FFFFFF;
  animation: spin 2s linear infinite;
  display: inline-block;
}

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

.widget-body {
  padding: 14px;
}

.widget-body p { margin: 0 0 10px; line-height: 1.5; }
.widget-body a { color: #C41E3A; font-weight: bold; }

/* ---------- COUNTDOWN ---------- */
.countdown {
  text-align: center;
  font-family: "VT323", "Courier New", monospace;
}

.countdown .label {
  font-size: 18px;
  color: #2c0000;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.countdown .digits {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 14px 0;
  flex-wrap: wrap;
}

.countdown .unit {
  background: #000;
  color: #00FF66;
  padding: 8px 12px;
  border: 3px inset #444;
  min-width: 80px;
  text-align: center;
  font-family: "VT323", monospace;
  text-shadow: 0 0 8px #00FF66;
}

.countdown .unit .num {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.countdown .unit .word {
  display: block;
  font-size: 12px;
  color: #FFD700;
  margin-top: 4px;
  letter-spacing: 2px;
}

/* ---------- METEO ---------- */
.meteo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.meteo-card {
  background: linear-gradient(180deg, #87CEEB 0%, #FFFAF0 100%);
  border: 2px solid #2c0000;
  padding: 10px 6px;
  color: #2c0000;
}

.meteo-card .day { font-weight: bold; font-size: 14px; }
.meteo-card .icon { font-size: 36px; line-height: 1; margin: 4px 0; }
.meteo-card .temp { font-family: "VT323", monospace; font-size: 22px; }

/* ---------- HUB SOMMAIRE ---------- */
.sommaire {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 6px;
}

.sommaire a {
  display: block;
  background: linear-gradient(180deg, #FFD700 0%, #C41E3A 100%);
  border: 4px outset #FFFAF0;
  color: #000;
  text-align: center;
  padding: 18px 8px;
  text-decoration: none;
  font-family: "Impact", sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 #FFFAF0;
  text-transform: uppercase;
}

.sommaire a:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFD700 100%);
  color: #C41E3A;
  border-style: inset;
  text-decoration: underline overline;
}

.sommaire a .emoji { display: block; font-size: 38px; margin-bottom: 6px; filter: drop-shadow(2px 2px 0 #000); }

/* ---------- BLOG NEWS ---------- */
.news-entry {
  border-bottom: 2px dashed #C41E3A;
  padding: 10px 0;
}
.news-entry:last-child { border-bottom: none; }
.news-entry .date {
  font-family: "VT323", monospace;
  font-size: 16px;
  color: #C41E3A;
  font-weight: bold;
}
.news-entry h3 {
  margin: 4px 0;
  color: #6B0000;
  font-family: "Impact", sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
}

/* ---------- COMPTEUR ---------- */
.counter {
  display: inline-block;
  background: #000;
  color: #00FF66;
  font-family: "VT323", monospace;
  font-size: 24px;
  padding: 4px 8px;
  border: 3px inset #444;
  letter-spacing: 4px;
  text-shadow: 0 0 8px #00FF66;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #000;
  color: #FFD700;
  padding: 18px 14px;
  text-align: center;
  font-family: "VT323", monospace;
  font-size: 16px;
  border-top: 4px ridge #FFD700;
  line-height: 1.6;
}

.footer .webring {
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer .webring a {
  background: #FFD700;
  color: #6B0000;
  padding: 4px 8px;
  border: 2px outset #FFFAF0;
  text-decoration: none;
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Marker Felt", cursive;
  font-size: 12px;
}

.footer .badge {
  display: inline-block;
  width: 88px;
  height: 31px;
  border: 1px solid #FFD700;
  background: linear-gradient(135deg, #FFD700 0%, #C41E3A 100%);
  color: #000;
  font-family: "Press Start 2P", monospace;
  font-size: 8px;
  text-align: center;
  line-height: 31px;
  margin: 4px;
  vertical-align: middle;
}

.footer .ie6 {
  background: #FFFF00;
  color: #C41E3A;
  padding: 6px 10px;
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Marker Felt", cursive;
  font-weight: bold;
  display: inline-block;
  margin-top: 10px;
  border: 2px solid #000;
  transform: rotate(-2deg);
}

/* ---------- DETOURS DECORATIFS ---------- */
.under-construction {
  display: inline-block;
  background: repeating-linear-gradient(45deg,
    #FFD700 0, #FFD700 12px,
    #000 12px, #000 24px);
  color: #000;
  padding: 6px 10px;
  font-family: "Impact", sans-serif;
  font-weight: bold;
  margin: 6px 0;
}

.under-construction span {
  background: #FFD700;
  padding: 2px 8px;
}

/* ---------- TABLE ITINERAIRE ---------- */
.gr20-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #FFFAF0;
  color: #2c0000;
  font-family: Verdana, sans-serif;
  font-size: 12px;
  border: 3px ridge #FFD700;
}

.gr20-table th {
  background: linear-gradient(180deg, #C41E3A, #6B0000);
  color: #FFD700;
  padding: 8px 6px;
  font-family: "Impact", sans-serif;
  letter-spacing: 1px;
  border-bottom: 3px ridge #FFD700;
}

.gr20-table td {
  padding: 8px 6px;
  border-bottom: 1px dashed #C41E3A;
  vertical-align: top;
}

.gr20-table tr:nth-child(even) td { background: #FFF8DC; }
.gr20-table tr:hover td { background: #FFD700; }

/* ---------- TROMBI Ã‰QUIPE ---------- */
.trombi {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.fiche {
  background: #FFFAF0;
  border: 4px ridge #FFD700;
  color: #2c0000;
  font-family: Verdana, sans-serif;
  box-shadow: 4px 4px 0 #C41E3A;
}

.fiche-header {
  background: linear-gradient(90deg, #C41E3A 0%, #FFD700 100%);
  color: #000;
  padding: 6px 10px;
  font-family: "Impact", sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  border-bottom: 2px ridge #000;
  text-shadow: 1px 1px 0 #FFFAF0;
}

.fiche-body { padding: 10px; font-size: 12px; }
.fiche-avatar {
  width: 80px; height: 80px;
  margin: 0 auto 6px;
  background: linear-gradient(135deg, #FFD700, #C41E3A);
  border: 3px ridge #FFFAF0;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
}

.stats { margin: 8px 0; }
.stat-row { display: flex; align-items: center; gap: 6px; margin: 3px 0; font-size: 11px; }
.stat-label { width: 90px; font-weight: bold; color: #6B0000; }
.stat-bar { flex: 1; height: 12px; background: #ddd; border: 1px solid #000; position: relative; overflow: hidden; }
.stat-bar .fill {
  height: 100%;
  background: repeating-linear-gradient(45deg,
    #C41E3A 0, #C41E3A 6px,
    #FFD700 6px, #FFD700 12px);
}

.citation {
  background: #FFD700;
  color: #6B0000;
  padding: 6px 8px;
  margin-top: 8px;
  font-style: italic;
  border-left: 4px solid #C41E3A;
  font-size: 11px;
}

/* ---------- LE GENOU â€” STYLE PSEUDO-MEDICAL ---------- */
.medical {
  background: #FFFAF0;
  color: #1a1a1a;
  font-family: Georgia, "Times New Roman", serif;
  padding: 30px 40px;
  border: 2px solid #6B0000;
  margin: 14px 0;
  line-height: 1.7;
  text-align: justify;
}

.medical h2 {
  font-family: Georgia, serif;
  color: #6B0000;
  border-bottom: 2px solid #6B0000;
  padding-bottom: 4px;
  margin-top: 28px;
  font-size: 22px;
}

.medical h3 {
  color: #8B0000;
  font-size: 16px;
  margin-top: 18px;
}

.medical p { margin: 0 0 14px; font-size: 14px; }
.medical .lead { font-size: 16px; font-style: italic; color: #444; border-left: 4px solid #C41E3A; padding-left: 14px; }

.medical figure {
  margin: 18px auto;
  text-align: center;
  background: #fff;
  padding: 12px;
  border: 1px solid #ccc;
  max-width: 480px;
}
.medical figure svg { display: block; margin: 0 auto; }
.medical figcaption { font-size: 11px; font-style: italic; color: #555; margin-top: 6px; }

.medical .warning-box {
  background: #FFF3CD;
  border: 1px solid #C41E3A;
  border-left: 6px solid #C41E3A;
  padding: 12px 16px;
  margin: 18px 0;
  font-size: 13px;
  color: #6B0000;
}

.medical .warning-box strong { color: #C41E3A; }

.medical ol, .medical ul { margin: 0 0 14px 28px; }
.medical li { margin-bottom: 6px; }

/* ---------- GALERIE ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.photo-frame {
  background: #FFFAF0;
  padding: 10px 10px 30px;
  border: 1px solid #000;
  box-shadow: 4px 4px 0 #C41E3A;
  transform: rotate(-1deg);
  text-align: center;
}
.photo-frame:nth-child(even) { transform: rotate(1.5deg); }
.photo-frame:nth-child(3n)  { transform: rotate(-2deg); }

.photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background:
    repeating-linear-gradient(45deg,
      #ddd 0, #ddd 8px,
      #eee 8px, #eee 16px);
  display: flex; align-items: center; justify-content: center;
  color: #888;
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Marker Felt", cursive;
  font-size: 14px;
  border: 1px solid #999;
}

.photo-frame .legende {
  font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Marker Felt", cursive;
  font-size: 12px;
  color: #6B0000;
  margin-top: 8px;
  font-style: italic;
}

/* ---------- PLAYLIST ---------- */
.player {
  background: linear-gradient(180deg, #2c0000, #000);
  color: #FFD700;
  padding: 20px;
  border: 4px ridge #FFD700;
  text-align: center;
}
.player .vinyl {
  width: 180px; height: 180px;
  margin: 0 auto 14px;
  background:
    radial-gradient(circle, #FFD700 0%, #FFD700 8%, #000 8%, #000 14%, #1a0000 14%, #000 92%, #C41E3A 100%);
  border-radius: 50%;
  border: 4px solid #FFD700;
  animation: spin 4s linear infinite;
  box-shadow: 0 0 20px #C41E3A;
}

.tracklist {
  background: #FFFAF0;
  color: #2c0000;
  padding: 14px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  margin-top: 14px;
}
.tracklist .track { padding: 4px 0; border-bottom: 1px dashed #ccc; display: flex; gap: 10px; }
.tracklist .num { color: #C41E3A; font-weight: bold; min-width: 24px; }

/* ---------- DIVERS ---------- */
hr.fancy {
  border: none;
  height: 8px;
  background: repeating-linear-gradient(90deg,
    #C41E3A 0, #C41E3A 12px,
    #FFD700 12px, #FFD700 24px);
  margin: 18px 0;
}

.flame {
  display: inline-block;
  animation: flame 0.4s ease-in-out infinite alternate;
}
@keyframes flame {
  from { transform: scale(1) rotate(-3deg); }
  to   { transform: scale(1.2) rotate(3deg); }
}


/* ============= EX-INLINE DE equipe.html ============= */

  .stat-bar .fill.lvl-1 { width: 12%; }
  .stat-bar .fill.lvl-2 { width: 28%; }
  .stat-bar .fill.lvl-3 { width: 45%; }
  .stat-bar .fill.lvl-4 { width: 62%; }
  .stat-bar .fill.lvl-5 { width: 78%; }
  .stat-bar .fill.lvl-6 { width: 95%; }


/* ============= EX-INLINE DE itineraire.html ============= */

  .etape {
    background: #FFFAF0;
    border: 4px ridge #FFD700;
    color: #2c0000;
    margin: 14px 0;
    box-shadow: 4px 4px 0 #C41E3A;
    font-family: Verdana, sans-serif;
  }
  .etape-header {
    background: linear-gradient(90deg, #6B0000, #C41E3A);
    color: #FFD700;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 3px ridge #FFD700;
  }
  .etape-num {
    background: #FFD700;
    color: #6B0000;
    font-family: "Impact", sans-serif;
    font-size: 22px;
    width: 44px; height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    border: 3px ridge #FFFAF0;
    box-shadow: 0 0 8px #FFD700;
  }
  .etape-title {
    flex: 1;
    font-family: "Impact", sans-serif;
    font-size: 18px;
    text-shadow: 2px 2px 0 #000;
    letter-spacing: 1px;
    min-width: 200px;
  }
  .etape-meta {
    font-family: "VT323", monospace;
    font-size: 16px;
    color: #FFFAF0;
    text-align: right;
  }
  .etape-body { padding: 14px 16px; font-size: 13px; line-height: 1.6; }
  .etape-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 8px 0 12px;
    text-align: center;
  }
  .etape-stat {
    background: #FFF8DC;
    border: 1px solid #C41E3A;
    padding: 4px 6px;
  }
  .etape-stat .v { font-family: "VT323", monospace; font-size: 18px; color: #6B0000; font-weight: bold; }
  .etape-stat .l { font-size: 10px; text-transform: uppercase; color: #888; letter-spacing: 1px; }
  .etape-anecdote {
    background: #FFD700;
    border-left: 6px solid #C41E3A;
    padding: 10px 14px;
    margin: 8px 0;
    font-style: italic;
    font-size: 13px;
    color: #6B0000;
  }
  .etape-anecdote strong { color: #000; font-style: normal; }
  .danger {
    background: #C41E3A;
    color: #FFD700;
    padding: 2px 6px;
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }


/* ============= EX-INLINE DE le-genou.html ============= */

  /* Override : la section pseudo-mÃ©dicale doit casser radicalement avec le reste â€” c'est le gag */
  .medical-wrap {
    background: #FFFAF0;
    color: #1a1a1a;
    font-family: Georgia, "Times New Roman", serif;
    padding: 0;
    margin: 14px 0;
  }
  .medical-cover {
    background: linear-gradient(180deg, #ffffff, #f4f0e6);
    border-bottom: 3px double #6B0000;
    padding: 30px 40px 20px;
    text-align: center;
  }
  .medical-cover .label {
    font-family: Georgia, serif;
    font-size: 12px;
    letter-spacing: 6px;
    color: #6B0000;
    text-transform: uppercase;
  }
  .medical-cover h2 {
    font-family: "Times New Roman", Georgia, serif;
    font-size: 30px;
    color: #1a1a1a;
    margin: 14px 0 8px;
    line-height: 1.2;
    border: none;
    padding: 0;
  }
  .medical-cover .subtitle {
    font-family: Georgia, serif;
    font-style: italic;
    color: #444;
    font-size: 16px;
  }
  .medical-cover .auth {
    margin-top: 18px;
    font-size: 12px;
    color: #555;
    line-height: 1.5;
  }
  .medical-cover .doi {
    font-family: "Courier New", monospace;
    font-size: 11px;
    color: #888;
    margin-top: 10px;
  }
  .medical-toc {
    background: #f8f4ea;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 18px 40px;
    font-size: 13px;
  }
  .medical-toc h4 {
    margin: 0 0 8px;
    font-family: Georgia, serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6B0000;
  }
  .medical-toc ol { margin: 0; padding-left: 24px; columns: 2; }
  .medical-toc a { color: #1a1a1a; text-decoration: none; }
  .medical-toc a:hover { text-decoration: underline; }
  .medical-content {
    padding: 30px 40px;
    line-height: 1.75;
    text-align: justify;
  }
  .medical-content h2 {
    font-family: "Times New Roman", Georgia, serif;
    color: #6B0000;
    border-bottom: 2px solid #6B0000;
    padding-bottom: 4px;
    margin-top: 36px;
    font-size: 22px;
    letter-spacing: 0;
  }
  .medical-content h3 {
    color: #8B0000;
    font-size: 16px;
    margin-top: 22px;
    font-family: Georgia, serif;
  }
  .medical-content p { margin: 0 0 14px; font-size: 14px; }
  .medical-content .lead {
    font-size: 16px;
    font-style: italic;
    color: #444;
    border-left: 4px solid #C41E3A;
    padding-left: 14px;
    margin-bottom: 22px;
  }
  .medical-content .small-caps {
    font-variant: small-caps;
    letter-spacing: 1px;
  }
  .footnote-ref {
    color: #C41E3A;
    text-decoration: none;
    font-size: 11px;
    vertical-align: super;
  }
  .footnotes {
    margin-top: 30px;
    padding-top: 14px;
    border-top: 1px solid #888;
    font-size: 12px;
    color: #444;
  }
  .footnotes ol { padding-left: 22px; }
  .footnotes li { margin-bottom: 4px; }

  /* Diagrammes anatomiques */
  .figure-anatomy {
    margin: 22px auto;
    text-align: center;
    background: #fff;
    padding: 14px;
    border: 1px solid #ccc;
    max-width: 520px;
    box-shadow: 2px 2px 0 #ddd;
  }
  .figure-anatomy svg { display: block; margin: 0 auto; max-width: 100%; height: auto; }
  .figure-anatomy figcaption {
    font-size: 11px;
    font-style: italic;
    color: #555;
    margin-top: 8px;
    text-align: left;
  }

  /* EncadrÃ© clinique */
  .clinical-box {
    background: #FFF3CD;
    border: 1px solid #C41E3A;
    border-left: 6px solid #C41E3A;
    padding: 14px 18px;
    margin: 22px 0;
    font-size: 13px;
    color: #6B0000;
  }
  .clinical-box h4 {
    margin: 0 0 6px;
    color: #C41E3A;
    font-family: Georgia, serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .case-study {
    background: #f0f0f0;
    border: 1px dashed #6B0000;
    padding: 14px 18px;
    margin: 22px 0;
    font-size: 13px;
  }
  .case-study .case-label {
    font-family: Georgia, serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #6B0000;
    margin-bottom: 6px;
  }
  .case-study h4 {
    margin: 0 0 8px;
    font-family: Georgia, serif;
    font-size: 16px;
    color: #1a1a1a;
  }

  .data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 12px;
    background: #fff;
  }
  .data-table th {
    background: #f4f0e6;
    padding: 8px;
    border: 1px solid #999;
    text-align: left;
    color: #6B0000;
    font-family: Georgia, serif;
  }
  .data-table td {
    padding: 8px;
    border: 1px solid #ccc;
    vertical-align: top;
  }

  .exercise-list {
    counter-reset: exercise;
    padding-left: 0;
    list-style: none;
  }
  .exercise-list > li {
    counter-increment: exercise;
    margin: 14px 0;
    padding: 12px 14px 12px 56px;
    background: #fff;
    border-left: 3px solid #6B0000;
    position: relative;
  }
  .exercise-list > li::before {
    content: counter(exercise, decimal-leading-zero);
    position: absolute;
    left: 12px;
    top: 12px;
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: bold;
    color: #C41E3A;
  }
  .exercise-list strong { color: #6B0000; }

  .return-banner {
    background: #C41E3A;
    color: #FFD700;
    text-align: center;
    padding: 14px;
    margin-top: 30px;
    font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Marker Felt", cursive;
    font-size: 16px;
    border: 4px ridge #FFD700;
    text-shadow: 2px 2px 0 #000;
  }
  .return-banner a {
    color: #000;
    background: #FFD700;
    padding: 4px 10px;
    text-decoration: none;
    border: 2px outset #FFFAF0;
    margin-left: 8px;
  }

  .ad-break {
    background: linear-gradient(45deg, #FFD700, #C41E3A);
    border: 3px dashed #fff;
    text-align: center;
    padding: 14px;
    margin: 22px 0;
    font-family: "Impact", sans-serif;
    color: #000;
    font-size: 14px;
    transform: rotate(-1deg);
  }


/* ============= EX-INLINE DE galerie.html ============= */

  .album-intro {
    background: #FFD700;
    color: #6B0000;
    padding: 14px;
    text-align: center;
    font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Marker Felt", cursive;
    font-size: 14px;
    border: 4px ridge #C41E3A;
    margin-bottom: 14px;
  }
  .photo-frame .legende em { color: #C41E3A; }
  .album-section-title {
    text-align: center;
    background: linear-gradient(90deg, #C41E3A, #6B0000);
    color: #FFD700;
    padding: 8px;
    font-family: "Impact", sans-serif;
    font-size: 20px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 #000;
    margin: 22px 0 12px;
    border: 3px ridge #FFD700;
  }
  .ph-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 6px;
    filter: grayscale(0.3);
  }
  .ph-soon {
    font-family: "Impact", sans-serif;
    color: #888;
    font-size: 14px;
    letter-spacing: 2px;
  }


/* ============= EX-INLINE DE playlist.html ============= */

  .vinyl-stack { display: flex; justify-content: center; gap: 30px; align-items: center; flex-wrap: wrap; }
  .vinyl-side {
    text-align: center;
    color: #FFD700;
    font-family: "VT323", monospace;
    font-size: 14px;
    letter-spacing: 2px;
  }
  .equalizer {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: flex-end;
    height: 60px;
    margin: 14px 0;
  }
  .eq-bar {
    width: 12px;
    background: linear-gradient(180deg, #C41E3A, #FFD700);
    border: 1px solid #000;
    animation: eq 1.2s ease-in-out infinite;
  }
  .eq-bar:nth-child(1) { animation-delay: 0s;   }
  .eq-bar:nth-child(2) { animation-delay: 0.1s; }
  .eq-bar:nth-child(3) { animation-delay: 0.2s; }
  .eq-bar:nth-child(4) { animation-delay: 0.3s; }
  .eq-bar:nth-child(5) { animation-delay: 0.4s; }
  .eq-bar:nth-child(6) { animation-delay: 0.5s; }
  .eq-bar:nth-child(7) { animation-delay: 0.6s; }
  .eq-bar:nth-child(8) { animation-delay: 0.7s; }
  @keyframes eq {
    0%, 100% { height: 10px; }
    50%      { height: 60px; }
  }

  .spotify-placeholder {
    background:
      repeating-linear-gradient(45deg,
        #1DB954 0, #1DB954 12px,
        #0f7a36 12px, #0f7a36 24px);
    border: 4px ridge #FFD700;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin: 14px 0;
    font-family: "Impact", sans-serif;
    font-size: 22px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 #000;
    box-shadow: 4px 4px 0 #C41E3A;
  }
  .spotify-placeholder small {
    display: block;
    font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Marker Felt", cursive;
    font-size: 13px;
    letter-spacing: 0;
    margin-top: 12px;
    color: #FFD700;
    font-weight: normal;
    text-transform: none;
    text-shadow: none;
  }

  .mixtape {
    background: linear-gradient(180deg, #FFD700, #C41E3A);
    color: #000;
    padding: 14px;
    border: 4px ridge #000;
    font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Marker Felt", cursive;
    text-align: center;
    margin: 14px 0;
  }
  .mixtape h3 {
    font-family: "Impact", sans-serif;
    font-size: 22px;
    margin: 0 0 8px;
    letter-spacing: 2px;
  }

  .cassette {
    background: linear-gradient(180deg, #2c0000, #1a1a1a);
    border: 3px ridge #FFD700;
    color: #FFD700;
    padding: 18px;
    margin: 14px auto;
    max-width: 380px;
    font-family: "Courier New", monospace;
    box-shadow: 0 0 20px #C41E3A;
  }
  .cassette-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 6px;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 2px;
  }
  .cassette-reels {
    display: flex;
    justify-content: space-between;
    margin: 14px 0;
  }
  .reel {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, #fff 8%, #2c0000 8%, #2c0000 14%, #1a0000 14%, #2c0000 92%);
    border: 3px solid #FFD700;
    animation: spin 5s linear infinite;
  }
  .cassette-line { font-size: 11px; padding: 2px 0; border-bottom: 1px dashed #444; }

  .vibe-block {
    background: #FFFAF0;
    color: #2c0000;
    padding: 14px 18px;
    border: 3px ridge #C41E3A;
    margin: 14px 0;
    font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Marker Felt", cursive;
  }
  .vibe-block h4 {
    background: #C41E3A;
    color: #FFD700;
    padding: 6px 10px;
    margin: -14px -18px 10px;
    font-family: "Impact", sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 #000;
  }
  .vibe-list { padding: 0; margin: 0; list-style: none; }
  .vibe-list li {
    padding: 4px 0;
    border-bottom: 1px dashed #C41E3A;
    font-size: 12px;
  }
  .vibe-list li:last-child { border-bottom: none; }
  .vibe-list .num { display: inline-block; width: 28px; color: #C41E3A; font-weight: bold; }
  .vibe-list .author { color: #6B0000; font-style: italic; }
