/* Animerie — www.animerie.fr
   Warm black and off-white, nothing else: the covers bring the colour. Titles in Bricolage
   Grotesque, text in Manrope. Phone first (390 px), then wider screens. */

@font-face { font-family: "Bricolage"; src: url(/polices/bricolage-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(/polices/manrope-500.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(/polices/manrope-700.woff2) format("woff2"); font-weight: 600 800; font-display: swap; }

:root {
  --encre: #0D0C0B;
  --surface: #171513;
  --releve: #211E1B;
  --papier: #F3EFE7;
  --doux: #ABA59B;
  --sourd: #726C63;
  --filet: rgba(243, 239, 231, .1);
  --trait: rgba(243, 239, 231, .22);
  --voile: rgba(13, 12, 11, .86);
  --titre: "Bricolage", -apple-system, BlinkMacSystemFont, sans-serif;
  --texte: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --marge: 18px;
  --respire: 56px; /* between two sections */
  --large: 1120px;
  --etroit: 600px;
  --doux-ressort: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--encre); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
body { background: var(--encre); color: var(--papier); font: 500 15px/1.5 var(--texte); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
h1, h2 { font-family: var(--titre); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: 21px; }
:focus-visible { outline: 2px solid var(--papier); outline-offset: 3px; border-radius: 4px; }

/* ───── icons ───── */
.icone { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icone.pleine { fill: currentColor; stroke: none; }

/* ───── the sign: two solid panels and the empty frame ───── */
.signe { fill: currentColor; }
.signe .case { fill: none; stroke: currentColor; stroke-width: 8; }

/* ───── the thin top bar ───── */
.barre { position: sticky; top: 10px; z-index: 10; display: flex; align-items: center; justify-content: space-between; width: calc(100% - 20px); max-width: calc(var(--large) - 2 * var(--marge) + 24px); height: 54px; margin: 10px auto 0; padding: 0 7px 0 16px; border-radius: 18px; background: rgba(23, 21, 19, .74); border: 1px solid rgba(243, 239, 231, .08); backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3); box-shadow: 0 12px 32px rgba(0, 0, 0, .32); transition: transform .4s var(--doux-ressort), box-shadow .3s; }
.barre.cachee { transform: translateY(calc(-100% - 16px)); box-shadow: none; }
.marque { display: inline-flex; align-items: center; gap: 9px; font: 800 18px var(--titre); letter-spacing: -.03em; }
.marque .signe { width: 24px; height: 24px; transition: transform .3s var(--doux-ressort); }
.barre nav { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; }
.barre nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 13px; color: var(--doux); transition: color .2s, background-color .2s, transform .18s var(--doux-ressort); }
.barre nav a:active { transform: scale(.95); }
.barre nav a.appli { color: var(--encre); background: var(--papier); padding: 0 15px; }

/* ───── the breadcrumb ───── */
.fil { max-width: var(--large); margin: 0 auto; padding: 16px var(--marge) 0; font-size: 12.5px; color: rgba(243, 239, 231, .62); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); position: relative; z-index: 2; }
.fil ol { display: flex; flex-wrap: wrap; gap: 4px; }
.fil li { display: flex; align-items: center; gap: 4px; min-width: 0; }
.fil li + li::before { content: "/"; opacity: .6; }
.fil li[aria-current] { color: var(--papier); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fil a { transition: color .2s; }

/* ───── covers ───── */
.couv { width: 100%; height: auto; aspect-ratio: 32 / 50; object-fit: cover; object-position: 50% 0; border-radius: 6px; background: var(--surface); }
.couv.vide { display: grid; place-items: center; width: var(--l); max-width: 100%; aspect-ratio: 32 / 50; border-radius: 6px; border: 1.5px solid var(--trait); background: none; font: 800 22px var(--titre); color: var(--sourd); }

/* ───── when a book comes out ───── */
.quand { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--papier); }
.quand .icone { width: 15px; height: 15px; }
.quand.paru { color: var(--doux); }
.quand b { font-size: 10.5px; line-height: 16px; font-weight: 700; letter-spacing: .03em; padding: 0 7px; border-radius: 9px; border: 1px solid var(--trait); }
.quand b.proche { background: var(--papier); border-color: var(--papier); color: var(--encre); }

/* ───── the shop button: Amazon's mark, then what the tap does ───── */
.acheter { display: inline-flex; align-items: center; justify-content: center; gap: .3em; height: 38px; padding: 0 15px; border-radius: 19px; border: 1px solid var(--trait); font-size: 13px; font-weight: 700; white-space: nowrap; transition: transform .18s var(--doux-ressort), background-color .2s, border-color .2s; }
.acheter::before { content: ""; flex: none; width: 17px; height: 17px; margin-right: .35em; background: url(/amazon.png) center / contain no-repeat; }
.acheter::after { content: ""; width: 6px; height: 6px; margin-left: 8px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); opacity: .6; }
.acheter:active { transform: scale(.96); background-color: rgba(243, 239, 231, .12); }
.acheter.fort { height: 48px; border-radius: 24px; padding: 0 22px; font-size: 15px; color: var(--encre); background: var(--papier); border-color: var(--papier); }
.acheter.fort::before { width: 19px; height: 19px; background-image: url(/amazon-noir.png); }
a.acheter:not([data-boutique]) { padding: 0 18px; }
a.acheter:not([data-boutique])::before, a.acheter:not([data-boutique])::after { display: none; }

/* ───── a book in a list ───── */
.livre { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--filet); }
.livre-couv { flex: none; width: 64px; }
.livre-couv .couv.vide { --l: 64px; font-size: 19px; }
.livre-corps { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.livre-nom { font: 700 15.5px/1.25 var(--texte); letter-spacing: -.005em; }
.livre-infos { color: var(--doux); font-size: 12.5px; }
.livre-mot { font-size: 13px; opacity: .88; margin-top: 2px; }
.livre .quand { margin-top: 2px; }
.livre .acheter { align-self: flex-start; margin-top: 8px; }
.livre.demande { margin: 0 -12px; padding: 14px 12px; border-radius: 12px; border-top-color: transparent; background: rgba(243, 239, 231, .07); }

/* ───── rows of series ───── */
.rayon { max-width: var(--large); margin: var(--respire) auto 0; }
.tete-section { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 var(--marge); }
.rayon > .chapeau { padding: 0 var(--marge); max-width: 68ch; }
.rayon-liste { margin-top: 16px; }
.voir { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--doux); white-space: nowrap; transition: color .2s; }
.voir .icone { width: 16px; height: 16px; transition: transform .2s var(--doux-ressort); }
.rayon-note { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--doux); white-space: nowrap; }
.rayon-note .icone { width: 15px; height: 15px; }
.rayon-liste { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: 14px; padding: 0 var(--marge) 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 var(--marge); scrollbar-width: none; }
.rayon-liste::-webkit-scrollbar { display: none; }
.rayon-liste > li { scroll-snap-align: start; }
.carte { display: flex; flex-direction: column; gap: 3px; }
.carte .couv { margin-bottom: 6px; transition: transform .25s var(--doux-ressort), box-shadow .25s; }
.carte-nom { font-size: 13.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.carte-infos { font-size: 12px; color: var(--doux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carte:active .couv { transform: scale(.97); }

/* ───── home: the wall of covers, the sign, the app ───── */
.une { position: relative; overflow: hidden; text-align: center; padding: 122px var(--marge) 0; }
.une-mur { position: absolute; inset: 0 -8% auto; height: 220px; background: linear-gradient(rgba(13, 12, 11, .1), rgba(13, 12, 11, .5) 55%, var(--encre)), url(/mur.jpg) center / cover; animation: derive 40s ease-in-out infinite alternate; will-change: transform; }
.une-texte { position: relative; max-width: var(--etroit); margin: 0 auto; }
.disque { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto; border-radius: 50%; background: var(--papier); color: var(--encre); box-shadow: 0 12px 30px rgba(0, 0, 0, .6); }
.disque .signe { width: 44px; height: 44px; margin-top: -4px; }
.une h1 { font-size: 30px; margin-top: 14px; }
.accroche { color: var(--doux); font-size: 15px; margin-top: 4px; }
.magasins { display: flex; justify-content: center; gap: 10px; margin-top: 20px; scroll-margin-top: 20px; }
.magasin { display: inline-flex; align-items: center; gap: 9px; height: 50px; padding: 0 16px 0 13px; border-radius: 14px; background: var(--papier); color: var(--encre); text-align: left; transition: transform .18s var(--doux-ressort); }
.magasin .marque { width: 22px; height: 22px; }
.magasin span { display: flex; flex-direction: column; font-size: 15px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.magasin small { font-size: 10.5px; font-weight: 600; letter-spacing: 0; opacity: .72; }
.magasin:active { transform: scale(.96); }
.magasin.bientot { background: rgba(13, 12, 11, .5); color: var(--papier); border: 1px solid var(--trait); }
.vers-lettre { display: inline-flex; align-items: center; gap: 7px; height: 32px; margin-top: 14px; padding: 0 13px 0 11px; border-radius: 16px; font-size: 12.5px; font-weight: 600; color: var(--doux); transition: color .2s, transform .18s; }
.vers-lettre .icone { width: 16px; height: 16px; }
.vers-lettre:active { transform: scale(.94); }

/* the tabs: one section at a time, the line slides under the chosen one */
.onglets { position: sticky; top: 0; z-index: 5; display: flex; max-width: var(--etroit); margin: 22px auto 0; padding: 0 8px; background: var(--voile); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--filet); }
.onglets a { flex: 1; display: grid; justify-items: center; gap: 4px; padding: 12px 2px 10px; font-size: 11.5px; font-weight: 600; color: var(--doux); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s; }
.onglets .icone { width: 21px; height: 21px; }
.onglets a.on { color: var(--papier); border-bottom-color: var(--papier); }
.js .onglets a.on { border-bottom-color: transparent; }
.js .onglets a.on .icone { animation: pop .42s cubic-bezier(.3, 1.5, .5, 1); }
.js .onglets::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--l, 0); transform: translateX(var(--x, 0)); background: var(--papier); }
.js .onglets.vif::after { transition: transform .34s cubic-bezier(.3, .8, .2, 1), width .34s cubic-bezier(.3, .8, .2, 1); }

.accueil { max-width: var(--large); margin: 0 auto; min-height: 60vh; }
.onglet { max-width: var(--etroit); margin: 0 auto; padding: 26px var(--marge) 0; }
.chapeau { color: var(--doux); font-size: 13.5px; margin-top: 4px; }
.onglet .chapeau { margin-bottom: 8px; }
.groupe { color: var(--doux); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 26px 0 6px; }
.groupe a { border-bottom: 1px solid var(--trait); }
.sous-titre { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; font-size: 15px; font-weight: 700; margin: 22px 0 4px; }
.sous-titre span { font-size: 12.5px; font-weight: 500; color: var(--doux); }
.groupe + .livre, .sous-titre + .livre, .chapeau + .livre, .periode-sous + .livre { border-top: 0; }
.tout-voir { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 8px; padding: 13px; border-radius: 24px; border: 1px solid var(--trait); background: none; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: transform .18s var(--doux-ressort), border-color .2s; }
.tout-voir .icone { width: 16px; height: 16px; }
.tout-voir:active { transform: scale(.98); }
.tout-voir.lien { margin-top: 18px; }

/* the weekly letter */
.lettre { position: relative; width: calc(100% - 2 * var(--marge)); max-width: 520px; margin: 56px auto 0; padding: 150px 20px 26px; text-align: center; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--filet); scroll-margin-top: 80px; }
.lettre::before { content: ""; position: absolute; inset: 0 -8% auto; height: 236px; background: linear-gradient(rgba(23, 21, 19, 0) 34%, rgba(23, 21, 19, .72) 74%, var(--surface)), url(/mur-bas.jpg) center / cover; animation: derive 40s ease-in-out infinite alternate-reverse; will-change: transform; }
.lettre > * { position: relative; }
.sceau { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: var(--papier); color: var(--encre); box-shadow: 0 10px 26px rgba(0, 0, 0, .65); }
.sceau .icone { width: 25px; height: 25px; stroke-width: 1.7; }
.lettre h2 { font-size: 24px; }
.lettre .chapeau { max-width: 300px; margin: 6px auto 0; }
.abonnement { max-width: 340px; margin: 18px auto 0; }
.abonnement > div { display: flex; align-items: center; height: 48px; padding: 0 5px 0 18px; border-radius: 24px; border: 1px solid var(--trait); background: rgba(13, 12, 11, .5); transition: border-color .2s; }
.abonnement > div:focus-within { border-color: var(--papier); }
.abonnement input[type=email] { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; -webkit-text-fill-color: var(--papier); transition: background-color 9999s; }
.abonnement input::placeholder { color: var(--doux); -webkit-text-fill-color: var(--doux); }
.abonnement button { flex: none; height: 38px; padding: 0 17px; border: 0; border-radius: 19px; background: var(--papier); color: var(--encre); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: transform .18s var(--doux-ressort), opacity .2s; }
.abonnement button:active { transform: scale(.94); }
.abonnement button:disabled { opacity: .5; }
.fin { color: var(--doux); font-size: 11.5px; margin-top: 10px; }
.fin.erreur { color: var(--papier); }
.envoye { color: var(--doux); font-size: 13px; border: 1px solid var(--trait); border-radius: 16px; padding: 12px 16px; }
.envoye b { display: block; color: var(--papier); font-size: 14px; }
.piege { position: absolute; left: -9999px; }

/* ───── a series' or a volume's page: the poster ───── */
.original { font-size: 13.5px; color: var(--doux); font-style: italic; }
.meta { font-size: 13.5px; color: var(--doux); }

.serie > section { max-width: var(--large); margin: var(--respire) auto 0; padding: 0 var(--marge); }
.serie > section.rayon { padding: 0; }
.serie > section > h2 { margin-bottom: 4px; }
.serie .chapeau { max-width: 68ch; }
.serie > section > .texte, .serie > section > dl, .serie > section > .grille { margin-top: 16px; }
.tomes .grille { margin-top: 18px; }

/* the story */
.histoire .texte { max-width: 68ch; }
.histoire .texte p { font-size: 15.5px; line-height: 1.65; color: rgba(243, 239, 231, .9); }
.histoire .texte p + p { margin-top: .8em; }
.js .histoire .texte.replie { max-height: 11.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.lire-suite { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; padding: 6px 0; border: 0; background: none; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.lire-suite .icone { width: 16px; height: 16px; transition: transform .2s; }
.source { margin-top: 12px; font-size: 12px; color: var(--sourd); }
.source a { border-bottom: 1px solid var(--trait); }

/* every volume */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 22px 12px; }
.grille.courte { grid-template-columns: repeat(3, 1fr); }
.tuile { display: flex; flex-direction: column; gap: 2px; }
.tuile .couv { margin-bottom: 6px; transition: transform .25s var(--doux-ressort), box-shadow .25s; }
.tuile .couv.vide { --l: 100%; width: 100%; font-size: 22px; }
.tuile-nom { font-size: 13px; font-weight: 700; }
.tuile-date { font-size: 11.5px; color: var(--sourd); }
.tuile-date.a-paraitre { color: var(--papier); }
.grille li.a-paraitre .couv:not(.vide) { box-shadow: 0 0 0 1.5px var(--papier); }
a.tuile:active .couv { transform: scale(.96); }

/* the facts */
.en-mots { margin-top: 10px; max-width: 68ch; font-size: 15.5px; line-height: 1.65; color: rgba(243, 239, 231, .9); }

/* the readers, in percentages only */

/* a volume's neighbours */
.voisins { display: flex; justify-content: space-between; max-width: var(--large); margin: 28px auto 0; padding: 0 var(--marge); }
.voisins a { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid var(--trait); font-size: 13px; font-weight: 700; transition: transform .18s var(--doux-ressort), border-color .2s; }
.voisins .icone { width: 16px; height: 16px; }
.voisins a:active { transform: scale(.95); }

/* ───── releases ───── */
.sorties { max-width: var(--etroit); margin: 0 auto; }
.tete-page { padding: 20px var(--marge) 0; }
.tete-page h1 { font-size: 32px; }
.tete-page .chapeau { margin-top: 8px; font-size: 14px; }
.puces { position: sticky; top: 74px; transition: top .4s var(--doux-ressort); z-index: 4; display: flex; gap: 7px; margin-top: 18px; padding: 10px var(--marge); overflow-x: auto; scrollbar-width: none; background: var(--voile); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.puces::-webkit-scrollbar { display: none; }
.puces a { flex: none; padding: 7px 13px; border-radius: 17px; border: 1px solid var(--trait); font-size: 13px; font-weight: 600; color: var(--doux); white-space: nowrap; transition: transform .18s, background-color .2s, color .2s, border-color .2s; }
.puces a.on { background: var(--papier); border-color: var(--papier); color: var(--encre); }
.puces a:active { transform: scale(.93); }
.periode { padding: 18px var(--marge) 0; scroll-margin-top: 136px; }
.barre-cachee .puces { top: 0; }
.periode-sous { color: var(--doux); font-size: 13px; margin: 2px 0 6px; }

/* ───── text pages ───── */
.texte-long { max-width: 680px; margin: 0 auto; padding: 32px var(--marge) 20px; }
.texte-long h1 { font-size: 30px; margin-bottom: 8px; }
.texte-long h2 { font-size: 17px; margin: 28px 0 4px; }
.texte-long p { color: rgba(243, 239, 231, .78); margin-top: 8px; font-size: 14.5px; }
.texte-long a { border-bottom: 1px solid var(--trait); }
.texte-long mark { background: var(--papier); color: var(--encre); border-radius: 3px; padding: 0 5px; }
.introuvable { max-width: 460px; margin: 0 auto; padding: 72px var(--marge) 40px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.introuvable h1 { font-size: 28px; }
.introuvable p { color: var(--doux); }
.disque-vide { width: 96px; height: 144px; border: 2px solid var(--trait); border-radius: 8px; margin-bottom: 14px; }
.introuvable .liens { display: flex; gap: 10px; margin-top: 12px; }

/* ───── footer ───── */
.pied { max-width: var(--large); margin: 72px auto 0; padding: 28px var(--marge) 56px; border-top: 1px solid var(--filet); color: var(--sourd); font-size: 12px; line-height: 1.55; }
.pied-haut { display: grid; gap: 16px; margin-bottom: 22px; color: var(--papier); }
.pied-haut nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; color: var(--doux); }
.reseaux { display: flex; gap: 10px; }
.reseaux a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--trait); transition: transform .18s, border-color .2s; }
.reseaux .icone { width: 19px; height: 19px; }
.reseaux a:active { transform: scale(.92); }
.pied p + p { margin-top: 6px; }
.pied p a { border-bottom: 1px solid var(--filet); }

/* ───── what moves: one gentle entrance per element, never more ───── */
.avant-entree { opacity: 0; transform: translateY(14px); }
.entree { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s var(--doux-ressort); }
@keyframes pop { from { transform: scale(.7); } }
@keyframes derive { from { transform: translateX(-5.5%); } to { transform: translateX(5.5%); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ───── pointers that hover ───── */
@media (hover: hover) {
  .barre nav a:not(.appli):hover, .fil a:hover, .voir:hover, .pied-haut nav a:hover, .vers-lettre:hover, .onglets a:hover, .puces a:not(.on):hover { color: var(--papier); }
  .voir:hover .icone { transform: translateX(3px); }
  .acheter:not(.fort):hover, .tout-voir:hover, .voisins a:hover, .reseaux a:hover, .puces a:not(.on):hover { border-color: var(--papier); }
  .acheter.fort:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(243, 239, 231, .14); }
  .carte:hover .couv, a.tuile:hover .couv { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .55); }
  .magasin:hover { transform: translateY(-1px); }
  .livre-nom a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
}

/* ───── wider screens ───── */
@media (min-width: 720px) {
  :root { --marge: 32px; --respire: 76px; }
  h2 { font-size: 24px; }
  .rayon-liste { grid-auto-columns: 156px; gap: 18px; }
  .grille { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 28px 18px; }
  .grille.courte { grid-template-columns: repeat(6, 1fr); }
  .barre { width: calc(100% - 32px); top: 14px; margin-top: 14px; }
  .barre nav a:not(.appli):hover { background: rgba(243, 239, 231, .07); }
  .une { padding-top: 150px; }
  .une-mur { height: 270px; }
  .une h1 { font-size: 38px; }
  .tete-page h1 { font-size: 42px; }
  .pied-haut { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
}

/* ───── a series' page: the next release, right under the poster ───── */

/* each volume's sheet: a list without JavaScript, a window over the page with it */
.fiche { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--filet); }
.fiche-couv .couv.vide { --l: 96px; }
.fiche-texte { display: grid; justify-items: start; gap: 8px; min-width: 0; }
.fiche h3 { font: 800 21px/1.1 var(--titre); letter-spacing: -.02em; }
.fiche h3 span { white-space: nowrap; }
.fiche-resume { max-width: 62ch; margin-top: 6px; }
.fiche-resume p { font-size: 14.5px; line-height: 1.6; color: rgba(243, 239, 231, .88); }
.fiche-resume p + p { margin-top: .7em; }
.fiche-isbn { font-size: 12px; color: var(--sourd); }
.js .fiches { display: none; }

.fenetre { position: fixed; inset: auto 0 0; width: 100%; max-width: 100%; max-height: min(88vh, 88dvh); margin: auto 0 0; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: var(--surface); color: var(--papier); box-shadow: 0 -20px 60px rgba(0, 0, 0, .6); overflow: hidden; display: none; flex-direction: column; }
.fenetre[open] { display: flex; animation: monte .34s var(--doux-ressort); }
.fenetre::backdrop { background: rgba(8, 7, 6, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: voile .3s ease; }
.fenetre-barre { flex: none; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--filet); }
.fenetre-barre::before { content: ""; position: absolute; top: 6px; left: 50%; width: 38px; height: 4px; margin-left: -19px; border-radius: 2px; background: var(--trait); }
.fenetre-barre button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 36px; min-width: 36px; padding: 0 12px; border-radius: 18px; border: 1px solid var(--trait); background: none; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .18s var(--doux-ressort), border-color .2s, opacity .2s; }
.fenetre-barre button:disabled { opacity: .3; cursor: default; }
.fenetre-barre button:not(:disabled):active { transform: scale(.93); }
.fenetre-barre .icone { width: 16px; height: 16px; }
.fenetre-barre .fermer { margin-left: auto; padding: 0; width: 36px; }
.fenetre-corps { overflow-y: auto; overscroll-behavior: contain; padding: 4px 18px calc(24px + env(safe-area-inset-bottom)); }
.fenetre .fiche { border-top: 0; grid-template-columns: 112px 1fr; animation: fondu .3s ease; }
@keyframes monte { from { transform: translateY(40px); opacity: 0; } }
@keyframes voile { from { opacity: 0; } }
@keyframes fondu { from { opacity: 0; transform: translateY(6px); } }

@media (hover: hover) {
  .fenetre-barre button:not(:disabled):hover { border-color: var(--papier); }
}
@media (min-width: 720px) {
  .fenetre { inset: 0; margin: auto; width: min(760px, calc(100% - 48px)); max-height: min(84vh, 760px); border-radius: 22px; border: 1px solid var(--filet); }
  .fenetre-barre::before { display: none; }
  .fenetre .fiche { grid-template-columns: 220px 1fr; gap: 28px; padding-top: 22px; }
  .fiche h3 { font-size: 28px; }
}
@media (max-width: 719px) {
}

/* ───── the community, and the ways to join in (lead to the app) ───── */

/* a volume's chapters */
.chapitres { width: 100%; margin-top: 4px; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.chapitres summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; }
.chapitres summary::-webkit-details-marker { display: none; }
.chapitres summary::after { content: ""; width: 7px; height: 7px; margin-right: 4px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--doux-ressort); opacity: .7; }
.chapitres[open] summary::after { transform: rotate(-135deg) translate(-2px, -1px); }
.chapitres ol { display: grid; gap: 7px; padding: 2px 0 14px; }
.chapitres li { display: grid; grid-template-columns: 38px 1fr; gap: 8px; font-size: 13.5px; color: rgba(243, 239, 231, .86); }
.chapitres li b { font-weight: 700; color: var(--sourd); font-variant-numeric: tabular-nums; }

@media (hover: hover) {
  .marque:hover .signe { transform: rotate(-8deg); }
}

/* the story and the facts side by side on wide screens */
.duo { max-width: var(--large); margin: 0 auto; }
.duo > section { margin-top: var(--respire); padding: 0 var(--marge); }
.duo .texte { margin-top: 16px; }
@media (min-width: 980px) {
  .duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; padding: 0 var(--marge); }
  .duo > section { padding: 0; }
  .duo > .faits:only-child { grid-column: 1 / -1; }
}
.plier { display: flex; width: 100%; margin-top: 18px; }
@media (max-width: 719px) {
}
@media (min-width: 980px) {
  .js .duo .histoire .texte.replie { max-height: 21em; }
}
@media (max-width: 719px) {
  .fenetre .acheter.fort, .fiche .acheter.fort { width: 100%; height: 44px; padding: 0 14px; font-size: 14px; }
}

/* ═════ A series' page, in the app's design (app/src/app/serie/[id].tsx) ═════ */
.ph { width: 16px; height: 16px; flex: none; }
.etiquette { display: flex; align-items: center; gap: 6px; font: 800 11px/1.3 var(--texte); letter-spacing: .1em; text-transform: uppercase; color: var(--doux); }
.etiquette .ph { width: 14px; height: 14px; }
.titre-section { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.carre { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: rgba(243, 239, 231, .12); }
.carre .ph { width: 16px; height: 16px; }

/* the poster: on a phone the artwork fills the top of the screen, under the floating bar */
.page-serie .serie { margin-top: -74px; }
.affiche { position: relative; isolation: isolate; }
.affiche-art { position: relative; height: min(128vw, 620px); overflow: hidden; }
.affiche-art img { position: absolute; left: 0; right: 0; top: -17%; width: 100%; height: 117%; object-fit: cover; object-position: top; }
.affiche-art::before { content: ""; position: absolute; inset: 0 0 auto; height: 190px; z-index: 1; background: linear-gradient(rgba(13, 12, 11, .92), rgba(13, 12, 11, .5) 55%, rgba(13, 12, 11, 0)); }
.affiche-art::after { content: ""; position: absolute; inset: auto 0 0; height: 60%; background: linear-gradient(rgba(13, 12, 11, 0), rgba(13, 12, 11, .55) 35%, rgba(13, 12, 11, .92) 72%, var(--encre)); }
.affiche-couv { display: none; }
.affiche-texte { position: relative; z-index: 2; margin-top: calc(min(128vw, 620px) * -.3); padding: 0 var(--marge); }
.affiche .fil { padding: 0; margin-bottom: 12px; }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(243, 239, 231, .22); background: rgba(13, 12, 11, .35); font: 800 11px/1.2 var(--texte); letter-spacing: .07em; text-transform: uppercase; }
.pastille .ph { width: 13px; height: 13px; }
.pastille.pleine { background: var(--papier); border-color: var(--papier); color: var(--encre); }
.affiche h1 { margin-top: 12px; font-size: 40px; line-height: 1.05; letter-spacing: -.03em; }
.affiche h1 .precision { display: block; margin-top: 6px; font: 700 15px/1.3 var(--texte); letter-spacing: 0; color: var(--doux); }
.original { margin-top: 6px; font-size: 13.5px; color: var(--doux); font-style: italic; }
.meta-icones { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-size: 14px; font-weight: 700; }
.meta-icones li { display: inline-flex; align-items: center; gap: 6px; }
.meta-icones .ph { width: 15px; height: 15px; color: var(--doux); }
.genres-ligne { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--doux); white-space: pre-wrap; }

/* the buttons of the app */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 20px; border-radius: 14px; font-size: 15.5px; font-weight: 800; letter-spacing: -.005em; transition: transform .16s var(--doux-ressort), opacity .2s, background-color .2s; }
.bouton .ph { width: 19px; height: 19px; }
.bouton.principal { display: flex; width: 100%; max-width: 420px; margin-top: 20px; background: var(--papier); color: var(--encre); }
.bouton.petit { height: 40px; padding: 0 14px; border-radius: 12px; font-size: 14px; background: var(--papier); color: var(--encre); }
.bouton.petit .ph { width: 16px; height: 16px; }
.bouton.verre { background: rgba(243, 239, 231, .12); color: var(--papier); border: 1px solid rgba(243, 239, 231, .22); }
.bouton:active { transform: scale(.965); opacity: .88; }
.ronds { display: flex; justify-content: space-evenly; max-width: 420px; margin-top: 20px; }
.rond { display: grid; justify-items: center; gap: 6px; width: 84px; font-size: 11.5px; font-weight: 700; color: var(--doux); }
.rond > span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(243, 239, 231, .12); border: 1px solid rgba(243, 239, 231, .22); color: var(--papier); transition: transform .16s var(--doux-ressort), background-color .2s, color .2s; }
.rond .ph { width: 22px; height: 22px; }
.rond:active > span { transform: scale(.92); }

/* the readers and the next volume, right under the poster */
.ouverture { max-width: var(--large); margin: 0 auto; padding: 0 var(--marge); }
.lecteurs { margin-top: 22px; padding: 16px 0; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.score { display: flex; align-items: flex-end; gap: 18px; margin-top: 12px; }
.score > div { flex: 1; }
.score-grand { font: 800 36px/1.1 var(--titre); letter-spacing: -.03em; }
.score-petit { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--sourd); }
.etoiles { display: inline-flex; gap: 2px; margin-top: 4px; }
.etoiles .ph { width: 15px; height: 15px; }
.etoiles.moyennes .ph { width: 20px; height: 20px; }
.etoiles .pleine, .etoiles .demie { color: var(--papier); }
.etoiles .demie { -webkit-mask: linear-gradient(90deg, #000 50%, rgba(0, 0, 0, .25) 50%); mask: linear-gradient(90deg, #000 50%, rgba(0, 0, 0, .25) 50%); }
.etoiles .vide { color: var(--doux); }
.barres { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.barres li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: 100%; font-size: 10px; font-weight: 700; color: var(--sourd); }
.barres i { width: 16px; height: var(--h); border-radius: 3px; background: var(--papier); }
.barres i.nulle { opacity: .25; }
.lecteurs-vide { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--doux); }
.stats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--doux); }
.stats li { display: inline-flex; align-items: center; gap: 5px; }
.stats .ph { width: 13px; height: 13px; color: var(--sourd); }
.stats b { color: var(--papier); font-weight: 800; }
.ta-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--trait); font-size: 13px; font-weight: 700; color: var(--doux); transition: border-color .2s, transform .16s var(--doux-ressort); }
.ta-note .etoiles { margin-top: 0; }
.ta-note:active { transform: scale(.97); }
.lecteurs-note { margin-top: 12px; font-size: 11.5px; font-weight: 600; color: var(--sourd); }

.prochaine { display: flex; gap: 14px; margin-top: 18px; padding: 14px; border-radius: 18px; background: linear-gradient(145deg, rgba(243, 239, 231, .07), rgba(243, 239, 231, .025)); border: 1px solid rgba(243, 239, 231, .09); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.prochaine-couv { flex: none; width: 84px; }
.prochaine-couv .couv.vide { --l: 84px; }
.prochaine-texte { flex: 1; min-width: 0; display: grid; justify-items: start; gap: 4px; }
.prochaine h2 { display: grid; gap: 4px; }
.prochaine-titre { font: 800 22px/1.1 var(--titre); letter-spacing: -.02em; }
.prochaine-date { font-size: 13.5px; font-weight: 700; color: var(--doux); }
.prochaine .quand b { font-size: 10.5px; }
.boutons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* the purchase card: quiet, as in the app */
.carte-achat { max-width: calc(var(--large) - 2 * var(--marge)); margin: var(--respire) var(--marge) 0; padding: 14px; border-radius: 18px; border: 1px solid var(--filet); }
.carte-achat-tete { display: flex; align-items: center; gap: 14px; }
.carte-achat-tete .couv { width: 58px; flex: none; }
.carte-achat-titre { font: 800 21px/1.15 var(--titre); letter-spacing: -.02em; margin-top: 3px; }
.carte-achat-sous { font-size: 13px; font-weight: 600; color: var(--doux); }
.boutique { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 460px; height: 46px; margin-top: 14px; padding: 0 14px 0 6px; border-radius: 14px; border: 1px solid var(--trait); font-size: 14.5px; font-weight: 700; transition: border-color .2s, transform .16s var(--doux-ressort); }
.boutique-logo { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--releve); }
.boutique-texte { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.boutique-prix { font-weight: 800; }
.boutique .ph { color: var(--doux); }
.boutique:active { transform: scale(.98); }
.prix-note { margin-top: 8px; font-size: 11.5px; font-weight: 600; color: var(--sourd); }

/* "En bref", as the app: a round icon, a label, a value */
.faits dl { margin-top: 18px; }
.faits dl > div { display: grid; grid-template-columns: 128px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--filet); font-size: 14.5px; }
.faits dl > div:first-child { border-top: 0; }
.faits dt { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--doux); }
.rond-icone { display: grid; place-items: center; flex: none; width: 28px; height: 28px; margin-top: -4px; border-radius: 50%; background: var(--releve); color: var(--papier); }
.faits dd { font-weight: 700; }

/* the volumes, four by row on a phone */
.tomes .tete-section { padding: 0; }
.serie .grille { grid-template-columns: repeat(4, 1fr); gap: 16px 8px; margin-top: 14px; }
.tuile-image { position: relative; display: block; }
.nouveau { position: absolute; left: 4px; bottom: 10px; padding: 2px 6px; border-radius: 6px; background: var(--papier); color: var(--encre); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.tuile-date { display: inline-flex; align-items: center; gap: 4px; }
.tuile-date .ph { width: 12px; height: 12px; }
.tuile-date.a-paraitre { font-weight: 800; }
.serie .tuile-nom { font-size: 12.5px; }

@media (hover: hover) {
  .rond:hover > span { background: rgba(243, 239, 231, .2); }
  .rond:hover { color: var(--papier); }
  .ta-note:hover, .boutique:hover { border-color: var(--papier); }
  .bouton.principal:hover, .bouton.petit:not(.verre):hover { box-shadow: 0 8px 24px rgba(243, 239, 231, .14); }
  .bouton.verre:hover { background: rgba(243, 239, 231, .18); }
}

@media (min-width: 720px) {
  .page-serie .serie { margin-top: 0; }
  .affiche { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; align-items: end; max-width: var(--large); margin: 0 auto; padding: 40px var(--marge) 0; }
  .affiche-art { position: absolute; left: 50%; top: -160px; width: 100vw; height: 640px; transform: translateX(-50%); z-index: -1; }
  .affiche-art img { top: 0; height: 100%; object-position: center 30%; filter: blur(38px) saturate(1.25); transform: scale(1.15); opacity: .95; }
  .affiche-art::before { display: none; }
  .affiche-art::after { inset: 0; height: auto; background: linear-gradient(rgba(13, 12, 11, .3), rgba(13, 12, 11, .62) 50%, var(--encre) 90%); }
  .affiche-couv { display: block; width: 260px; align-self: start; margin-top: 34px; }
  .affiche-couv .couv { border-radius: 8px; box-shadow: 0 24px 60px rgba(0, 0, 0, .65), 0 0 0 1px rgba(243, 239, 231, .06); }
  .affiche-texte { margin: 0; padding: 0; }
  .affiche h1 { font-size: 54px; }
  .bouton.principal { width: auto; display: inline-flex; padding: 0 28px; }
  .ronds { justify-content: flex-start; gap: 8px; }
  .ouverture { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 18px; }
  .ouverture > :only-child { grid-column: 1 / -1; }
  .prochaine { margin-top: 22px; padding: 18px; }
  .prochaine-couv { width: 96px; }
  .serie .grille { grid-template-columns: repeat(6, 1fr); gap: 24px 16px; }
  .carte-achat { margin-left: auto; margin-right: auto; width: calc(100% - 2 * var(--marge)); }
  .faits dl > div { grid-template-columns: 150px 1fr; }
}
@media (min-width: 1100px) { .serie .grille { grid-template-columns: repeat(8, 1fr); } }

/* ── A member's actions (site.js): the buttons on and off, the panels, the word after a change ── */
button.bouton { border: 0; cursor: pointer; }
button.rond { background: none; border: 0; cursor: pointer; }
button.ta-note { background: none; cursor: pointer; }
[data-faire] .ph.allume, [data-faire].actif .ph.eteint { display: none; }
[data-faire].actif .ph.allume { display: block; }
.rond.actif > span { background: var(--papier); border-color: var(--papier); color: var(--encre); }
.rond.actif { color: var(--papier); }
.bouton.principal.actif, .bouton.petit.actif { background: rgba(243, 239, 231, .12); color: var(--papier); box-shadow: inset 0 0 0 1px rgba(243, 239, 231, .22); }
.ta-note.actif { color: var(--papier); border-color: rgba(243, 239, 231, .4); }
.bouton:disabled { opacity: .4; cursor: default; }
.bouton.attente { opacity: .6; pointer-events: none; }
.bouton.large { display: flex; width: 100%; max-width: none; margin: 0; }
.bouton.fantome { background: none; color: var(--doux); }

.annonce { position: fixed; left: 50%; width: max-content; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; max-width: calc(100% - 36px); padding: 12px 18px; border-radius: 999px; background: var(--papier); color: var(--encre); font-size: 14px; font-weight: 800; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .25s, transform .3s var(--doux-ressort); }
.annonce.vue { opacity: 1; transform: translate(-50%, 0); }

.panneau::before { content: ""; flex: none; width: 40px; height: 5px; margin: 10px auto 0; border-radius: 3px; background: var(--trait); }
.panneau-fermer { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--trait); background: var(--surface); color: var(--papier); cursor: pointer; }
.panneau-fermer svg { width: 16px; height: 16px; }
.panneau-corps { overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px calc(26px + env(safe-area-inset-bottom)); text-align: center; }
.panneau .etiquette { justify-content: center; }
.panneau-titre { margin-top: 8px; font-size: 24px; }
.panneau-texte { margin-top: 8px; font-size: 14.5px; color: var(--doux); }
.panneau-texte b { color: var(--papier); overflow-wrap: anywhere; }
.panneau-aide { margin-top: 10px; font-size: 12.5px; color: var(--sourd); }
.panneau-boutons { display: grid; gap: 10px; margin-top: 24px; }
.panneau-boutons .bouton { width: 100%; max-width: none; margin: 0; }
.panneau-boutons.rang { grid-template-columns: 1fr 1.4fr; }

.note-grande.vide { color: var(--sourd); }
.note-grande { margin-top: 14px; font: 800 64px/70px var(--titre); letter-spacing: -.03em; }
.note-etoiles { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.note-etoile { position: relative; width: 52px; height: 52px; color: var(--sourd); transition: color .15s; }
.note-etoile.allumee { color: var(--papier); }
.note-dessin svg { display: block; width: 46px; height: 46px; margin: 3px; }
.note-etoile button { position: absolute; top: 0; bottom: 0; width: 50%; border: 0; background: none; cursor: pointer; }
.note-etoile button:first-of-type { left: 0; }
.note-etoile button:last-of-type { right: 0; }

.compteur { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.compteur-bouton { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--trait); background: var(--releve); cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform .16s var(--doux-ressort); }
.compteur-bouton:active { transform: scale(.92); }
.compteur-bouton svg { width: 26px; height: 26px; }
.compteur-nombre { width: 3.4ch; border: 0; border-radius: 12px; background: none; font: 800 64px/74px var(--titre); letter-spacing: -.03em; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.compteur-nombre::-webkit-inner-spin-button, .compteur-nombre::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.formulaire { display: grid; gap: 10px; }
.champ { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--filet); background: var(--releve); font-size: 16px; outline: 0; transition: border-color .2s; }
.champ::placeholder { color: var(--sourd); }
.champ:focus { border-color: rgba(243, 239, 231, .5); }
.champ.code { height: 64px; margin-top: 18px; font: 800 30px/1 var(--titre); letter-spacing: .4em; text-align: center; text-indent: .4em; }
.panneau-erreur { font-size: 13.5px; font-weight: 700; }
.panneau-erreur:empty { display: none; }
.lien-doux { margin-top: 16px; border: 0; background: none; font-size: 14px; font-weight: 700; color: var(--doux); cursor: pointer; }
.lien-doux:disabled { opacity: .5; cursor: default; }
.panneau-liens { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 20px; }
.mentions { margin-top: 18px; font-size: 12px; color: var(--sourd); }
.mentions a { text-decoration: underline; text-underline-offset: 2px; }

@media (min-width: 720px) {
  .panneau { width: min(440px, calc(100% - 48px)); }
  .panneau::before { display: none; }
  .panneau-corps { padding: 34px 32px 30px; }
}
@media (hover: hover) {
  .lien-doux:not(:disabled):hover, .mentions a:hover { color: var(--papier); }
  .compteur-bouton:hover, .panneau-fermer:hover { border-color: var(--papier); }
}

/* ── The way down to the volumes, at the top ── */
.vers-tomes { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 420px; height: 46px; margin-top: 18px; border-radius: 14px; border: 1px solid var(--trait); font-size: 14.5px; font-weight: 800; transition: border-color .2s, transform .16s var(--doux-ressort); }
.vers-tomes .ph { width: 17px; height: 17px; }
.vers-tomes .ph:last-child { width: 15px; height: 15px; color: var(--doux); animation: descend 2.4s ease-in-out 1.2s infinite; }
.vers-tomes:active { transform: scale(.97); }
@keyframes descend { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(3px); } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.tomes { scroll-margin-top: 76px; }

/* ── The volumes: mine ticked, the others dimmed (as in the app); "Sélectionner" ── */
.action-section { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--trait); background: none; font-size: 13px; font-weight: 800; color: var(--doux); cursor: pointer; transition: background-color .2s, color .2s, transform .16s var(--doux-ressort); }
.action-section .ph { width: 16px; height: 16px; }
.action-section.actif { background: var(--papier); border-color: var(--papier); color: var(--encre); }
.action-section.actif .ph { display: none; }
.action-section:active { transform: scale(.95); }
.tomes .tete-section { align-items: center; }
.aide-tomes { margin-bottom: 16px; }
.grille .tuile-image::after { content: ""; position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; border-radius: 50%; background: var(--papier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%230D0C0B' d='m232.49 80.49-128 128a12 12 0 0 1-17 0l-56-56a12 12 0 1 1 17-17L96 183 215.51 63.51a12 12 0 0 1 17 17Z'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--doux-ressort); }
.grille li.possede .tuile-image::after, .grille.choix li.pris .tuile-image::after { opacity: 1; transform: none; }
.grille .couv { transition: opacity .25s, filter .25s, transform .25s var(--doux-ressort); }
.grille.collection li:not(.possede):not(.a-paraitre) .couv { opacity: .4; filter: grayscale(.5); }
.grille.choix li:not(.a-paraitre) .tuile-image::before { content: ""; position: absolute; top: 5px; right: 5px; z-index: 1; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--papier); background: rgba(13, 12, 11, .45); box-sizing: border-box; transition: opacity .2s; }
.grille.choix li.pris .tuile-image::before { opacity: 0; }
.grille.choix li:not(.pris):not(.possede):not(.a-paraitre) .couv { opacity: .55; }
.grille.choix li.pris .couv { transform: scale(.93); }
.grille.choix li.a-paraitre { opacity: .3; pointer-events: none; }
.grille.choix .tuile { cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.barre-choix { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50; max-width: 520px; margin: 0 auto; padding: 14px; border-radius: 22px; background: rgba(23, 21, 19, .9); border: 1px solid var(--filet); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 -10px 40px rgba(0, 0, 0, .5); animation: monte .34s var(--doux-ressort); }
.barre-choix-haut { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px; }
.barre-choix-compte { font: 800 17px/1.2 var(--titre); }
.barre-choix .tout { margin: 0; }
.barre-choix-boutons { display: grid; grid-template-columns: 1.4fr 1fr 48px; gap: 8px; margin-top: 12px; }
.barre-choix .bouton { width: 100%; max-width: none; height: 48px; margin: 0; padding: 0 12px; }
.barre-choix .bouton svg { width: 17px; height: 17px; }
.barre-choix .fini { padding: 0; }
body.en-choix { padding-bottom: 150px; }
body.en-choix .annonce { bottom: calc(150px + env(safe-area-inset-bottom)); }
.fiche-action { margin: 14px 0 2px; }

/* ── The way in, as the app's screen ── */
.acces-panneau .panneau-corps { padding-top: 0; }
.acces-mur { position: relative; height: 178px; margin: 0 -22px 18px; overflow: hidden; }
.acces-mur > div { position: absolute; inset: -30px -40px auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; transform: rotate(-7deg); }
.acces-mur img { width: 100%; aspect-ratio: 32 / 50; object-position: 50% 0; object-fit: cover; border-radius: 6px; background: var(--releve); }
.acces-mur::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(23, 21, 19, .15), rgba(23, 21, 19, .8) 62%, var(--surface)); }
.acces-marque { position: absolute; left: 0; right: 0; bottom: 6px; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 9px; font: 800 22px/1 var(--titre); letter-spacing: -.02em; }
.acces-marque .signe { width: 28px; height: 28px; }
.acces-liste { display: grid; gap: 10px; margin-top: 22px; }
.acces { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border: 0; border-radius: 14px; background: #fff; color: #000; font-size: 15.5px; font-weight: 800; cursor: pointer; transition: transform .16s var(--doux-ressort), opacity .2s; }
.acces svg { width: 19px; height: 19px; flex: none; }
.acces .logo-apple { width: 17px; height: 20px; margin-top: -3px; }
.acces .logo-google { width: 18px; height: 18px; }
.acces.sombre { background: var(--surface); color: var(--papier); box-shadow: inset 0 0 0 1px var(--trait); }
.acces:active { transform: scale(.97); }
.acces.attente { opacity: .6; pointer-events: none; }
.acces-panneau .panneau-erreur { margin-top: 12px; }
.bascule b { color: var(--papier); font-weight: 800; }
.cases { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 340px; margin: 24px auto 4px; cursor: text; }
.cases span { display: grid; place-items: center; height: 58px; border-radius: 12px; border: 1px solid var(--filet); background: var(--releve); font: 800 26px/1 var(--titre); transition: border-color .2s, transform .2s var(--doux-ressort); }
.cases span:not(:empty) { border-color: var(--trait); }
.cases span.ici { border-color: var(--papier); }
.cases input { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: none; color: transparent; caret-color: transparent; font-size: 16px; opacity: 0; }
.cases.attente { opacity: .5; }
.panneau-liens { justify-content: space-between; max-width: 340px; margin: 0 auto; }
@media (min-width: 720px) {
  .acces-mur { margin: 0 -32px 18px; }
  .acces-panneau .panneau-corps { padding-top: 0; }
}
@media (hover: hover) {
  .vers-tomes:hover, .action-section:not(.actif):hover { border-color: var(--papier); color: var(--papier); }
  .grille.choix li:not(.a-paraitre) .tuile:hover .couv { opacity: .9; }
}

/* ── "Télécharger l'app" at the top on a phone (not Safari on an iPhone: Apple's banner is there) ── */
.bandeau-appli { display: none; align-items: center; gap: 10px; padding: 10px var(--marge) 10px 8px; background: var(--surface); border-bottom: 1px solid var(--filet); }
.avec-bandeau .bandeau-appli { display: flex; }
.bandeau-fermer { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: 0; background: none; color: var(--sourd); cursor: pointer; }
.bandeau-fermer .ph { width: 15px; height: 15px; }
.bandeau-appli img { flex: none; width: 40px; height: 40px; border-radius: 10px; }
.bandeau-appli p { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.3; color: var(--doux); }
.bandeau-appli b { font-size: 14.5px; font-weight: 800; color: var(--papier); }
.bandeau-ouvrir { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--papier); color: var(--encre); font-size: 13.5px; font-weight: 800; line-height: 34px; }

/* ── The code to scan ── */
.qr-carte { width: 150px; margin: 14px auto 0; padding: 12px; border-radius: 16px; background: #fff; color: #000; }
.qr-carte .qr { display: block; width: 100%; height: auto; }
.qr-carte.grande { width: 190px; margin-top: 22px; }
.acces-qr { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--filet); }
.acces-qr .qr-seul { display: none; }
.acces-qr-titre { font: 800 16px/1.25 var(--titre); letter-spacing: -.01em; }
.acces-qr .magasins { margin-top: 12px; }
@media (min-width: 720px) {
  .acces-panneau { width: min(780px, calc(100% - 48px)); }
  .acces-panneau .panneau-corps { display: grid; grid-template-columns: 1fr 236px; column-gap: 34px; align-content: start; }
  .acces-panneau .panneau-corps > * { grid-column: 1; }
  .acces-panneau .panneau-corps > .acces-mur { grid-column: 1 / -1; }
  .acces-panneau .panneau-corps > .acces-qr { grid-column: 2; grid-row: 2 / span 12; align-self: center; margin: 0; padding: 20px 16px; border-radius: 20px; background: var(--releve); border: 1px solid var(--filet); }
  .acces-qr .qr-seul { display: block; }
  .acces-qr .qr-carte { width: 140px; margin-top: 12px; }
  .acces-qr-titre { margin-top: 14px; font-size: 17px; line-height: 1.2; }
  .acces-qr-texte { margin-top: 6px; font-size: 12.5px; color: var(--doux); }
  .acces-qr .magasins { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 14px; }
}
.qr-panneau .etiquette .ph, .qr-panneau .etiquette svg { width: 14px; height: 14px; }
.qr-panneau .magasins { margin-top: 20px; }
.qr-panneau .plus-tard { margin-top: 18px; }

/* ── The app in the footer: its icon, a word, the two stores, and the code on a computer ── */
.pied-appli { position: relative; display: grid; gap: 18px; margin-bottom: 30px; padding: 22px 20px; border-radius: 24px; overflow: hidden; isolation: isolate; border: 1px solid var(--filet); color: var(--papier); background: var(--surface); }
.pied-appli::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 140% at 0% 0%, rgba(243, 239, 231, .08), transparent 55%); }
.pied-appli-tete { display: flex; align-items: center; gap: 14px; }
.pied-appli-icone { flex: none; width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 10px 26px rgba(0, 0, 0, .45); }
.pied .pied-appli-titre { font: 800 19px/1.15 var(--titre); letter-spacing: -.02em; color: var(--papier); }
.pied .pied-appli-texte { margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--doux); }
.pied-appli .magasins { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.pied-appli .magasin { justify-content: center; padding: 0 12px; }
.pied-appli-qr { display: none; }
@media (min-width: 720px) {
  .pied-appli { grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; padding: 22px 22px 22px 26px; }
  .pied-appli .magasins { display: flex; flex-direction: column; gap: 8px; }
  .pied-appli .magasin { justify-content: flex-start; width: 172px; padding: 0 16px 0 14px; }
  .pied-appli-qr { display: flex; align-items: center; gap: 12px; padding-left: 26px; border-left: 1px solid var(--filet); }
  .pied-appli-qr .qr-carte { width: 104px; margin: 0; padding: 8px; border-radius: 12px; }
  .pied-appli-qr span { font-size: 12px; font-weight: 700; line-height: 1.35; color: var(--doux); }
  .pied .pied-appli-titre { font-size: 23px; }
  .pied .pied-appli-texte { max-width: 360px; font-size: 13.5px; }
}
@media (hover: hover) { .magasin:hover { transform: translateY(-2px); } }

/* ── The bar: the next big release, the releases, the app ── */
.barre nav { gap: 2px; }
.a-la-une { display: inline-flex; align-items: center; gap: 7px; height: 40px; margin-right: 2px; padding: 0 7px 0 4px; border-radius: 13px; color: var(--papier); transition: background-color .2s, transform .18s var(--doux-ressort); }
.barre nav a.a-la-une { padding: 0 7px 0 4px; color: var(--papier); }
.a-la-une img { width: 22px; height: 34px; border-radius: 3px; object-fit: cover; object-position: 50% 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); background: var(--releve); }
.a-la-une-texte { display: none; }
.a-la-une-jours { font-size: 12.5px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.barre nav a.vers-sorties { padding: 0 10px; }
.barre nav a.appli { gap: 6px; padding: 0 13px 0 11px; }
.barre nav a.appli .signe { width: 15px; height: 15px; }
@media (min-width: 720px) {
  .barre nav { gap: 4px; }
  .barre nav a.a-la-une { gap: 10px; margin-right: 6px; padding: 0 6px 0 5px; background: rgba(243, 239, 231, .06); box-shadow: inset 0 0 0 1px var(--filet); }
  .a-la-une-texte { display: flex; flex-direction: column; font-size: 13px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
  .a-la-une-texte > span { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
  .a-la-une-texte small { font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sourd); }
  .a-la-une-texte b { font-weight: 800; }
  .a-la-une-jours { padding: 4px 8px; border-radius: 999px; background: var(--papier); color: var(--encre); font-size: 11.5px; }
  .barre nav a.vers-sorties { padding: 0 12px; }
  .barre nav a.appli { padding: 0 16px 0 13px; }
}
@media (hover: hover) { .barre nav a.a-la-une:hover { background: rgba(243, 239, 231, .1); } }

/* ── /app: the app's shop window ── */
.page-appli main { overflow: hidden; }
.vitrine { position: relative; isolation: isolate; display: grid; gap: 34px; max-width: var(--large); margin: -64px auto 0; padding: 96px var(--marge) 40px; }
.vitrine-fond { position: absolute; inset: 0 -20vw auto; height: 560px; z-index: -1; background: linear-gradient(rgba(13, 12, 11, .55), rgba(13, 12, 11, .86) 55%, var(--encre)), url(/mur.jpg) center / cover; filter: saturate(1.1); }
.vitrine-texte { text-align: center; }
.vitrine-sur { display: inline-flex; align-items: center; gap: 9px; padding: 5px 13px 5px 5px; border-radius: 999px; background: rgba(243, 239, 231, .08); border: 1px solid var(--filet); font-size: 12.5px; font-weight: 800; color: var(--doux); }
.vitrine-sur img { width: 26px; height: 26px; border-radius: 7px; }
.vitrine h1 { margin-top: 18px; font-size: clamp(38px, 10.5vw, 68px); line-height: .98; letter-spacing: -.04em; }
.vitrine-chapeau { max-width: 470px; margin: 16px auto 0; font-size: 16.5px; line-height: 1.5; color: var(--doux); }
.vitrine .magasins { margin-top: 26px; }
.vitrine-qr { display: none; }
.vitrine-chiffres { display: flex; justify-content: center; gap: 26px; margin-top: 28px; font-size: 12.5px; color: var(--sourd); }
.vitrine-chiffres li { display: flex; flex-direction: column; align-items: center; }
.vitrine-chiffres b { font: 800 22px/1.1 var(--titre); letter-spacing: -.02em; color: var(--papier); }
.vitrine-scene { position: relative; justify-self: center; width: min(290px, 74vw); padding-top: 10px; }
.telephone { position: relative; aspect-ratio: 1290 / 2796; border-radius: 46px; padding: 9px; background: linear-gradient(145deg, #3a3631, #141210 40%, #2b2824); box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(243, 239, 231, .12), inset 0 0 0 1px rgba(255, 255, 255, .06); transform: rotate(-4deg); animation: flotte 7s ease-in-out infinite; }
.telephone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.telephone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 22px; margin-left: -15%; border-radius: 999px; background: #000; }
@keyframes flotte { 50% { transform: rotate(-4deg) translateY(-10px); } }
.notif { position: absolute; top: 22%; left: -12%; right: -12%; display: flex; gap: 11px; padding: 12px 14px; border-radius: 20px; background: rgba(38, 35, 31, .82); border: 1px solid rgba(243, 239, 231, .14); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 24px 50px rgba(0, 0, 0, .55); text-align: left; animation: notif 1s var(--doux-ressort) .8s both; }
.notif img { flex: none; width: 34px; height: 34px; border-radius: 9px; }
.notif p { display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.35; color: var(--papier); }
.notif span { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--doux); }
.notif i { font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; }
.notif b { font-weight: 800; }
@keyframes notif { from { opacity: 0; transform: translateY(-26px) scale(.94); } }
.vitrine-ecrans { max-width: var(--large); margin: 40px auto 0; padding: 0 var(--marge); }
.vitrine-ecrans h2 { font-size: 27px; }
.vitrine-defile { display: flex; gap: 14px; margin: 20px calc(-1 * var(--marge)) 0; padding: 0 var(--marge) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--marge); scrollbar-width: none; }
.vitrine-defile::-webkit-scrollbar { display: none; }
.vitrine-defile li { flex: none; width: min(240px, 62vw); scroll-snap-align: start; }
.vitrine-defile img { width: 100%; height: auto; border-radius: 22px; border: 1px solid var(--filet); }
.vitrine-fin { display: flex; flex-direction: column; align-items: center; max-width: 620px; margin: var(--respire) auto 0; padding: 40px var(--marge) 8px; text-align: center; }
.vitrine-fin img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.vitrine-fin h2 { margin-top: 20px; font-size: clamp(28px, 7vw, 40px); letter-spacing: -.035em; }
.vitrine-fin p { margin-top: 10px; color: var(--doux); }
.vitrine-fin .magasins { margin-top: 24px; }
@media (min-width: 900px) {
  .vitrine { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; padding-top: 120px; padding-bottom: 30px; }
  .vitrine-fond { height: 680px; }
  .vitrine-texte { text-align: left; }
  .vitrine-chapeau { margin-left: 0; }
  .vitrine .magasins { justify-content: flex-start; }
  .vitrine .magasin { height: 56px; padding: 0 20px 0 16px; }
  .vitrine-qr { display: flex; align-items: center; gap: 16px; max-width: 420px; margin-top: 22px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(23, 21, 19, .8); border: 1px solid var(--filet); font-size: 13px; color: var(--doux); }
  .vitrine-qr .qr-carte { flex: none; width: 96px; margin: 0; padding: 7px; border-radius: 11px; }
  .vitrine-qr b { display: block; color: var(--papier); font-weight: 800; }
  .vitrine-chiffres { justify-content: flex-start; gap: 34px; }
  .vitrine-scene { width: 300px; margin-right: 40px; }
  .vitrine-defile { margin: 24px 0 0; padding: 0 0 10px; }
  .vitrine-ecrans .chapeau { display: none; }
  .vitrine-defile li { width: calc((100% - 4 * 14px) / 5); }
}

/* ── The home page: the showcase ── */
.accueil-haut { padding-bottom: 10px; }
.accueil-haut h1 { font-size: clamp(36px, 9.6vw, 62px); }
.une-carte { position: relative; display: flex; align-items: flex-end; gap: 16px; justify-self: stretch; padding: 18px; border-radius: 26px; overflow: hidden; isolation: isolate; border: 1px solid rgba(243, 239, 231, .14); background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transition: transform .3s var(--doux-ressort); }
.une-carte-fond { position: absolute; inset: -30px; z-index: -1; background: center / cover; filter: blur(34px) saturate(1.4); opacity: .55; }
.une-carte::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 20%, rgba(13, 12, 11, .75)); }
.une-carte-couv { flex: none; width: 112px; height: auto; aspect-ratio: 32 / 50; object-fit: cover; object-position: 50% 0; border-radius: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, .6); transform: rotate(-3deg); }
.une-carte-texte { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding-bottom: 4px; }
.une-carte .etiquette { color: var(--papier); opacity: .85; }
.une-carte-titre { font: 800 30px/1 var(--titre); letter-spacing: -.035em; }
.une-carte-sous { font-size: 14px; font-weight: 600; color: var(--doux); }
.une-carte-jours { margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: var(--papier); color: var(--encre); font-size: 13px; font-weight: 800; }
.une-carte:active { transform: scale(.985); }
.top-rang { position: absolute; left: -6px; bottom: 34px; z-index: 1; font: 800 74px/.8 var(--titre); letter-spacing: -.06em; color: var(--encre); -webkit-text-stroke: 2px rgba(243, 239, 231, .9); paint-order: stroke fill; text-shadow: 0 6px 18px rgba(0, 0, 0, .6); pointer-events: none; }
.carte-top { position: relative; padding-left: 26px; }
.rayon-liste > li.top { width: 158px; }
.bloc-appli { display: grid; gap: 30px; max-width: var(--large); margin: var(--respire) auto 0; padding: 34px var(--marge) 30px; border-radius: 0; background: radial-gradient(90% 70% at 20% 30%, rgba(243, 239, 231, .07), transparent 70%), var(--surface); border-block: 1px solid var(--filet); overflow: hidden; }
.bloc-appli-scene { position: relative; justify-self: center; width: min(230px, 60vw); }
.bloc-appli-scene .notif { top: 18%; }
.bloc-appli-texte { text-align: center; }
.bloc-appli-texte h2 { margin-top: 16px; font-size: clamp(27px, 7vw, 40px); letter-spacing: -.035em; }
.bloc-appli-texte .magasins { margin-top: 22px; }
.a-propos { max-width: 720px; margin: var(--respire) auto 0; padding: 0 var(--marge); }
.a-propos h2 { font-size: 24px; }
.a-propos p { margin-top: 12px; color: var(--doux); line-height: 1.65; }
.a-propos a { color: var(--papier); border-bottom: 1px solid var(--trait); }
@media (min-width: 720px) {
  .bloc-appli { grid-template-columns: 280px 1fr; align-items: center; gap: 56px; padding: 44px 56px; border-radius: 28px; border: 1px solid var(--filet); width: calc(100% - 2 * var(--marge)); }
  .bloc-appli-scene { width: 230px; }
  .bloc-appli-texte { text-align: left; }
  .bloc-appli-texte .vitrine-chapeau { margin-left: 0; }
  .bloc-appli-texte .magasins { justify-content: flex-start; }
  .bloc-appli .vitrine-qr { display: flex; align-items: center; gap: 16px; max-width: 420px; margin-top: 20px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(13, 12, 11, .5); border: 1px solid var(--filet); font-size: 13px; color: var(--doux); }
  .bloc-appli .vitrine-qr .qr-carte { flex: none; width: 92px; margin: 0; padding: 7px; border-radius: 11px; }
  .bloc-appli .vitrine-qr b { display: block; color: var(--papier); font-weight: 800; }
}
@media (min-width: 900px) {
  .accueil-haut { grid-template-columns: 1.1fr .9fr; }
  .une-carte { flex-direction: column; align-items: flex-start; gap: 22px; padding: 26px; max-width: 420px; justify-self: end; }
  .une-carte-couv { width: 180px; }
  .une-carte-titre { font-size: 40px; }
}
@media (hover: hover) { .une-carte:hover { transform: translateY(-4px); } }
.etapes { display: grid; gap: 14px; margin-top: 18px; counter-reset: etape; }
.etapes li { position: relative; padding: 16px 16px 16px 58px; border-radius: 16px; background: var(--surface); border: 1px solid var(--filet); color: var(--doux); line-height: 1.55; counter-increment: etape; }
.etapes li::before { content: counter(etape); position: absolute; left: 16px; top: 15px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--papier); color: var(--encre); font: 800 14px/1 var(--titre); }
.etapes b { color: var(--papier); }

/* ── Search: the bar's magnifier, the home page's field, the results ── */
.chercher { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin: 0 2px 0 auto; border: 0; border-radius: 13px; background: none; color: var(--papier); cursor: pointer; transition: background-color .2s, transform .18s var(--doux-ressort); }
.chercher .ph { width: 20px; height: 20px; }
.chercher span, .chercher kbd { display: none; }
.chercher:active { transform: scale(.94); }
@media (max-width: 429px) { .barre .marque span { display: none; } }
@media (min-width: 720px) {
  .chercher { display: flex; align-items: center; gap: 9px; width: min(300px, 30vw); height: 40px; margin: 0 auto 0 26px; padding: 0 8px 0 13px; background: rgba(243, 239, 231, .06); box-shadow: inset 0 0 0 1px var(--filet); color: var(--sourd); font-size: 13.5px; font-weight: 600; }
  .chercher .ph { width: 17px; height: 17px; }
  .chercher span { display: block; flex: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chercher kbd { display: block; padding: 2px 6px; border-radius: 6px; background: rgba(243, 239, 231, .08); font: 700 11px/1.4 var(--texte); color: var(--doux); }
}
@media (hover: hover) { .chercher:hover { background: rgba(243, 239, 231, .1); color: var(--papier); } }
.champ-recherche { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px; border-radius: 16px; background: rgba(23, 21, 19, .82); border: 1px solid var(--trait); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); cursor: text; transition: border-color .2s, box-shadow .2s; }
.champ-recherche:focus-within { border-color: rgba(243, 239, 231, .6); box-shadow: 0 0 0 4px rgba(243, 239, 231, .08); }
.champ-recherche .ph { flex: none; width: 20px; height: 20px; color: var(--doux); }
.champ-recherche input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; font-weight: 600; -webkit-appearance: none; appearance: none; }
.champ-recherche input::placeholder { color: var(--sourd); }
.champ-recherche input::-webkit-search-cancel-button { -webkit-appearance: none; }
.recherche-accueil { position: relative; z-index: 5; max-width: 520px; margin: 24px auto 0; text-align: left; }
.recherche-accueil .resultats { position: absolute; top: calc(100% + 8px); left: 0; right: 0; max-height: min(430px, 60vh); overflow-y: auto; padding: 6px; border-radius: 18px; background: var(--surface); border: 1px solid var(--trait); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.resultats li a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; transition: background-color .15s; }
.resultats img, .resultats-sans { flex: none; width: 34px; height: 53px; border-radius: 4px; object-fit: cover; object-position: 50% 0; background: var(--releve); }
.resultats li a > span { display: flex; flex-direction: column; min-width: 0; }
.resultats b { font-size: 14.5px; font-weight: 800; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.resultats small { font-size: 12px; color: var(--doux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resultats .actif a { background: rgba(243, 239, 231, .09); }
@media (hover: hover) { .resultats li a:hover { background: rgba(243, 239, 231, .09); } }
.resultats-titre { padding: 8px 10px 4px; font: 800 11px/1.3 var(--texte); letter-spacing: .1em; text-transform: uppercase; color: var(--sourd); }
.resultats-vide { padding: 16px 12px; font-size: 14px; color: var(--doux); }
.recherche-fenetre { position: fixed; inset: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: var(--encre); color: var(--papier); display: none; flex-direction: column; }
.recherche-fenetre[open] { display: flex; animation: fondu .2s ease; }
.recherche-fenetre::backdrop { background: rgba(8, 7, 6, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.recherche-haut { display: flex; align-items: center; gap: 10px; padding: calc(12px + env(safe-area-inset-top)) 14px 12px; }
.recherche-haut .champ-recherche { flex: 1; }
.recherche-fermer { flex: none; border: 0; background: none; font-size: 14.5px; font-weight: 700; color: var(--doux); cursor: pointer; }
.recherche-fenetre .resultats { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 8px calc(16px + env(safe-area-inset-bottom)); }
@media (min-width: 720px) {
  .recherche-fenetre { inset: 11vh 0 auto; width: min(620px, calc(100% - 48px)); height: auto; max-height: 72vh; margin: 0 auto; border-radius: 22px; background: var(--surface); border: 1px solid var(--trait); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
  .recherche-haut { padding: 14px; border-bottom: 1px solid var(--filet); }
  .recherche-haut .champ-recherche { background: none; border: 0; box-shadow: none; padding: 0 6px; height: 46px; }
  .recherche-fenetre .resultats { padding: 6px 8px 10px; }
  .recherche-accueil { margin-left: 0; }
}

/* ── The home page: everything the app does ── */
.fonctions { max-width: var(--large); margin: var(--respire) auto 0; padding: 0 var(--marge); }
.fonctions-tete { max-width: 640px; }
.fonctions-tete h2 { margin-top: 10px; font-size: clamp(30px, 7.6vw, 46px); letter-spacing: -.035em; }
.fonctions-tete .chapeau { margin-top: 10px; font-size: 15.5px; }
.fonction { display: grid; gap: 22px; margin-top: 46px; }
.fonction-texte h3 { margin-top: 10px; font: 800 26px/1.1 var(--titre); letter-spacing: -.03em; text-wrap: balance; }
.fonction-texte > p:not(.etiquette) { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--doux); }
.fonction-points { display: grid; gap: 8px; margin-top: 16px; }
.fonction-points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 700; }
.fonction-points .ph { flex: none; width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: var(--papier); color: var(--encre); }
.fonction-scene { position: relative; justify-self: center; width: min(250px, 66vw); height: 420px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); padding-top: 4px; }
.fonction-scene .telephone { transform: none; animation: none; border-radius: 40px; padding: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(243, 239, 231, .12); }
.fonction-scene .telephone img { border-radius: 33px; }
.fonction-scene .telephone::after { display: none; } /* the captures have no notch: it would hide their top */
.scene-bas .telephone img { object-position: 50% 100%; }
.fonction-scene .notif { left: -6%; right: -6%; top: 26%; animation: none; }
.bulle { position: absolute; left: 50%; display: flex; align-items: center; gap: 10px; width: max-content; max-width: 108%; padding: 11px 14px; border-radius: 16px; background: rgba(38, 35, 31, .9); border: 1px solid rgba(243, 239, 231, .16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); transform: translateX(-50%); font-size: 12.5px; color: var(--doux); }
.bulle > .ph { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--papier); color: var(--encre); }
.bulle > span { display: flex; flex-direction: column; line-height: 1.3; }
.bulle b { font-size: 13.5px; font-weight: 800; color: var(--papier); }
.bulle-bas { top: 62%; }
.bulle-haut { top: 30%; }
.jauge { display: block; width: 130px; height: 6px; margin-left: 4px; border-radius: 3px; background: rgba(243, 239, 231, .16); overflow: hidden; }
.jauge i { display: block; height: 100%; border-radius: 3px; background: var(--papier); }
.bulle-note .etoiles { margin-top: 3px; }
.bulle-note .etoiles .ph { width: 16px; height: 16px; }
.bulle-pct { margin-left: 6px; font: 800 26px/1 var(--titre) !important; letter-spacing: -.03em; }
.scene-scan .scan-cadre { position: absolute; left: 22%; right: 22%; top: 32%; height: 17%; border-radius: 12px; background: linear-gradient(var(--papier), var(--papier)) top left / 22px 3px, linear-gradient(var(--papier), var(--papier)) top left / 3px 22px, linear-gradient(var(--papier), var(--papier)) top right / 22px 3px, linear-gradient(var(--papier), var(--papier)) top right / 3px 22px, linear-gradient(var(--papier), var(--papier)) bottom left / 22px 3px, linear-gradient(var(--papier), var(--papier)) bottom left / 3px 22px, linear-gradient(var(--papier), var(--papier)) bottom right / 22px 3px, linear-gradient(var(--papier), var(--papier)) bottom right / 3px 22px; background-repeat: no-repeat; }
.scene-scan .scan-ligne { position: absolute; left: 25%; right: 25%; top: 33%; height: 2px; border-radius: 1px; background: var(--papier); box-shadow: 0 0 12px var(--papier); animation: balaye 2.4s ease-in-out infinite; }
@keyframes balaye { 50% { top: 47%; } }
.fonctions-fin { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 54px; padding: 30px 20px; border-radius: 24px; background: radial-gradient(90% 120% at 50% 0%, rgba(243, 239, 231, .08), transparent 70%), var(--surface); border: 1px solid var(--filet); text-align: center; }
.fonctions-fin-titre { font: 800 clamp(24px, 6vw, 34px)/1.1 var(--titre); letter-spacing: -.03em; }
.fonctions-fin .magasins { margin: 0; }
@media (min-width: 820px) {
  .fonction { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; margin-top: 70px; }
  .fonction:nth-of-type(even) .fonction-scene { order: 2; }
  .fonction-scene { width: 270px; height: 480px; }
  .fonction-texte { max-width: 470px; }
  .fonction-texte h3 { font-size: 32px; }
  .fonctions-fin { padding: 36px; }
  .fonctions-fin-actions { display: flex; align-items: center; justify-content: center; gap: 28px; }
  .fonctions-fin .vitrine-qr { display: flex; align-items: center; gap: 14px; max-width: 360px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(13, 12, 11, .5); border: 1px solid var(--filet); font-size: 12.5px; color: var(--doux); text-align: left; }
  .fonctions-fin .vitrine-qr .qr-carte { flex: none; width: 84px; margin: 0; padding: 6px; border-radius: 10px; }
  .fonctions-fin .vitrine-qr b { display: block; color: var(--papier); font-weight: 800; }
}
@media (prefers-reduced-motion: reduce) { .scene-scan .scan-ligne { animation: none; } }
.resultats li > button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 7px 10px; border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer; transition: background-color .15s; }
.resultats li > button > span:not(.resultats-rond) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.resultats li > button > svg { flex: none; width: 16px; height: 16px; color: var(--sourd); }
.resultats .actif > button { background: rgba(243, 239, 231, .09); }
@media (hover: hover) { .resultats li > button:hover { background: rgba(243, 239, 231, .09); } }
.resultats-rond { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--releve); color: var(--papier); }
.resultats-rond svg { width: 17px; height: 17px; }
.resultats-retour { display: flex; align-items: center; gap: 12px; padding: 8px 10px 10px; border-bottom: 1px solid var(--filet); margin-bottom: 6px; }
.resultats li.resultats-retour > button { display: inline-flex; align-items: center; gap: 4px; flex: none; width: auto; height: 32px; padding: 0 12px 0 8px; border: 1px solid var(--trait); border-radius: 999px; background: none; font-size: 13px; font-weight: 700; color: var(--doux); cursor: pointer; }
.resultats li.resultats-retour > button > svg { width: 14px; height: 14px; color: var(--doux); transform: rotate(180deg); }
.resultats-retour > span { display: flex; flex-direction: column; min-width: 0; font-size: 12px; color: var(--doux); }
.resultats-retour b { font-size: 15px; }

/* ── A volume with no picture anywhere: its series' cover, dimmed, with its number ── */
.couv-secours { position: relative; display: grid; place-items: center; width: var(--l); max-width: 100%; aspect-ratio: 32 / 50; border-radius: 6px; overflow: hidden; background: var(--releve); isolation: isolate; }
.tuile .couv-secours, .carte .couv-secours, .fiche-couv .couv-secours { width: 100%; }
.couv-secours img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; filter: brightness(.38) saturate(.8); transform: scale(1.04); }
.couv-secours b { display: flex; flex-direction: column; align-items: center; font: 800 clamp(20px, calc(var(--l) * .22), 46px)/1 var(--titre); letter-spacing: -.03em; color: var(--papier); text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.couv-secours small { font: 800 10px/1.4 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 239, 231, .75); }
.couv-secours.sans-image { background: linear-gradient(160deg, var(--releve), var(--surface)); }
/* No picture anywhere, not even the series': a quiet tile in the brand's colours, never an empty frame. */
.couv.vide { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--filet); background: radial-gradient(120% 80% at 50% 0%, rgba(243, 239, 231, .09), transparent 60%), linear-gradient(170deg, var(--releve), var(--surface)); color: var(--papier); font: 800 clamp(18px, calc(var(--l) * .22), 44px)/1 var(--titre); letter-spacing: -.03em; }
.couv.vide:not(:empty)::before { content: "Tome"; margin-bottom: 4px; font: 800 10px/1.4 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--sourd); }

/* ── Where the series stands, its editions, the order of its universe ── */
.situation { margin-top: 8px; max-width: 68ch; font-size: 15.5px; line-height: 1.6; color: var(--papier); }
.tomes .situation + .aide-tomes { margin-top: 6px; }
.editions { max-width: calc(var(--large) - 2 * var(--marge)); margin: var(--respire) var(--marge) 0; }
.editions .chapeau { max-width: 68ch; margin-top: 8px; font-size: 14.5px; line-height: 1.55; }
.editions-liste { display: grid; gap: 8px; margin-top: 16px; }
.editions-liste li { display: flex; flex-direction: column; gap: 3px; padding: 13px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--filet); }
.editions-liste li.principale { border-color: rgba(243, 239, 231, .35); }
.editions-liste b { font-size: 14.5px; font-weight: 800; }
.editions-liste span { font-size: 13px; color: var(--doux); }
.univers .chapeau { max-width: 68ch; }
.univers-ordre { display: grid; gap: 6px; margin: 14px 0 0; padding: 0 var(--marge) 0 calc(var(--marge) + 20px); list-style: decimal; font-size: 14.5px; line-height: 1.5; }
.univers-ordre li::marker { font-weight: 800; color: var(--sourd); }
.univers-ordre a { border-bottom: 1px solid var(--trait); }
.univers-ordre span { color: var(--doux); font-size: 13px; }
.univers .rayon-liste { margin-top: 18px; }
@media (min-width: 720px) {
  .editions { margin-left: auto; margin-right: auto; padding: 0 var(--marge); max-width: var(--large); }
  .editions-liste { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}


/* ── Where the series stands, at the top: its state in big, the essentials, France against Japan ── */
.etat { position: relative; margin-top: 26px; padding: 18px 18px 18px; border-radius: 22px; overflow: hidden; isolation: isolate; background: var(--surface); border: 1px solid rgba(243, 239, 231, .12); }
.etat-fond { position: absolute; inset: -40px -40px -40px 45%; z-index: -1; background: center / cover; filter: blur(30px) saturate(1.3); opacity: .35; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.etat-grand { display: flex; align-items: center; gap: 10px; margin-top: 12px; font: 800 30px/1 var(--titre); letter-spacing: -.035em; }
.etat-grand .ph { flex: none; width: 26px; height: 26px; }
.etat-point { position: relative; flex: none; width: 12px; height: 12px; margin: 0 4px 0 3px; border-radius: 50%; background: var(--papier); }
.etat-point::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--papier); opacity: 0; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }
.etat-puces { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.etat-puces li { padding: 5px 11px; border-radius: 999px; background: rgba(243, 239, 231, .08); border: 1px solid var(--filet); font-size: 12.5px; font-weight: 700; color: var(--papier); }
.etat-barre { margin-top: 16px; }
.etat-jauge { display: block; height: 8px; border-radius: 4px; background: rgba(243, 239, 231, .12); overflow: hidden; }
.etat-jauge i { display: block; height: 100%; border-radius: 4px; background: var(--papier); }
.etat-legende { display: flex; justify-content: space-between; margin-top: 7px; font-size: 12px; color: var(--doux); }
.etat-legende b { color: var(--papier); font-weight: 800; }
.etat-texte { margin-top: 14px; max-width: 62ch; font-size: 14.5px; line-height: 1.6; color: var(--doux); }
.etat .bouton.etat-bouton { margin-top: 16px; }
.etat-bouton.actif .ph.eteint { display: none; }
@media (min-width: 720px) {
  .ouverture > .etat { grid-column: 1 / -1; margin-top: 0; padding: 24px 26px; }
  .ouverture > .etat + .lecteurs:last-child { grid-column: 1 / -1; }
  .etat-grand { font-size: 36px; }
  .etat-barre { max-width: 520px; }
}
@media (prefers-reduced-motion: reduce) { .etat-point::after { animation: none; } }

/* ── "X en bref", folded: its heading is the handle ── */
.repli > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--filet); list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .2s; }
.repli > summary::-webkit-details-marker { display: none; }
.repli > summary .titre-section { margin: 0; }
.repli-fleche { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--releve); color: var(--doux); transition: transform .25s var(--doux-ressort); }
.repli-fleche .ph { width: 16px; height: 16px; }
.repli[open] > summary { margin-bottom: 4px; }
.repli[open] .repli-fleche { transform: rotate(180deg); }
.repli[open] > summary ~ * { animation: fondu .3s ease; }
@media (hover: hover) { .repli > summary:hover { border-color: var(--trait); } }
/* On a computer, the story and the folded "en bref" one under the other (no empty column); open, side by side. */
@media (min-width: 720px) {
  .duo:has(.repli:not([open])) { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .duo:has(.repli:not([open])) .histoire .texte, .duo:has(.repli:not([open])) .histoire .titre-section { max-width: 760px; }
  .duo:has(.repli:not([open])) > .faits { margin-top: 34px; }
}

/* ───────────── Mangas de A à Z (/manga, /manga/lettre/x) ───────────── */
.catalogue { max-width: var(--large); margin: 0 auto; padding-bottom: var(--respire); }
.abc-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; padding: 22px var(--marge) 0; }
.abc-grille a { display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 12px; border: 1px solid var(--filet); border-radius: 14px; background: var(--surface); transition: border-color .2s, transform .18s; }
.abc-grille b { font: 800 30px/1 var(--titre); letter-spacing: -.03em; }
.abc-grille span { font-size: 12px; color: var(--sourd); }
.abc-grille a:active { transform: scale(.96); }
.catalogue .rayon { margin-top: var(--respire); }
.abc-liste { columns: 1; column-gap: 32px; padding: 18px var(--marge) 0; }
.abc-liste li { break-inside: avoid; display: flex; flex-direction: column; padding: 9px 0; border-bottom: 1px solid var(--filet); }
.abc-liste a { font-weight: 700; line-height: 1.3; }
.abc-liste span { font-size: 12.5px; color: var(--sourd); }
.abc-suite { display: flex; justify-content: space-between; gap: 12px; padding: 28px var(--marge) 0; font-size: 14px; font-weight: 600; color: var(--doux); }
@media (min-width: 720px) { .abc-liste { columns: 2; } }
@media (min-width: 980px) { .abc-liste { columns: 3; } .abc-puces { flex-wrap: wrap; } }
@media (hover: hover) {
  .abc-grille a:hover { border-color: var(--trait); }
  .abc-liste a:hover, .abc-suite a:hover { color: var(--doux); }
}

/* ───────────── /admin: the owner's dashboard (assets/admin.js) ───────────── */
.adm { max-width: var(--large); margin: 0 auto; padding: 24px var(--marge) 80px; }
.adm h1 { font-size: 30px; }
.adm h2 { font-size: 22px; }
.adm h3 { font: 700 13px/1.3 var(--texte); letter-spacing: .04em; text-transform: uppercase; color: var(--doux); margin-bottom: 10px; }
.adm-doux { color: var(--sourd); font-size: 13px; }
.adm-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.adm-tete .adm-doux { margin-top: 6px; }
.adm-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
@media (max-width: 400px) { .adm-tuile-valeur { font-size: 26px; } .adm-tuile { padding: 14px; } }
.adm-tuile { padding: 16px; border: 1px solid var(--filet); border-radius: 16px; background: var(--surface); }
.adm-tuile-titre { font-size: 13px; color: var(--doux); }
.adm-tuile-valeur { font: 800 30px/1.15 var(--titre); letter-spacing: -.02em; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.adm-bloc { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.adm-titre-ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-courbe { padding: 16px; border: 1px solid var(--filet); border-radius: 16px; background: var(--surface); }
.adm-courbe figcaption, .adm-axe { display: flex; justify-content: space-between; font-size: 12px; color: var(--sourd); }
.adm-courbe svg { display: block; width: 100%; height: 120px; margin: 10px 0 6px; }
.adm-courbe rect { fill: rgba(243, 239, 231, .35); }
.adm-courbe rect.adm-auj { fill: var(--papier); }
.adm-colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.adm-liste { padding: 16px; border: 1px solid var(--filet); border-radius: 16px; background: var(--surface); }
.adm-liste ol { display: flex; flex-direction: column; gap: 4px; }
.adm-liste li { position: relative; display: flex; justify-content: space-between; gap: 10px; padding: 6px 8px; font-size: 13.5px; border-radius: 8px; overflow: hidden; }
.adm-liste li b { font-variant-numeric: tabular-nums; }
.adm-nom { position: relative; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-liste li b { position: relative; }
.adm-jauge { position: absolute; inset: 0 auto 0 0; background: rgba(243, 239, 231, .07); border-radius: 8px; }
.adm-table { overflow-x: auto; border: 1px solid var(--filet); border-radius: 16px; background: var(--surface); }
.adm-table table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-table th, .adm-table td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--filet); white-space: nowrap; }
.adm-table th { color: var(--doux); font-weight: 600; }
.adm-bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border-radius: 21px; border: 0; background: var(--papier); color: var(--encre); font-weight: 700; font-size: 14px; cursor: pointer; }
.adm-bouton.adm-second { background: transparent; color: var(--papier); border: 1px solid var(--trait); }
.adm-lien { background: none; border: 0; color: var(--sourd); font-size: 13px; text-decoration: underline; cursor: pointer; }
.adm-pied { margin-top: 40px; text-align: center; }
.adm-premier { margin-top: 28px; }
.adm-sous-titre { font-size: 15px; margin-top: 10px; }
.adm-plus { margin-top: 44px; border-top: 1px solid var(--filet); padding-top: 18px; }
.adm-plus > summary { cursor: pointer; color: var(--doux); font-weight: 600; font-size: 14px; padding: 6px 0; }
.adm-plus[open] > summary { margin-bottom: 14px; }
.adm-plus > .adm-grille, .adm-plus > .adm-courbe, .adm-plus > .adm-colonnes { margin-top: 10px; }
.adm-porte { max-width: 380px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 14px; }
.adm-form { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.adm-form label { font-size: 13px; color: var(--doux); }
.adm-form input { min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--trait); background: var(--surface); font-size: 16px; }
.adm-erreur { color: var(--papier); font-weight: 600; font-size: 13px; min-height: 1em; }
