
.ouverture { display: grid; gap: var(--e4); padding-block: var(--e3) var(--e6); }
.ouverture__texte > * + * { margin-top: var(--e3); }
.ouverture__texte { max-width: 44rem; }
.ouverture__outil { width: 100%; max-width: 30rem; }
@media (min-width: 1024px) {
  
  .ouverture { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gouttiere); align-items: start; padding-block: var(--e5) var(--e6); }
  .ouverture__texte { padding-top: var(--e3); }
  .ouverture__texte { grid-column: 1 / span 6; }
  .ouverture__outil { grid-column: 8 / span 5; justify-self: end; }
}
@media (min-width: 1920px) { .ouverture { grid-template-columns: repeat(16, minmax(0, 1fr)); } .ouverture__texte { grid-column: 1 / span 8; } .ouverture__outil { grid-column: 11 / span 6; justify-self: end; } }


.ouverture--repliee { display: block; min-height: 0; padding-block: var(--e4) 0; }
.ouverture--repliee .ouverture__outil, .ouverture--repliee .ouverture__texte > .t-chapo { display: none; }
.ouverture--repliee .t-titre { font-size: clamp(26px, 3.2vw, 40px); }
.ouverture--repliee .ouverture__texte { max-width: none; }
.resultat.bande { padding-top: var(--e4); }


.suite { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--champagne); text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px; text-decoration-color: rgba(235, 211, 162, .45); }


.terme { display: inline; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--encre-3); }
.terme:hover, .terme[aria-expanded="true"] { color: var(--champagne); text-decoration-color: currentColor; }

.terme { position: relative; }
.terme::after { content: ""; position: absolute; inset: -14px -2px; }
.terme__dit { margin-top: var(--e3); padding: 10px 14px; border-left: 2px solid var(--champagne); background: rgba(214, 219, 235, .05); color: var(--encre-2); }
.terme__dit b { display: block; margin-bottom: 2px; font: 600 12px/1.34 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-3); }


.resultat .rappel { margin-bottom: var(--e4); }
.rappel__modifier { margin-left: auto; padding: 0; border: 0; background: none; font: inherit; color: var(--encre); cursor: pointer; min-height: var(--cible); }


.reponse { margin-bottom: var(--e5); }
.reponse[hidden] { display: none; }
.reponse > * + * { margin-top: var(--e3); }
.reponse__titre { font: 400 clamp(34px, 5.4vw, 64px)/1.04 var(--serif); letter-spacing: -.01em; text-wrap: balance; max-width: 22em; }
.reponse .t-chapo { max-width: 40em; }
.reponse .avis { max-width: 46em; }
.reponse__partager { margin-top: var(--e4) !important; }
.avis { padding: 14px 0; border-block: 1px solid var(--plomb); color: var(--encre-2); }
.avis .suite { margin-left: 4px; }


.trois { display: grid; gap: var(--e3); border-top: 0; }
.trois > .avis { grid-column: 1 / -1; }
.trois .grand { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr); grid-template-areas: "verre tete" "degre degre" "phrase phrase" "suite suite";
  column-gap: var(--e4); row-gap: 8px; align-items: center; padding: var(--e4); border: 1px solid var(--plomb); border-radius: var(--r-outil);
  background: rgba(214, 219, 235, .025); color: inherit; text-decoration: none; transition: background .2s, border-color .2s; }
.trois .grand + .grand { padding-left: var(--e4); border-left: 1px solid var(--plomb); }
a.grand:hover, a.grand:focus-visible { background: rgba(235, 211, 162, .06); border-color: rgba(235, 211, 162, .42); }
.trois .grand .verre { grid-area: verre; width: 88px; margin: 0; }
.grand__tete { grid-area: tete; min-width: 0; }
.grand__tete > * + * { margin-top: 4px; }
.trois .grand__nom { font: 400 28px/1.08 var(--serif); margin: 0; text-wrap: balance; }
.grand__nom .glyphe { color: var(--platine); font-size: .82em; margin-right: 2px; }
.glyphe--lettres { font: 600 .4em/1 var(--sans); letter-spacing: .06em; vertical-align: .32em; }
.grand__astre { font: 400 14px/1.4 var(--sans); color: var(--encre-3); }
.trois .grand__degre { grid-area: degre; margin: 0; font: 500 14px/1.35 var(--sans); color: var(--encre-2); }
.grand__deg { color: var(--encre-3); font-weight: 400; }
.trois .grand__phrase { grid-area: phrase; margin: 0; }
.grand > .suite { grid-area: suite; justify-self: start; }
.grand--manque { grid-template-areas: none; grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .trois--large { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gouttiere); }
  
  .trois--large .grand { grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "verre tete" "degre degre" "phrase phrase" "suite suite";
    column-gap: var(--e4); align-content: start; align-items: center; row-gap: 10px; padding: var(--e4); }
  .trois--large .grand + .grand { padding-left: var(--e4); }
  .trois--large .grand .verre { width: 112px; margin: 0; }
  .trois--large .grand__nom { font-size: 30px; }
  .trois--large .grand__degre { margin-top: 4px; }
}
@media (min-width: 1920px) {
  .trois--large .grand { grid-template-columns: 172px minmax(0, 1fr); grid-template-areas: "verre tete" "verre degre" "verre phrase" "verre suite"; column-gap: var(--e5); align-content: center; }
  .trois--large .grand .verre { width: 172px; margin: 0; align-self: start; }
  .trois--large .grand__nom { font-size: 40px; }
}


.theme { display: flex; flex-direction: column; margin-top: var(--e5); }
.theme__corps { display: contents; }
.theme__corps > * { order: 3; }
.theme__corps > #r-frise, .theme__corps > #r-faite, .theme__corps > #r-traditions, .theme__corps > #r-amour, .theme__corps > #r-forces, .theme__corps > #r-vocation { order: 1; }
.theme__roue { order: 2; margin-block: var(--e5) 0; margin-inline: calc(-1 * var(--marge) + 6px); }
.theme__roue .rose-legende, .theme__roue .rose-cle { padding-inline: calc(var(--marge) - 6px); }
.theme__corps > .partie { margin-top: var(--e5); }
.theme__corps > .partie:first-child { margin-top: 0; }
.partie[hidden] { display: none; }
.partie__chapo { margin-bottom: var(--e4); max-width: 44em; }
@media (min-width: 1024px) {
  .theme { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gouttiere); align-items: start; }
  .theme__roue { grid-column: 1 / span 5; position: sticky; top: calc(var(--barre-h) + 16px); margin: 0; order: 0; }
  .theme__roue .rose-legende, .theme__roue .rose-cle { padding-inline: 0; }
  .theme__corps { display: block; grid-column: 7 / span 6; min-width: 0; }
}
@media (min-width: 1920px) {
  .theme { grid-template-columns: repeat(16, minmax(0, 1fr)); }
  .theme__roue { grid-column: 1 / span 6; }
  .theme__roue .rose { max-width: 860px; }
  .theme__corps { grid-column: 8 / span 9; }
  
  .theme__corps .lecture { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--e5); align-items: start; }
  .theme__corps .lecture > .partie__chapo, .theme__corps .lecture > .avis, .theme__corps .lecture > details, .theme__corps .lecture > .lecture__sous-titre { grid-column: 1 / -1; }
}


.roue { position: relative; }
.rose__signe-cible { cursor: pointer; outline: none; }
.rose__signe-cible:focus-visible { stroke: var(--champagne); stroke-width: 3; }
.rose__signe[data-choisi] { filter: drop-shadow(0 0 14px rgba(235, 211, 162, .75)); }
.rose__astre[data-survol] .rose__anneau { opacity: 1; }
.rose__astre[data-survol] .rose__glyphe { fill: var(--champagne); }
.rose-carte { position: absolute; z-index: 5; width: min(320px, calc(100% - 16px)); padding: 14px 16px 12px; border: 1px solid rgba(235, 211, 162, .38); border-radius: var(--r-outil);
  background: var(--nuit-haute); box-shadow: 0 18px 48px rgba(0, 0, 0, .55); }
.rose-carte[hidden] { display: none; }
.rose-carte > * + * { margin-top: 6px; }
.rose-carte__titre { padding-right: 34px; font: 400 23px/1.12 var(--serif); }
.rose-carte__titre .glyphe { color: var(--platine); }
.rose-carte__ou { color: var(--encre-3); }
.rose-carte .t-texte { font-size: 16px; }
.rose-carte__fermer { position: absolute; top: 2px; right: 2px; width: var(--cible); height: var(--cible); margin: 0; border: 0; background: none; color: var(--encre-3); font: 400 24px/1 var(--sans); cursor: pointer; }
.rose-carte__fermer:hover { color: var(--encre); }
.rose-legende { min-height: 1.5em; margin-top: var(--e3); text-align: center; }
.rose-cle { display: grid; gap: 4px; margin-top: var(--e3); text-align: center; text-wrap: pretty; }


.lecture__bloc { padding-block: var(--e4); border-bottom: 1px solid var(--plomb); min-width: 0; }
.lecture__bloc > * + * { margin-top: 8px; }
.lecture__titre { font: 400 25px/1.12 var(--serif); }
.lecture__titre .glyphe { color: var(--platine); }
.lecture__ou { color: var(--encre-2); }
.lecture__astre-dit { color: var(--encre-3); }
.lecture__sous-titre { margin-top: var(--e4); font: 600 12px/1.34 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-3); }
.lecture__sous-titre:first-child { margin-top: 0; }
.lecture__lien { padding-top: var(--e4); }


.matieres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gouttiere); margin-bottom: var(--e3); }
.matiere[data-dominant] b { color: var(--champagne); }


.cartes-naissance { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--e3); }
@media (min-width: 640px) { .cartes-naissance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1920px) { .cartes-naissance { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.carte-n { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: var(--e4); align-items: start; padding: var(--e4); border: 1px solid var(--plomb);
  border-radius: var(--r-outil); background: rgba(214, 219, 235, .025); color: inherit; text-decoration: none; transition: background .2s, border-color .2s; }
.carte-n:not(:has(> .carte-n__image)) { grid-template-columns: minmax(0, 1fr); }
a.carte-n:hover, a.carte-n:focus-visible { background: rgba(235, 211, 162, .06); border-color: rgba(235, 211, 162, .42); }
.carte-n__image { display: block; width: 76px; aspect-ratio: 1; border-radius: 50%; background-repeat: no-repeat; box-shadow: 0 0 0 1px var(--plomb); }
.carte-n__image--lame { aspect-ratio: 112 / 194; border-radius: 6px; }
.carte-n__chiffre { display: grid; place-items: center; font: 400 44px/1 var(--serif); color: var(--champagne); background: radial-gradient(circle, rgba(235, 211, 162, .14), rgba(235, 211, 162, 0) 70%); }
.carte-n__texte > * + * { margin-top: 6px; }
.carte-n__nom { font: 400 25px/1.1 var(--serif); }
.carte-n__dit { color: var(--encre-3); }
.carte-n__mots { color: var(--champagne); }
.carte-n .t-texte { font-size: 16px; }


.positions { border-top: 0; }
.positions > .avis { margin-bottom: var(--e3); }
.position { padding-block: var(--e4); border-bottom: 1px solid var(--plomb); }
.position > * + * { margin-top: 8px; }
.position__tete { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; }
.position__tete .glyphe { font-size: 24px; color: var(--platine); text-align: center; }
.position .position__nom { font: 400 24px/1.12 var(--serif); color: var(--encre); text-decoration: none; }
a.position__nom:hover { color: var(--champagne); }
.position__ou { display: block; margin-top: 3px; color: var(--encre-2); }
.position__degre { font: 400 14px/1.3 var(--sans); color: var(--encre-3); white-space: nowrap; }
.position__astre { color: var(--encre-3); }
.position > :not(.position__tete) { padding-left: 40px; }
.position > .terme__dit { margin-left: 40px; padding-left: 14px; }


.lecture--maisons .maison.rangee { display: block; min-height: 0; padding-block: var(--e4); }
.maison > * + * { margin-top: 6px; }
.maison__titre { display: inline-flex; align-items: baseline; gap: 8px; font: 400 25px/1.12 var(--serif); color: var(--encre); text-decoration: none; }

a.maison__titre { min-height: 44px; align-items: center; padding-block: 8px; margin-block: -8px; }
a.maison__titre:hover { color: var(--champagne); }
a.maison__titre .suite__fleche { font: 400 18px/1 var(--sans); color: var(--champagne); }
.maison__domaine { color: var(--encre-2); }
.maison__astre b, .maison__vide b { font-weight: 500; color: var(--encre); }
.maison__astre .suite { margin-left: 2px; }
.maison__cuspide { font-size: 13px; }


.aspects { border-top: 0; }
.resultat .aspect { grid-template-columns: 26px minmax(0, 1fr) auto; grid-template-areas: "g nom orbe" ". phrase phrase" ". suite suite"; row-gap: 6px; align-items: baseline; padding-block: var(--e3); color: inherit; }
.aspect > .glyphe { grid-area: g; }
.aspect__nom { grid-area: nom; font: 400 18px/1.3 var(--sans); }
.aspect__orbe { grid-area: orbe; font-size: 13px; }
.aspect__phrase { grid-area: phrase; font-size: 16px; }
.aspect > .suite { grid-area: suite; justify-self: start; min-height: 0; }
a.aspect:hover .aspect__nom { color: var(--champagne); }
div.aspect .aspect__nom { color: var(--encre-2); }
.aspects .position--pli, .theme .position--pli { padding: 0; }


.position--pli > summary { list-style: none; display: grid; grid-template-columns: 0 minmax(0, 1fr) auto 20px; gap: 10px; align-items: center; min-height: 56px; cursor: pointer; }
.position--pli > summary::-webkit-details-marker { display: none; }
.position--pli .chevron { width: 20px; height: 20px; stroke: var(--encre-3); fill: none; stroke-width: 1.6; transition: transform .2s var(--sortie); }
.position--pli[open] > summary .chevron { transform: rotate(180deg); }
.partie--pli > summary { list-style: none; cursor: pointer; }
.partie--pli > summary::-webkit-details-marker { display: none; }
.partie--pli > summary::after { content: " ⌄"; color: var(--encre-3); font-size: .7em; }
.partie--pli[open] > summary { margin-bottom: var(--e4); }


.degres { margin-bottom: var(--e4); border-top: 0; }
.degres > .t-mention { margin-bottom: 6px; }
.degres .rangee { min-height: 40px; padding: 8px 0; }
#systemes { margin-top: var(--e3); align-items: center; }
.systemes-titre { margin-top: var(--e4); }
.systemes-dit { display: grid; gap: 4px; margin-bottom: var(--e4); }
.gestes-resultat { margin-top: var(--e4); }
.vers-app { margin-top: var(--e5); }


.trois--seul { grid-template-columns: 1fr; border-block: 0; }
.trois--seul .grand { grid-template-columns: 1fr; grid-template-areas: "verre" "tete" "degre" "phrase" "suite"; justify-items: center; text-align: center; row-gap: 6px; padding: var(--e4); }
.trois--seul .grand .verre { width: min(52vw, 220px); margin-bottom: var(--e3); }
.trois--seul .grand__nom { font-size: 40px; line-height: 1.04; }
.trois--seul .grand__degre { font-size: 15px; }
.trois--seul .grand__phrase { max-width: 34em; margin-top: var(--e3); text-align: left; }
.trois--seul .grand > .suite { justify-self: center; }
.theme--reponse { margin-top: 0; }
.theme--reponse .theme__roue { order: 1; margin: 0 0 var(--e4); position: static; }
.theme--reponse .theme__corps > .partie { order: 2; }
.manque { margin-bottom: var(--e5); padding: var(--e4) 0; border-block: 1px solid var(--plomb); }
.manque[hidden] { display: none; }
.manque p + p { margin-top: var(--e3); }
.vers-theme { margin-top: var(--e5); }
.rangee[data-ici] .libelle, .rangee[data-ici] .valeur { color: var(--champagne); }
.rangees--sens .rangee { grid-template-columns: fit-content(40%) minmax(0, 1fr) auto; row-gap: 4px; align-items: baseline; color: inherit; }
.rangees--sens .rangee > .suite__fleche { color: var(--champagne); grid-column: 3; grid-row: 1; }

.rangees--sens .rangee > .valeur { white-space: normal; text-wrap: balance; }
.rangees--sens .rangee > .valeur .doux { white-space: nowrap; }
.rangees--sens .rangee__dit { grid-column: 1 / -1; color: var(--encre-3); text-wrap: pretty; }
.rangee--lien > .suite__fleche { color: var(--champagne); align-self: center; }
#frise > .t-texte, #frise > .avis, #frise > .t-mention, #frise > .moments { margin-top: var(--e4); }
#frise > details { margin-top: var(--e4); }
#frise .rangee--lien { grid-template-columns: fit-content(45%) minmax(0, 1fr) auto; }
.frise__tranche { padding: 0; border: 0; font: inherit; color: inherit; cursor: pointer; }
.frise__tranche[data-moment] { box-shadow: inset 0 0 0 2px var(--champagne); filter: brightness(1.25); }
.frise__dit { margin-top: var(--e3); min-height: 1.4em; color: var(--encre-2); }
.moments { margin-top: var(--e3) !important; }
.moments__dit { min-height: 1.5em; }
@media (min-width: 1024px) {
  .theme--reponse .theme__roue { grid-column: 1 / span 5; order: 0; position: sticky; top: calc(var(--barre-h) + 16px); }
  .theme--reponse .theme__corps { grid-column: 7 / span 6; }
  .theme .trois--seul .grand { padding: var(--e4) 0; border: 0; background: none; }
  .theme .trois--seul a.grand:hover { background: none; }
  .theme .trois--seul .grand .verre { width: min(100%, 260px); }
  .theme .trois--seul .grand__nom { font-size: 52px; }
}

.douze--outil { margin-top: var(--e5); }

.douze--dit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e4) var(--gouttiere); }
.douze--dit > * { flex: none; min-width: 0; }
.douze--dit a { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px; row-gap: 4px;
  justify-items: start; align-items: start; text-align: left; padding: 10px; border-radius: var(--r-3, 12px); transition: background .2s; }
.douze--dit a:hover { background: rgba(236, 230, 218, .05); }
.douze--dit .verre { grid-row: 1 / span 2; width: 56px; max-width: none; }
.douze--dit .douze__nom { font: 400 18px/1.2 var(--serif); color: var(--encre); }
.douze--dit a:hover .douze__nom { color: var(--champagne); }
.douze--dit .douze__dit { font: 400 14px/1.45 var(--sans); color: var(--encre-2); }
@media (max-width: 559.98px) { .douze--dit { grid-template-columns: minmax(0, 1fr); row-gap: 2px; } .douze--dit a { padding: 8px 0; } }
@media (min-width: 1024px) { .douze--dit { grid-template-columns: repeat(3, minmax(0, 1fr)); } .douze--dit a { grid-template-columns: 72px minmax(0, 1fr); } .douze--dit .verre { width: 72px; } }
@media (min-width: 1440px) { .douze--dit { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media print { .ouverture__outil, .rappel__modifier, .gestes-resultat, .vers-app, .reponse__partager, .rose-carte { display: none !important; } }

.maison__astre .suite, .avis .suite, .rangee__dit .suite { display: inline; min-height: 0; }
.maison__astre > b { display: block; margin-bottom: 2px; }
.vers-app .bouton { white-space: normal; text-align: center; height: auto; min-height: var(--cible); padding-block: 10px; max-width: 100%; }

.famille-lumiere { position: absolute; top: 0; left: 0; display: flex; gap: 2px; width: 312px; height: 24px; opacity: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.famille-lumiere .verre { width: 24px; flex: none; }
.resultat { position: relative; }


.frise__dit { display: grid; gap: 2px; }
.frise__voisin { color: var(--encre-3); white-space: nowrap; }
.frise__voisin--ici { color: var(--encre); font-weight: 500; }
