/* =========================================================
   Slovénitude — lecteur
   Reprend les codes du site : Inter + Bebas Neue, rouge #d50047,
   panneaux blancs flous, rayons 12/18px.
   ========================================================= */

:root{
  --bg:#F6F7FB;
  --panel:#FFFFFF;
  --text:#111827;
  --muted:#6B7280;
  --accent:#d50047;
  --accent-dark:#b1043e;
  --border:#D6DAE3;
  --stage:#ECECEC;
  --paper:#FBFAF7;

  --bar-h:64px;
  --head-h:64px;
  --radius:12px;
  --shadow:0 6px 24px rgba(17,24,39,.12);
  --flip:700ms;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--panel);
  color:var(--text);
  font-family:"Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight:300;
}
button{ font:inherit; color:inherit; }
.sr-only{
  position:absolute !important; width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; margin:-1px; padding:0; border:0;
}
[hidden]{ display:none !important; }

:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; }

/* =========================================================
   LECTEUR — plein écran de la fenêtre
   ========================================================= */
.reader{
  position:relative;
  height:100vh;
  height:100svh;
  min-height:480px;
  display:grid;
  grid-template-rows:auto var(--head-h) 1fr auto;
  background:var(--stage);
  overflow:hidden;
  padding:env(safe-area-inset-top,0) env(safe-area-inset-right,0) env(safe-area-inset-bottom,0) env(safe-area-inset-left,0);
}
.reader:fullscreen{ height:100%; min-height:0; }
.reader:-webkit-full-screen{ height:100%; width:100%; }
/* Repli quand l'API plein écran n'existe pas (iPhone) */
.reader.is-pseudo-full{
  position:fixed; inset:0; z-index:9999; height:100%; min-height:0;
}
html.no-scroll, html.no-scroll body{ overflow:hidden; }

/* Rangées fixes : le bandeau masqué ne décale pas l'en-tête */
.news{ grid-row:1; }
.reader__head{ grid-row:2; }
.stage{ grid-row:3; }
.bar{ grid-row:4; }

/* ---------- Bandeau « nouveau chapitre » ---------- */
.news{
  display:flex; align-items:center; gap:12px;
  min-height:42px; padding:4px 8px 4px 20px;
  background:var(--accent); color:#fff;
  font-size:14px;
}
.news__text{
  flex:1; min-width:0; margin:0;
  display:flex; align-items:baseline; gap:12px;
  white-space:nowrap; overflow:hidden;
}
.news__label{
  flex:none;
  font-family:"Bebas Neue", "Inter", sans-serif;
  font-size:19px; letter-spacing:.05em; line-height:1;
}
.news__title{ min-width:0; overflow:hidden; text-overflow:ellipsis; font-weight:400; }
.news__go{
  flex:none; border:0; cursor:pointer;
  padding:6px 12px; border-radius:8px;
  background:#fff; color:var(--accent);
  font-size:13px; font-weight:500; font-variant-numeric:tabular-nums;
  transition:background .15s ease;
}
.news__go:hover{ background:var(--bg); }
.news__close{
  flex:none; width:32px; height:32px; display:grid; place-items:center;
  border:0; border-radius:8px; background:transparent; color:#fff; cursor:pointer;
}
.news__close:hover{ background:rgba(255,255,255,.16); }
.news__close svg{
  width:18px; height:18px; fill:none; stroke:currentColor;
  stroke-width:1.8; stroke-linecap:round;
}
.news :focus-visible{ outline-color:#fff; }
/* En plein écran, rien ne doit gêner la lecture */
.reader:fullscreen .news,
.reader.is-pseudo-full .news{ display:none; }

/* Langue choisie sans PDF : les pages et la barre s'effacent derrière le message */
.reader.is-unavailable .book{ visibility:hidden; }
.reader.is-unavailable .reader__where{ visibility:hidden; }
.reader.is-unavailable .bar{ opacity:.35; pointer-events:none; }

/* ---------- En-tête ---------- */
.reader__head{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:0 20px;
  min-width:0;
}
.reader__id{ min-width:0; display:flex; align-items:baseline; gap:14px; }
.reader__book{
  margin:0;
  font-family:"Bebas Neue", "Inter", sans-serif;
  font-size:26px; letter-spacing:.05em; line-height:1;
  color:var(--accent);
  flex:none;
}
.reader__where{
  margin:0; font-size:13px; color:var(--muted);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0;
}
.reader__where b{ font-weight:500; color:var(--text); }

.langs{
  display:flex; gap:4px; padding:4px;
  background:color-mix(in srgb, var(--panel) 88%, transparent);
  border:1px solid var(--border); border-radius:12px;
  flex:none;
}
.langs__btn{
  border:0; background:transparent; cursor:pointer;
  padding:6px 10px; border-radius:8px;
  font-weight:600; font-size:13px; letter-spacing:.04em;
  transition:background .2s ease, color .2s ease;
}
.langs__btn:hover{ color:var(--accent); }
.langs__btn[aria-pressed="true"]{ background:var(--accent); color:#fff; }
/* Langue dont le PDF n'est pas encore en ligne : cliquable (traduit la page), mais atténuée */
.langs__btn.is-soon:not([aria-pressed="true"]){ opacity:.45; }

/* ---------- Scène ---------- */
.stage{
  position:relative;
  display:grid; place-items:center;
  min-height:0; min-width:0;
  padding:8px 20px 16px;
}

.book{
  --pw:300px; --ph:420px; --el:0px; --er:0px;
  display:flex; align-items:stretch;
  height:var(--ph);
  opacity:0; transition:opacity .3s ease;
}
.book.is-ready{ opacity:1; }

/* Tranches du livre : leur épaisseur suit la progression de lecture */
.book__edge{
  width:var(--el);
  background:
    repeating-linear-gradient(90deg, #fff 0 1px, #dadce3 1px 2px);
  transition:width .4s ease;
}
.book__edge--left { border-radius:4px 0 0 4px; }
.book__edge--right{ width:var(--er); border-radius:0 4px 4px 0; }

.book__pages{
  position:relative;
  display:flex;
  height:var(--ph);
  perspective:calc(var(--pw) * 5);
  touch-action:pan-y pinch-zoom;
  isolation:isolate;
}
.book[data-mode="double"] .book__pages{ width:calc(var(--pw) * 2); }
.book[data-mode="single"] .book__pages{ width:var(--pw); }
.book[data-mode="single"] .sheet--left{ display:none; }

.sheet{
  position:relative;
  width:var(--pw); height:var(--ph);
  background:var(--paper);
  cursor:pointer;
}
/* Ombre portée sur un calque placé sous les deux pages : l'ombre de la page de
   droite ne déborde plus sur celle de gauche (elle clignotait au centre à l'arrivée) */
.sheet:not(.is-empty)::before{
  content:""; position:absolute; inset:0; z-index:-1;
  box-shadow:0 6px 12px rgba(0,0,0,.15);
  border-radius:inherit; pointer-events:none;
}
.sheet.is-empty{ background:transparent; cursor:default; }
.book[data-mode="double"] .sheet--left { border-radius:4px 0 0 4px; }
.book[data-mode="double"] .sheet--right{ border-radius:0 4px 4px 0; }
.book[data-mode="single"] .sheet--right{ border-radius:4px; }

/* Ombre de la reliure */
.book[data-mode="double"] .sheet--left:not(.is-empty)::after,
.book[data-mode="double"] .sheet--right:not(.is-empty)::after{
  content:""; position:absolute; top:0; bottom:0; width:12%;
  pointer-events:none;
}
.book[data-mode="double"] .sheet--left::after { right:0; background:linear-gradient(90deg, transparent, rgba(0,0,0,.14)); }
.book[data-mode="double"] .sheet--right::after{ left:0;  background:linear-gradient(270deg, transparent, rgba(0,0,0,.12)); }

/* Contenu d'une page (image rendue ou attente) */
.pg{ position:absolute; inset:0; display:grid; place-items:center; }
.pg img{
  width:100%; height:100%; object-fit:contain; display:block;
  user-select:none; -webkit-user-drag:none;
}
.pg__wait{
  display:grid; place-items:center; gap:10px;
  color:#b8bbc6; font-size:12px; font-variant-numeric:tabular-nums;
}
.pg__wait::before{
  content:""; width:22px; height:22px; border-radius:50%;
  border:2px solid #e4e6ec; border-top-color:var(--accent);
  animation:spin .9s linear infinite;
}

/* ---------- Feuille qui tourne ---------- */
.leaf{
  position:absolute; top:0; height:100%;
  width:var(--pw);
  transform-style:preserve-3d;
  pointer-events:none; z-index:5;
  will-change:transform;
}
.leaf.to-next{ left:calc(100% - var(--pw)); transform-origin:left center; }
.leaf.to-prev{ left:0; transform-origin:right center; }
.book[data-mode="single"] .leaf.to-prev{ transform-origin:left center; }

.leaf__face{
  position:absolute; inset:0;
  background:var(--paper);
  backface-visibility:hidden; -webkit-backface-visibility:hidden;
  overflow:hidden;
}
.leaf__back{ transform:rotateY(180deg); }
.leaf__img{ position:absolute; inset:0; }
.leaf__shade{ position:absolute; inset:0; opacity:0; pointer-events:none; }
.leaf.to-next .leaf__front .leaf__shade,
.leaf.to-prev .leaf__back  .leaf__shade{ background:linear-gradient(90deg, rgba(0,0,0,.22), rgba(0,0,0,.06) 60%, rgba(0,0,0,.02)); }
.leaf.to-next .leaf__back  .leaf__shade,
.leaf.to-prev .leaf__front .leaf__shade{ background:linear-gradient(270deg, rgba(0,0,0,.22), rgba(0,0,0,.06) 60%, rgba(0,0,0,.02)); }

/* Ombre de reliure sur la feuille qui tourne, identique à celle des pages :
   pas de disparition au départ ni d'apparition à l'arrivée */
.book[data-mode="double"] .leaf__face::after{
  content:""; position:absolute; top:0; bottom:0; width:12%; pointer-events:none;
}
.book[data-mode="double"] .leaf.to-next .leaf__front::after,
.book[data-mode="double"] .leaf.to-prev .leaf__back::after{ left:0; background:linear-gradient(270deg, transparent, rgba(0,0,0,.12)); }
.book[data-mode="double"] .leaf.to-next .leaf__back::after,
.book[data-mode="double"] .leaf.to-prev .leaf__front::after{ right:0; background:linear-gradient(90deg, transparent, rgba(0,0,0,.14)); }

/* ---------- Messages ---------- */
.stage__msg{
  position:absolute; inset:0;
  display:grid; place-content:center; justify-items:center; gap:14px;
  text-align:center; padding:24px;
  color:var(--text);
}
.stage__msg p{ margin:0; max-width:44ch; line-height:1.6; font-size:15px; }
.spinner{
  width:36px; height:36px; border-radius:50%;
  border:3px solid #dcdfe6; border-top-color:var(--accent);
  animation:spin .9s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

.btn{
  border:0; cursor:pointer;
  background:var(--accent); color:#fff;
  padding:10px 16px; border-radius:12px; font-weight:500;
  transition:background .15s ease;
}
.btn:hover{ background:var(--accent-dark); }

.toast{
  position:absolute; left:50%; bottom:14px; transform:translateX(-50%);
  display:flex; align-items:center; gap:12px;
  padding:8px 8px 8px 16px;
  background:color-mix(in srgb, var(--panel) 92%, transparent);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid var(--border); border-radius:14px;
  box-shadow:var(--shadow);
  font-size:13px; line-height:1.45; z-index:8;
  width:max-content; max-width:calc(100% - 24px);
}
.toast span{ min-width:0; }
.toast:has(#toastAction[hidden]){ padding-right:16px; }
.toast button{
  flex:none; border:0; cursor:pointer; background:var(--bg);
  padding:6px 10px; border-radius:8px; font-weight:500; color:var(--accent);
}

/* =========================================================
   BARRE DE NAVIGATION (reprend .site-nav)
   ========================================================= */
.bar{
  display:flex; align-items:center; gap:6px;
  margin:0 auto 16px;
  width:min(1100px, calc(100% - 32px));
  padding:8px 10px;
  background:color-mix(in srgb, var(--panel) 88%, transparent);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
}
.bar__btn{
  flex:none;
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:40px; min-width:40px; padding:0 8px;
  border:0; background:transparent; border-radius:12px; cursor:pointer;
  transition:color .2s ease, background .2s ease;
}
.bar__btn:hover{ color:var(--accent); background:var(--bg); }
.bar__btn:disabled{ opacity:.3; cursor:default; background:transparent; color:inherit; }
.bar__btn svg, .toc svg{
  width:22px; height:22px; fill:none; stroke:currentColor;
  stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
}
.bar__btn--toc{ padding:0 12px 0 10px; }
.bar__btn--toc span{
  font-family:"Bebas Neue", "Inter", sans-serif;
  font-size:19px; letter-spacing:.06em; line-height:1; padding-top:2px;
}
.bar__btn--toc[aria-expanded="true"]{ color:var(--accent); }

.bar__btn--mode .ico-double{ display:none; }
.bar__btn--mode[data-show="double"] .ico-single{ display:none; }
.bar__btn--mode[data-show="double"] .ico-double{ display:block; }
#btnFull .ico-exit{ display:none; }
#btnFull[data-full="1"] .ico-enter{ display:none; }
#btnFull[data-full="1"] .ico-exit{ display:block; }

.bar__page{
  flex:none;
  display:flex; align-items:center; gap:4px;
  font-size:14px; font-variant-numeric:tabular-nums;
  padding:0 4px;
}
.bar__page input{
  width:5.2ch; height:32px; padding:0 6px;
  border:1px solid var(--border); border-radius:8px;
  background:var(--panel); color:var(--text);
  font:inherit; font-weight:500; text-align:center;
  -moz-appearance:textfield; appearance:textfield;
}
.bar__page input::-webkit-outer-spin-button,
.bar__page input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
.bar__total{ color:var(--muted); white-space:nowrap; }

/* ---------- Curseur de progression ---------- */
.scrub{
  position:relative; flex:1; min-width:80px;
  height:40px; display:flex; align-items:center;
  margin:0 8px;
}
.scrub input[type="range"]{
  --p:0%;
  -webkit-appearance:none; appearance:none;
  width:100%; height:24px; margin:0; background:transparent; cursor:pointer;
  position:relative; z-index:2;
}
.scrub input[type="range"]::-webkit-slider-runnable-track{
  height:6px; border-radius:6px;
  background:linear-gradient(90deg, var(--accent) 0 var(--p), #dfe2ea var(--p) 100%);
}
.scrub input[type="range"]::-moz-range-track{ height:6px; border-radius:6px; background:#dfe2ea; }
.scrub input[type="range"]::-moz-range-progress{ height:6px; border-radius:6px; background:var(--accent); }
.scrub input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none; width:20px; height:20px; margin-top:-7px;
  border-radius:50%; background:#fff; border:2px solid var(--accent);
  box-shadow:0 2px 6px rgba(0,0,0,.2);
}
.scrub input[type="range"]::-moz-range-thumb{
  width:16px; height:16px; border-radius:50%; background:#fff; border:2px solid var(--accent);
}
.scrub__ticks{ position:absolute; left:10px; right:10px; top:50%; height:0; z-index:3; pointer-events:none; }
.tick{
  position:absolute; top:-7px; width:2px; height:14px; margin-left:-1px;
  background:var(--text); opacity:.55; border-radius:1px;
}
.tick--minor{ top:-4px; height:8px; opacity:.28; }

.scrub__bubble{
  position:absolute; bottom:calc(100% + 10px);
  transform:translateX(-50%);
  max-width:280px; padding:8px 12px;
  background:var(--text); color:#fff;
  border-radius:10px; font-size:12px; line-height:1.4;
  pointer-events:none; z-index:10;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.scrub__bubble b{ font-weight:600; font-variant-numeric:tabular-nums; }

/* =========================================================
   SOMMAIRE (reprend .sidebar / .song)
   ========================================================= */
.toc{
  position:absolute; top:0; left:0; bottom:0; z-index:20;
  width:min(380px, 100%);
  display:flex; flex-direction:column;
  background:var(--panel);
  box-shadow:0 0 40px rgba(0,0,0,.18);
  transform:translateX(-102%);
  transition:transform .35s ease;
  visibility:hidden;
}
.toc.is-open{ transform:translateX(0); visibility:visible; }
.toc-scrim{ position:absolute; inset:0; z-index:19; background:rgba(17,24,39,.18); }

.toc__head{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 16px 8px 24px;
}
.toc__title{
  margin:0; color:var(--accent);
  font-family:"Bebas Neue", "Inter", sans-serif; font-weight:400;
  font-size:30px; letter-spacing:.04em; line-height:1;
}
.toc__close{
  width:40px; height:40px; border:0; border-radius:12px; cursor:pointer;
  background:transparent; display:grid; place-items:center;
}
.toc__close:hover{ background:var(--bg); color:var(--accent); }

.toc__search{
  display:flex; align-items:center; gap:8px;
  margin:8px 24px 12px; padding:0 12px;
  height:42px; border-radius:12px; background:var(--bg);
  color:var(--muted);
}
.toc__search svg{ width:18px; height:18px; flex:none; }
.toc__search input{
  flex:1; min-width:0; border:0; background:transparent; outline:none;
  font:inherit; font-size:14px; color:var(--text);
}

.toc__list{ flex:1; overflow-y:auto; padding:4px 24px 32px; overscroll-behavior:contain; }
.toc__empty{ color:var(--muted); font-size:14px; line-height:1.6; }

.tp{ border-bottom:1px solid var(--border); }
.tp:last-child{ border-bottom:0; }
.tp__row{ display:flex; align-items:center; gap:8px; padding:12px 0 10px; }
.tp__toggle{
  flex:1; min-width:0;
  display:flex; align-items:center; gap:8px;
  padding:0; border:0; background:transparent; cursor:pointer; text-align:left;
}
.tp__toggle .chev{ width:18px; height:18px; flex:none; transition:transform .2s ease; color:var(--muted); }
.tp.is-open .tp__toggle .chev{ transform:rotate(90deg); }
.tp__name{
  flex:1;
  font-family:"Bebas Neue", "Inter", sans-serif;
  font-size:21px; letter-spacing:.04em; line-height:1.05;
}
.tp__toggle:hover .tp__name, .tp.is-current .tp__name{ color:var(--accent); }
.tp__go{
  flex:none; border:0; cursor:pointer;
  padding:5px 9px; border-radius:6px; background:var(--bg);
  font-size:12px; font-weight:400; font-variant-numeric:tabular-nums; color:var(--muted);
  transition:background .2s ease, color .2s ease;
}
.tp__go:hover{ background:var(--accent); color:#fff; }
.tp__body{ padding:0 0 12px 26px; display:none; }
.tp.is-open .tp__body{ display:block; }

.ts__name{
  display:flex; align-items:baseline; gap:8px; width:100%;
  margin:10px 0 6px; padding:0; border:0; background:transparent; cursor:pointer;
  text-align:left;
  font-family:"Bebas Neue", "Inter", sans-serif;
  font-size:17px; letter-spacing:.05em; color:var(--accent);
}
.ts__name:hover{ color:var(--accent-dark); }
.ts__name span:first-child{ flex:1; }

.tc{
  display:flex; align-items:baseline; gap:10px; width:100%;
  padding:10px 12px; margin:0 0 6px;
  border:0; border-radius:6px; background:var(--bg);
  cursor:pointer; text-align:left;
  font-weight:300; font-size:14px; line-height:1.35;
  transition:background .2s ease, color .2s ease;
}
.tc span:first-child{ flex:1; }
.tc:hover, .tc.is-active{ background:var(--accent); color:#fff; }
.tc.is-active .pn, .tc:hover .pn{ color:rgba(255,255,255,.8); }
.ts__name.is-active{ text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }

.pn{
  flex:none; font-family:"Inter", sans-serif; font-size:12px; font-weight:400;
  color:var(--muted); font-variant-numeric:tabular-nums; letter-spacing:0;
}
mark{ background:rgba(213,0,71,.14); color:inherit; border-radius:2px; }

/* Étiquette du dernier chapitre ajouté */
.tag-new{
  display:inline-block; margin-left:4px; padding:2px 7px 1px;
  border-radius:999px; background:var(--accent); color:#fff;
  font-size:11px; font-weight:500; line-height:1.4; vertical-align:1px;
}
.tc:hover .tag-new, .tc.is-active .tag-new{ background:#fff; color:var(--accent); }
.tc:hover mark, .tc.is-active mark{ background:rgba(255,255,255,.25); }

/* =========================================================
   PRÉSENTATION (reprend .origin)
   ========================================================= */
.about{ padding:96px 24px 72px; background:var(--panel); }
.about__grid{
  max-width:1100px; margin:0 auto;
  display:grid; grid-template-columns:320px 1fr; gap:72px; align-items:start;
}
.about__media{ position:sticky; top:48px; display:grid; gap:18px; }
.about__frame{
  margin:0; border-radius:6px; overflow:hidden;
  transform:rotate(-2deg);
  box-shadow:0 26px 60px rgba(0,0,0,.16), 0 6px 16px rgba(0,0,0,.08);
  border:1px solid rgba(0,0,0,.06);
  background:var(--paper);
}
.about__frame img{ display:block; width:100%; height:auto; }
.about__coverph{ aspect-ratio:2 / 3; background:linear-gradient(135deg, #f1f2f6, #e6e8ee); }
.about__facts{ margin:0; font-size:14px; line-height:1.6; color:var(--muted); transform:rotate(-2deg); }

.about__title{
  margin:0 0 8px; color:#141414;
  font-family:"Bebas Neue", "Inter", sans-serif; font-weight:400;
  font-size:clamp(48px, 7vw, 88px); line-height:.95; letter-spacing:.02em;
}
.about__subtitle{ margin:0 0 4px; font-size:20px; font-weight:300; line-height:1.4; }
.about__author{ margin:0 0 40px; color:var(--accent); font-weight:500; }
.about__text p{ margin:0 0 22px; font-size:16px; line-height:1.85; color:#2b2b2b; max-width:62ch; }
.about__lead::first-letter{
  font-family:"Bebas Neue", "Inter", sans-serif;
  float:left; font-size:64px; line-height:.8; padding:6px 10px 0 0; color:var(--accent);
}
.about__quote{
  margin:36px 0 8px; padding:4px 0 4px 24px;
  border-left:3px solid var(--accent);
  font-family:"Bebas Neue", "Inter", sans-serif;
  font-size:clamp(20px, 2.2vw, 26px); line-height:1.3; letter-spacing:.01em;
  max-width:46ch;
}
.about__h2{
  margin:64px 0 16px; color:var(--accent);
  font-family:"Bebas Neue", "Inter", sans-serif; font-weight:400;
  font-size:30px; letter-spacing:.04em;
}

.outline{ list-style:none; margin:0; padding:0; max-width:62ch; }
.outline > li{ border-top:1px solid var(--border); }
.outline > li:last-child{ border-bottom:1px solid var(--border); }
.outline__part{
  display:flex; align-items:baseline; gap:16px; width:100%;
  padding:16px 0 6px; border:0; background:transparent; cursor:pointer; text-align:left;
  font-family:"Bebas Neue", "Inter", sans-serif; font-size:22px; letter-spacing:.04em;
}
.outline__part span:first-child{ flex:1; }
.outline__part:hover{ color:var(--accent); }
.outline__cent{ margin:0 0 16px; font-size:14px; line-height:1.6; color:var(--muted); }
.outline__cent button{
  border:0; background:transparent; padding:0; cursor:pointer;
  color:inherit; font:inherit; text-decoration:underline; text-decoration-color:var(--border);
  text-underline-offset:3px;
}
.outline__cent button:hover{ color:var(--accent); text-decoration-color:currentColor; }

.foot{
  border-top:1px solid var(--border);
  padding:32px 20px; text-align:center;
}
.foot p{
  margin:0; color:var(--accent);
  font-family:"Bebas Neue", "Inter", sans-serif; font-size:22px; letter-spacing:.05em;
}

/* =========================================================
   TÉLÉPHONE / PETITES FENÊTRES
   ========================================================= */
@media (max-width: 820px){
  :root{ --head-h:56px; }
  .reader__head{ padding:0 14px; }
  .reader__book{ font-size:22px; }
  .reader__where{ font-size:12px; }
  .stage{ padding:4px 10px 10px; }
  .news{ padding:4px 4px 4px 14px; gap:8px; }
  .news__label{ font-size:17px; }

  .bar{
    flex-wrap:wrap; row-gap:2px;
    width:calc(100% - 20px); margin-bottom:10px; padding:6px 8px;
    border-radius:16px;
  }
  .scrub{ order:10; flex-basis:100%; margin:0 4px; height:32px; }
  .bar__btn--toc span{ display:none; }
  .bar__btn--toc{ padding:0 8px; }
  .bar__btn--mode{ display:none; }
  .bar__page{ margin:0 auto; }

  .about{ padding:64px 20px 56px; }
  .about__grid{ grid-template-columns:1fr; gap:40px; }
  .about__media{ position:static; justify-items:center; }
  .about__frame{ width:min(240px, 70%); transform:none; }
  .about__facts{ transform:none; text-align:center; }
  .about__lead::first-letter{ font-size:52px; }
  .about__text p{ font-size:15px; }
}

@media (max-width: 420px){
  .reader__where{ display:none; }
}

@media (prefers-reduced-motion: reduce){
  .toc{ transition:none; }
  .book__edge{ transition:none; }
}
