.her-page{--her-night:#102b38;--her-deep:#091d28;--her-panel:#1b3b49;--her-silver:#c7d2d4;--her-amber:#e8bc7d;--her-cream:#f8f2e8;--her-ink:#183341;margin:0;background:var(--her-cream);color:var(--her-ink);font:17px/1.65 Georgia,'Times New Roman',serif}
.her-page *{box-sizing:border-box}.her-page [hidden]{display:none!important}.her-page a{color:inherit;text-underline-offset:5px}.her-page button{font:inherit;cursor:pointer}.her-page button:disabled{cursor:default}.her-page :focus-visible{outline:3px solid #f2b763;outline-offset:5px}.her-page h1,.her-page h2,.her-page h3,.her-page p{margin-top:0}.her-page h1,.her-page h2,.her-page h3{font-weight:400;line-height:1.12}.her-page h1{font-size:clamp(36px,5vw,66px);letter-spacing:-.035em;max-width:900px;margin:12px auto 24px}.her-page h2{font-size:clamp(28px,3.6vw,44px)}.her-page h3{font-size:24px}.her-page img{max-width:100%;display:block}.her-skip{position:fixed;left:16px;top:-80px;background:white;padding:12px;z-index:100}.her-skip:focus{top:8px}.her-site-header{max-width:1320px;margin:auto;padding:25px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #c6c5bc}.her-brand{font-size:26px;line-height:1.1;text-decoration:none}.her-brand span{display:block;font:10px/2.4 Arial,sans-serif;letter-spacing:.22em}.her-site-header nav{display:flex;gap:24px;flex-wrap:wrap;font:14px/1.5 Arial,sans-serif}.her-breadcrumb{max-width:1240px;margin:24px auto 0;padding:0 24px;display:flex;gap:10px;flex-wrap:wrap;font:12px/1.6 Arial,sans-serif;color:#49616b}.her-intro{max-width:850px;margin:54px auto 60px;padding:0 24px;text-align:center}.her-eyebrow{font:11px/1.7 Arial,sans-serif;letter-spacing:.19em;font-weight:700}.her-lead{font-size:clamp(25px,3vw,36px);line-height:1.35}.her-lead em{color:#89602e;font-weight:400}.her-intro>p:not(.her-eyebrow):not(.her-lead){max-width:650px;margin:0 auto 22px}.her-details{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 24px;margin:28px 0;font:12px/1.5 Arial,sans-serif;color:#48606a}.her-text-link{font:700 13px/1.6 Arial,sans-serif}.her-game{position:relative;max-width:1280px;margin:0 auto;background:radial-gradient(ellipse at 50% 0,#345461 0,transparent 60%),var(--her-night);color:var(--her-cream);padding:55px 38px 28px;border:1px solid #9babac;border-radius:12px;box-shadow:0 20px 65px #112e3b20;isolation:isolate}.her-game:before{content:'';position:absolute;inset:9px;border:1px solid #a8b8ba45;border-radius:6px;pointer-events:none;z-index:-1}.her-game-heading{max-width:740px;margin:auto;text-align:center}.her-game .her-eyebrow{color:var(--her-amber)}.her-game-heading>p:last-child{font-size:17px;color:#d9e0df}.her-status{font:700 14px/1.6 Arial,sans-serif;text-align:center;color:#ffe0b4;min-height:24px;margin:28px 0 25px}.her-error{background:#fff4df;color:#6b1818;border:2px solid #a23838;padding:20px}.her-workspace{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:30px;align-items:start}.her-table-section{min-width:0;padding:20px;background:linear-gradient(120deg,#081c25b8,#14303c);border:1px solid #acbfc142;border-radius:10px}.her-table-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}.her-table-heading h3{font-size:21px;margin-bottom:0}.her-secondary,.her-primary{border-radius:5px;padding:13px 20px;font:700 13px/1.4 Arial,sans-serif!important;min-height:46px;text-align:center;transition:background .2s,transform .2s}.her-secondary{color:#f8f2e8;background:#173846;border:1px solid #b4c7cc}.her-primary{color:#182b35;background:linear-gradient(110deg,#ffe2b5,#deb17c);border:1px solid #ffe5c1;box-shadow:0 5px 18px #0002}.her-primary:hover,.her-secondary:hover{transform:translateY(-2px)}.her-primary:active,.her-secondary:active{transform:translateY(0)}.her-instruction{font:14px/1.55 Arial,sans-serif;color:#d9e0df;margin:14px 0 20px;min-height:43px}.her-deck{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;padding:4px 0}.her-choice{position:relative;border:1px solid #a8b9bd;background:#0a202a;padding:0;border-radius:5px;aspect-ratio:2/3;min-width:0;overflow:hidden;box-shadow:1px 3px 6px #0006;transition:transform .18s,border-color .18s,opacity .2s}.her-choice:not(:disabled):hover{transform:translateY(-6px) rotate(-2deg);border-color:#ffe3b8;z-index:2}.her-choice img{width:100%;height:100%;object-fit:contain}.her-choice.is-picked{opacity:.3;border-style:dashed;box-shadow:none}.her-choice.is-picked:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;background:#102b38bb;color:white;font:700 23px Arial,sans-serif}.her-deck.is-shuffling .her-choice{animation:her-mix .62s ease both;animation-delay:calc(var(--i)*5ms)}@keyframes her-mix{0%,100%{transform:translate(0) rotate(0)}35%{transform:translateY(8px) rotate(-8deg)}70%{transform:translateY(-8px) rotate(6deg)}}.her-table-note{font:12px/1.6 Arial,sans-serif;color:#c4d1d4;text-align:center;margin:18px 0 0}.her-tree-section{text-align:center;min-width:0;padding-top:15px}.her-tree-section h3{margin-bottom:8px}.her-tree{position:relative;aspect-ratio:920/1020;margin-top:15px;min-width:0}.her-tree svg{position:absolute;inset:0;width:100%;height:100%;color:#c1d0cf;opacity:.48}.her-positions{margin:0;padding:0;list-style:none;position:absolute;inset:0}.her-position{position:absolute;width:20%;transform:translate(-50%,-50%)}.her-position:nth-child(1){left:50%;top:90%}.her-position:nth-child(2){left:27%;top:70%}.her-position:nth-child(3){left:73%;top:70%}.her-position:nth-child(4){left:13%;top:50%}.her-position:nth-child(5){left:87%;top:50%}.her-position:nth-child(6){left:31%;top:30%}.her-position:nth-child(7){left:69%;top:30%}.her-position:nth-child(8){left:50%;top:10%}.her-position button{display:block;width:100%;padding:7px 4px;min-height:56px;border:1px solid #9aafb0;border-radius:7px;color:#dde4e3;background:#102d3b;box-shadow:0 4px 10px #0003;font:12px/1.3 Arial,sans-serif}.her-position button:disabled{color:#c7d2d4}.her-position b{display:block;font-size:10px;font-weight:400;letter-spacing:.12em;color:#e8bc7d}.her-position .her-node-image{display:none}.her-position.is-filled .her-node-image{display:block;width:100%;height:38px;object-fit:contain;margin:0 0 5px}.her-position.is-filled button{border-color:#e8bc7d;background:#183d4b}.her-position.is-next button{outline:1px solid #efc48b;outline-offset:4px}.her-tree-caption{font:12px/1.6 Arial,sans-serif;color:#c4d1d4;margin:10px 0 0}.her-current{max-width:940px;margin:38px auto 0;scroll-margin-top:24px}.her-reading-card{background:#f8f2e8;color:#183341;border:1px solid #bdab8c;border-radius:9px;min-width:0;display:flex;flex-direction:column;overflow:hidden}.her-current .her-reading-card{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.2fr)}.her-art-wrap{padding:20px;display:flex;justify-content:center;align-items:flex-start;background:#efe7d9}.her-card-face{width:min(100%,280px);padding:17px 10px 14px;border:2px solid #bdc9c7;border-radius:10px;position:relative;background:linear-gradient(130deg,#183b4c,#0a2533 68%);color:#fbf4e7;box-shadow:0 7px 15px #0002;text-align:center}.her-card-face:before,.her-card-face:after{position:absolute;content:'❧';color:#c5cfcc;font-size:23px;line-height:1;left:6px;top:1px}.her-card-face:after{left:auto;right:6px;transform:scaleX(-1)}.her-card-title{display:block;min-height:40px;align-content:center;font:19px/1.15 Georgia,serif;margin:0 8px 9px}.her-card-face img{width:100%;aspect-ratio:2/3;object-fit:contain;border-radius:5px;background:#0b2230;border:1px solid #9caeae}.her-card-keyword{display:block;font:18px/1.3 Georgia,serif;padding-top:11px}.her-reading-copy{padding:25px 28px;min-width:0}.her-position-label{display:block;background:#15394a;color:#fff8ed;padding:10px 14px;border-radius:4px;font:700 12px/1.5 Arial,sans-serif;letter-spacing:.06em;margin-bottom:17px}.her-reading-copy h3{font-size:29px;margin-bottom:12px}.her-position-context{font:13px/1.55 Arial,sans-serif;color:#4d636d;border-bottom:1px solid #c6c8bc;padding-bottom:15px}.her-meaning{font:16px/1.7 Georgia,serif}.her-reading-copy dl{font:14px/1.6 Arial,sans-serif;margin:18px 0 0}.her-reading-copy dt{font-weight:700;margin-top:16px;color:#163b4c}.her-reading-copy dd{margin:3px 0 0}.her-continue-wrap{text-align:center;margin:24px 0 10px}.her-complete{margin-top:45px}.her-reading-heading{max-width:700px;margin:0 auto 32px;text-align:center}.her-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin:24px 0}.her-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:24px}.her-results .her-art-wrap{min-height:480px}.her-results .her-reading-copy{flex:1}.her-reflection{max-width:700px;text-align:center;margin:40px auto 0;border-top:1px solid #acbfc142;padding-top:30px}.her-reflection h3{font-size:29px}.her-symbolic{max-width:800px;margin:40px auto 0;text-align:center;color:#bfcfd2;font:12px/1.6 Arial,sans-serif}.her-explanation{max-width:1120px;margin:80px auto;display:grid;grid-template-columns:1fr 1fr;gap:70px;padding:0 24px}.her-explanation h2{font-size:37px}.her-position-guide{border-left:1px solid #b7c0bd;padding-left:30px}.her-position-guide ol{padding-left:20px;font:14px/1.65 Arial,sans-serif}.her-position-guide li{margin:0 0 14px}.her-position-guide strong{display:block;color:#183341}.her-related{max-width:1000px;margin:0 auto 60px;padding:30px;border-top:1px solid #b7c0bd}.her-related h2{font-size:28px}.her-related p{margin-bottom:0}.her-footer{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;background:#e9e4da;padding:28px 24px;font:12px/1.6 Arial,sans-serif}.her-workspace.is-complete{display:block}.her-workspace.is-complete .her-tree-section{max-width:650px;margin:auto}.her-workspace.is-complete .her-tree{max-width:650px}
@media(min-width:1200px){.her-deck{grid-template-columns:repeat(10,minmax(0,1fr))}}
@media(max-width:960px){.her-workspace{grid-template-columns:1fr}.her-deck{grid-template-columns:repeat(10,minmax(0,1fr))}.her-tree-section{max-width:600px;width:100%;margin:20px auto 0}.her-game{margin:0 20px}.her-table-section{padding:22px}.her-explanation{gap:35px}.her-results .her-reading-copy{padding:22px}.her-results .her-art-wrap{min-height:430px}}
@media(max-width:620px){.her-page{font-size:16px}.her-site-header{padding:20px;align-items:flex-start;gap:14px}.her-brand{font-size:22px}.her-site-header nav{font-size:11px;gap:10px;max-width:125px;justify-content:flex-end;text-align:right}.her-breadcrumb{padding:0 18px;font-size:11px}.her-intro{margin:40px auto;padding:0 22px}.her-details{gap:8px 14px;font-size:11px}.her-game{margin:0 10px;padding:36px 16px 24px}.her-game-heading>p:last-child{font-size:15px}.her-game:before{inset:6px}.her-status{font-size:13px;margin:22px 0}.her-table-section{padding:14px 10px}.her-table-heading h3{font-size:22px}.her-table-heading .her-secondary{width:100%}.her-instruction{min-height:0;font-size:13px}.her-deck{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.her-table-note{font-size:11px}.her-tree{margin-top:24px;aspect-ratio:920/1450}.her-position{width:25%}.her-position:nth-child(4){left:14%}.her-position:nth-child(5){left:86%}.her-position button{font-size:11px;min-height:56px;padding:7px 3px}.her-position b{font-size:9px}.her-position.is-filled .her-node-image{height:32px}.her-tree-caption{font-size:11px}.her-current .her-reading-card{display:flex}.her-art-wrap{padding:22px 18px}.her-current .her-card-face{max-width:250px}.her-reading-copy{padding:22px}.her-reading-copy h3{font-size:28px}.her-results{grid-template-columns:1fr;gap:22px;grid-auto-rows:1fr}.her-results .her-art-wrap{min-height:0;flex:0 0 auto;height:470px;align-items:center}.her-results .her-card-face{max-width:240px}.her-results .her-reading-copy{padding:22px}.her-meaning{font-size:16px}.her-actions>*{width:100%}.her-explanation{margin:50px auto;display:block;padding:0 24px}.her-explanation h2{font-size:31px}.her-position-guide{margin-top:35px;padding-left:20px}.her-related{margin:0 24px 40px;padding:25px 0}.her-current{scroll-margin-top:12px}.her-complete{margin-top:30px}.her-reflection h3{font-size:26px}}
@media(max-width:374px){.her-deck{grid-template-columns:repeat(5,minmax(0,1fr))}.her-game{margin:0 6px;padding-left:12px;padding-right:12px}.her-position button{font-size:10px}.her-results .her-art-wrap{height:450px}}
@media(prefers-reduced-motion:reduce){.her-page *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Intégration au gabarit France Médium, arbre visible à la fin du tirage. */
.her-page{padding-bottom:1px}
.her-page #her-tree-title,.her-page .her-reading-card{scroll-margin-top:120px}
.her-page .her-tree svg{opacity:.8}
.her-page .her-branches{stroke-width:5}
.her-page .her-card-face img{height:auto;object-fit:contain}
.her-page .her-deck button{min-height:44px}
@media(max-width:620px){.her-page .her-position button{font-size:11px}.her-page .her-intro{margin-top:30px}}

/* Éventail mélangé à chaque choix, lecture au même emplacement. */
.her-workspace{display:block;max-width:940px;margin:auto}
.her-workspace:not(.is-complete) .her-tree-section{display:none}
.her-table-section{max-width:940px;margin:auto}
.her-deck{display:block;position:relative;width:460px;max-width:100%;height:205px;margin:10px auto;padding:0;overflow:visible}
.her-deck .her-choice{position:absolute;top:28px;left:calc(50% - 45px);width:90px;height:135px;transform:translateX(calc((var(--i) - 2)*62px)) rotate(calc((var(--i) - 2)*7deg));transform-origin:50% 140%;transition:translate .18s;z-index:1}
.her-deck .her-choice:not(:disabled):hover,.her-deck .her-choice:focus-visible{transform:translateX(calc((var(--i) - 2)*62px)) rotate(calc((var(--i) - 2)*7deg));translate:0 -9px;z-index:2}
.her-deck.is-shuffling .her-choice{animation:none!important;visibility:hidden;pointer-events:none}
.her-shuffle-pack{--cut-x:140px;--cut-y:30px;position:absolute;inset:0;pointer-events:none;z-index:3}
.her-shuffle-pack:after{content:'Mélange du paquet…';position:absolute;bottom:0;left:0;right:0;text-align:center;font:12px/1.4 Arial,sans-serif;color:#dce5e6}
.her-shuffle-pack .her-shuffle-card{position:absolute;top:28px;left:calc(50% - 45px);width:90px;height:135px;border:1px solid #c0d0d3;border-radius:5px;background:#102b38;box-shadow:2px 4px 5px #0005;object-fit:contain;z-index:calc(var(--order) + 1);animation:her-pack-mix 2.8s cubic-bezier(.45,0,.25,1) both;animation-delay:calc(var(--order)*8ms);will-change:transform}
@keyframes her-pack-mix{
 0%,5%{transform:translate(0,calc(var(--order)*.24px)) rotate(0)}
 19%,26%{transform:translate(calc(var(--pile)*var(--cut-x)),calc(var(--layer)*.45px)) rotate(calc(var(--pile)*-14deg))}
 40%{transform:translate(calc(var(--pile)*var(--cut-x)*-1),calc(var(--pile)*var(--cut-y) + var(--layer)*.45px)) rotate(calc(var(--pile)*14deg))}
 52%,56%{transform:translate(0,calc(var(--order)*.24px)) rotate(0)}
 70%,76%{transform:translate(calc(var(--pile)*var(--cut-x)),calc(var(--pile)*var(--cut-y) + var(--layer)*.45px)) rotate(calc(var(--pile)*18deg))}
 87%{transform:translate(calc(var(--pile)*-45px),calc(var(--layer)*.45px)) rotate(calc(var(--pile)*-7deg))}
 96%,100%{transform:translate(0,calc(var(--order)*.24px)) rotate(0)}
}
.her-current{margin:0 auto;scroll-margin-top:24px}
.her-page #her-table-title{scroll-margin-top:24px}
.her-next-top{display:block;margin:0 auto 20px;max-width:100%}
.her-continue-wrap .her-primary{max-width:100%}
@media(max-width:620px){
 .her-game{padding-top:26px}
 .her-table-heading{gap:12px}
 .her-table-heading .her-secondary{width:auto;padding:9px 12px;min-height:44px}
 .her-deck{height:160px}
 .her-shuffle-pack{--cut-x:clamp(64px,22vw,96px);--cut-y:22px}
 .her-shuffle-pack .her-shuffle-card{left:calc(50% - 32px);top:24px;width:64px;height:96px}
 .her-deck .her-choice{left:calc(50% - 32px);top:24px;width:64px;height:96px;transform:translateX(calc((var(--i) - 2)*42px)) rotate(calc((var(--i) - 2)*7deg))}
 .her-deck .her-choice:not(:disabled):hover,.her-deck .her-choice:focus-visible{transform:translateX(calc((var(--i) - 2)*42px)) rotate(calc((var(--i) - 2)*7deg))}
 .her-next-top,.her-continue-wrap .her-primary{width:100%}
 .her-current .her-art-wrap{padding:16px}
 .her-current .her-card-face{max-width:190px}
 .her-current .her-reading-copy{padding:20px}
}
