

@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/InstrumentSerif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: block; }
@font-face { font-family: Geist; src: url("/assets/fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: block; }


@font-face { font-family: "Jeu Almendra"; src: url("/assets/fonts/jeux/Jeu-Almendra.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: block; }
@font-face { font-family: "Asteria Signes"; src: url("/assets/fonts/Signes.woff2") format("woff2"); font-display: block;
  unicode-range: U+260A-260D, U+263D-2640, U+2642-2653, U+26B7-26B9, U+26BB; }
@font-face { font-family: "Asteria Signes"; src: url("/assets/fonts/Signes2.woff2") format("woff2"); font-display: block;
  unicode-range: U+25A1, U+25B3, U+2609, U+2726; }

:root {
  color-scheme: dark;
  --nuit: #060919; --nuit-haute: #0c1130; --plomb: #1b2144; --arete: rgba(236, 230, 218, .16);
  --encre: rgba(240, 236, 226, .96); --encre-2: rgba(236, 230, 218, .72); --encre-3: rgba(236, 230, 218, .60);
  --platine: #d6dbeb; --champagne: #ebd3a2;
  --cobalt: #5b7cf5; --rubis: #e0494d; --ambre: #e9b44c; --emeraude: #4faf80; --turquoise: #52bfd4; --perle: #e8e4d8;
  --e1: 5px; --e2: 8px; --e3: 13px; --e4: 21px; --e5: 34px; --e6: 55px; --e7: 89px; --e8: 144px;
  --serif: "Instrument Serif", "Iowan Old Style", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
  --sans: Geist, system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
  --signes: "Asteria Signes", "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", sans-serif;
  --marge: 20px; --gouttiere: 12px; --page: 1296px; --mesure: 660px; --barre-h: 56px; --cible: 44px;
  --r-image: 2px; --r-outil: 12px;
  --sortie: cubic-bezier(.22, .8, .24, 1);
  
  --ech: 1px; --filet: var(--arete); --platine-84: rgba(214, 219, 235, .84); --platine-66: rgba(214, 219, 235, .66); --platine-44: rgba(214, 219, 235, .44);
  --r-2: 8px; --r-3: 12px; --f-ui: var(--sans); --f-titre: var(--serif); --poussiere: none; --ease-ouvre: var(--sortie);
  --lune: #c3d4f2; --plaque: var(--nuit-haute); --nuit-0: var(--nuit); --nuit-1: var(--nuit-haute); --t-legende: 13px;
}
@media (min-width: 1024px) { :root { --marge: 72px; --gouttiere: 24px; --barre-h: 64px; } }
@media (min-width: 1920px) { :root { --marge: 96px; --page: 2368px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--barre-h) + 16px); background: var(--nuit); overflow-x: clip; }

body { margin: 0; min-height: 100vh; min-height: 100svh; background: var(--nuit) url("/assets/img/poussiere.avif") 0 0 / 640px 640px; color: var(--encre);
  font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; touch-action: manipulation; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 3px; }
::selection { background: rgba(235, 211, 162, .30); }
.saut { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--perle); color: var(--nuit); border-radius: 6px; }
.saut:focus { left: 8px; }
[hidden] { display: none !important; }


.t-une { font: 400 48px/1 var(--serif); letter-spacing: -.012em; text-wrap: balance; }                
.t-titre { font: 400 40px/1.04 var(--serif); letter-spacing: -.01em; text-wrap: balance; }            
.t-partie { font: 400 30px/1.1 var(--serif); letter-spacing: -.004em; text-wrap: balance; }           
.t-nom { font: 400 23px/1.15 var(--serif); }                                                         
.t-chapo { font: 400 18.5px/1.42 var(--sans); color: var(--encre); text-wrap: pretty; }                 
.t-texte { font: 400 17px/1.58 var(--sans); color: var(--encre-2); text-wrap: pretty; }               
.t-ui { font: 500 15px/1.34 var(--sans); }                                                            
.t-mention { font: 600 12px/1.34 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-3); }   
.t-texte strong, .t-chapo strong { font-weight: 500; color: var(--encre); }
.chiffre { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum"; white-space: nowrap; }

[data-vivant]:not([data-ecrit]) { opacity: 0; }
.doux { color: var(--encre-3); }
@media (min-width: 1024px) {
  .t-une { font-size: 84px; line-height: .98; }
  .t-titre { font-size: 64px; }
  .t-partie { font-size: 42px; }
  .t-nom { font-size: 27px; }
  .t-chapo { font-size: 23px; }
  .t-texte { font-size: 18.5px; }
}
@media (min-width: 1920px) { .t-une { font-size: 100px; } .t-titre { font-size: 72px; } .t-partie { font-size: 46px; } .t-texte { font-size: 19.5px; } }
.glyphe { font-family: var(--signes); font-weight: 400; font-style: normal; line-height: 1; display: inline-block; }

:lang(ja) .t-une, :lang(ja) .t-titre, :lang(ja) .t-partie, :lang(ja) .t-nom { letter-spacing: 0; line-height: 1.25; }
:lang(ja) .t-une { font-size: 36px; } :lang(ja) .t-titre { font-size: 32px; } :lang(ja) .t-partie { font-size: 25px; } :lang(ja) .t-nom { font-size: 20px; }
@media (min-width: 1024px) { :lang(ja) .t-une { font-size: 64px; } :lang(ja) .t-titre { font-size: 50px; } :lang(ja) .t-partie { font-size: 34px; } :lang(ja) .t-nom { font-size: 23px; } }
:lang(ja) .citation { font-style: normal; }

:lang(ja) h1, :lang(ja) h2, :lang(ja) .t-chapo { word-break: auto-phrase; }          
@media (min-width: 1920px) { :lang(ja) .t-une { font-size: 78px; } :lang(ja) .t-titre { font-size: 58px; } :lang(ja) .t-partie { font-size: 38px; } }
.lien { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(235, 211, 162, .55); transition: color .15s; }
@media (hover: hover) { .lien:hover { color: var(--champagne); text-decoration-color: currentColor; } }

.lien.t-ui { display: inline-flex; align-items: center; min-height: var(--cible); }

.fleche, .suite__fleche { display: inline-block; text-decoration: none; transition: transform .2s var(--sortie); }
a:focus-visible .fleche, a:focus-visible .suite__fleche { transform: translateX(4px); }
@media (hover: hover) { a:hover .fleche, a:hover .suite__fleche, .carte-n:hover .suite__fleche { transform: translateX(4px); } }
:root[data-calme] .fleche, :root[data-calme] .suite__fleche { transition: none; }

.deux { display: grid; gap: var(--e4); }
@media (min-width: 1024px) { .deux { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gouttiere); } .deux > :first-child { grid-column: 1 / span 4; } .deux > :last-child { grid-column: 6 / span 7; } }
@media (min-width: 1920px) { .deux { grid-template-columns: repeat(16, minmax(0, 1fr)); } .deux > :first-child { grid-column: 1 / span 5; } .deux > :last-child { grid-column: 7 / span 9; } }


main { position: relative; display: block; padding-top: var(--barre-h); overflow-x: clip; }
.page { width: 100%; max-width: calc(var(--page) + 2 * var(--marge)); margin-inline: auto; padding-inline: var(--marge); }
.bande { position: relative; padding-block: var(--e6); }
.bande + .bande { border-top: 1px solid var(--plomb); box-shadow: inset 0 1px 0 var(--arete); }
@media (min-width: 1024px) { .bande { padding-block: var(--e7); } }
.colonne { max-width: var(--mesure); }
.pile > * + * { margin-top: var(--e4); }
.pile-serree > * + * { margin-top: var(--e3); }

.plomb { height: 2px; border: 0; margin: 0; background: linear-gradient(180deg, var(--plomb) 0 50%, var(--arete) 50% 100%); }


.barre { position: fixed; inset: 0 0 auto 0; z-index: 60; height: calc(var(--barre-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) max(var(--marge), env(safe-area-inset-right, 0px)) 0 max(var(--marge), env(safe-area-inset-left, 0px));
  display: flex; align-items: center; gap: var(--e2); }
.barre::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: var(--nuit) url("/assets/img/poussiere.avif") 0 0 / 640px 640px;
  border-bottom: 1px solid var(--plomb); box-shadow: 0 1px 0 var(--arete); }

@supports (-webkit-touch-callout: none) { .barre::before { top: -150px; -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); } }
.marque { display: inline-flex; align-items: center; gap: 10px; min-height: var(--cible); margin-left: -2px; text-decoration: none; font: 400 25px/1 var(--serif); flex: none; }
.marque i { width: 26px; height: 26px; flex: none; background: url("/assets/img/mark.webp") center / contain no-repeat; }
.barre .espace { flex: 1; }
.menu { display: none; }
.b-rond { width: var(--cible); height: var(--cible); flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; transition: background .15s; }

svg[viewBox="0 0 24 24"] { flex: none; width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.b-rond svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; }
.cherche__champ svg { color: var(--encre-3); }
@media (hover: hover) { .b-rond:hover { background: rgba(236, 230, 218, .08); } }
.barre .b-rond:last-child { margin-right: -10px; }
.barre .pour-l-ordinateur { display: none; }

.barre__app { display: inline-flex; align-items: center; gap: 6px; min-height: var(--cible); padding: 0 12px 0 10px; border-radius: 999px; text-decoration: none;
  font: 500 14.5px/1 var(--sans); color: var(--encre); box-shadow: inset 0 0 0 1px rgba(236, 230, 218, .28); transition: color .15s, box-shadow .15s; }
.barre__app svg { width: 18px; height: 18px; }
@media (hover: hover) { .barre__app:hover { color: var(--champagne); box-shadow: inset 0 0 0 1px var(--champagne); } }
@media (max-width: 359px) { .barre__app span { display: none; } }
@media (min-width: 1024px) {
  .menu { display: flex; align-items: center; gap: 2px; margin-left: var(--e4); }
  .menu .menu__large { display: none; }
  .menu a { padding: 9px 13px; border-radius: 8px; text-decoration: none; font: 500 15px/1 var(--sans); color: var(--encre-2); transition: color .15s, background .15s; }
  .menu a:hover, .menu a:focus-visible { color: var(--encre); background: rgba(236, 230, 218, .07); }
  .menu a[aria-current] { color: var(--encre); }
  .b-menu { display: none; }
  .barre .pour-l-ordinateur { display: inline-flex; }
  .barre__app { margin-right: 6px; }
}
@media (min-width: 1280px) { .menu .menu__large { display: block; } }


.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; white-space: nowrap;
  color: #0a0d1c; background: linear-gradient(180deg, #f4f5fb 0%, #d2d7e9 100%); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(10, 13, 28, .18);
  transition: filter .15s, transform .15s var(--sortie); }
@media (hover: hover) { .bouton:hover { filter: brightness(1.06); } }
.bouton:active { transform: scale(.985); }
.bouton[disabled] { opacity: .5; pointer-events: none; }

.bouton { max-width: 100%; white-space: normal; text-align: center; text-wrap: balance; line-height: 1.2; padding-block: 10px; }
.bouton--trait { min-height: 44px; padding: 0 18px; border-radius: var(--r-outil); background: none; color: var(--encre); box-shadow: inset 0 0 0 1px rgba(236, 230, 218, .28); font-weight: 500; font-size: 15px; }

.rangee-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e3); }
.bouton--trait:hover { filter: none; box-shadow: inset 0 0 0 1px var(--champagne); color: var(--champagne); }


.feuille { position: fixed; inset: 0; z-index: 80; display: none; background: var(--nuit) url("/assets/img/poussiere.avif") 0 0 / 640px 640px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: env(safe-area-inset-top, 0px) var(--marge) calc(env(safe-area-inset-bottom, 0px) + 34px); }
.feuille[data-ouverte] { display: block; }
:root:not([data-calme]) .feuille[data-ouverte] { animation: feuille .26s var(--sortie); }
@keyframes feuille { from { opacity: 0; transform: translateY(10px); } }
.feuille__tete { display: flex; align-items: center; justify-content: space-between; height: var(--barre-h); }
.feuille__tete .b-rond { margin-right: -10px; }

.feuille__app { display: grid; grid-template-columns: 26px minmax(0, 1fr) 20px; gap: 12px; align-items: center; min-height: 64px; margin: 4px 0 var(--e4); padding: 10px 14px;
  border-radius: var(--r-outil); background: var(--nuit-haute); box-shadow: 0 0 0 1px var(--plomb), inset 0 1px 0 var(--arete); text-decoration: none; }
.feuille__app svg { width: 24px; height: 24px; color: var(--champagne); }
.feuille__app .fleche { width: 18px; height: 18px; color: var(--encre-3); }
.feuille__app b { display: block; font: 400 22px/1.1 var(--serif); }
.feuille__app span span { display: block; margin-top: 2px; font: 400 14px/1.3 var(--sans); color: var(--encre-3); }
.feuille__groupe + .feuille__groupe { margin-top: var(--e4); }
.feuille__groupe h2 { padding-bottom: 6px; }
.feuille__liens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--e3); border-top: 1px solid var(--plomb); }
.feuille__liens a { display: flex; align-items: center; min-height: 48px; padding: 6px 0; border-bottom: 1px solid var(--plomb); text-decoration: none;
  font: 400 19px/1.15 var(--serif); }
.feuille__liens a[aria-current] { color: var(--champagne); }
.feuille .langues { margin-top: var(--e5); padding-top: var(--e3); border-top: 1px solid var(--plomb); font: 400 15px/1.3 var(--sans); color: var(--encre-2); }
@media (hover: hover) { .feuille__liens a:hover, .feuille__app:hover b { color: var(--champagne); } }
.cherche__champ { display: flex; align-items: center; gap: 10px; height: 64px; border-bottom: 1px solid var(--champagne); max-width: 760px; margin-inline: auto; }
.cherche__champ input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 400 28px/1 var(--serif); }
.cherche__champ input::placeholder { color: var(--encre-3); }
.cherche__liste { max-width: 760px; margin: var(--e2) auto 0; }
.cherche__liste a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--plomb); text-decoration: none; }
.cherche__liste a[aria-selected="true"] { color: var(--champagne); }
@media (hover: hover) { .cherche__liste a:hover { color: var(--champagne); } }
.cherche__liste a { min-height: 52px; }
.cherche__liste span { text-align: right; }

.cherche__rien { max-width: 760px; margin: var(--e4) auto 0; color: var(--encre-2); }
.cherche__plus { display: block; width: 100%; max-width: 760px; margin: 0 auto; padding: 14px 0; border: 0; background: none; text-align: left; cursor: pointer;
  font: 500 15px/1.3 var(--sans); color: var(--champagne); }
.cherche__liste b { font: 400 22px/1.2 var(--serif); }


.fil { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: center; font: 500 13.5px/1.4 var(--sans); color: var(--encre-3); }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--encre); }
.fil li + li::before { content: "›"; margin-right: 8px; }


.objet { position: relative; }
.cadre { position: relative; display: block; border-radius: var(--r-image); overflow: hidden; background: var(--nuit-haute); box-shadow: 0 0 0 1px var(--plomb), 0 0 0 2px var(--arete); }
.cadre img { width: 100%; height: 100%; object-fit: cover; }
.cartel { margin-top: var(--e3); }
.cartel b { display: block; font: 400 20px/1.2 var(--serif); }
.cartel span { display: block; margin-top: 3px; }

.verre { position: relative; display: block; aspect-ratio: 1; border-radius: 50%; flex: none; }

.verre img, .verre canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }

.lame { position: relative; display: block; aspect-ratio: 888 / 1536; border-radius: 5.5% / 3.18%; background: #0a0c18; box-shadow: 0 0 0 1px rgba(3, 4, 12, .7); }
.lame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.lame__titre { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; pointer-events: none; }
.lame__titre text { font-family: "Jeu Almendra", "Hiragino Mincho ProN", "Yu Mincho", var(--serif); font-weight: 700; fill: #f3e3b0; text-anchor: middle; font-kerning: normal; }


.lame[data-jeu] { aspect-ratio: var(--rapport, 888 / 1536); box-shadow: none;
  border-radius: calc(var(--coins, .055) * 100%) / calc(var(--coins, .055) * var(--rapport, .578125) * 100%); }
.lame[data-jeu] > .lame__titre { display: none; }
.lame__ins { position: absolute; left: 0; width: 100%; pointer-events: none; z-index: 2; transition: opacity .4s; }
.lame--dos > .lame__ins, .lame:not([data-jeu]) > .lame__ins { display: none; }

.lame[data-lame-on] > .lame__ins { opacity: 0; }

.lame[data-lame-on] > img { opacity: 0; transition: opacity 0s .4s; }
:root[data-calme] .lame__ins { transition: none; }

.objet > .cartel { position: relative; z-index: 1; }


.rangees { border-top: 1px solid var(--plomb); }
.rangee { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline; min-height: 48px; padding: 12px 0; border-bottom: 1px solid var(--plomb); }

.rangee:has(> dt + dd), .rangee:has(> .libelle + .valeur) { grid-template-columns: fit-content(45%) minmax(0, 1fr); }
.rangee dt, .rangee .libelle { color: var(--encre-3); font: 500 15px/1.4 var(--sans); }
.rangee dd, .rangee .valeur { text-align: right; font: 400 17px/1.4 var(--sans); color: var(--encre); }

.rangees--phrases .rangee { grid-template-columns: 1fr; gap: 2px; }
.rangees--phrases .rangee dd, .rangees--phrases .rangee .valeur { text-align: left; }
@media (min-width: 640px) { .rangees--phrases .rangee { grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; } }
a.rangee { text-decoration: none; transition: color .15s; }
a.rangee:hover { color: var(--champagne); }
.rangee--lien { grid-template-columns: minmax(0, 1fr) auto; }
.rangee--lien b { font: 400 23px/1.15 var(--serif); }
.rangee--lien .valeur { color: var(--encre-3); font-size: 15px; }


.naissance { border-radius: var(--r-outil); background: var(--nuit-haute); box-shadow: 0 0 0 1px var(--plomb), inset 0 1px 0 var(--arete); padding: 4px 16px 16px; }
.naissance .brow { min-height: 64px; padding: 8px 12px 8px 6px; gap: 8px; border-radius: 8px; }
.naissance .brow::after { left: 54px; right: 12px; }
.naissance .brow-text { gap: 1px; }
.naissance .brow-value, .naissance .brow-input { font: 400 25px/1.12 var(--serif); letter-spacing: 0; }
.naissance .brow-input { height: 30px; }
.naissance .brow-clear { border: 0; background: none; cursor: pointer; }
.naissance .brow-clear svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.naissance__pied { display: grid; gap: var(--e3); margin-top: var(--e3); }
.naissance__pied .bouton { width: 100%; }
.naissance__note { display: flex; gap: 8px; align-items: flex-start; font: 400 13.5px/1.45 var(--sans); color: var(--encre-3); }
.naissance__note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.rappel { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 0; border-block: 1px solid var(--plomb); }

.rappel a { display: inline-flex; align-items: center; min-height: var(--cible); margin-block: -12px; }


.resultat { scroll-margin-top: calc(var(--barre-h) + 12px); }

.trois { display: grid; border-top: 1px solid var(--plomb); }
.grand { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: var(--e4); align-items: center; padding: var(--e4) 0; border-bottom: 1px solid var(--plomb); text-decoration: none; }
.grand .verre { width: 84px; grid-row: 1 / span 3; }
.grand__nom { font: 400 34px/1.02 var(--serif); margin-top: 2px; }
.grand__degre { margin-top: 3px; font: 400 15px/1.3 var(--sans); color: var(--encre-3); }
.grand__phrase { grid-column: 1 / -1; margin-top: var(--e3); }
@media (min-width: 1024px) {
  .trois { grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--plomb); }
  .grand { grid-template-columns: 1fr; padding: var(--e5) var(--e5) var(--e5) 0; border-bottom: 0; align-content: start; }
  .grand + .grand { padding-left: var(--e5); border-left: 1px solid var(--plomb); }
  .grand .verre { width: 132px; grid-row: auto; margin-bottom: var(--e4); }
  .grand__nom { font-size: 46px; }
}

.preuve { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--e4); }
.preuve > div { padding: 10px 0; border-bottom: 1px solid var(--plomb); min-width: 0; }
.preuve dt { font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-3); margin-bottom: 3px; }
.preuve dd { font: 400 16px/1.35 var(--sans); overflow-wrap: anywhere; white-space: normal; }

@media (min-width: 1920px) { .preuve { grid-template-columns: repeat(4, minmax(0, 1fr)); } }


.positions { border-top: 1px solid var(--plomb); }
.position { border-bottom: 1px solid var(--plomb); }
.position > summary { list-style: none; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 20px; gap: 10px; align-items: center; min-height: 56px; padding: 8px 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent; }
.position > summary::-webkit-details-marker { display: none; }
.position .glyphe { font-size: 24px; color: var(--platine); text-align: center; }
.position__nom { font: 400 23px/1.12 var(--serif); }
.position__nom i { font-style: italic; color: var(--encre-3); }
.position__ou { display: block; margin-top: 2px; font: 400 14px/1.3 var(--sans); color: var(--encre-3); }
.position__degre { text-align: right; font: 400 16px/1.3 var(--sans); }
.position .chevron { width: 20px; height: 20px; stroke: var(--encre-3); fill: none; stroke-width: 1.6; transition: transform .2s var(--sortie); }
.position[open] .chevron { transform: rotate(180deg); }
.position__corps { padding: 0 0 var(--e4) 40px; }
.position__corps > * + * { margin-top: var(--e3); }
.retro { font: italic 400 17px/1 var(--serif); color: var(--champagne); margin-left: 5px; }
@media (min-width: 1024px) { .position > summary { grid-template-columns: 36px minmax(0, 1fr) auto 22px; min-height: 62px; } .position__nom { font-size: 26px; } .position__corps { padding-left: 46px; } }


.aspect { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 50px; padding: 10px 0; border-bottom: 1px solid var(--plomb); text-decoration: none; transition: color .15s; }
a.aspect:hover { color: var(--champagne); }
.aspect .glyphe { font-size: 20px; text-align: center; }
.aspect[data-nature="tendu"] .glyphe { color: var(--rubis); }
.aspect[data-nature="fluide"] .glyphe { color: var(--cobalt); }
.aspect[data-nature="uni"] .glyphe { color: var(--ambre); }
.aspect__nom { font: 400 17px/1.3 var(--sans); }
.aspect__nom i { font-style: italic; color: var(--encre-3); }
.aspect__orbe { text-align: right; font: 400 15px/1.3 var(--sans); color: var(--encre-3); }


.matieres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gouttiere); }
.matiere { text-align: center; }
.matiere__image { aspect-ratio: 1; display: grid; place-items: end center; }
.matiere__image img { width: 100%; height: 100%; object-fit: contain; transform: scale(var(--part, .6)); transform-origin: 50% 100%; }
.matiere b { display: block; margin-top: 8px; font: 400 20px/1.1 var(--serif); }
.matiere span { font: 400 14px/1.3 var(--sans); color: var(--encre-3); }


.frise { position: relative; padding-top: 30px; }
.frise__bande { display: flex; height: 56px; border-radius: var(--r-image); overflow: hidden; box-shadow: 0 0 0 1px var(--plomb), 0 0 0 2px var(--arete); }
.frise__tranche { position: relative; flex: 0 0 auto; display: grid; place-items: center; min-width: 0; border-right: 2px solid var(--nuit); font-size: 19px; color: var(--encre-2); }
.frise__tranche:last-child { border-right: 0; }
.frise__tranche[data-element="fire"] { background: rgba(224, 73, 77, .30); }
.frise__tranche[data-element="earth"] { background: rgba(79, 175, 128, .28); }
.frise__tranche[data-element="air"] { background: rgba(233, 180, 76, .28); }
.frise__tranche[data-element="water"] { background: rgba(82, 191, 212, .28); }
.frise__tranche[data-ici] { box-shadow: inset 0 0 0 2px var(--perle); color: var(--encre); }
.frise__aiguille { position: absolute; top: 4px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--perle); }
.frise__aiguille::before { content: attr(data-heure); position: absolute; top: 0; left: 50%; transform: translate(-50%, -100%); padding: 2px 8px; border-radius: 4px; background: var(--perle); color: var(--nuit);
  font: 600 12.5px/1.4 var(--sans); white-space: nowrap; }
.frise__heures { display: flex; justify-content: space-between; margin-top: 10px; font: 400 12.5px/1 var(--sans); color: var(--encre-3); }


.rose { position: relative; width: 100%; max-width: 720px; margin-inline: auto; aspect-ratio: 1; }
.rose svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rose text { font-family: var(--sans); }
.rose .glyphe-roue { font-family: var(--signes); }
.rose__signes { position: absolute; inset: 0; }
.rose__signe { position: absolute; }
.rose__astre { cursor: pointer; outline: none; }
.rose__anneau { opacity: 0; transition: opacity .18s; }
.rose__astre[data-choisi] .rose__anneau, .rose__astre:focus-visible .rose__anneau { opacity: 1; }
.rose__astre[data-choisi] .rose__glyphe, .rose__astre:hover .rose__glyphe { fill: var(--champagne); }
.rose svg line[data-a] { transition: opacity .2s; }
.rose-legende { min-height: 3.1em; margin-top: var(--e3); text-align: center; }

:root:not([data-calme]) .rose__signe { animation: rose-verre .5s var(--sortie) both; animation-delay: calc(var(--rang, 0) * 55ms); }
@keyframes rose-verre { from { opacity: 0; filter: brightness(.3); } }
:root:not([data-calme]) .rose__astre { animation: rose-astre .5s var(--sortie) both; animation-delay: calc(var(--i, 0) * 30ms + 700ms); }
@keyframes rose-astre { from { opacity: 0; } }


.fiche__tete { padding-block: var(--e4) var(--e5); }
.fiche__tete > * + * { margin-top: var(--e4); }
.fiche__figure { margin-bottom: var(--e5); }
.fiche__corps > * + * { margin-top: var(--e6); }
.partie { scroll-margin-top: calc(var(--barre-h) + 12px); padding-top: var(--e5); border-top: 1px solid var(--plomb); box-shadow: inset 0 1px 0 var(--arete); }
.partie > h2 { margin-bottom: var(--e4); }
.partie .t-texte > * + * { margin-top: .95em; }
.puces { display: grid; gap: 10px; }
.puces li { position: relative; padding-left: 22px; }
.puces li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 9px; height: 1px; background: var(--champagne); }
.citation { font: italic 400 26px/1.24 var(--serif); color: var(--encre); text-wrap: balance; }
.plan { display: none; }
.voisins { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gouttiere); }
.voisins a { text-decoration: none; padding: 14px 0; border-top: 1px solid var(--plomb); }
.voisins a:last-child { text-align: right; }
.voisins b { display: block; font: 400 23px/1.15 var(--serif); }
.voisins a:hover b { color: var(--champagne); }
@media (min-width: 1024px) {
  .fiche { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gouttiere); align-items: start; }
  .fiche__tete { grid-column: 1 / -1; padding-block: var(--e5) var(--e6); }
  .fiche__tete .t-titre, .fiche__tete .t-chapo { max-width: 880px; }
  .fiche__figure { grid-column: 1 / span 4; position: sticky; top: calc(var(--barre-h) + 24px); margin-bottom: var(--e6); }
  .fiche__corps { grid-column: 5 / span 6; min-width: 0; padding-bottom: var(--e7); }
  .fiche__marge { grid-column: 11 / span 2; align-self: stretch; }
  
  .plan { display: grid; gap: 2px; position: sticky; top: calc(var(--barre-h) + 24px); max-height: calc(100vh - var(--barre-h) - 48px); overflow-y: auto;
    scrollbar-width: none; text-align: right; padding-left: var(--e3); }
  .plan::-webkit-scrollbar { display: none; }
  
  .plan a { padding: 6px 0; text-decoration: none; font: 400 15px/1.35 var(--sans); color: var(--encre-2); text-wrap: balance; }
  .plan a:hover, .plan a[aria-current] { color: var(--champagne); }
  .citation { font-size: 34px; }
}

.plan-pouce { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 50; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--nuit-haute); box-shadow: 0 0 0 1px var(--plomb), inset 0 1px 0 var(--arete), 0 8px 24px rgba(0, 0, 0, .5);
  font: 500 14.5px/1 var(--sans); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.plan-pouce svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; }
@media (min-width: 1024px) { .plan-pouce { display: none; } }


.douze { container-type: inline-size; display: flex; flex-wrap: wrap; gap: var(--e4) var(--gouttiere); }
.douze > * { --n: 4; flex: 0 0 calc((100% - (var(--n) - 1) * var(--gouttiere)) / var(--n) - .1px); min-width: 0; }
.douze a { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; gap: 8px; text-decoration: none; text-align: center;
  font: 500 13.5px/1.25 var(--sans); color: var(--encre-2); overflow-wrap: anywhere; }
.douze a:hover, .douze a[aria-current] { color: var(--champagne); }
.douze .verre { width: 100%; max-width: 76px; }
.douze .glyphe { font-size: 28px; color: var(--platine); }
@container (min-width: 560px) { .douze > * { --n: 6; } }
@container (min-width: 1180px) { .douze > * { --n: 12; } }


.familles a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--plomb); text-decoration: none; }
.familles a:first-child { border-top: 1px solid var(--plomb); }
.familles b { font: 400 30px/1.08 var(--serif); transition: color .15s; }
.familles a:hover b { color: var(--champagne); }
.familles span { font: 400 15px/1.3 var(--sans); color: var(--encre-3); }
@media (min-width: 1024px) { .familles { columns: 2; column-gap: calc(var(--gouttiere) * 3); } .familles a { break-inside: avoid; } .familles a:first-child { border-top: 0; } .familles b { font-size: 34px; } }


.planche { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e4) var(--gouttiere); }
.planche a { text-decoration: none; }
.planche a:hover .cartel b { color: var(--champagne); }
@media (min-width: 640px) { .planche { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .planche { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (min-width: 1920px) { .planche { grid-template-columns: repeat(14, minmax(0, 1fr)); } }


.app { display: grid; gap: var(--e5); align-items: center; }
.app__ecran { justify-self: center; width: min(230px, 60vw); aspect-ratio: 1206 / 2622; border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--plomb), 0 0 0 2px var(--arete), 0 24px 60px rgba(0, 0, 0, .55); }
.app__ecran img { width: 100%; height: 100%; object-fit: cover; }
.app__faits { display: grid; gap: 0; border-top: 1px solid var(--plomb); }
.app__faits li { padding: 12px 0; border-bottom: 1px solid var(--plomb); color: var(--encre-2); }
.app__qr { display: none; }

.app__ecrans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e3); }
.app__ecrans .app__ecran { width: 100%; max-width: none; border-radius: 16px; box-shadow: 0 0 0 1px var(--plomb), 0 0 0 2px var(--arete); }
@media (min-width: 1024px) {
  .app { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); column-gap: calc(var(--gouttiere) * 2); }
  .app__ecran { width: 100%; max-width: 250px; }
  .app__qr { display: grid; gap: var(--e3); justify-items: start; align-self: end; }
  .app__qr canvas, .app__qr svg { width: 132px; height: 132px; border-radius: var(--r-image); background: var(--perle); padding: 8px; }
  .app--trois { grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr); }
  .app__ecrans { gap: var(--e4); }
  .app__ecrans .app__ecran { border-radius: 22px; }
}


.previens { display: grid; gap: var(--e2); max-width: 30em; margin-top: var(--e4); padding-top: var(--e4); border-top: 1px solid var(--plomb); }
.previens__titre { font: 500 16px/1.3 var(--sans); color: var(--encre); }
.previens__ligne { display: flex; flex-wrap: wrap; gap: var(--e2); }
.previens__ligne input { flex: 1 1 13em; min-width: 0; min-height: var(--cible); padding: 0 14px; border: 0; border-radius: var(--r-outil);
  background: none; color: var(--encre); box-shadow: inset 0 0 0 1px var(--arete); font: 400 16px/1.2 var(--sans); }
.previens__ligne input::placeholder { color: var(--encre-3); }
.previens__ligne input:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--champagne); }
.previens__ligne input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--rubis); }
.previens__ligne .bouton { flex: 0 0 auto; }
.previens__aide { margin: 0; }
.previens__etat { margin: 0; color: var(--champagne); }
.previens__etat--faute { color: #f2a7a9; }
.previens__piege { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }


.segments { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-bottom: var(--e3); }
.segments button { min-height: 44px; padding: 0; border: 0; background: none; font: 500 15px/1 var(--sans); color: var(--encre-3); cursor: pointer; border-bottom: 1px solid transparent; }
.segments button[aria-pressed="true"] { color: var(--encre); border-bottom-color: var(--champagne); }
.segments button:hover { color: var(--encre); }


.questions { border-top: 1px solid var(--plomb); }
.question { border-bottom: 1px solid var(--plomb); }
.question > summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 14px; align-items: center; padding: 17px 0; cursor: pointer; font: 400 23px/1.2 var(--serif); }
.question > summary::-webkit-details-marker { display: none; }
.question > summary svg { width: 20px; height: 20px; stroke: var(--encre-3); fill: none; stroke-width: 1.6; transition: transform .2s var(--sortie); }
.question[open] > summary svg { transform: rotate(45deg); }
.question > div { padding: 0 0 20px; max-width: var(--mesure); }


.pied { margin-top: var(--e6); border-top: 1px solid var(--plomb); box-shadow: inset 0 1px 0 var(--arete); padding-block: var(--e6) calc(var(--e5) + env(safe-area-inset-bottom, 0px)); }
.pied__colonnes { display: grid; grid-template-columns: 1fr; }

.pied__groupe { border-bottom: 1px solid var(--plomb); }
.pied__groupe > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.pied__groupe > summary::-webkit-details-marker { display: none; }
.pied__groupe > summary .chevron { width: 18px; height: 18px; stroke: var(--encre-3); fill: none; stroke-width: 1.6; transition: transform .2s var(--sortie); }
.pied__groupe[open] > summary .chevron { transform: rotate(180deg); }
.pied__groupe ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--e3); padding-bottom: var(--e2); }
.pied li a { display: flex; align-items: center; min-height: var(--cible); text-decoration: none; font: 400 15px/1.3 var(--sans); color: var(--encre-2); }
@media (hover: hover) { .pied li a:hover { color: var(--champagne); } }
.pied__bas { display: grid; gap: var(--e3); margin-top: var(--e5); padding-top: var(--e4); border-top: 1px solid var(--plomb); font: 400 13.5px/1.5 var(--sans); color: var(--encre-3); }
.langues { display: flex; flex-wrap: wrap; gap: 0 16px; }
.langues a { display: inline-flex; align-items: center; min-height: var(--cible); min-width: var(--cible); text-decoration: none; }
.langues a:hover, .langues a[aria-current] { color: var(--encre); }
@media (min-width: 640px) {
  .pied__colonnes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e5) var(--gouttiere); }
  .pied__groupe { border-bottom: 0; }
  .pied__groupe > summary { min-height: 0; margin-bottom: var(--e2); pointer-events: none; }
  .pied__groupe > summary .chevron { display: none; }
  .pied__groupe ul { grid-template-columns: 1fr; padding: 0; }
  .pied li a { min-height: 34px; }
}
@media (min-width: 1024px) { .pied__colonnes { grid-template-columns: repeat(5, minmax(0, 1fr)); } .pied__bas { grid-template-columns: 1fr auto; align-items: baseline; } }


:root[data-calme] *, :root[data-calme] *::before, :root[data-calme] *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }


@media print {
  :root { --nuit: #fff; --nuit-haute: #fff; --plomb: #999; --arete: transparent; --encre: #111; --encre-2: #222; --encre-3: #555; --platine: #333; --champagne: #333; }
  body { background: #fff; }
  .barre, .pied, .app, .naissance, .feuille, .plan-pouce { display: none !important; }
  main { padding-top: 0; }
}
