/* Loisiris Lab: an independent game identity, distinct from the SaaS properties. */
.exp-layout,.exp-heading,.exp-banner,.exp-editorial{--lab-ink:#101d4b;--lab-blue:#244be8;--lab-yellow:#ffe34c;--lab-coral:#ff745e;color:var(--lab-ink)}
.exp-heading h1{letter-spacing:-.045em}.exp-heading .eyebrow{color:#244be8}.exp-panel{border:2px solid #101d4b;border-radius:24px;box-shadow:5px 6px 0 #dce2ff;overflow:hidden;background:#fff}.exp-topbar{background:#f1f3ff;border-bottom:1px solid #dbe0fa;gap:12px;flex-wrap:wrap}.exp-stage{position:relative;isolation:isolate;color:#101d4b;transition:background-color .18s;min-width:0}.exp-intro{background:radial-gradient(circle at 20% 20%,#fff8cf,transparent 35%),radial-gradient(circle at 80% 80%,#e4eaff,transparent 40%);border-radius:18px}.exp-intro h2{max-width:540px;margin-inline:auto;font-size:clamp(1.5rem,3vw,2.25rem);line-height:1.2}.exp-symbol{background:#ffe34c;color:#101d4b;border:2px solid #101d4b;box-shadow:4px 4px 0 #101d4b;border-radius:22px;transform:rotate(-5deg);font-weight:800}.exp-button{border:2px solid #101d4b;color:#101d4b;border-radius:12px;background:#fff;transition:transform .12s,box-shadow .12s;min-height:46px}.exp-primary{background:#244be8;color:#fff;border-color:#101d4b;box-shadow:3px 4px 0 #101d4b}.exp-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:3px 5px 0 #101d4b}.exp-button:active:not(:disabled){transform:translateY(1px);box-shadow:1px 1px 0 #101d4b}.exp-button:focus-visible,.exp-sound:focus-visible,.exp-number-grid button:focus-visible{outline:3px solid #ff745e;outline-offset:4px}.exp-button:disabled{opacity:.5;box-shadow:none;cursor:default}.exp-sound{border:1px solid #bac5f0;border-radius:30px;background:#fff;color:#101d4b;padding:9px 15px;cursor:pointer;font-weight:700}.exp-sound[aria-pressed=true]{background:#ffe34c;border-color:#101d4b}.exp-record-card{background:#101d4b;color:white;border:0;border-radius:20px}.exp-record-card strong{color:#ffe34c}.exp-record-card p{color:#dbe2ff}.exp-history{border:1px solid #dde1f5}.exp-aside-art{border-radius:20px;border:1px solid #e0e4f2;background:#fff}.exp-banner{background:#f0f3ff;border:2px solid #101d4b;border-radius:24px;overflow:hidden}.exp-banner img{object-fit:contain;background:#fff}.exp-banner .button{background:#244be8;color:#fff}.exp-banner h2{color:#101d4b}.exp-memory-grid button{border:2px solid #101d4b;background:#dce3ff;border-radius:12px;transition:background .12s,transform .12s;color:#101d4b}.exp-memory-grid button.lit{background:#ffe34c;color:#101d4b;box-shadow:0 0 0 3px #fff inset}.exp-memory-grid button.selected{background:#244be8;color:#fff;transform:scale(.94)}.exp-memory-grid button:disabled{opacity:1}.exp-progress{display:block;width:100%;height:8px;border:0;appearance:none;border-radius:9px;overflow:hidden;margin:10px 0 22px;background:#e8ecfc}.exp-progress::-webkit-progress-bar{background:#e8ecfc}.exp-progress::-webkit-progress-value{background:#244be8;border-radius:9px;transition:width .3s}.exp-progress::-moz-progress-bar{background:#244be8}.exp-round-header{font-weight:750;gap:12px}.exp-round-header span:last-child{font-variant-numeric:tabular-nums}.exp-result-head{position:relative;padding:25px 12px;background:#f0f3ff;border-radius:20px}.exp-result-head h2 strong{color:#244be8;font-size:clamp(3.6rem,9vw,6rem);letter-spacing:-.06em}.exp-achievement{display:inline-block!important;background:#ffe34c;color:#101d4b!important;border:2px solid #101d4b;border-radius:99px;padding:8px 18px;font-weight:800;transform:rotate(-2deg)}.exp-metrics>div{background:#f1f3fc;border-radius:14px;color:#101d4b}.exp-result-actions{gap:12px}.exp-review{margin-top:20px;padding:20px;border-radius:16px;background:#eef2ff;text-align:center}.exp-review strong{display:block;font-size:1.2rem;margin-bottom:12px}.exp-review.error{background:#fff0e9}.exp-review.success{background:#fff8ce}.exp-stage[data-feedback=error]{animation:exp-error .32s ease}.exp-stage[data-feedback=success]{animation:exp-success .45s ease}.exp-confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:4}.exp-confetti i{position:absolute;left:calc(var(--i)*6.1%);top:0;width:9px;height:16px;background:#244be8;animation:exp-confetti 1.2s ease-out both;animation-delay:calc(var(--i)*.015s)}.exp-confetti i:nth-child(3n){background:#ff745e}.exp-confetti i:nth-child(3n+1){background:#ffe34c}.exp-extra h2{font-size:clamp(1.3rem,3vw,1.7rem)}.exp-big-number{font-size:clamp(1.5rem,6vw,4rem);font-weight:800;letter-spacing:.06em;overflow-wrap:anywhere;padding:45px 8px;font-variant-numeric:tabular-nums;user-select:none}.exp-number-label{display:block;font-weight:700;margin:20px 0 12px}.exp-answer{display:block;width:min(100%,500px);margin:0 auto 25px;font-size:1.7rem;text-align:center;padding:16px;border:2px solid #101d4b;border-radius:12px;color:#101d4b;background:#fff}.exp-number-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;width:min(100%,450px);margin:20px auto}.exp-number-grid>*{aspect-ratio:1;min-width:0}.exp-number-grid button{background:#244be8;color:#fff;border:2px solid #101d4b;border-radius:10px;font-size:clamp(1rem,3vw,1.5rem);font-weight:800;cursor:pointer;touch-action:manipulation}.exp-number-grid button.done{background:#eef1fc;color:#a1aacb;border-color:#d4dbf1}.exp-word{font-size:clamp(2rem,6vw,3.8rem);font-weight:800;margin:35px 0;overflow-wrap:anywhere}.exp-choice{display:flex;justify-content:center;gap:16px;flex-wrap:wrap}.exp-choice button{min-width:150px}.exp-aim-field{height:350px;border:2px dashed #ccd4f5;border-radius:18px;background:#f4f6ff;position:relative;margin-top:20px;touch-action:manipulation;user-select:none}.exp-target{position:absolute;transform:translate(-50%,-50%);width:54px;height:54px;border:3px solid #101d4b;background:#ff745e;color:#101d4b;border-radius:50%;padding:0;cursor:crosshair;touch-action:manipulation}.exp-target span{font-size:38px;line-height:1}.exp-type-passage{font-size:1.15rem;line-height:1.8;text-align:left;background:#f5f6fc;border-radius:14px;padding:20px;user-select:none;color:#707a98;max-height:240px;overflow:auto}.typed-ok{color:#101d4b}.typed-error{color:#9a231a;background:#ffd8ce}.typed-cursor{border-bottom:3px solid #244be8}#exp-typed{display:block;resize:vertical;width:100%;min-height:110px;font:inherit;border:2px solid #101d4b;border-radius:12px;padding:15px;margin-bottom:18px}.exp-status{color:#344570}.exp-signal.wait{background:#101d4b;color:#fff}.exp-signal.go{background:#ffe34c;color:#101d4b}.exp-heading+.exp-layout{scroll-margin-top:20px}
@keyframes exp-error{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@keyframes exp-success{50%{background:#fffbe4}}@keyframes exp-confetti{0%{transform:translateY(-20px) rotate(0);opacity:1}100%{transform:translateY(430px) rotate(250deg);opacity:0}}
@media(max-width:600px){.exp-stage{padding:18px 12px}.exp-topbar{padding:12px;font-size:.8rem}.exp-panel{box-shadow:3px 4px 0 #dce2ff}.exp-number-grid{gap:5px}.exp-number-grid button{border-radius:7px}.exp-type-passage{max-height:180px;font-size:1rem;padding:12px}.exp-aim-field{height:320px}.exp-result-actions{display:grid;grid-template-columns:1fr}.exp-choice button{min-width:120px}.exp-aside-art{display:none}.exp-big-number{font-size:clamp(1.35rem,6vw,2rem)}}
@media(prefers-reduced-motion:reduce){.exp-stage,.exp-button,.exp-memory-grid button,.exp-result,.exp-confetti i{animation:none!important;transition:none!important}.exp-confetti{display:none}.exp-button:hover:not(:disabled),.exp-button:active:not(:disabled){transform:none}}

.exp-memory-grid button.wrong{background:#ffd6cd;border-color:#992d20;color:#992d20;font-size:2rem}.exp-review p{margin:0 0 14px}.exp-review.success strong{color:#101d4b}

.exp-number-grid>span{background:#f4f6ff;border:1px solid #e1e6fb;border-radius:9px}
.card-cover:has(img[src*="-v2-"]){background:#fff}.card-cover img[src*="-v2-"]{object-fit:contain;padding:10px;box-sizing:border-box}
