@layer theme,base;@layer components{.cave-gate[data-porte]{--c-red:#d66e60;--c-blue:#5591d2;--c-yellow:#dfa243}.cave-gate[data-porte] .cave-gate__breath{animation-duration:calc(5.4s - var(--souffle,0) * 2.6s)}@media (max-width:639px){.cave-gate[data-porte] .cave-gate__glyph--water,.cave-gate[data-porte] .cave-gate__glyph--volt{width:32px;height:32px;display:inline-flex}.cave-gate[data-porte] .cave-gate__glyph--water svg,.cave-gate[data-porte] .cave-gate__glyph--volt svg{width:16px;height:16px}}.porte-anneau,.porte-glyphe{pointer-events:none;width:56px;height:56px;display:block;position:absolute}.porte-anneau--red{--c:var(--c-red,#d66e60);top:calc(4% + 19px);left:50%;transform:translate(-50%,-50%)}.porte-anneau--blue{--c:var(--c-blue,#5591d2);top:calc(66% + 19px);left:calc(8.5% + 19px);transform:translate(-50%,-50%)}.porte-anneau--yellow{--c:var(--c-yellow,#dfa243);top:calc(66% + 19px);right:calc(8.5% + 19px);transform:translate(50%,-50%)}@media (max-width:639px){.porte-anneau{width:48px;height:48px}.porte-anneau--red{top:calc(4% + 16px)}.porte-anneau--blue{top:calc(66% + 16px);left:calc(8.5% + 16px)}.porte-anneau--yellow{top:calc(66% + 16px);right:calc(8.5% + 16px)}}.porte-anneau svg,.porte-glyphe svg:first-child{width:100%;height:100%;position:absolute;inset:0;overflow:visible;transform:rotate(-90deg)}.porte-anneau__fond{fill:none;stroke:#fff6e621;stroke-width:2.6px}.porte-anneau__plein{fill:none;stroke:var(--c);stroke-width:3.2px;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100px;transition:stroke-dashoffset 1.6s cubic-bezier(.3,.7,.3,1) .2s}.is-porte-eveil .porte-anneau__plein,.porte-glyphe .porte-anneau__plein{stroke-dashoffset:calc(100 - var(--r,0) * 100)}.porte-anneau.is-plein .porte-anneau__plein{stroke-width:3.6px}@media (prefers-reduced-motion:reduce){.porte-anneau__plein{transition:none}}.porte-cartouche{z-index:1;background:#0c0b1e9e;border:1px solid #fac77538;border-radius:14px;width:min(30rem,100%);margin:1.8rem auto 0;padding:.9rem 1.1rem 1rem;position:relative;box-shadow:inset 0 0 22px #00000059}@media (min-width:640px){.cave-gate[data-porte]{--pied:12.5rem;min-height:calc(580px + var(--pied))}.cave-gate[data-porte] .cave-gate__stone{bottom:var(--pied)}.cave-gate[data-porte] .porte-cartouche{flex-direction:column;justify-content:center;height:9rem;margin-top:3.5rem;display:flex}}.porte-cartouche__recit{color:#f5e3ea;margin:0 0 .55rem;font-size:16px;line-height:1.3}.porte-cartouche__jauges{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:0;padding:0;list-style:none;display:grid}.porte-jauge{color:var(--c);grid-template-columns:auto 1fr;align-items:center;gap:.25rem .4rem;display:grid}.porte-jauge--red{--c:#e07a6c}.porte-jauge--blue{--c:#6aa3e0}.porte-jauge--yellow{--c:#e8b155}.porte-jauge__barre{background:#fff6e61a;border-radius:99px;grid-column:1/-1;height:6px;overflow:hidden}.porte-jauge__barre>span{border-radius:inherit;background:var(--c);transform-origin:0;height:100%;transition:transform 1.6s cubic-bezier(.3,.7,.3,1) .3s;display:block;transform:scaleX(0)}.is-porte-eveil .porte-jauge__barre>span{transform:scaleX(var(--r,0))}.porte-jauge__n{color:#fff6e6;text-align:right;font-size:15px;line-height:1}.porte-jauge__sur{color:#fff6e68c;font-size:11px}.porte-jauge.is-pleine .porte-jauge__n{color:var(--c)}.porte-cartouche__page{color:#fac775}.porte-cartouche__page a{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.porte-cartouche__lien{color:#f5e3ead9;text-underline-offset:3px;margin-top:.65rem;font-size:15px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;display:inline-block}.porte-cartouche__lien:hover{color:#fac775}@media (prefers-reduced-motion:reduce){.porte-jauge__barre>span{transition:none}}.porte-page{--c-red:#d66e60;--c-blue:#5591d2;--c-yellow:#dfa243}.porte-scene{background:radial-gradient(at 50% 85%,#2b2350 0%,#16132c 55%,#0c0b1c 100%);border-radius:18px;margin-bottom:2rem;padding:1.4rem 1rem 1.2rem;position:relative;overflow:hidden;box-shadow:inset 0 0 60px #0000008c,0 18px 40px #04041073}.porte-scene--ouverte{padding:0}.porte-scene__image{width:100%;max-width:none;height:auto;display:block}.porte-scene--ouverte:after{content:"";aspect-ratio:1;pointer-events:none;background:radial-gradient(circle,#ffecbe73,#fac77500 68%);border-radius:50%;width:26%;animation:5s ease-in-out infinite porte-respire;position:absolute;top:58%;left:50%;transform:translate(-50%,-50%)}.porte-scene__arche{aspect-ratio:640/464;width:min(640px,100%);margin:0 auto;position:relative}.porte-scene__arche>svg{position:absolute;inset:0}.porte-scene__lueur{aspect-ratio:1;pointer-events:none;width:58%;animation:porte-respire calc(5.4s - var(--souffle,0) * 2.6s) ease-in-out infinite;background:radial-gradient(circle,#ffd27a52,#ffd27a00 66%);border-radius:50%;position:absolute;top:62%;left:50%;transform:translate(-50%,-50%)}@media (prefers-reduced-motion:reduce){.porte-scene__lueur,.porte-scene--ouverte:after{opacity:.7;animation:none}}@keyframes porte-respire{0%,to{opacity:.45;transform:translate(-50%,-50%)scale(.94)}50%{opacity:1;transform:translate(-50%,-50%)scale(1.06)}}.porte-glyphe{color:#fff6e6;width:58px;height:58px}.porte-glyphe:before{content:"";background:#1c1834;border:2px solid #2f2850;border-radius:50%;position:absolute;inset:9px}.porte-glyphe--red{--c:var(--c-red);top:2%;left:50%;transform:translate(-50%)}.porte-glyphe--blue{--c:var(--c-blue);top:63%;left:6%}.porte-glyphe--yellow{--c:var(--c-yellow);top:63%;right:6%}.porte-glyphe__icone{opacity:.35;width:20px;height:20px;color:var(--c);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.porte-glyphe.is-plein:before{border-color:var(--c);box-shadow:0 0 18px 4px color-mix(in srgb, var(--c) 55%, transparent)}.porte-glyphe.is-plein .porte-glyphe__icone{opacity:1}@media (max-width:639px){.porte-glyphe{width:46px;height:46px}.porte-glyphe:before{inset:7px}.porte-glyphe__icone{width:16px;height:16px}}.porte-scene__recit{text-align:center;color:#f5e3ea;max-width:36rem;margin:.8rem auto 0;font-size:18px;position:relative}.porte-scene--ouverte .porte-scene__recit{background:linear-gradient(#0000,#080814d9);max-width:none;margin:0;padding:2.5rem 1rem .9rem;position:absolute;bottom:0;left:0;right:0}@media (max-width:640px){.porte-scene--ouverte .porte-scene__recit{background:0 0;padding:.8rem 1rem 1rem;font-size:16px;position:static}}.porte-colonnes{align-items:start;gap:1.8rem;display:grid}@media (min-width:900px){.porte-colonnes{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}}.porte-jauges{padding:1.6rem 1.3rem 2.4rem}.porte-jauges__liste{flex-direction:column;gap:1.2rem;margin:1.3rem 0 0;padding:0;list-style:none;display:flex}.porte-grande-jauge{flex-direction:column;gap:.35rem;display:flex}.porte-grande-jauge--red{--c:#a33327}.porte-grande-jauge--blue{--c:#1f5b8f}.porte-grande-jauge--yellow{--c:#9a6410}.porte-grande-jauge__tete{color:var(--c);align-items:center;gap:.45rem;display:flex}.porte-grande-jauge__tete>span:nth-child(2){color:#3a2612}.porte-grande-jauge__n{color:#2f1d0e;font-variant-numeric:tabular-nums;margin-left:auto;font-size:18px}.porte-grande-jauge__barre{background:#4a30181f;border-radius:4px 7px 5px 6px;height:14px;position:relative;overflow:hidden;box-shadow:inset 0 1px 2px #4a301840}.porte-grande-jauge__barre>span{background:var(--c);transform:scaleX(var(--r,0));transform-origin:0;opacity:.85;position:absolute;inset:0}.porte-grande-jauge.is-pleine .porte-grande-jauge__barre>span{opacity:1}.porte-grande-jauge__etat{color:#6b4b2a;font-size:15px}.porte-grande-jauge.is-pleine .porte-grande-jauge__etat{color:var(--c)}.porte-jauges__total{color:#7a5a32;margin-top:1.3rem;font-size:15px}.porte-cote{flex-direction:column;gap:1.4rem;display:flex}.porte-part,.porte-apres{padding:1.2rem 1.2rem 1.6rem}.porte-part__liste{flex-direction:column;gap:.3rem;margin:.5rem 0 0;padding:0;font-size:16px;list-style:none;display:flex}.porte-part__liste li{align-items:center;gap:.4rem;display:flex}.porte-part__liste li:first-child{color:#a33327}.porte-part__liste li:nth-child(2){color:#1f5b8f}.porte-part__liste li:nth-child(3){color:#9a6410}.porte-apres p+p{margin-top:.6rem}.porte-apres__page{color:#a33327;margin-top:.8rem;-webkit-text-decoration:underline dotted;text-decoration:underline dotted;display:inline-block}.porte-gravure{text-align:center;padding:.4rem .5rem}.porte-gravure__texte{letter-spacing:.26em;word-spacing:.4em;color:#96cde173;text-shadow:0 0 6px #78c8e638;max-width:28rem;margin:.4rem auto;font-size:12px;line-height:1.8}.feuillet{width:min(560px,100%);transform:rotate(var(--tilt,0deg));filter:drop-shadow(0 16px 24px #0404108c);margin:0 auto;position:relative;container-type:inline-size}.feuillet__papier{width:100%;max-width:none;height:auto;display:block}.feuillet__encre{color:#35200f;font-family:var(--font-hand), cursive;letter-spacing:-.012em;font-style:oblique 9deg;position:absolute;inset:0}.feuillet__num{color:#35200fb3;font-size:4.6cqw;font-weight:700;position:absolute;top:4.2%;right:9%;transform:rotate(4deg)}.feuillet__bloc{flex-direction:column;gap:1.6cqw;font-size:max(13.5px,3.45cqw);line-height:1.32;display:flex;position:absolute;left:13%;right:9%}.feuillet__bloc--haut{top:8.5%}.feuillet__bloc--bas{bottom:7%}.feuillet--deux .feuillet__bloc--haut{top:7%}.feuillet--deux .feuillet__bloc--bas{bottom:6%}.feuillet__bloc p{margin:0;transform:rotate(-.6deg)}.feuillet__bloc p:nth-child(2n){transform:rotate(.4deg)translate(1.5cqw)}.feuillet__capitales{font-family:var(--font-display), system-ui;letter-spacing:.06em;color:#5b2a14;font-size:3.1cqw;font-style:normal}.feuillet__marge{color:#782c1ed9;font-size:max(12px,2.9cqw);margin-top:.4cqw!important;transform:rotate(-2.5deg)!important}.feuillet__marge--seule{position:absolute;bottom:6%;left:14%;right:10%}@media (max-width:480px){.feuillet--grand{width:calc(100% + 1rem);margin:0 -.5rem}.carnet-secret--lecture{overflow-x:clip}.feuillet__bloc{gap:1.2cqw;line-height:1.24;left:11%;right:6%}}.liasse{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem 1rem;margin:1rem 0 0;padding:0;list-style:none;display:grid}@media (min-width:640px){.liasse{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1000px){.liasse{grid-template-columns:repeat(7,minmax(0,1fr))}}.liasse__item{text-align:center;transform:rotate(var(--tilt,0deg));flex-direction:column;align-items:center;gap:.35rem;display:flex}.liasse__lien{width:100%;transition:transform .2s;display:block;position:relative}.liasse__lien:hover{transform:translateY(-4px)rotate(-1deg)}.liasse__vignette{filter:drop-shadow(0 6px 8px #28180a59);width:100%;max-width:none;height:auto;display:block}.liasse__num{color:#2f1d0e;font-size:16px}.liasse__item--ok .liasse__num{color:#35200fbf;font-size:13px;position:absolute;top:4%;right:10%}.liasse__neuf{color:#a33327;background:#e7d9b6e6;border:2px solid #a33327;border-radius:6px;padding:.05rem .4rem;font-size:14px;position:absolute;bottom:12%;left:-4px;transform:rotate(-8deg)}.liasse__date{color:#7a5a32;font-size:13px}.liasse__talon{aspect-ratio:2/3;background:linear-gradient(90deg,#4a301829 0 9%,#0000 9%),#4a30180d;border:2px dashed #4a30184d;border-radius:3px;width:100%;display:block;-webkit-mask:linear-gradient(90deg,#000 0 14%,#0000 34%);mask:linear-gradient(90deg,#000 0 14%,#0000 34%)}.liasse__item--non .liasse__num{color:#6b5a44;margin-top:-.3rem}.liasse__indice{color:#a33327;font-size:14px;line-height:1.25}.carnet-secret__liasse{padding:1.4rem 1.1rem 2.4rem}.carnet-secret__compte{color:#5a4632;font-size:16px}.carnet-secret__nav{color:#d9c9a0;justify-content:space-between;width:min(560px,100%);font-size:16px;display:flex}.carnet-secret__nav a{text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.carnet-secret__note{color:#d9c9a0cc;text-align:center;margin-top:.6rem;font-size:15px}.carnet-secret__absente{max-width:30rem}.succes__page--secret{background:linear-gradient(115deg,#ffffff2e,#0000 45%),#ddc89c}.tombee{z-index:90;background:#060612e6;place-items:center;padding:1rem;animation:.3s both tombee-fond;display:grid;position:fixed;inset:0}.tombee__boite{text-align:center;flex-direction:column;align-items:center;gap:.3rem;max-width:22rem;display:flex}.tombee__feuillet{width:min(52vw,210px);max-width:none;height:auto;margin-bottom:.8rem;animation:1.5s cubic-bezier(.3,.6,.3,1) both tombee-chute}.tombee__titre{color:#fff6e6;font-size:22px}.tombee__num{color:#fac775;font-size:16px}.tombee__msg{color:#f5e3ead9;font-size:15px}.tombee__actions{gap:.7rem;margin-top:.8rem;animation:.4s 1.1s both tombee-fond;display:flex}@keyframes tombee-fond{0%{opacity:0}}@keyframes tombee-chute{0%{opacity:0;transform:translate(-30px,-60vh)rotate(-24deg)}20%{opacity:1}45%{transform:translate(26px,-22vh)rotate(14deg)}70%{transform:translate(-14px,-4vh)rotate(-7deg)}to{transform:none}}@media (prefers-reduced-motion:reduce){.tombee__feuillet,.tombee__actions{animation:none}}.menenuit{flex-direction:column;align-items:center;width:200px;margin-bottom:.4rem;display:flex;position:relative}.menenuit__corps{opacity:.78;width:110px;max-width:none;height:auto;display:block}.menenuit__lueur{pointer-events:none;background:radial-gradient(circle,#ffd68c8c,#ffd68c00 70%);border-radius:50%;width:46px;height:46px;animation:3.8s ease-in-out infinite menenuit-meche;position:absolute;top:59.5219px;left:calc(50% + 45.1px);transform:translate(-50%,-50%)}@keyframes menenuit-meche{0%,to{opacity:.35}45%{opacity:.7}55%{opacity:.5}}.menenuit__lanterne{cursor:pointer;background:0 0;border-radius:40%;width:44px;height:52px;position:absolute;top:59.5219px;left:calc(50% + 45.1px);transform:translate(-50%,-50%)}.menenuit__lanterne:focus-visible{outline-offset:2px;outline:2px dashed #fac775}.menenuit__msg{color:#d9c9a0d9;text-align:center;max-width:18rem;min-height:1.4em;margin-top:.3rem;font-size:15px}@media (prefers-reduced-motion:reduce){.menenuit__lueur{opacity:.5;animation:none}}.crypto2__titre{color:#2f1d0e;margin-top:.2rem;font-size:22px}.crypto2__texte{color:#2f1d0e;min-height:3.2em}.crypto2--ok .crypto2__texte{color:#a33327}.crypto2__roues{flex-wrap:wrap;justify-content:center;gap:clamp(.5rem,3vw,1.4rem);display:flex}.roue{flex-direction:column;align-items:center;gap:.25rem;display:flex}.roue__fleche{color:#6b4b2a;background:#4a301812;border:1.5px solid #4a301840;border-radius:8px;place-items:center;width:44px;height:30px;font-size:13px;display:grid}.roue__fleche:hover{background:#4a301824}.roue__disque{cursor:ns-resize;background:radial-gradient(circle,#efe3c4 0 48%,#d8c69c 50% 100%);border:2px solid #6b4b2a;border-radius:50%;outline:none;place-items:center;width:64px;height:64px;display:grid;position:relative;box-shadow:inset 0 0 0 4px #4a30181f,0 3px 6px #28180a40}.roue__disque:focus-visible{box-shadow:0 0 0 3px #fac775}.roue__crans{background:repeating-conic-gradient(from -3deg, #4a30188c 0 6deg, transparent 6deg 30deg);transform:rotate(var(--a,0deg));border-radius:50%;transition:transform .26s cubic-bezier(.3,1.4,.5,1);position:absolute;inset:3px;-webkit-mask:radial-gradient(circle,#0000 0 66%,#000 68%);mask:radial-gradient(circle,#0000 0 66%,#000 68%)}.roue__disque:after{content:"";border:6px solid #0000;border-top-color:#a33327;position:absolute;top:-7px;left:50%;transform:translate(-50%)}.roue__valeur{color:#2f1d0e;font-size:22px;position:relative}.roue__nom{color:#8a6a44;font-size:14px}.crypto2__msg{color:#a33327;min-height:1.4em;margin-top:.5rem;font-size:15px}.jp__sketch--touche{cursor:pointer;-webkit-tap-highlight-color:transparent}.jp__sketch--touche:active{scale:.985}.jp__hou{z-index:3;color:#3a2612;pointer-events:none;background:#f3e9c8;border-radius:12px 12px 12px 3px;align-items:baseline;gap:.3rem;padding:.1rem .6rem;font-size:3.2cqw;animation:1.6s both jp-hou;display:inline-flex;position:absolute;top:36cqw;left:50cqw;box-shadow:0 3px 8px #28180a40}.jp__hou-n{color:#a33327;font-size:.75em}@keyframes jp-hou{0%{opacity:0;transform:translateY(6px)scale(.9)}12%{opacity:1;transform:none}75%{opacity:1}to{opacity:0;transform:translateY(-8px)}}@media (max-width:640px){.jp__hou{grid-area:sketch;place-self:start end;margin-top:.4rem;font-size:15px;position:relative;top:auto;left:auto}}@media (prefers-reduced-motion:reduce){.jp__hou{animation:none}}.gue{color:#d9c9a080;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.3rem .6rem;width:min(760px,100%);margin-top:-.6rem;font-size:15px;transition:color .3s;display:flex}.gue:hover,.gue:focus-within{color:#d9c9a0e6}.gue__ligne{align-items:baseline;gap:.4rem;display:flex}.gue__champ{color:#f5e3ea;width:13rem;font-size:16px;font-family:var(--font-hand), cursive;background:0 0;border:none;border-bottom:2px dotted;outline:none;padding:.1rem .2rem}.gue__ok{color:inherit;border:1px dashed;border-radius:6px;padding:.1rem .5rem;font-size:14px}.gue__msg{text-align:center;color:#fac775;flex-basis:100%;min-height:1.3em;margin:0}}@layer utilities;
