.maths-v2-page{--maths-v2-accent:#fde68a}.maths-v2-hub__map{width:min(100%,56rem);margin:0 auto;position:relative}.maths-v2-hub__map-img{border-radius:.75rem;width:100%;height:auto;display:block}.maths-v2-versants{grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));gap:.65rem;max-width:56rem;margin:0 auto;padding:1rem;display:grid}.maths-v2-versant-card{color:#fff;text-align:center;cursor:pointer;background:#0f2740d9;border:2px solid #ffffff40;border-radius:.65rem;padding:.75rem .5rem;font-size:.8rem;font-weight:700;transition:border-color .15s,transform .15s}.maths-v2-versant-card:hover{border-color:var(--maths-v2-accent);transform:translateY(-2px)}.maths-v2-versant-card__code{opacity:.75;margin-bottom:.25rem;font-size:.65rem;display:block}.maths-v2-module-list{flex-direction:column;gap:.5rem;max-width:40rem;margin:0 auto;padding:0 1rem 1.5rem;display:flex}.maths-v2-module-row{text-align:left;color:#fff;cursor:pointer;background:#ffffff14;border:2px solid #fff3;border-radius:.65rem;align-items:center;gap:.75rem;width:100%;padding:.5rem .65rem;display:flex}.maths-v2-module-row:hover{border-color:var(--maths-v2-accent)}.maths-v2-module-row__badge{object-fit:contain;flex-shrink:0;width:2.75rem;height:2.75rem}.maths-v2-module-row__meta{flex:1;min-width:0}.maths-v2-module-row__title{font-size:.85rem;font-weight:800;line-height:1.2}.maths-v2-module-row__sub{opacity:.8;font-size:.7rem}.maths-v2-stars{letter-spacing:.05em;color:var(--maths-v2-accent);font-size:.75rem}.maths-v2-page .math-map-area{width:100%;max-width:56rem;margin:0 auto;position:relative}.maths-v2-view-toggle{color:#fff;cursor:pointer;background:#0f2740b3;border:2px solid #ffffff40;border-radius:999px;padding:.35rem .9rem;font-size:.75rem;font-weight:700}.maths-v2-view-toggle--active{border-color:var(--maths-v2-accent);background:#1e3a5ff2}.maths-v2-map-pin{z-index:3;aspect-ratio:1;cursor:pointer;border:3px solid #ffffffd9;border-radius:999px;justify-content:center;align-items:center;width:9%;min-width:2.5rem;max-width:3.75rem;min-height:2.5rem;padding:.15rem;font-size:.55rem;font-weight:800;line-height:1.1;display:flex;position:absolute}.maths-v2-map-pin--unlocked{color:#451a03;background:#fbbf24}.maths-v2-map-pin--unlocked:hover{transform:translate(-50%,-50%)scale(1.08)}.maths-v2-map-pin--locked{cursor:not-allowed;color:#fff;background:#6b7280d9}.maths-v2-map-pin--grotte.maths-v2-map-pin--unlocked{color:#fff;background:linear-gradient(165deg,#c4b5fd 0%,#7c3aed 55%,#5b21b6 100%)}.maths-v2-map-pin__label{pointer-events:none;text-align:center;word-break:break-all}.maths-v2-map-pin--classe{white-space:normal;border-radius:.75rem;min-width:4.5rem;max-width:min(8.5rem,28vw);padding:.45rem .55rem;font-size:clamp(.58rem,1.1vw,.72rem);line-height:1.15}.maths-v2-map-pin--classe-active{border-color:#fde68a;box-shadow:0 0 0 2px #fde68a73}.maths-v2-map-pin--bonus{background:#581c87e6;border-color:#d8b4fea6}.maths-v2-bobby--global{z-index:4;pointer-events:none;filter:drop-shadow(0 4px 8px #00000073);width:clamp(3rem,10vw,4.5rem);height:auto;transition:left .45s,top .45s}.maths-v2-map-pin__stars{text-shadow:0 0 2px #000;font-size:.45rem;line-height:1;position:absolute;top:-.2rem;right:-.35rem}.maths-v2-preview-link{z-index:20;border:2px solid var(--maths-v2-accent);color:#fff;cursor:pointer;background:#0f2740eb;border-radius:999px;padding:.35rem .75rem;font-size:.7rem;font-weight:700;position:absolute;bottom:.75rem;right:.75rem}.maths-v2-preview-link:hover{background:#1e3a5ff2}.maths-v2-session-center{flex:1;justify-content:center;align-items:center;width:100%;min-height:0;padding:1rem;display:flex;overflow-y:auto}.maths-v2-consigne-bar{background:#0003;border-bottom:1px solid #ffffff1f;flex-direction:row;flex-shrink:0;align-items:center;gap:.5rem .65rem;padding:.65rem 1rem;display:flex}.maths-v2-consigne-bar__text{text-align:start;color:#fff;flex:1;min-width:0;margin:0;font-size:clamp(.95rem,3.5vw,1.15rem);font-weight:700;line-height:1.35}.maths-v2-consigne-bar__replay{color:#fff;cursor:pointer;background:#ffffff1f;border:2px solid #fde68aa6;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;gap:.35rem;max-width:42%;padding:.4rem .65rem;font-size:.75rem;font-weight:700;display:inline-flex}@media (width>=640px){.maths-v2-consigne-bar__replay{max-width:none;padding:.35rem .85rem;font-size:.8rem}}@media (width<=480px){.maths-v2-consigne-bar__replay-label{display:none}.maths-v2-consigne-bar__replay{max-width:none;padding:.45rem .55rem}}.maths-v2-consigne-bar__replay:hover{background:#fff3}.maths-v2-consigne-bar__replay-icon{font-size:1rem;line-height:1}.maths-v2-session{flex-direction:column;flex:1;justify-content:center;align-items:stretch;gap:0;min-width:0;min-height:0;padding:.5rem .75rem 1rem;display:flex}.maths-v2-session__play-area{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:clamp(1rem,4vh,1.75rem);width:100%;min-height:0;padding:.25rem 0;display:flex}.maths-v2-session__loading{text-align:center;color:#374151;font-weight:600}.maths-v2-session__stub{text-align:center;color:#6b7280;max-width:22rem;font-size:.7rem}.maths-v2-session__hint{color:#1f2937;text-align:center;font-size:1.5rem;font-weight:800}.maths-v2-session__flash{color:#2563eb;text-align:center;min-height:4rem;font-size:3rem;font-weight:900;line-height:1}.maths-v2-session__quantity{justify-content:center;align-items:center;width:100%;max-width:22rem;min-height:10rem;display:flex}.maths-v2-session__scene{justify-content:center;align-items:center;width:100%;max-width:min(100%,26rem);min-height:8rem;display:flex}.maths-v2-session__scene-img{object-fit:contain;filter:drop-shadow(0 8px 20px #00000040);border-radius:.75rem;width:auto;max-width:100%;height:auto;max-height:min(42vh,18rem)}.maths-v2-quantity__field{aspect-ratio:1.15;width:min(100%,20rem);margin:0 auto;position:relative}.maths-v2-quantity__token-wrap{width:clamp(2.5rem,14vw,3.75rem);height:clamp(2.5rem,14vw,3.75rem);position:absolute;transform:translate(-50%,-50%)}.maths-v2-quantity__luciole{object-fit:contain;filter:drop-shadow(0 2px 4px #00000026);width:100%;height:100%}.maths-v2-quantity__fallback-dot{background:#fde68a;border:3px solid #3a2216;border-radius:9999px;width:70%;height:70%;margin:15%;display:block}.maths-v2-quantity__empty{width:100%;min-height:6rem}.maths-v2-quantity__hand{object-fit:contain;width:auto;max-width:min(100%,18rem);max-height:min(42vh,14rem)}.maths-v2-quantity__dice-face,.maths-v2-quantity__dice-roll{object-fit:contain;width:min(40vw,8.5rem);height:min(40vw,8.5rem)}.maths-v2-dice{width:100%;height:100%}.maths-v2-quantity__ten-frame{width:min(100%,22rem);margin:0 auto;position:relative}.maths-v2-quantity__ten-frame-bg{width:100%;height:auto;display:block}.maths-v2-quantity__ten-frame-fallback{aspect-ratio:2.05;background:#fef3c7;border:4px solid #3a2216;border-radius:.75rem;width:100%}.maths-v2-quantity__ten-frame-cells{grid-template-rows:repeat(2,1fr);grid-template-columns:repeat(5,1fr);gap:4%;display:grid;position:absolute;inset:8% 5% 10%}.maths-v2-quantity__ten-cell{justify-content:center;align-items:center;display:flex}.maths-v2-quantity__ten-token{object-fit:contain;width:78%;height:78%}.maths-v2-session__choices{flex-wrap:wrap;justify-content:center;align-items:center;gap:.85rem;width:100%;max-width:28rem;display:flex}.maths-v2-session__choices--bool{max-width:22rem}.maths-v2-session__choice{color:#1e3a5f;cursor:pointer;background:#fff;border:3px solid #cbd5e1;border-radius:1rem;flex:auto;min-width:4.25rem;min-height:4.25rem;padding:.65rem 1.1rem;font-size:clamp(1.5rem,5vw,1.85rem);font-weight:800;box-shadow:0 4px 14px #0000001f}@media (width>=640px){.maths-v2-session__choices{gap:1.25rem;max-width:40rem}.maths-v2-session__choice{border-width:4px;border-radius:1.15rem;min-width:6.5rem;min-height:6.5rem;padding:.85rem 1.5rem;font-size:2.75rem}.maths-v2-session__choices--bool .maths-v2-session__choice{min-width:8rem;font-size:1.75rem}}.maths-v2-session__choice:hover:not(:disabled){border-color:#fde68a}.maths-v2-session__choice.is-correct{background:#ecfdf5;border-color:#22c55e}.maths-v2-session__choice.is-dim{opacity:.45}.maths-v2-session__feedback{font-size:1rem;font-weight:800}.maths-v2-session__feedback--ok{color:#15803d}.maths-v2-session__story-key{color:#4b5563;text-align:center;max-width:22rem;font-size:.85rem}.maths-v2-session__choices--story{flex-direction:column;align-items:stretch}.maths-v2-keypad{flex-direction:column;align-items:center;gap:.75rem;width:100%;max-width:16rem;display:flex}.maths-v2-keypad__display{text-align:right;color:#1e3a5f;background:#f8fafc;border:2px solid #cbd5e1;border-radius:.5rem;width:100%;min-height:2.75rem;padding:.5rem .75rem;font-size:1.75rem;font-weight:800}.maths-v2-keypad__grid{grid-template-columns:repeat(3,1fr);gap:.4rem;width:100%;display:grid}.maths-v2-keypad__key{cursor:pointer;background:#fff;border:2px solid #cbd5e1;border-radius:.5rem;min-height:2.75rem;font-size:1.25rem;font-weight:800}.maths-v2-keypad__submit{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:.5rem;width:100%;min-height:2.75rem;font-weight:800}.maths-v2-keypad__submit:disabled{opacity:.5;cursor:not-allowed}.maths-v2-keypad--submit-in-grid{gap:.35rem}.maths-v2-keypad--submit-in-grid .maths-v2-keypad__display{justify-content:flex-end;align-items:center;min-width:0;min-height:1.45rem;padding:.22rem .5rem;font-size:1.1rem;display:flex;overflow:hidden}.maths-v2-keypad__readout{white-space:nowrap;justify-content:flex-end;align-items:center;max-width:100%;font-size:clamp(.62rem,.88rem + .35vw,1.1rem);display:inline-flex;overflow:hidden}.maths-v2-keypad--decimal.maths-v2-keypad--submit-in-grid .maths-v2-keypad__readout{font-size:clamp(.58rem,.78rem + 2.2vw,1.05rem)}.maths-v2-keypad__key--sign{background:#fef9c3;border-color:#fde047;font-size:1.05rem;font-weight:900}.maths-v2-keypad__key--sign.is-on{background:#fde047;border-color:#ca8a04;box-shadow:inset 0 0 0 2px #ca8a04}.maths-v2-keypad__submit--row{grid-column:1/-1;width:100%}.maths-v2-keypad__submit--inline{color:#fff;background:#2563eb;width:100%;min-width:0;min-height:2.75rem;padding:0 .1rem;font-size:clamp(.7rem,2.4vw,.85rem);font-weight:800;line-height:1.05}.maths-v2-drag-order{flex-direction:column;gap:.75rem;width:100%;max-width:20rem;display:flex}.maths-v2-drag-order__list{flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.maths-v2-drag-order__row{background:#fff;border:2px solid #e2e8f0;border-radius:.5rem;justify-content:space-between;align-items:center;gap:.5rem;padding:.45rem .65rem;display:flex}.maths-v2-drag-order__label{color:#1e3a5f;font-size:1.1rem;font-weight:800}.maths-v2-drag-order__moves{gap:.25rem;display:flex}.maths-v2-drag-order__move{cursor:pointer;background:#f8fafc;border:2px solid #cbd5e1;border-radius:.35rem;width:2.25rem;height:2.25rem;font-weight:800}.maths-v2-drag-order__submit{align-self:center}.maths-v2-number-line{flex-direction:column;align-items:stretch;gap:.5rem;width:100%;max-width:20rem;display:flex}.maths-v2-number-line__value{text-align:center;color:#2563eb;font-size:2rem;font-weight:900}.maths-v2-number-line__slider{width:100%}.maths-v2-number-line__ticks{color:#64748b;height:1.15em;font-size:.75rem;position:relative}.maths-v2-number-line__tick{white-space:nowrap;position:absolute;top:0}.maths-v2-grid__board{aspect-ratio:1;gap:3px;width:min(100%,16rem);margin:0 auto;display:grid}.maths-v2-grid__cell{cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:4px;min-height:0}.maths-v2-grid__cell.is-on{background:#2563eb;border-color:#1d4ed8}.maths-v2-counter__target{text-align:center;color:#374151;font-weight:700}.maths-v2-counter__row{justify-content:center;align-items:center;gap:1rem;display:flex}.maths-v2-counter__n{text-align:center;min-width:3rem;font-size:2rem;font-weight:900}.maths-v2-counter__btn{background:#fff;border:2px solid #cbd5e1;border-radius:.5rem;width:3rem;height:3rem;font-size:1.5rem;font-weight:800}.maths-v2-drag-sort__list{flex-direction:column;gap:.5rem;width:100%;max-width:22rem;margin:0;padding:0;list-style:none;display:flex}.maths-v2-drag-sort__row{border:1px solid #e2e8f0;border-radius:.5rem;flex-direction:column;gap:.35rem;padding:.4rem;display:flex}.maths-v2-drag-sort__item{font-size:.9rem;font-weight:700}.maths-v2-drag-sort__bins{flex-wrap:wrap;gap:.35rem;display:flex}.maths-v2-drag-sort__bin{background:#fff;border:2px solid #cbd5e1;border-radius:.35rem;padding:.25rem .5rem;font-size:.75rem}.maths-v2-drag-sort__bin.is-picked{background:#eff6ff;border-color:#2563eb}.maths-v2-arrows__seq{text-align:center;min-height:2rem;font-size:1.5rem;font-weight:800}.maths-v2-arrows__pad{flex-wrap:wrap;justify-content:center;gap:.4rem;display:flex}.maths-v2-arrows__btn{background:#fff;border:2px solid #cbd5e1;border-radius:.5rem;width:3rem;height:3rem;font-size:1.25rem;font-weight:800}.maths-v2-arrows__btn--clear{font-size:1rem}.maths-v2-session__feedback--bad{color:#b91c1c}.maths-v2-session-btn{color:#1e3a5f;cursor:pointer;background:#fde68a;border:2px solid #1e3a5f;border-radius:999px;margin-top:.5rem;padding:.5rem 1.25rem;font-weight:800}.maths-v2-session-fail{text-align:center;flex-direction:column;align-items:center;gap:.75rem;padding:1rem;display:flex}
