/* nd-v4.css : feuille commune de la refonte v4 (direction Hobonichi). FICHIER GÉNÉRÉ par docs/apercu-home-v4/build.py
   à partir de docs/maquettes/home-hobonichi/v4/v4.css, docs/apercu-home-v4/apercu-plus.css et apercu-tete.css : ne pas retoucher ici.
   Tout est sous .h4-nd (en-tête et blocs v4) : sans effet sur le reste des pages. */
.h4-nd a{color:#23211d}
.h4-nd a:hover{color:#b3361f}
.h4-nd{container:nd / inline-size;box-sizing:border-box;background:#ffffff;color:#23211d;font-family:'Source Sans 3','Noto Sans JP',sans-serif;font-size:16px;line-height:1.55;position:relative;overflow:hidden}
.h4-nd *{box-sizing:border-box}
.h4-nd .h4-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.h4-nd .h4-titre{font-family:'Zen Maru Gothic','Noto Sans JP',sans-serif}
.h4-nd .h4-tape{font-family:'Courier Prime',monospace}
.h4-nd .h4-jpx{font-family:'Noto Sans JP',sans-serif}
.h4-nd .h4-nw{white-space:nowrap}
.h4-nd .h4-h1,.h4-nd .h4-h2,.h4-nd .h4-test-t,.h4-nd .h4-k-h,.h4-nd .h4-e-h{text-wrap:balance}
.h4-nd .h4-sous,.h4-nd .h4-desc,.h4-nd .h4-e-t,.h4-nd .h4-k-sous,.h4-nd .h4-f-obs,.h4-nd .h4-accroche,.h4-nd .h4-test-s,.h4-nd .h4-regles li,.h4-nd .h4-r-droite p,.h4-nd .h4-kj-mini-t{text-wrap:pretty}
.h4-nd .h4-pl-long{display:none}
.h4-nd .h4-top{display:flex;align-items:center;gap:10px;padding:10px 16px;border-bottom:1.5px solid #23211d}
.h4-nd .h4-logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:#23211d;flex:1;min-width:0}
.h4-nd .h4-hanko{flex:none;width:34px;height:34px;border-radius:6px;background:#d9442b;color:#ffffff;display:grid;place-items:center;font-family:'Noto Sans JP',sans-serif;font-weight:700;font-size:19px;transform:rotate(-6deg)}
.h4-nd .h4-logo b{font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:18px;line-height:1.1;display:block;white-space:nowrap}
.h4-nd .h4-logo small{display:none;font-size:12px;color:#5f5a52;letter-spacing:.18em}
.h4-nd .h4-nav{display:none}
.h4-nd .h4-date-top{display:none}
.h4-nd .h4-pill{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 14px;border:1.5px solid #23211d;border-radius:999px;background:#ffffff;color:#23211d;text-decoration:none;font-weight:700;font-size:15px;white-space:nowrap}
.h4-nd .h4-burger{flex:none;width:44px;height:44px;border:0;background:none;padding:0;display:grid;place-items:center;cursor:pointer}
.h4-nd .h4-date-tel{margin:0;padding:7px 16px;font-size:13px;color:#5f5a52;display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #ece7de}
.h4-nd .h4-date-tel b{color:#23211d;font-weight:600}
.h4-nd .h4-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;padding:22px 16px 10px}
.h4-nd .h4-coucou{margin:0 0 8px;font-size:16px;color:#b3361f}
.h4-nd .h4-h1{margin:0;font-weight:900;font-size:30px;line-height:1.22}
.h4-nd .h4-souligne{position:relative;white-space:nowrap}
.h4-nd .h4-souligne svg{position:absolute;left:-3px;bottom:-7px;width:calc(100% + 6px);height:14px}
.h4-nd .h4-sous{margin:14px 0 0;font-size:17px;color:#4a463f;max-width:34em}
.h4-nd .h4-metier{margin:10px 0 0;font-size:14px;color:#5f5a52}
.h4-nd .h4-metier b{color:#23211d;font-weight:600}
.h4-nd .h4-kj-mini{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:4px 14px;margin-top:18px;padding:12px 14px;border-radius:14px;background:#fff3c9;text-decoration:none;color:#23211d;position:relative}
.h4-nd .h4-kj-mini:hover{background:#ffeaa6;color:#23211d}
.h4-nd .h4-kj-mini-e{font-size:24px;letter-spacing:2px;line-height:1;white-space:nowrap}
.h4-nd .h4-kj-mini-tx{display:grid;line-height:1.35;gap:1px;min-width:0}
.h4-nd .h4-kj-mini-k{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#b3361f}
.h4-nd .h4-kj-mini-t{font-size:15px;font-weight:600}
.h4-nd .h4-kj-mini-h{font-size:13px;color:#5f5a52}
.h4-nd .h4-kj-mini-go{grid-column:2;font-weight:700;font-size:14px;color:#b3361f;white-space:nowrap}
.h4-nd .h4-scene{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.h4-nd .h4-photo{position:relative;margin:0 auto;width:74%;max-width:300px;transform:rotate(-1.5deg);box-shadow:0 10px 26px rgba(35,33,29,.18);border-radius:4px;background:#eeeeee}
.h4-nd .h4-photo img{display:block;width:100%;height:auto;border-radius:4px}
.h4-nd .h4-onglet{position:absolute;top:-10px;right:14px;background:#ffe680;color:#23211d;font-size:13px;font-weight:700;padding:3px 9px 5px;border-radius:3px 3px 0 0;transform:rotate(3deg);box-shadow:0 2px 0 rgba(35,33,29,.12)}
.h4-nd .h4-m{position:absolute;width:30px;height:30px;margin:-15px 0 0 -15px;padding:0;border:2px solid #ffffff;border-radius:50%;background:#d9442b;color:#ffffff;font:700 14px/1 'Source Sans 3',sans-serif;display:grid;place-items:center;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.25);transition:transform .2s}
.h4-nd .h4-m::after{content:'';position:absolute;inset:-8px;border-radius:50%}
.h4-nd .h4-m.h4-on{background:#23211d;transform:scale(1.18);box-shadow:0 0 0 4px rgba(217,68,43,.45)}
.h4-nd .h4-m1{left:73%;top:26.5%}
.h4-nd .h4-m2{left:50.4%;top:21%}
.h4-nd .h4-m3{left:33.5%;top:25.5%}
.h4-nd .h4-fiche{position:relative;margin:-40px 4px 0;background:#ffffff;border:1.5px solid #23211d;border-radius:14px;padding:12px 14px 14px;box-shadow:5px 6px 0 #f1ece2;display:grid;gap:6px}
.h4-nd .h4-f-aide{margin:0;font-size:13px;color:#b3361f}
.h4-nd .h4-f-nav{display:flex;gap:8px}
.h4-nd .h4-fn{width:40px;height:40px;border-radius:50%;border:1.5px solid #23211d;background:#ffffff;color:#23211d;font:700 15px/1 'Source Sans 3',sans-serif;cursor:pointer}
.h4-nd .h4-fn.h4-on{background:#d9442b;border-color:#d9442b;color:#ffffff}
.h4-nd .h4-f-qui{display:flex;align-items:center;gap:8px;font-size:13px;color:#5f5a52;margin-top:4px}
.h4-nd .h4-bn{width:22px;height:22px;border-radius:50%;background:#d9442b;color:#ffffff;font-weight:700;font-size:12px;display:grid;place-items:center;line-height:1;flex:none}
.h4-nd .h4-f-jp{margin:0;font-family:'Noto Sans JP',sans-serif;font-weight:700;font-size:19px;line-height:1.45}
.h4-nd .h4-f-rom{margin:-2px 0 0;font-size:14px;color:#5f5a52;font-style:italic}
.h4-nd .h4-f-vf{margin:2px 0 0;font-family:'Courier Prime',monospace;font-size:17px;font-weight:700;line-height:1.35}
.h4-nd .h4-ok{background:linear-gradient(transparent 55%,#ffe680 55%);padding:0 2px}
.h4-nd .h4-f-obs{margin:2px 0 0;font-size:15px;color:#3f3b35;line-height:1.45}
.h4-nd .h4-f-obs-k{color:#b3361f;font-size:14px}
.h4-nd .h4-f-explore{justify-self:start;margin-top:4px;font:inherit;font-size:15px;font-weight:700;color:#23211d;background:#ffffff;border:1.5px solid #23211d;border-radius:999px;padding:0 16px;min-height:44px;cursor:pointer;white-space:nowrap}
.h4-nd .h4-f-explore:hover{background:#23211d;color:#ffffff}
.h4-nd .h4-credit{margin:10px 0 0;font-size:12px;color:#6b665d}
.h4-nd .h4-raison{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;background:#fbf6ec;border-radius:18px;padding:18px 16px 20px;position:relative}
.h4-nd .h4-r-k{margin:0 0 8px;font-size:14px;color:#b3361f}
.h4-nd .h4-essais{display:grid;gap:4px;min-height:118px}
.h4-nd .h4-essai{margin:0;font-family:'Courier Prime',monospace;font-size:15px;line-height:1.35}
.h4-nd .h4-barre{color:#8a847a;text-decoration:line-through;text-decoration-color:#d9442b;text-decoration-thickness:2px}
.h4-nd .h4-caret{display:inline-block;width:2px;height:1.05em;background:#23211d;margin-left:2px;vertical-align:-3px;animation:clig 1s steps(1) infinite}
@keyframes clig{50%{opacity:0}}
.h4-nd .h4-r-gauche{position:relative}
.h4-nd .h4-sceau{position:relative;margin-top:10px;width:56px;height:56px;border-radius:8px;background:#d9442b;color:#ffffff;display:grid;place-items:center;font-family:'Noto Sans JP',sans-serif;font-weight:700;font-size:28px;transform:rotate(-9deg);line-height:1}
.h4-nd .h4-sceau small{display:block;font-family:'Source Sans 3',sans-serif;font-size:9px;letter-spacing:.06em;margin-top:-6px}
.h4-nd .h4-r-src{margin:10px 0 0;font-size:12px;color:#6b665d}
.h4-nd .h4-r-droite p{margin:0 0 10px;font-size:15px;color:#3f3b35}
.h4-nd .h4-r-actions{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;margin-top:4px}
.h4-nd .h4-r-plus{margin:10px 0 0 !important;font-size:13px !important;color:#5f5a52 !important}
.h4-nd .h4-revoir{font:inherit;font-size:14px;font-weight:600;color:#4a463f;background:#ffffff;border:1.5px solid #c9c2b6;border-radius:999px;padding:0 14px;min-height:40px;cursor:pointer;white-space:nowrap}
.h4-nd .h4-chemins{padding:30px 16px 6px}
.h4-nd .h4-ch-tete{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;margin:0 0 20px}
.h4-nd .h4-ch-titre{margin:0;font-size:16px;color:#4a463f}
.h4-nd .h4-annot{margin:0;font-size:14px;color:#b3361f;transform:rotate(-1deg)}
.h4-nd .h4-portes{display:grid;grid-template-columns:minmax(0,1fr);gap:34px}
.h4-nd .h4-porte{display:grid;grid-template-columns:44px minmax(0,1fr);gap:0 12px}
.h4-nd .h4-num{font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:44px;line-height:.9;color:#d9442b}
.h4-nd .h4-p-dojo .h4-num{color:#b8860b}
.h4-nd .h4-p-corps{display:flex;flex-direction:column;gap:8px;min-width:0}
.h4-nd .h4-p-haut{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.h4-nd .h4-kick{font-size:12px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#b3361f}
.h4-nd .h4-p-dojo .h4-kick{color:#7d5900}
.h4-nd .h4-h2{margin:2px 0 0;font-weight:900;font-size:25px;line-height:1.2}
.h4-nd .h4-vis{flex:none;width:84px}
.h4-nd .h4-accroche{margin:0;font-weight:700;font-size:17px;line-height:1.4}
.h4-nd .h4-desc{margin:0;font-size:15px;color:#4a463f}
.h4-nd .h4-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin-top:4px}
.h4-nd .h4-go{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:999px;background:#23211d;color:#ffffff;text-decoration:none;font-weight:700;font-size:15px;white-space:nowrap}
.h4-nd .h4-go:hover{background:#b3361f;color:#ffffff}
.h4-nd .h4-go-or{background:#b8860b}
.h4-nd .h4-go-or:hover{background:#8a6300}
.h4-nd .h4-sec{display:inline-flex;align-items:center;min-height:44px;font-weight:700;font-size:15px;color:#b3361f;text-decoration:none;white-space:nowrap}
.h4-nd .h4-sec:hover{text-decoration:underline}
.h4-nd .h4-p-bas{margin-top:8px;display:grid;gap:2px}
.h4-nd .h4-p-bas-k{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#5f5a52;margin-bottom:2px}
.h4-nd .h4-classe{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid #ece7de;text-decoration:none;color:#23211d;min-height:48px}
.h4-nd .h4-niv{flex:none;font-weight:700;font-size:12px;padding:2px 7px;border-radius:5px;color:#1a1a2e}
.h4-nd .h4-classe-tx{flex:1;min-width:0;line-height:1.3;font-size:14px;color:#4a463f}
.h4-nd .h4-classe-tx b{display:block;font-weight:700;color:#23211d}
.h4-nd .h4-zab{flex:none;display:flex;gap:3px}
.h4-nd .h4-zab i{width:11px;height:11px;border-radius:3px;border:1.5px solid #23211d}
.h4-nd .h4-zab i.h4-on{background:#d9442b;border-color:#d9442b}
.h4-nd .h4-liste{margin:0;padding:0;list-style:none;display:grid}
.h4-nd .h4-liste li{display:flex;gap:10px;align-items:baseline;padding:8px 0;border-top:1px solid #ece7de;font-size:14.5px;color:#4a463f}
.h4-nd .h4-liste li::before{content:'';flex:none;width:9px;height:9px;border-radius:50%;background:#b8860b;transform:translateY(-1px)}
.h4-nd .h4-liste b{color:#23211d}
.h4-nd .h4-test{margin-top:30px;background:#e9f5f7;padding:22px 16px;display:grid;grid-template-columns:56px minmax(0,1fr);gap:4px 14px;align-items:center}
.h4-nd .h4-test-t{margin:0;font-weight:900;font-size:21px;line-height:1.25}
.h4-nd .h4-test-s{grid-column:1 / -1;margin:4px 0 0;font-size:15px;color:#3f4a4c}
.h4-nd .h4-test .h4-pill{grid-column:1 / -1;justify-self:start;margin-top:8px}
.h4-nd .h4-jour{background:#fbf5ea;padding:30px 16px 40px}
.h4-nd .h4-jour-titre{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:0 0 16px}
.h4-nd .h4-jour-titre h2{margin:0;font-weight:900;font-size:23px}
.h4-nd .h4-jour-titre .h4-d{font-size:14px;color:#5f5a52}
.h4-nd .h4-atelier{flex-basis:100%;margin:0;font-size:14px;color:#b3361f}
.h4-nd .h4-jour-grille{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.h4-nd .h4-kagi{background:#ffffff;border-radius:22px;padding:20px 18px;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:12px;box-shadow:0 1px 0 #efe6d4}
.h4-nd .h4-k-tete{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px}
.h4-nd .h4-k-k{font-size:12px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#b3361f}
.h4-nd .h4-k-heure{font-size:13px;color:#5f5a52}
.h4-nd .h4-k-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.h4-nd .h4-k-gauche,.h4-nd .h4-k-droite{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;align-content:start}
.h4-nd .h4-k-h{margin:0;font-weight:900;font-size:21px;line-height:1.3}
.h4-nd .h4-k-sous{margin:0;font-size:14.5px;color:#4a463f}
.h4-nd .h4-emogi{display:flex;gap:12px;margin:8px 0 0}
.h4-nd .h4-em{position:relative;width:70px;height:70px;border-radius:12px;background:#fff9ec;border:1.5px solid #23211d;display:grid;place-items:center;font-size:36px}
.h4-nd .h4-em:nth-child(1){transform:rotate(-3deg)}
.h4-nd .h4-em:nth-child(2){transform:rotate(2deg)}
.h4-nd .h4-em:nth-child(3){transform:rotate(-1deg);background:#fdf0ea}
.h4-nd .h4-em-n{position:absolute;top:-9px;left:-8px;width:22px;height:22px;border-radius:50%;background:#23211d;color:#ffffff;font-size:12px;font-weight:700;display:grid;place-items:center;line-height:1}
.h4-nd .h4-emogi-p .h4-em{width:52px;height:52px;font-size:26px}
.h4-nd .h4-indice{margin:0;font-size:15px}
.h4-nd .h4-devine{display:flex;gap:8px}
.h4-nd .h4-devine input{flex:1;min-width:0;font:inherit;font-size:16px;height:48px;padding:0 12px;border-radius:12px;border:1.5px solid #23211d;background:#ffffff;color:#23211d}
.h4-nd .h4-devine button{flex:none;font:inherit;font-weight:700;font-size:15px;height:48px;padding:0 16px;border-radius:12px;border:1.5px solid #23211d;background:#f1c94a;color:#23211d;cursor:pointer;white-space:nowrap}
.h4-nd .h4-note-rep{margin:0;font-size:14px;color:#b3361f}
.h4-nd .h4-regle-btn{font:inherit;font-size:14px;font-weight:700;color:#b3361f;background:none;border:0;padding:0;min-height:40px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;justify-self:start}
.h4-nd .h4-regles{margin:0;padding-left:18px;font-size:14px;color:#4a463f;display:grid;gap:4px}
.h4-nd .h4-k-mot{display:grid;gap:0}
.h4-nd .h4-k-kana{font-size:34px;font-weight:700;line-height:1.2}
.h4-nd .h4-k-kanji{font-size:18px;color:#4a463f}
.h4-nd .h4-k-sens{font-size:16px;font-weight:600}
.h4-nd .h4-k-histoire{margin:0;font-size:15px;color:#3f3b35;padding:10px 12px;border-radius:10px;background:#fbf6ec;border:1px dashed #d8cdb6}
.h4-nd .h4-k-vote{display:grid;gap:4px}
.h4-nd .h4-k-q{font-size:14px;font-weight:600}
.h4-nd .h4-etoiles{display:flex;gap:4px}
.h4-nd .h4-etoiles button{width:44px;height:44px;border:0;background:none;font-size:28px;line-height:1;color:#b8860b;cursor:pointer;padding:0}
.h4-nd .h4-k-fin{margin:0;font-size:14px;color:#5f5a52}
.h4-nd .h4-cote{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-content:start}
.h4-nd .h4-dtt{display:grid;gap:6px;padding:4px 2px}
.h4-nd .h4-e-k{font-size:12px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#5f5a52}
.h4-nd .h4-e-h{margin:0;font-weight:900;font-size:21px;line-height:1.25}
.h4-nd .h4-e-t{margin:0;font-size:15px;color:#4a463f}
.h4-nd .h4-cas{margin:2px 0 0;padding:0;list-style:none;display:grid}
.h4-nd .h4-cas li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 0;border-top:1px solid #eadfca;font-size:15px}
.h4-nd .h4-chip-s{flex:none;font-size:12px;font-weight:700;padding:1px 7px;border-radius:5px}
.h4-nd .h4-e-lien{font-weight:700;font-size:15px;color:#b3361f;text-decoration:none;white-space:nowrap;min-height:40px;display:inline-flex;align-items:center}
.h4-nd .h4-jojo{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 14px;align-items:center;background:#f3edf9;border-radius:18px;padding:14px 16px;text-decoration:none;color:#23211d}
.h4-nd .h4-jojo:hover{background:#ebe1f6;color:#23211d}
.h4-nd .h4-go-go{grid-row:1 / span 3;font-weight:700;font-size:38px;line-height:1;color:#6a3590;letter-spacing:-.08em;transform:skewX(-10deg)}
.h4-nd .h4-jj-k{font-size:12px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#6a3590}
.h4-nd .h4-jj-t{font-size:15px;font-weight:700}
.h4-nd .h4-jj-s{font-size:14px;color:#4a463f}
.h4-nd .h4-eva{margin-top:24px;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;background:#ffffff;border-radius:22px;padding:18px 16px 20px;box-shadow:0 1px 0 #efe6d4}
.h4-nd .h4-eva-photo{margin:0}
.h4-nd .h4-eva-photo img{display:block;width:100%;height:auto;border-radius:12px}
.h4-nd .h4-eva-photo figcaption{margin-top:8px;font-size:14px;color:#b3361f}
.h4-nd .h4-eva-g{display:grid;gap:14px;min-width:0;align-content:start}
.h4-nd .h4-eva-corps{display:grid;gap:10px;min-width:0;align-content:start}
.h4-nd .h4-eva-outil{display:grid;gap:8px;min-width:0;align-content:start}
.h4-nd .h4-chips{display:flex;flex-wrap:wrap;gap:6px}
.h4-nd .h4-chip{font-size:13px;font-weight:600;padding:3px 9px;border-radius:999px}
.h4-nd .h4-chip b{font-weight:700}
.h4-nd .h4-chips-l{margin:-2px 0 0;font-size:13px;color:#5f5a52}
.h4-nd .h4-cmp{position:relative;border-radius:10px;overflow:hidden;border:1.5px solid #23211d;aspect-ratio:480 / 420;background:#ffffff}
.h4-nd .h4-cmp img{position:absolute;inset:0;width:100%;height:100%;display:block}
.h4-nd .h4-cmp-ligne{position:absolute;top:0;bottom:0;width:3px;margin-left:-1.5px;background:#d9442b}
.h4-nd .h4-cmp-vo-l,.h4-nd .h4-cmp-vf-l{position:absolute;top:8px;font-size:12px;font-weight:700;padding:2px 8px;border-radius:999px;background:#23211d;color:#ffffff}
.h4-nd .h4-cmp-vo-l{left:8px}
.h4-nd .h4-cmp-vf-l{right:8px;background:#d9442b}
.h4-nd .h4-cmp-lab{font-size:13px;color:#5f5a52}
.h4-nd .h4-cmp-r{width:100%;accent-color:#d9442b;height:32px;margin:0}
.h4-nd .h4-eva .h4-go{justify-self:start}
@container nd (max-width: 360px){.h4-nd .h4-logo b{font-size:16px}
.h4-nd .h4-hanko{width:30px;height:30px;font-size:17px}
.h4-nd .h4-h1{font-size:27px}
.h4-nd .h4-essai{font-size:13.5px}
.h4-nd .h4-f-vf{font-size:15.5px}
.h4-nd .h4-kj-mini-e{font-size:20px}
.h4-nd .h4-fn{width:36px;height:36px}}
@container nd (min-width: 900px){.h4-nd .h4-top{gap:30px;padding:18px 56px}
.h4-nd .h4-logo{flex:none}
.h4-nd .h4-logo small{display:block}
.h4-nd .h4-pl-long{display:inline}
.h4-nd .h4-pl-court{display:none}
.h4-nd .h4-hanko{width:40px;height:40px;font-size:22px}
.h4-nd .h4-logo b{font-size:20px}
.h4-nd .h4-nav{display:flex;gap:26px;flex:1}
.h4-nd .h4-nav a{text-decoration:none;font-weight:600;font-size:15.5px}
.h4-nd .h4-nav a:hover{color:#b3361f}
.h4-nd .h4-date-top{display:block;margin:0;font-size:13px;color:#5f5a52;text-align:right;line-height:1.3}
.h4-nd .h4-date-top b{display:block;color:#23211d;font-weight:600;font-size:14px}
.h4-nd .h4-burger,.h4-nd .h4-date-tel{display:none}
.h4-nd .h4-hero{grid-template-columns:minmax(0,4.6fr) minmax(0,6.4fr);gap:20px 44px;padding:48px 56px 28px;align-items:center}
.h4-nd .h4-coucou{font-size:18px}
.h4-nd .h4-h1{font-size:44px;line-height:1.16}
.h4-nd .h4-souligne svg{bottom:-8px;height:16px}
.h4-nd .h4-sous{font-size:19px;margin-top:20px}
.h4-nd .h4-metier{font-size:15px}
.h4-nd .h4-kj-mini{margin-top:24px;grid-template-columns:auto minmax(0,1fr) auto}
.h4-nd .h4-kj-mini-go{grid-column:3;grid-row:1}
.h4-nd .h4-scene{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:end}
.h4-nd .h4-photo{width:100%;max-width:none;margin:0;grid-column:1;grid-row:1}
.h4-nd .h4-fiche{grid-column:2;grid-row:1;margin:0 0 26px -34px;z-index:1;padding:16px 18px 18px}
.h4-nd .h4-credit{grid-column:1 / -1}
.h4-nd .h4-raison{grid-column:1 / -1;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px;padding:24px 28px}
.h4-nd .h4-essai{font-size:16px}
.h4-nd .h4-chemins{padding:44px 56px 0}
.h4-nd .h4-ch-titre{font-size:17px}
.h4-nd .h4-annot{font-size:15px}
.h4-nd .h4-portes{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.h4-nd .h4-porte{grid-template-columns:56px minmax(0,1fr);padding:6px 40px 30px 0}
.h4-nd .h4-p-dojo{padding:6px 0 30px 40px;border-left:1.5px dashed #c9c2b6}
.h4-nd .h4-num{font-size:58px}
.h4-nd .h4-h2{font-size:31px}
.h4-nd .h4-vis{width:120px}
.h4-nd .h4-accroche{font-size:19px}
.h4-nd .h4-classe-tx b{display:inline;margin-right:8px}
.h4-nd .h4-test{margin-top:0;padding:26px 56px;grid-template-columns:64px minmax(0,1fr) auto;gap:0 22px}
.h4-nd .h4-test-t{font-size:26px}
.h4-nd .h4-test-s{grid-column:2;grid-row:2;margin:2px 0 0;font-size:16px}
.h4-nd .h4-test .h4-pill{grid-column:3;grid-row:1 / span 2;margin:0;justify-self:end;min-height:48px;padding:0 22px;font-size:16px}
.h4-nd .h4-test svg{grid-row:1 / span 2}
.h4-nd .h4-jour{padding:48px 56px 64px}
.h4-nd .h4-jour-titre{gap:4px 18px;margin-bottom:22px}
.h4-nd .h4-jour-titre h2{font-size:27px}
.h4-nd .h4-atelier{flex-basis:auto;margin-left:auto}
.h4-nd .h4-jour-grille{grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:36px}
.h4-nd .h4-kagi{padding:26px 30px}
.h4-nd .h4-k-cols{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
.h4-nd .h4-k-h{font-size:25px}
.h4-nd .h4-em{width:84px;height:84px;font-size:44px}
.h4-nd .h4-emogi-p .h4-em{width:60px;height:60px;font-size:30px}
.h4-nd .h4-k-kana{font-size:44px}
.h4-nd .h4-eva{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:34px;padding:26px 30px 28px;align-items:start}
.h4-nd .h4-eva-h{font-size:26px}}
.h4-nd-tete{overflow:visible;position:sticky;top:0;z-index:1000;background:#ffffff}
.h4-nd-haut,.h4-nd-bas{overflow:visible}
.h4-nd section,.h4-nd header,.h4-nd nav,.h4-nd article{padding:0;margin:0;max-width:none;border-radius:0;box-shadow:none;background:transparent}
.h4-nd h1,.h4-nd h2,.h4-nd h3,.h4-nd p,.h4-nd ul,.h4-nd li,.h4-nd figure,.h4-nd label{letter-spacing:normal;text-transform:none;max-width:none;text-align:left}
.h4-nd li{list-style:none}
.h4-nd [hidden]{display:none!important}
.h4-nd img{max-width:100%;transform:none}
.h4-nd img:hover{transform:none;box-shadow:none}
.h4-nd .h4-top{max-width:none;margin:0;justify-content:flex-start;background:#ffffff;position:relative}
.h4-nd .h4-logo{order:0}
.h4-nd .h4-logo-t{display:grid;line-height:1.1}
.h4-nd .h4-nav{order:1}
.h4-nd .h4-date-top{order:2}
.h4-nd .h4-pill-tel{order:5;flex:none;min-height:40px;padding:0 12px;gap:6px;font-size:14px}
.h4-nd .h4-cta-ordi{order:6;display:none}
.h4-nd .h4-burger{order:7}
.h4-nd .h4-nav-i{display:inline-flex;align-items:center;gap:5px;min-height:44px;text-decoration:none;font-weight:600;font-size:15px;color:#23211d;white-space:nowrap}
.h4-nd .h4-nav-i:hover{color:#b3361f}
.h4-nd .h4-chev{transition:transform .2s}
.h4-nd .h4-nav-g{position:relative;display:inline-flex}
.h4-nd .h4-smenu{display:none;position:absolute;top:100%;left:-14px;z-index:60;min-width:250px;margin:0;padding:6px;background:#ffffff;border:1.5px solid #23211d;border-radius:12px;box-shadow:5px 6px 0 #f1ece2}
.h4-nd .h4-smenu a{display:flex;align-items:center;min-height:42px;padding:0 12px;border-radius:8px;text-decoration:none;font-size:15px;font-weight:600;color:#23211d;white-space:nowrap}
.h4-nd .h4-smenu a:hover{background:#fbf6ec;color:#b3361f}
.h4-nd .h4-nav-g:hover>.h4-smenu,.h4-nd .h4-nav-g:focus-within>.h4-smenu,.h4-nd .h4-nav-g.h4-ouvert>.h4-smenu{display:grid}
.h4-nd .h4-nav-g:hover .h4-chev,.h4-nd .h4-nav-g.h4-ouvert .h4-chev{transform:rotate(180deg)}
.h4-nd .h4-gratuit{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:1px 6px;border-radius:999px;background:#e9f5f7;color:#0d6170}
.h4-nd .h4-panneau{border-bottom:1.5px solid #23211d;background:#ffffff;max-height:calc(100vh - 64px);overflow-y:auto}
.h4-nd .h4-panneau[hidden]{display:none}
.h4-nd .h4-panneau>ul{margin:0;padding:6px 16px 14px;display:grid}
.h4-nd .h4-panneau li{border-top:1px solid #ece7de}
.h4-nd .h4-panneau li li{border-top:0}
.h4-nd .h4-panneau a{display:flex;align-items:center;gap:8px;min-height:46px;text-decoration:none;font-weight:600;font-size:16px;color:#23211d}
.h4-nd .h4-panneau ul ul{margin:0 0 6px;padding:0 0 0 14px;display:grid}
.h4-nd .h4-panneau ul ul a{min-height:42px;font-weight:400;font-size:15.5px}
.h4-nd .h4-pn-k{display:block;padding:12px 0 2px;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#5f5a52}
.h4-nd .h4-vers-offres{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;font-weight:700;font-size:15px;color:#b3361f;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.h4-nd .h4-annot a{color:inherit;text-decoration:none}
.h4-nd .h4-annot a:hover{text-decoration:underline}
.h4-nd .h4-kagi-reel{grid-template-columns:minmax(0,1fr)}
.h4-nd .h4-kr-texte{display:grid;gap:8px;min-width:0;align-content:start}
.h4-nd .h4-kr-outil{min-width:0}
.h4-nd .h4-kj-mini[hidden]{display:none}
.h4-nd .h4-kj-mini-t b{font-weight:700}
.h4-nd .h4-jj-t{min-width:0}
.h4-nd .h4-jour-grille>*{min-width:0}
@container nd (max-width: 360px){.h4-nd .h4-logo-t{display:none}
.h4-nd .h4-top{gap:8px;padding:10px 12px}
.h4-nd .h4-p-haut{flex-direction:column-reverse;align-items:flex-start;gap:6px}
.h4-nd .h4-vis{width:64px}
.h4-nd .h4-h2{font-size:24px}
.h4-nd .h4-porte{grid-template-columns:34px minmax(0,1fr);gap:0 8px}
.h4-nd .h4-num{font-size:38px}
.h4-nd .h4-chemins{padding-left:14px;padding-right:14px}
.h4-nd .h4-pill-tel{padding:0 10px}}
@container nd (min-width: 361px) and (max-width: 520px){.h4-nd .h4-logo b{font-size:15px;white-space:normal;max-width:4.6em}
.h4-nd .h4-top{gap:8px}}
@container nd (min-width: 900px){.h4-nd .h4-vers-offres{display:none}
.h4-nd .h4-pill-tel{display:none}
.h4-nd .h4-cta-ordi{display:inline-flex}
.h4-nd .h4-nav{gap:22px;align-items:center}
.h4-nd .h4-top{gap:22px;padding:14px 40px}
.h4-nd .h4-kagi-reel{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;gap:26px}}
@container nd (min-width: 1180px){.h4-nd .h4-panneau{display:none}}
@container nd (max-width: 1439px){.h4-nd .h4-date-top{display:none}}
@container nd (min-width: 900px) and (max-width: 1179px){.h4-nd .h4-nav{display:none}
.h4-nd .h4-burger{display:grid;order:7}
.h4-nd .h4-logo{flex:1}
.h4-nd .h4-top{gap:14px;padding:12px 24px}}
@container nd (min-width: 1180px) and (max-width: 1240px){.h4-nd .h4-nav{gap:14px}
.h4-nd .h4-top{gap:14px;padding:12px 20px}
.h4-nd .h4-nav-i{font-size:14.5px}}
@container nd (min-width: 1241px) and (max-width: 1439px){.h4-nd .h4-top{padding:14px 32px;gap:18px}
.h4-nd .h4-nav{gap:18px}}
@container nd (min-width: 1440px){.h4-nd .h4-top{padding:14px 56px}}
.h4-nd .h4-f-cache{display:grid;gap:8px}
.h4-nd .h4-f-vf-cache{filter:blur(5px);opacity:.8;user-select:none;-webkit-user-select:none;pointer-events:none}
.h4-nd .h4-f-defi{margin:2px 0 0;font-size:15.5px;font-weight:700;line-height:1.35;color:#23211d}
.h4-nd .h4-f-defi-act{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px}
.h4-nd .h4-f-sans{font:inherit;font-size:14px;font-weight:600;color:#5f5a52;background:none;border:0;padding:0;min-height:44px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.h4-nd .h4-f-sans:hover{color:#23211d}
.h4-nd .h4-f-vf:focus{outline:none}
.h4-nd .h4-f-vf:focus-visible{outline:2px solid #d9442b;outline-offset:3px;border-radius:4px}
.h4-nd .h4-f-revele{animation:h4vf .6s ease-out}
@keyframes h4vf{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){.h4-nd .h4-f-revele{animation:none}}
.h4-nd .h4-decouv{margin:2px 0 0;font-size:15px;line-height:1.4}
.h4-nd .h4-decouv a{color:#0d6170;font-weight:700;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.h4-nd .h4-decouv a:hover{color:#23211d}
.h4-nd .h4-aussi{display:grid;gap:2px;background:#ffffff;border-radius:18px;padding:16px 18px;box-shadow:0 1px 0 #efe6d4}
.h4-nd .h4-aussi-k{font-size:12px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#b3361f;margin-bottom:4px}
.h4-nd .h4-aussi a{display:flex;align-items:center;min-height:44px;border-top:1px solid #ece7de;font-weight:700;font-size:16px;color:#23211d;text-decoration:none}
.h4-nd .h4-aussi a:hover{color:#b3361f}
.h4-nd .h4-ast{color:#b3361f;text-decoration:none;font-weight:700;padding:0 2px}
.h4-nd .h4-k-note{margin:4px 0 0;font-size:13.5px;line-height:1.45;color:#5f5a52}
.h4-nd .h4-k-note:target{background:#fff3c9;border-radius:6px}
.h4-nd .h4-test-act{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 16px}
.h4-nd .h4-test-cpt{margin:0;font-size:14.5px;font-weight:600;color:#4a463f;font-variant-numeric:tabular-nums}
.h4-nd .h4-test-act{grid-column:1 / -1;justify-content:flex-start;margin-top:8px}
.h4-nd .h4-test-act .h4-pill{margin:0}
@container nd (min-width: 900px){.h4-nd .h4-test-act{grid-column:3;grid-row:1 / span 2;flex-direction:column;align-items:flex-end;gap:6px;margin:0}
.h4-nd .h4-test-act .h4-pill{min-height:48px;padding:0 22px;font-size:16px}}
.h4-nd .h4-une{display:flex;gap:14px;align-items:flex-start;background:#fff9ec;border:1.5px solid #23211d;border-radius:18px;padding:14px 18px;text-decoration:none;color:#23211d;box-shadow:3px 3px 0 #d9442b}
.h4-nd .h4-une[hidden]{display:none}
.h4-nd .h4-une:hover{color:#23211d;background:#fff4da}
.h4-nd .h4-une-k{font-size:12px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:#b3361f}
.h4-nd .h4-une-t{font-family:'Zen Maru Gothic',sans-serif;font-weight:700;font-size:18px;line-height:1.3}
.h4-nd .h4-une-s{font-size:15px;line-height:1.45;color:#3d3a34}
.h4-nd .h4-une-go{font-weight:700;font-size:15px;color:#b3361f;margin-top:2px}
.h4-nd .h4-une-go:empty{display:none}
.h4-nd .h4-une-tx{display:grid;gap:4px;min-width:0;flex:1}
.h4-nd .h4-une-img{flex:none;width:90px;height:auto;border-radius:6px;border:1.5px solid #23211d;background:#fff}
.h4-nd .h4-une-img[hidden]{display:none}
/* En-tête v4 commun à toutes les pages : habillage des éléments du site qui s'y insèrent (pastille du compte de nd-entree.js,
   « Tester mon niveau » avec le cadran, signal du test en direct, « En direct »). Non préfixé ; recopié dans /nd-v4.css par build.py. */
/* pastille du compte (nd-entree.js) : même forme, à l'encre de la maquette */
.h4-nd .h4-top>.nd-entree{order:4;margin-left:0!important;flex-shrink:1;min-width:4.5em;max-width:220px;padding:0 13px;min-height:40px;display:inline-flex;align-items:center;border:1.5px solid #23211d;border-radius:999px;color:#23211d;background:#ffffff;font-family:'Source Sans 3',sans-serif;font-size:14.5px;font-weight:600;line-height:1.2}
.h4-nd .h4-top>.nd-entree:hover{background:#23211d;color:#ffffff}
.h4-nd .h4-top>.nd-entree.nd-entree-in{background:#fbf6ec;border-color:#c9c2b6}
.h4-nd .h4-top>.nd-entree:not(.nd-entree-in){min-width:max-content}
@container nd (max-width: 899px){
  .h4-nd .h4-top>.nd-entree{order:6;font-size:14px!important;padding:0 11px!important;max-width:calc(100vw - 210px)}
  .h4-nd .h4-top>.h4-logo{flex:1}
}
@container nd (max-width: 360px){
  .h4-nd .h4-top>.nd-entree{font-size:13px!important;padding:0 9px!important;max-width:calc(100vw - 190px)}
}

/* « Tester mon niveau » : le bouton de la maquette, avec le cadran (nd-entree.js) et le signal du test en direct (script de la home) */
.h4-nd .h4-top .nd-cta-cours{border-radius:999px;border:1.5px solid #23211d;background:#ffffff;color:#23211d;box-shadow:none;padding:0 16px;min-height:44px;font-family:'Source Sans 3',sans-serif;font-size:15px;font-weight:700;gap:8px}
.h4-nd .h4-top .nd-cta-cours:hover{transform:none;box-shadow:none;background:#fbf6ec}
.h4-nd .h4-top .nd-mobile-test-cta{margin:0;box-shadow:none;border:1.5px solid #23211d;color:#23211d}
.h4-nd .h4-top .nd-live-chip{order:4;margin:0;width:40px;height:40px;border-color:#23211d}
.h4-nd .h4-top .nd-live-chip:not(.is-on){display:none}
@container nd (min-width: 900px){ .h4-nd .h4-top .nd-live-chip{display:none!important} .h4-nd .h4-top .nd-mobile-test-cta{display:none!important} }
@container nd (max-width: 899px){ .h4-nd .h4-top .nd-mobile-test-cta{display:inline-flex!important} }

/* « En direct » (signal de la caméra, script de la home) dans le menu */
.h4-nd .h4-nav .nd-cta-live{font-size:15px;font-weight:600;color:#23211d;gap:7px}
.h4-nd .h4-nav .nd-cta-live:hover{color:#b3361f}

/* ---------- en-tête : même niveau que l'ancien menu fixe (z-index 100), pour que les fenêtres des outils passent devant ---------- */
.h4-nd-tete{z-index:100!important}

/* ---------- pages autres que l'accueil : en-tête fixé en haut, comme l'ancien menu (les pages gardent leur marge du haut,
   et celles qui mesurent « .nd-nav » pour se caler dessous le trouvent : classe gardée sur l'en-tête) ---------- */
.h4-nd-tete.nd-tete-fixe{position:fixed!important;top:0;left:0;right:0;width:100%;margin:0;padding-top:env(safe-area-inset-top);border:0;border-radius:0;backdrop-filter:none;-webkit-backdrop-filter:none;transition:top .2s}
/* les règles générales des pages (nav{position:fixed}, header{…}, ul{…}, a{…}, button{…}) ne doivent pas atteindre l'en-tête */
.h4-nd-tete nav,.h4-nd-tete header{position:static;top:auto;left:auto;right:auto;width:auto;height:auto;z-index:auto;transform:none;backdrop-filter:none;-webkit-backdrop-filter:none;min-height:0}
.h4-nd-tete .h4-top{position:relative;width:auto;max-width:none}
.h4-nd-tete .h4-panneau{position:relative}
.h4-nd-tete ul{list-style:none}
.h4-nd-tete li{margin:0;padding:0;list-style:none}
.h4-nd-tete button{text-transform:none;letter-spacing:normal;box-shadow:none}
.h4-nd-tete a{text-transform:none;letter-spacing:normal}
/* marge de sécurité : entre 1180 et 1240 px, le menu se resserre (il débordait de 8 px sur l'accueil à 1180 px) ;
   et l'en-tête ne crée jamais de défilement horizontal, même avant l'arrivée des polices */
@container nd (min-width: 1180px) and (max-width: 1240px){ .h4-nd .h4-nav{gap:10px} }
.h4-nd .h4-top{overflow-x:clip}

/* page du test : ses compteurs (👥 tests passés, 🧭 boussole, あア quiz kana, remplis par la page) et 稽古中 restent dans l'en-tête */
.h4-nd .h4-top>.nd-tete-stats{order:3;display:none;align-items:center;min-width:0;font-size:13px;line-height:1.25;color:#5f5a52}
.h4-nd .h4-top>.nd-tete-stats a{color:inherit!important;text-decoration:none}
@container nd (min-width: 1240px){ .h4-nd .h4-top>.nd-tete-stats{display:inline-flex;font-size:12.5px;white-space:nowrap} .h4-nd .h4-top:has(>.nd-tete-stats)>.h4-date-top{display:none} }
.h4-nd .h4-panneau .nd-tete-stats-tel{padding:10px 0;font-size:14px;color:#5f5a52}
.h4-nd .h4-panneau .nd-tete-stats-tel a{min-height:0;font-weight:400;display:inline}
.h4-nd .h4-top>.kc-btn{order:5;flex:none}
/* une page qui empile ses <header> en colonne sur téléphone (dico-manga.html) ne doit pas atteindre l'en-tête commun */
.h4-nd-tete .h4-top{flex-direction:row;flex-wrap:nowrap;align-items:center;text-align:left}

/* Mini métro des mots (nd-mini-metro.js, 4/11/2026) : à la place du Dōjō en direct, pour l'élève qui a un parcours */
.mm-mini{flex:none;display:inline-flex;text-decoration:none;align-items:center;gap:7px;margin:0 8px 0 0;padding:5px 11px 5px 6px;border:1.5px solid #23211d;border-radius:999px;background:#fff;color:#23211d;font:600 .86rem/1.15 'Source Sans 3',system-ui,sans-serif;cursor:pointer;white-space:nowrap;font-variant-numeric:tabular-nums;transition:background .2s,border-color .2s,box-shadow .2s}
.mm-mini[hidden]{display:none}
.mm-mini:hover,.mm-mini[aria-expanded=true]{box-shadow:0 0 0 3px rgba(184,134,11,.22);border-color:#b8860b;color:#23211d}
.mm-mini:focus-visible{outline:2px solid #b8860b;outline-offset:2px}
.mm-mini b{font-weight:700}
.mm-lg{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:22px;padding:0 5px;border-radius:999px;border:2.5px solid var(--c);background:#fff;color:#23211d;font:700 .72rem 'Source Sans 3',sans-serif;box-sizing:border-box}
.mm-lg[style*="ffff00"]{border-color:#e4d900;box-shadow:inset 0 0 0 1px rgba(0,0,0,.25)}
.h4-nd .h4-top>.mm-mini{order:3}
.mm-p2{border-color:#d6d2ca;padding:5px 11px 5px 8px}
.mm-p2 .mm-rame{transition:x 1.2s ease}
.mm-p3{padding:0;border:0;background:none;border-radius:8px}
.mm-p3:hover .mm-ecran,.mm-p3[aria-expanded=true] .mm-ecran{box-shadow:inset 0 0 0 2px var(--n),0 0 0 3px rgba(184,134,11,.25)}
.mm-p3:hover{box-shadow:none}
.mm-ecran{--n:#4fb3bf;--n-fond:#e3f4f6;--n-txt:#155d66;display:inline-flex;align-items:center;gap:7px;padding:5px 10px 5px 6px;border-radius:8px;background:var(--n-fond);color:var(--n-txt);box-shadow:inset 0 0 0 2px var(--n)}
.mm-ecran.mm-n-maitrise{--n:#2f5fd0;--n-fond:#e6ecfb;--n-txt:#1f3f8f}
.mm-ecran .mm-lg{background:#fff}
.mm-k{font:700 .8rem 'Noto Sans JP',sans-serif;color:var(--n-txt)}
.mm-led{font:700 .95rem 'Courier Prime',ui-monospace,monospace;color:var(--n-txt);letter-spacing:.04em}
.mm-led .mm-o2{font:600 .8rem 'Source Sans 3',sans-serif;letter-spacing:0}
@media (max-width:700px){
  .mm-mini{margin:0 4px 0 0;padding:4px 8px 4px 4px;gap:5px;font-size:.8rem}
  /* l'élève qui a un parcours a déjà passé le test : sur téléphone, le mini métro prend la place de la pastille « Test » */
  .h4-nd .h4-top.mm-avec>.h4-pill-tel,.h4-nd .h4-top.mm-avec>.nd-entree-test{display:none!important}
  .h4-nd .h4-top>.mm-mini{order:5}
  .mm-p2 .mm-svg{width:46px}
  .mm-p3 .mm-ecran{padding:4px 7px 4px 4px;gap:5px}.mm-p3 .mm-k{display:none}.mm-led{font-size:.82rem}
}
@media (max-width:360px){.mm-p3 .mm-lg{display:none}}
@media (min-width:701px) and (max-width:1360px){
  .mm-p3 .mm-k{display:none}
  .mm-p2 .mm-svg{width:38px}
  .mm-p2{padding-right:9px;gap:5px}
  .mm-p3.mm-quai .mm-lg{display:none}
}
.mm-grand{position:fixed;z-index:1200;background:#fff;color:#23211d;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;font-family:'Source Sans 3',system-ui,sans-serif}
.mm-grand[hidden]{display:none}
.mm-g-in{padding:16px 18px 14px}
.mm-g-hd{display:flex;justify-content:space-between;align-items:center;gap:10px}
.mm-g-hd h2{margin:0;font:700 1.25rem 'Zen Maru Gothic',sans-serif;color:#23211d}
.mm-x{background:none;border:0;font-size:26px;line-height:1;color:#6b6b70;cursor:pointer;padding:2px 8px}
.mm-x:hover{color:#23211d}
.mm-sum{margin:6px 0 8px;font-size:1rem}.mm-sum b{color:#b3361f}
.mm-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.mm-info{margin-top:10px;padding:9px 12px;background:#fbf6ec;border-radius:10px;font-size:.92rem}
.mm-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin:12px 0 0}
.mm-go{background:#b8860b;color:#fff!important;border-radius:999px;padding:8px 18px;text-decoration:none;font-weight:700}
.mm-go:hover{background:#9a7009}
.mm-lien{color:#23211d;font-weight:600}
.mm-g2{left:0;right:0;border-bottom:1.5px solid #23211d;box-shadow:0 20px 40px rgba(35,33,29,.14);transform:translateY(-12px);opacity:0;transition:transform .22s,opacity .22s}
.mm-g2.mm-on{transform:none;opacity:1}
.mm-g2 .mm-g-in{max-width:980px;margin:0 auto}
@media (prefers-reduced-motion:reduce){.mm-g2{transition:none}}
.mm-survol{--n:#4fb3bf;--n-fond:#e3f4f6;--n-txt:#155d66;position:fixed;z-index:1250;min-width:230px;background:#fff;color:#23211d;border:2px solid var(--n);border-radius:10px;padding:10px 12px;box-shadow:0 16px 40px rgba(35,33,29,.18);font:400 .9rem 'Source Sans 3',system-ui,sans-serif}
.mm-survol.mm-n-maitrise{--n:#2f5fd0;--n-fond:#e6ecfb;--n-txt:#1f3f8f}
.mm-survol[hidden]{display:none}
.mm-s-t{margin:-10px -12px 6px;padding:7px 12px;background:var(--n-fond);border-radius:8px 8px 0 0;font-weight:700;color:var(--n-txt)}.mm-s-t span{font-family:'Noto Sans JP',sans-serif;margin-right:6px}
.mm-survol ul{list-style:none;margin:0;padding:0}
.mm-survol li{display:flex;align-items:center;gap:8px;padding:4px 0;border-top:1px dashed #e2dbd4}
.mm-s-n{flex:1}.mm-s-h{font:700 .9rem 'Courier Prime',monospace;color:#23211d}.mm-s-h b{color:var(--n-txt)}
.mm-s-p{margin:8px 0 0;font-size:.8rem;color:#6b6b70}
/* petits téléphones : le mini métro ne doit jamais mordre sur le nom du logo */
@media (max-width:480px){
  .mm-p3 .mm-lg{display:none}
  .mm-p3 .mm-ecran{padding:4px 8px}
  .mm-p2 .mm-svg{width:34px}
  .mm-p2{padding:4px 8px 4px 6px;gap:4px}
}
/* téléphones : avec le mini métro, le logo garde son sceau 道 seul (comme à 320 px), le nom ne se coupe jamais à moitié */
@media (max-width:520px){.h4-nd .h4-top.mm-avec .h4-logo-t{display:none}}
