/* Atelier Afar : noir de nuit, braise, sable. */
:root {
  --fond: #0e0b09; --surface: #17120f; --surface2: #201914; --ligne: #2e251e; --ligne2: #4a3a2d;
  --texte: #f2e6d3; --doux: #d9ccb9; --muted: #b5a692;
  --braise: #ff8a3d; --braise-clair: #ffb27a; --braise-fond: #2a1c12; --braise-ligne: #5a2f16;
  --bleu: #9cc8f0; --bleu-fond: #13263a; --vert: #9fe0b5; --vert-fond: #11291b; --rouge: #f0a8a8; --rouge-fond: #2a1414;
  --or: #f0cd7c; --or-fond: #3a2a0e;
  --titre: 'Bricolage Grotesque', system-ui, sans-serif; --corps: Inter, system-ui, sans-serif; --lecture: Literata, Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 16px/1.55 var(--corps); }
a { color: var(--braise); }
a:hover { color: var(--braise-clair); }
h1, h2, h3 { font-family: var(--titre); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; }
h2 { font-size: clamp(20px, 3vw, 26px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
code { font-size: .9em; color: var(--braise-clair); background: var(--surface2); padding: 1px 5px; border-radius: 5px; }
.muted { color: var(--muted); }
.petit { font-size: 14px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.ic.vert { color: var(--vert); } .ic.rouge { color: var(--rouge); }

/* En-tête */
.top { border-bottom: 1px solid var(--ligne); background: var(--fond); position: sticky; top: 0; z-index: 10; }
.top-in { max-width: 1280px; margin: 0 auto; padding: 10px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texte); }
.logo-afar { font-family: var(--titre); font-weight: 800; font-size: 23px; letter-spacing: .14em; color: var(--braise); }
.logo-afar.grand { font-size: 40px; margin: 0 0 8px; }
.logo-sub { font-size: 13px; color: var(--muted); border-left: 1px solid var(--ligne2); padding-left: 10px; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; flex: 1 1 auto; }
.nl { padding: 8px 11px; border-radius: 8px; color: var(--doux); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nl:hover { background: #1d1712; color: #fff; }
.nl.on { background: var(--braise-fond); color: var(--braise); }
.pastille { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--braise); color: #1a0e06; font-size: 12px; font-weight: 700; text-align: center; }
.srch { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--ligne); border-radius: 10px; padding: 0 12px; height: 42px; width: 250px; max-width: 100%; color: var(--muted); }
.srch input { background: transparent; border: 0; color: var(--texte); font: inherit; font-size: 14px; outline: none; width: 100%; }
.moi { position: relative; }
.moi summary { list-style: none; cursor: pointer; border-radius: 50%; }
.moi summary::-webkit-details-marker { display: none; }
.moi .menu { position: absolute; right: 0; top: 52px; width: 240px; background: var(--surface); border: 1px solid var(--ligne2); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.moi .menu a, .moi .menu .lien { padding: 8px 10px; border-radius: 8px; color: var(--doux); text-decoration: none; text-align: left; }
.moi .menu a:hover, .moi .menu .lien:hover { background: var(--surface2); color: #fff; }
.av { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex: none; }
.av.c1 { background: #ff8a3d; color: #1a0e06; } .av.c2 { background: #2a4a63; color: #e6f1fb; } .av.c3 { background: #5a3a63; color: #f6eafb; }
.av.c4 { background: #2f5a3e; color: #e8f7ee; } .av.c5 { background: #63452a; color: #fbefe3; } .av.c6 { background: #2a5a5a; color: #e3fbfb; }

/* Page */
.page { max-width: 1280px; margin: 0 auto; padding: 32px 20px 80px; }
.page.wide { max-width: 1280px; }
.flash { padding: 12px 16px; border-radius: 12px; margin: 0 0 20px; border: 1px solid; }
.flash.ok { background: var(--vert-fond); border-color: #1f4630; color: var(--vert); }
.flash.err { background: var(--rouge-fond); border-color: #5a2a2a; color: var(--rouge); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--braise); margin: 0 0 10px; }
.lead { font-size: 18px; color: var(--doux); max-width: 640px; }
.bloc { margin: 44px 0 0; }
.bloc-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.bloc-tete h2, .bloc-tete h1 { margin: 0; }
.encadre { background: var(--surface); border: 1px solid var(--ligne); border-radius: 18px; padding: 20px; }
.alerte-bloc { background: var(--braise-fond); border: 1px solid var(--braise-ligne); border-radius: 18px; padding: 18px 20px; }
.alerte-bloc h2 { display: flex; gap: 10px; align-items: center; font-size: 20px; }
.vide { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.liste { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.etroit { max-width: 720px; }

/* Boutons et formulaires */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--ligne2); background: transparent; color: var(--texte); font: 600 15px var(--corps); text-decoration: none; cursor: pointer; }
.btn:hover { border-color: var(--braise); color: #fff; }
.btn.primaire { background: var(--braise); border-color: var(--braise); color: #1a0e06; }
.btn.primaire:hover { background: var(--braise-clair); color: #1a0e06; }
.btn.tirets { border-style: dashed; color: var(--braise-clair); margin-top: 14px; }
.btn.petit-btn { min-height: 38px; padding: 0 12px; font-size: 14px; }
.lien { background: none; border: 0; padding: 0; color: var(--braise); font: inherit; cursor: pointer; text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form.compact { gap: 10px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--doux); }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea {
  width: 100%; background: var(--fond); border: 1px solid var(--ligne2); border-radius: 10px; color: var(--texte);
  font: 400 16px var(--corps); padding: 11px 12px; }
.form textarea { resize: vertical; line-height: 1.5; }
.form textarea.ecriture { font: 17px/1.7 var(--lecture); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--braise); outline-offset: 1px; border-color: transparent; }
.case-a-cocher { flex-direction: row !important; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; }
.case-a-cocher input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--braise); }
.rangee { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.rangee > label { flex: 1 1 160px; }
.rangee > label.large { flex: 3 1 260px; }
.rangee > label.etroit-champ { flex: 0 1 110px; }
:focus-visible { outline: 2px solid var(--braise); outline-offset: 2px; }

/* Connexion */
.auth { max-width: 440px; margin: 6vh auto 0; background: var(--surface); border: 1px solid var(--ligne); border-radius: 22px; padding: 32px 28px; }
.auth h1 { font-size: 28px; }

/* Badges */
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--surface2); color: var(--doux); }
.badge .ic { width: 13px; height: 13px; }
.st-canon { background: var(--or-fond); color: var(--or); }
.st-discussion { background: var(--bleu-fond); color: var(--bleu); }
.st-a_ecrire { background: var(--braise-fond); color: var(--braise-clair); }
.st-abandonne { background: #241f1c; color: #a89a8a; }
.et-proposee { background: var(--bleu-fond); color: var(--bleu); }
.et-acceptee { background: var(--vert-fond); color: var(--vert); }
.et-refusee { background: var(--rouge-fond); color: var(--rouge); }
.et-retiree { background: #241f1c; color: #a89a8a; }
.ty-faute, .ty-incoherence { background: var(--rouge-fond); color: var(--rouge); }
.ty-image { background: var(--braise-fond); color: var(--braise-clair); }
.ty-suggestion { background: var(--bleu-fond); color: var(--bleu); }

/* Accueil */
.hero { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.hero-txt { flex: 1 1 480px; min-width: 0; }
.h-hero { font-size: clamp(38px, 6.5vw, 60px); letter-spacing: -.02em; }
.compteurs { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: 14px; }
.compteurs strong { color: var(--texte); font-size: 18px; }
.compteurs a strong { color: var(--braise); }
.hero-img { flex: 1 1 320px; min-width: 0; position: relative; display: block; height: 400px; border-radius: 20px; overflow: hidden; border: 1px solid var(--ligne); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-cap { position: absolute; inset: auto 0 0 0; padding: 48px 20px 18px; background: linear-gradient(to top, rgba(8,6,5,.95), rgba(8,6,5,0)); display: flex; flex-direction: column; gap: 4px; color: var(--doux); font-size: 14px; }
.hero-cap strong { font-family: var(--titre); font-size: 22px; color: var(--texte); }
.hero-cap .badge { align-self: flex-start; }
.frise-defile { overflow-x: auto; padding-bottom: 8px; }
.frise-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 12px; }
.carte { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--ligne); background: var(--surface); color: var(--texte); text-decoration: none; }
.carte:hover { border-color: var(--ligne2); color: var(--texte); }
.carte.libre, .libre .carte { border: 1.5px dashed var(--ligne2); background: transparent; }
.carte .muted { font-size: 14px; }
.annee { font-family: var(--titre); font-size: 24px; font-weight: 800; color: var(--braise); display: inline-flex; align-items: center; gap: 6px; }
.annee.petit { font-size: 15px; }
.activite { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.activite li { display: flex; gap: 12px; align-items: flex-start; }
.activite li > span { display: flex; flex-direction: column; }
.activite a { color: var(--texte); text-decoration: none; }
.activite a:hover { color: var(--braise-clair); }

/* Bible */
.avec-cote { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.cote { flex: 1 1 220px; max-width: 260px; display: flex; flex-direction: column; gap: 2px; }
.contenu { flex: 999 1 560px; min-width: 0; }
.cote-titre { margin: 0 0 6px 12px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cat { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 8px; color: var(--doux); text-decoration: none; font-size: 15px; }
.cat:hover { background: #1d1712; color: #fff; }
.cat.on { background: var(--braise-fond); color: var(--braise); }
.cat span { color: var(--muted); }
.encart-trous { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 14px; background: #1c120c; border: 1px solid #4a2a1a; text-decoration: none; color: var(--doux); font-size: 14px; }
.encart-trous strong { color: var(--braise-clair); font-size: 15px; }
.grille-fiches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.fiche-carte { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border-radius: 14px; border: 1px solid var(--ligne); background: var(--surface); color: var(--texte); text-decoration: none; }
.fiche-carte:hover { border-color: var(--ligne2); color: var(--texte); }
.fiche-carte strong { font-size: 17px; }
.fiche-carte .muted { font-size: 14px; }
.fiche-carte .badges { margin-bottom: 4px; }
.webtoon-carte img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.ariane { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.ariane a { text-decoration: none; }
.fiche { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.fiche-corps { flex: 999 1 520px; min-width: 0; }
.fiche-cote { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.h-fiche { font-size: clamp(38px, 6vw, 54px); }
.prose { color: #e6dacb; font-size: 17px; max-width: 760px; }
.prose h2 { margin-top: 1.4em; } .prose h3 { margin-top: 1.2em; }
.prose ul { padding-left: 22px; } .prose li { margin-bottom: 6px; }
.prose blockquote { margin: 0 0 1em; padding: 10px 16px; border-left: 3px solid var(--braise); background: var(--surface); border-radius: 0 10px 10px 0; font-family: var(--lecture); }
.wl { color: var(--braise-clair); text-decoration: none; border-bottom: 1px solid #8a5a38; }
.wl:hover { color: #fff; }
.wl.manque { border-bottom-style: dashed; color: var(--doux); }
.trou { font-style: italic; color: var(--braise-clair); text-decoration: none; border-bottom: 1px dashed var(--braise); padding: 0 2px; background: rgba(255,138,61,.08); border-radius: 3px; }
.trou::before { content: '? '; font-style: normal; font-weight: 700; }
.encart { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; margin: 0 0 18px; font-size: 15px; }
.encart.info { background: var(--bleu-fond); color: #d0dcef; }
.encart.alerte { background: var(--braise-fond); color: var(--braise-clair); }
.sous-bloc { margin-top: 36px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--ligne); background: var(--surface); color: var(--texte); text-decoration: none; font-size: 14px; }
.puce:hover, .puce.on { border-color: var(--braise); color: var(--braise-clair); }
.histo { list-style: none; margin: 0 0 0 6px; padding: 0; border-left: 2px solid var(--ligne); }
.histo li { position: relative; padding: 0 0 14px 20px; font-size: 15px; }
.histo li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ligne2); }
.histo li.h-acceptee::before { background: var(--braise); }
.histo li .muted { display: block; font-size: 14px; }
.portrait { margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--ligne); }
.portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.identite { margin: 0; background: var(--surface); border: 1px solid var(--ligne); border-radius: 18px; padding: 18px; display: grid; grid-template-columns: minmax(90px, auto) minmax(0, 1fr); gap: 10px 14px; font-size: 15px; }
.identite dt { color: var(--muted); } .identite dd { margin: 0; }
.discussion, .validation { background: var(--surface); border: 1px solid var(--ligne); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.discussion h2, .validation h2 { font-size: 18px; margin: 0; }
.com { display: flex; gap: 10px; }
.com .av { width: 32px; height: 32px; font-size: 13px; }
.com p { margin: 0; font-size: 15px; color: #e6dacb; }
.com.traite { opacity: .6; }

/* Édition */
.edition { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.edition-form { flex: 999 1 560px; min-width: 0; }
.aide { flex: 1 1 260px; background: var(--surface); border: 1px solid var(--ligne); border-radius: 18px; padding: 18px; font-size: 14px; color: var(--doux); }
.aide h2 { font-size: 17px; }
.aide ul { padding-left: 18px; margin: 0; display: flex; flex-direction: column; gap: 10px; }

/* Propositions */
.props { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.prop { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--ligne); }
.prop > a { color: var(--texte); text-decoration: none; font-size: 17px; }
.votes { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.votes .pour { color: var(--vert); display: inline-flex; gap: 4px; align-items: center; }
.votes .contre { color: var(--rouge); display: inline-flex; gap: 4px; align-items: center; }
.diff { margin-bottom: 16px; }
.diff pre { margin: 0; padding: 12px; background: #0a0807; border: 1px solid var(--ligne); border-radius: 12px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; font: 14px/1.6 ui-monospace, Consolas, monospace; }
.diff pre span { display: block; }
.dp { background: rgba(159,224,181,.10); color: var(--vert); }
.dm { background: rgba(240,168,168,.10); color: var(--rouge); text-decoration: line-through; }
.de { color: var(--muted); }
.apercu { border: 1px solid var(--ligne); border-radius: 18px; padding: 20px; background: #120e0b; }
.h-apercu { font-size: 30px; }
.jauge { height: 8px; border-radius: 99px; background: var(--ligne); overflow: hidden; }
.jauge span { display: block; height: 100%; background: var(--braise); width: 0; }
.jauge-1-2 { width: 50% !important; } .jauge-2-2 { width: 100% !important; }
.jauge-1-3 { width: 33% !important; } .jauge-2-3 { width: 67% !important; } .jauge-3-3 { width: 100% !important; }
.avis { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.avis li { display: flex; gap: 10px; align-items: flex-start; }

/* Trame */
.frise { list-style: none; margin: 0; padding: 0 0 0 8px; border-left: 2px solid var(--ligne2); display: flex; flex-direction: column; gap: 16px; }
.frise li { position: relative; padding-left: 24px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: flex-start; }
.frise li::before { content: ''; position: absolute; left: -9px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--braise); border: 3px solid var(--fond); }
.frise li.libre::before { background: var(--fond); border: 2px dashed var(--braise); }
.frise-annee { font-family: var(--titre); font-weight: 800; font-size: 26px; color: var(--braise); min-width: 90px; padding-top: 12px; }
.frise .carte { flex: 1 1 320px; min-width: 0; }

/* Trous */
.bloc h2 { display: flex; gap: 10px; align-items: center; }
.trous { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.trous li { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--ligne); }
.trous li .btn { margin-left: auto; }

/* Lecteur de webtoon */
.lecteur-tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-end; max-width: 800px; margin: 0 auto 12px; }
.lecteur-tete h1 { margin: 0; }
.versions { display: flex; gap: 6px; }
.aide-lecture { max-width: 800px; margin: 0 auto 14px; display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; }
.lecteur { max-width: 800px; margin: 0 auto; background: #fff; }
.seg { position: relative; scroll-margin-top: 140px; }
.seg img { width: 100%; height: auto; display: block; }
.seg-com { background: var(--fond); }
.seg-com summary { list-style: none; cursor: pointer; display: flex; justify-content: flex-end; padding: 6px 10px; }
.seg-com summary::-webkit-details-marker { display: none; }
.pastille-case { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--ligne2); color: var(--muted); font-size: 13px; font-weight: 600; }
.pastille-case.active { background: var(--braise); border-color: var(--braise); color: #1a0e06; }
.seg-com[open] .pastille-case { border-color: var(--braise); color: var(--braise-clair); }
.seg-com[open] .pastille-case.active { color: #1a0e06; }
.seg-panneau { padding: 6px 16px 18px; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--ligne); }
.types { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.types legend { margin-bottom: 6px; }
.type-puce { flex-direction: row !important; }
.type-puce input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-puce span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--ligne2); font-size: 13px; font-weight: 600; color: var(--doux); cursor: pointer; }
.type-puce input:checked + span { background: var(--braise-fond); border-color: var(--braise); color: var(--braise-clair); }
.type-puce input:focus-visible + span { outline: 2px solid var(--braise); outline-offset: 2px; }
form.inline { display: inline; }

/* Membres, recherche */
.membres { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.membres li { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--ligne); }
.inline-form { flex-direction: row !important; flex-wrap: wrap; gap: 8px !important; margin-left: auto; align-items: center; }
.inline-form select { width: auto !important; padding: 8px 10px !important; }
.lien-copie { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 16px; }
.lien-copie label { flex: 1 1 300px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.lien-copie input { width: 100%; background: var(--fond); border: 1px solid var(--braise); border-radius: 10px; color: var(--texte); font: 14px ui-monospace, Consolas, monospace; padding: 11px 12px; }
.recherche-grande { flex-direction: row !important; gap: 10px; max-width: 720px; }
.recherche-grande input { flex: 1 1 auto; }
.note { background: var(--braise-fond); color: var(--braise-clair); padding: 10px 14px; border-radius: 10px; font-size: 14px; }

/* Téléphone */
@media (max-width: 760px) {
  .top-in { padding: 8px 14px; gap: 8px 12px; }
  .nav { order: 3; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px; padding: 0 14px 2px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .srch { flex: 1 1 140px; width: auto; }
  .page { padding: 20px 14px 64px; }
  .cote { max-width: none; }
  .hero-img { height: 280px; }
  .lecteur, .lecteur-tete, .aide-lecture { margin-left: -14px; margin-right: -14px; }
  .lecteur-tete, .aide-lecture { padding: 0 14px; }
  .frise-annee { min-width: 0; padding-top: 0; font-size: 22px; flex-basis: 100%; }
  .frise li::before { top: 6px; }
  .inline-form { margin-left: 0; }
  .recherche-grande { flex-direction: column !important; }
}
