.premieres{padding:75px clamp(22px,8vw,120px);background:#080e20;color:#fff}.premiere-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.premiere-heading h2{color:#fff;margin:12px 0}.premiere-heading p{color:#aeb7d5}.live-pill{display:inline-flex;background:#ff4f68;padding:7px 11px;border-radius:99px;font-size:.72rem;font-weight:900;letter-spacing:.13em}.preview-count{display:flex;flex-direction:column;text-align:right}.preview-count b{font:700 2.7rem Fredoka;color:#ffd05a}.preview-count span{color:#9fa8c7}.premiere-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.premiere-card{background:#141d38;border:1px solid #ffffff1f;border-radius:23px;overflow:hidden;display:grid;grid-template-columns:.82fr 1.18fr;min-height:390px;box-shadow:0 20px 50px #0006}.preview-scene{position:relative;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 35%,#6446b4,#14162f 65%)}.fourth-preview .preview-scene{background:radial-gradient(circle at 50% 30%,#e86642,#351935 65%)}.preview-badge{position:absolute;top:18px;left:18px;z-index:2;background:#10162dde;border:1px solid #ffffff30;border-radius:7px;padding:6px 9px;font-size:.68rem;font-weight:900}.gate{width:135px;height:190px;border:9px solid #b77cff;border-radius:70px 70px 12px 12px;display:grid;place-items:center;box-shadow:0 0 30px #9c58ff;font:800 2rem Fredoka}.island{width:165px;height:105px;border-radius:50%;background:#69352f;box-shadow:0 13px 0 #2b1728,0 0 35px #ff7858;display:grid;place-items:center;font:700 1.6rem Fredoka}.hero-silhouette{position:absolute;bottom:30px;font-size:3rem}.preview-copy{padding:35px 30px}.preview-copy h3{font-size:1.75rem;margin:9px 0}.preview-copy p,.preview-copy li{color:#b7bfd9;line-height:1.5}.launch-feature{margin-top:10px;border:0;border-radius:11px;background:#ffd05a;color:#23233a;padding:13px 17px;font-weight:900;cursor:pointer}.game-screen{position:fixed;inset:0;z-index:100;background:#090f22;color:#fff;overflow:auto}.game-hud{position:sticky;top:0;z-index:5;height:78px;background:#111a32ed;backdrop-filter:blur(12px);display:flex;align-items:center;gap:18px;padding:10px clamp(14px,4vw,55px);border-bottom:1px solid #ffffff1b}.game-hud>button{width:44px;height:44px;border-radius:50%;border:1px solid #ffffff32;background:#ffffff0f;color:#fff;font-size:1.6rem;cursor:pointer}.game-hud>div:nth-child(2){display:flex;flex-direction:column;min-width:160px}.game-hud span{font-size:.68rem;letter-spacing:.12em;color:#aab4d5;font-weight:900}.hud-progress{flex:1}.hud-progress>div{height:8px;background:#ffffff18;border-radius:99px;margin-top:7px;overflow:hidden}.hud-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#6e7aff,#ffd05a);transition:.4s}.score-orb{text-align:center;background:#ffffff10;border-radius:12px;padding:7px 13px}.score-orb b{display:block;color:#ffd05a}.game-ad{min-height:48px;margin:12px auto;background:#11182c;border-color:#ffffff24;color:#8792b3}.quest-stage{min-height:calc(100vh - 150px);padding:35px clamp(18px,7vw,100px) 70px;position:relative;overflow:hidden;background:linear-gradient(#111a3b,#20295b 55%,#0e1731)}.scene-decor{position:absolute;inset:0;pointer-events:none}.moon{position:absolute;right:8%;top:8%;width:100px;height:100px;border-radius:50%;background:#f9e9b1;box-shadow:0 0 50px #e8d08d80}.mountains{position:absolute;inset:auto -5% 0;height:48%;background:#121936;clip-path:polygon(0 100%,0 60%,20% 10%,34% 70%,53% 0,72% 65%,88% 20%,100% 60%,100% 100%)}.path{position:absolute;bottom:-20%;left:34%;width:32%;height:65%;background:#30365c;clip-path:polygon(42% 0,58% 0,100% 100%,0 100%)}.guide{position:relative;z-index:2;max-width:780px;margin:0 auto 28px;display:flex;align-items:center;gap:16px}.guide-avatar{flex:0 0 82px;height:82px;border-radius:27px;background:linear-gradient(145deg,#ffe27b,#e79235);color:#352638;display:grid;place-items:center;font:800 2rem Fredoka;box-shadow:0 8px 0 #8a5428}.speech{background:#ffffffee;color:#19213a;padding:17px 21px;border-radius:5px 18px 18px;box-shadow:0 12px 30px #0004}.speech span{font-size:.7rem;color:#6c5ee9;font-weight:900}.speech p{margin:4px 0}.challenge{position:relative;z-index:2;max-width:850px;margin:auto;background:#111a34ed;border:1px solid #ffffff20;border-radius:22px;padding:30px;box-shadow:0 25px 70px #0008;text-align:center}.challenge-kicker{color:#ffd05a;font-size:.7rem;letter-spacing:.15em;font-weight:900}.challenge h2{color:#fff;font-size:clamp(1.5rem,3vw,2.4rem)}.answers{display:grid;grid-template-columns:1fr 1fr;gap:12px}.answer{border:1px solid #ffffff29;background:#ffffff0c;color:#fff;border-radius:13px;min-height:62px;padding:12px;font-weight:800;cursor:pointer}.answer:hover{background:#ffffff18;transform:translateY(-2px)}.answer.correct{background:#1c9c68;border-color:#7ff0b7}.answer.wrong{background:#c54458;border-color:#ff8799}.feedback{min-height:48px;margin-top:15px;font-weight:800}.feedback.good{color:#7ff0b7}.feedback.bad{color:#ffb4be}.continue-btn{position:relative;z-index:2;display:block;margin:20px auto 0;background:#ffd05a;border:0;border-radius:12px;padding:14px 22px;font-weight:900;cursor:pointer}.results{min-height:100vh;padding:80px 22px;text-align:center;background:radial-gradient(circle at 50% 20%,#4f4b9b,#10162d 55%)}.result-crown{font-size:4rem;color:#ffd05a}.results h2{color:#fff;font-size:3rem}.final-note{width:170px;height:170px;border-radius:50%;margin:25px auto;background:#ffffff0f;border:8px solid #ffd05a;display:grid;place-content:center}.final-note b{font:800 2.5rem Fredoka}.results button{border:0;border-radius:11px;padding:13px 18px;margin:18px 5px 0;font-weight:900;cursor:pointer}.results button:first-of-type{background:#ffd05a}#returnBtn{background:#fff;color:#343b60}#resultDetail{font-weight:800;color:#bfc7e3}@media(max-width:1100px){.premiere-card{grid-template-columns:1fr}.preview-scene{min-height:230px}}@media(max-width:900px){.premiere-grid{grid-template-columns:1fr}.preview-count{display:none}}@media(max-width:600px){.premieres{padding:55px 16px}.premiere-heading h2{font-size:2rem}.preview-copy{padding:27px 22px}.game-hud{gap:8px}.game-hud>div:nth-child(2){min-width:0}.score-orb{padding:6px}.quest-stage{padding:24px 14px 55px}.guide-avatar{flex-basis:60px;height:60px;border-radius:18px}.answers{grid-template-columns:1fr}.challenge{padding:22px 15px}.moon{width:65px;height:65px}}
.mission-status{position:relative;z-index:2;max-width:850px;margin:0 auto 14px;display:flex;align-items:center;gap:12px;background:#0c142bdd;border:1px solid #ffffff1f;border-radius:15px;padding:10px 14px}.mission-status>div:first-child{flex:1;display:grid;grid-template-columns:auto auto;gap:4px 12px;align-items:center}.mission-status span{font-size:.65rem;letter-spacing:.12em;font-weight:900;color:#aeb8da}.mission-status i{grid-column:1/3;height:7px;border-radius:99px;background:#ffffff16;overflow:hidden}.mission-status em{display:block;height:100%;width:0;background:linear-gradient(90deg,#61e1c2,#ffd05a);transition:.4s}.streak{min-width:64px;text-align:center;border-left:1px solid #ffffff20}.streak b{display:block;color:#fff}.streak.hot b{color:#ffd05a;transform:scale(1.2)}.event-chip{background:#685df0;color:#fff;border-radius:999px;padding:7px 11px;font-size:.65rem;font-weight:900;letter-spacing:.08em}.challenge.boss{border-color:#ffd05a80;box-shadow:0 0 0 3px #ffd05a12,0 25px 70px #0008}.answer{display:flex;align-items:center;text-align:left;gap:12px}.answer>span{flex:0 0 31px;height:31px;border-radius:9px;background:#ffffff16;display:grid;place-items:center;color:#ffd05a}.victory-pulse .challenge{animation:victory .6s ease}.danger-pulse .challenge{animation:danger .55s ease}@keyframes victory{50%{box-shadow:0 0 45px #58e7a388;transform:scale(1.01)}}@keyframes danger{25%,75%{transform:translateX(-4px)}50%{transform:translateX(4px);box-shadow:0 0 40px #ff526166}}@media(max-width:600px){.mission-status{flex-wrap:wrap}.event-chip{width:100%;text-align:center}.mission-status>div:first-child{min-width:160px}}
.quest-stage[data-world="relatifs"]{background:linear-gradient(#301634,#53233f 55%,#17152e)}.quest-stage[data-world="pythagore"]{background:linear-gradient(#182c4c,#4a375d 55%,#17152e)}.quest-stage[data-world="thales"]{background:linear-gradient(#0d3247,#18596c 55%,#10263b)}.quest-stage[data-world="decimaux"]{background:linear-gradient(#091d4b,#244586 55%,#0a1532)}.quest-stage[data-world="fractions"]{background:linear-gradient(#172a42,#235c5a 55%,#11253a)}.quest-stage[data-world="scratch"]{background:linear-gradient(#30133e,#4b1d4d 55%,#14172f)}.quest-stage[data-world="dnb"]{background:linear-gradient(#181a3e,#3b326d 55%,#11152f)}.quest-stage[data-step="1"] .moon{transform:translate(-18vw,35px);background:#b9efff}.quest-stage[data-step="2"] .moon{transform:translate(-35vw,-10px);background:#ffd05a;box-shadow:0 0 70px #ff8b4b99}.quest-stage[data-step="3"] .mountains,.quest-stage[data-step="4"] .mountains,.quest-stage[data-step="5"] .mountains{filter:hue-rotate(55deg);transform:scaleY(1.12)}.moon,.mountains,.path{transition:transform .7s ease,background .7s ease,filter .7s ease}.scene-shift .scene-decor{animation:sceneShift .7s ease}.scene-shift .challenge,.scene-shift .guide{animation:chapterIn .7s ease}@keyframes sceneShift{50%{filter:brightness(1.5) blur(2px)}}@keyframes chapterIn{0%{opacity:.25;transform:translateY(16px)}100%{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.scene-shift .scene-decor,.scene-shift .challenge,.scene-shift .guide,.victory-pulse .challenge,.danger-pulse .challenge{animation:none!important}.moon,.mountains,.path{transition:none}}
:root{--app-height:100dvh}html{-webkit-text-size-adjust:100%;overscroll-behavior:none}body.playing{position:fixed;inset:0;overflow:hidden;width:100%;height:var(--app-height);touch-action:none}button,a{touch-action:manipulation}.game-screen{height:var(--app-height);max-height:var(--app-height);overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}.game-hud{padding-top:max(10px,env(safe-area-inset-top));padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right));height:auto;min-height:78px}.game-hud>button{flex:0 0 44px;min-width:44px;min-height:44px}.game-hud>button.active{background:#ffd05a;color:#17213b}.quest-stage{min-height:calc(var(--app-height) - 140px);padding-bottom:max(70px,env(safe-area-inset-bottom))}.answer,.continue-btn,.results button{min-height:48px}.results{min-height:var(--app-height);padding-bottom:max(80px,env(safe-area-inset-bottom))}@media(max-width:700px){.game-ad{display:none}.game-hud{position:sticky;top:0}.game-hud>div:nth-child(2) span{display:none}.game-hud>div:nth-child(2) b{max-width:26vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hud-progress{min-width:70px}.quest-stage{min-height:calc(var(--app-height) - 78px)}}@media(max-height:520px) and (orientation:landscape){.game-hud{min-height:60px;padding-top:max(6px,env(safe-area-inset-top));padding-bottom:6px}.game-hud>button{width:42px;height:42px}.quest-stage{padding-top:14px;display:grid;grid-template-columns:minmax(220px,.72fr) minmax(420px,1.28fr);grid-template-rows:auto auto;gap:10px 18px;align-items:start}.scene-decor{grid-column:1/3}.guide{grid-column:1;margin:0;align-items:flex-start}.guide-avatar{flex-basis:54px;height:54px;border-radius:16px}.speech{padding:12px}.mission-status{grid-column:1;margin:0;width:100%;align-self:end}.challenge{grid-column:2;grid-row:1/3;width:100%;padding:18px}.challenge h2{margin:10px 0;font-size:1.35rem}.answer{min-height:48px}.continue-btn{grid-column:2;margin:0 auto}.moon{width:55px;height:55px}.results{padding-top:30px}.final-note{width:120px;height:120px;margin:12px auto}.results h2{font-size:2rem;margin:10px}}
.saved-progress{margin-top:12px;padding:8px 10px;border-radius:9px;background:#f1f3ff;color:#59627d;font-size:.78rem;font-weight:900}.game.has-save .saved-progress{background:#e7fbf2;color:#187151}.game.has-save .card-foot button{background:#17213b;color:#fff}
.remediation{margin-top:10px;padding:14px;text-align:left;border:1px solid #ffd05a70;border-radius:14px;background:linear-gradient(120deg,#2a2544,#182342);display:flex;gap:13px;align-items:flex-start}.remediation-icon{flex:0 0 42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#ffd05a;color:#312840;font-size:1.3rem}.remediation>div:last-child{flex:1}.remediation span{display:block;color:#ffd05a;font-size:.68rem;font-weight:900;letter-spacing:.1em}.remediation b{display:block;margin-top:4px;color:#fff}.remediation p{margin:5px 0 9px;color:#cbd3ed;font-size:.88rem}.remediation-time{position:relative;height:7px;background:#ffffff18;border-radius:99px}.remediation-time i{display:block;width:100%;height:100%;border-radius:99px;background:linear-gradient(90deg,#ffd05a,#67e0ba);transition:width 1s linear}.remediation-time em{position:absolute;right:0;top:-19px;color:#ffd05a;font-style:normal;font-size:.72rem;font-weight:900}.continue-btn:disabled{cursor:wait;opacity:.72;filter:saturate(.55)}@media(max-width:600px){.remediation{padding:11px}.remediation-icon{display:none}.remediation p{font-size:.82rem}}
.result-breakdown{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;max-width:850px;margin:24px auto}.skill-result{padding:13px;border-radius:13px;text-align:left;background:#ffffff10;border:1px solid #ffffff20}.skill-result span,.skill-result em{display:block}.skill-result span{color:#dbe1f5;font-size:.78rem;font-weight:900}.skill-result b{display:block;margin:5px 0;font:800 1.25rem Fredoka}.skill-result em{font-size:.7rem;font-style:normal;font-weight:900}.skill-result.mastered{border-color:#63dda777}.skill-result.mastered b,.skill-result.mastered em{color:#7ff0b7}.skill-result.review{border-color:#ff879966}.skill-result.review b,.skill-result.review em{color:#ffb4be}@media(max-width:600px){.result-breakdown{grid-template-columns:1fr 1fr}.skill-result{padding:10px}}
.top-actions{display:flex;align-items:center;gap:8px}.class-identity{border:0;border-radius:99px;background:#17213b;color:#fff;padding:9px 13px;font-size:.78rem;font-weight:900;cursor:pointer}.teacher-panel{position:fixed;inset:0;z-index:120;background:#080e20eF;overflow:auto;padding:clamp(12px,4vw,45px)}.teacher-shell{max-width:1150px;margin:auto;background:#f7f8fd;color:#17213b;border-radius:24px;overflow:hidden;box-shadow:0 30px 90px #0008}.teacher-shell>header{display:flex;justify-content:space-between;gap:20px;padding:28px 32px;background:#17213b;color:#fff}.teacher-shell header span{color:#ffd05a;font-size:.7rem;font-weight:900;letter-spacing:.12em}.teacher-shell header h2{margin:4px 0;color:#fff}.teacher-shell header p{margin:0;color:#bfc7df}.teacher-shell header button{width:44px;height:44px;border-radius:50%;border:1px solid #ffffff35;background:#ffffff12;color:#fff;font-size:1.5rem}.teacher-controls{padding:20px 28px;display:flex;gap:12px;align-items:end;flex-wrap:wrap}.teacher-controls label{display:flex;flex-direction:column;gap:5px;font-size:.78rem;font-weight:900}.teacher-controls select,.teacher-controls button{min-height:44px;border:1px solid #dce1ed;border-radius:10px;background:#fff;padding:8px 13px;font-weight:900}.teacher-controls button{background:#5c6df8;color:#fff;border:0;cursor:pointer}#soloMode{background:#fff;color:#5c6df8;border:1px solid #cfd4ff}.class-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0 28px 18px}.class-summary div{background:#edf0ff;border-radius:13px;padding:14px}.class-summary b,.class-summary span{display:block}.class-summary b{font:800 1.5rem Fredoka;color:#5c6df8}.class-summary span{font-size:.75rem;color:#69738c;font-weight:800}.student-switcher{display:flex;flex-wrap:wrap;gap:8px;padding:0 28px 20px}.student-switcher button,.pick-student{border:1px solid #d9deeb;background:#fff;border-radius:9px;padding:8px 11px;font-weight:900;cursor:pointer}.student-switcher button.active,.pick-student:hover{background:#17213b;color:#fff}.teacher-table-wrap{overflow:auto;padding:0 28px 32px}.teacher-table-wrap table{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden}.teacher-table-wrap th,.teacher-table-wrap td{padding:12px;text-align:left;border-bottom:1px solid #edf0f6;font-size:.82rem}.teacher-table-wrap th{background:#eef0ff;color:#4e58a0}@media(max-width:700px){.class-identity{max-width:120px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.teacher-panel{padding:0}.teacher-shell{min-height:100%;border-radius:0}.teacher-shell>header,.teacher-controls,.class-summary,.student-switcher,.teacher-table-wrap{padding-left:16px;padding-right:16px}.class-summary{grid-template-columns:1fr}.teacher-table-wrap table{min-width:760px}}
body.teacher-open{overflow:hidden}
.arcade-mode{max-width:950px;background:linear-gradient(145deg,#1b1838ed,#321d3ded);border-color:#ff9d5a55}.arcade-instruction{margin:4px auto 20px;color:#dfe5fa;max-width:650px}.crystal-rack{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;min-height:80px;padding:12px}.crystal{min-width:70px;min-height:64px;border:2px solid #ffffff42;border-radius:18px 8px 18px 8px;background:linear-gradient(145deg,#7d5af5,#413c9d);color:#fff;font:800 1.35rem Fredoka;box-shadow:0 7px 0 #211d63;cursor:grab;transition:.18s}.crystal:nth-child(even){background:linear-gradient(145deg,#ff9561,#b9425c);box-shadow:0 7px 0 #63233b}.crystal.selected{outline:4px solid #ffd05a;transform:translateY(-5px)}.crystal.placed{opacity:.25;transform:scale(.82);box-shadow:none}.portal-zones{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px}.drop-zone{min-height:115px;border:2px dashed #ffffff55;border-radius:20px;color:#fff;font-weight:900;display:grid;place-items:center;align-content:center;gap:3px;cursor:pointer}.drop-zone span{font-size:2rem}.drop-zone b{background:#ffffff20;border-radius:99px;padding:3px 10px}.drop-zone.ombre{background:radial-gradient(circle,#4b3978,#18152c)}.drop-zone.aurore,.drop-zone.lumiere{background:radial-gradient(circle,#e9a53e,#813449)}.island-track{display:flex;justify-content:space-around;align-items:center;gap:10px;min-height:145px;padding:20px 5px;position:relative}.island-track:before{content:"";position:absolute;left:4%;right:4%;top:50%;height:7px;background:#ffffff20;border-radius:99px}.number-island{position:relative;z-index:1;width:75px;height:75px;border:0;border-radius:50% 50% 42% 45%;background:linear-gradient(#6dd4a1 0 50%,#75513b 51%);color:#fff;font:800 1.25rem Fredoka;box-shadow:0 9px 0 #251d34,0 0 25px #69e8b044;cursor:pointer}.number-island.visited{background:linear-gradient(#ffd05a 0 50%,#916629 51%);transform:translateY(-8px)}.traveler{position:absolute;z-index:2;left:0;top:15px;color:#ffd05a;font-size:1.6rem}.path-slots{display:flex;justify-content:center;gap:8px}.path-slots span{width:48px;height:36px;border-radius:9px;background:#ffffff12;border:1px solid #ffffff25;display:grid;place-items:center;font-weight:900;color:#ffd05a}.arcade-error{animation:arcadeError .4s ease!important;outline:3px solid #ff667b}.arcade-complete{filter:saturate(.65)}@keyframes arcadeError{25%,75%{transform:translateX(-7px)}50%{transform:translateX(7px)}}@media(max-width:600px){.crystal{min-width:58px;min-height:56px}.portal-zones{gap:8px}.drop-zone{min-height:95px;font-size:.76rem}.island-track{flex-wrap:wrap}.number-island{width:61px;height:61px}.traveler{display:none}}
.temple-mode{background:linear-gradient(145deg,#17263fed,#3b2b4aed);border-color:#e9c87770}.temple-fronton{max-width:620px;margin:auto;padding:18px 18px 24px;background:linear-gradient(160deg,#7c664b,#3c3340);clip-path:polygon(50% 0,100% 32%,94% 100%,6% 100%,0 32%);border-bottom:9px solid #d5b36f}.temple-mark{display:block;margin:9px 0 18px;color:#fff2c5;font-weight:900}.slab-slots{display:flex;justify-content:center;align-items:center;gap:8px}.slab-slots i{font-style:normal;font:900 1.4rem Fredoka;color:#ffe7a0}.slab-slot,.stone-slab{min-width:78px;min-height:58px;border-radius:8px;border:2px solid #d8bd82;background:linear-gradient(#d9c49b,#9e815c);color:#302739;font:900 1.05rem Fredoka;box-shadow:inset 0 0 0 3px #ffffff25,0 6px 0 #4c3b34;cursor:pointer}.slab-slot{border-style:dashed;background:#241f2f88;color:#ddc795}.slab-slot.filled{border-style:solid;background:linear-gradient(#f0d69c,#b99359);color:#302739}.slab-rack{display:flex;justify-content:center;gap:14px;margin-top:18px}.stone-slab.selected{outline:4px solid #68e4c0;transform:translateY(-5px)}.stone-slab.placed{opacity:.2;transform:scale(.8)}.beam-scene{height:170px;display:flex;justify-content:center;align-items:end;position:relative;margin:8px auto;max-width:620px}.pillar{width:85px;background:linear-gradient(90deg,#77624c,#c2a16f,#6e5948);border-radius:8px 8px 0 0;display:flex;justify-content:center;padding-top:10px;color:#fff4cf;box-shadow:0 8px 0 #312a31}.pillar.p6{height:105px}.pillar.p8{height:145px}.beam-preview{width:230px;height:22px;margin:0 -5px 55px;background:linear-gradient(#e9ca82,#9e693c);border:2px solid #ffe5a7;box-shadow:0 7px 0 #553824;transform:rotate(-10deg) scaleX(var(--beam-scale, .81));transition:.2s}.beam-preview span{display:grid;place-items:center;height:100%;font-weight:900;color:#302739}.beam-preview.locked-beam{box-shadow:0 0 24px #6ff0bd,0 7px 0 #553824}.beam-control{max-width:520px;margin:12px auto;display:grid;grid-template-columns:auto 1fr 45px;align-items:center;gap:12px;color:#dce4fb;font-weight:900}.beam-control input{width:100%;accent-color:#ffd05a;min-height:38px}.beam-control output{font:900 1.25rem Fredoka;color:#ffd05a}.install-beam{min-height:48px;padding:10px 24px;border:0;border-radius:12px;background:#ffd05a;color:#31283c;font-weight:900;cursor:pointer}.arch-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:720px;margin:auto}.stone-arch{min-height:180px;border:1px solid #ffffff28;border-radius:15px;background:linear-gradient(#354765,#161c30);color:#fff;padding:14px;cursor:pointer}.arch-shape{display:block;width:105px;height:85px;margin:4px auto 14px;border:16px solid #b69a70;border-bottom:0;border-radius:70px 70px 0 0;box-shadow:inset 0 0 0 3px #6e5949,0 0 18px #0006}.stone-arch b,.stone-arch small{display:block}.stone-arch b{font:900 1.08rem Fredoka;color:#ffe2a3}.stone-arch small{margin-top:7px;color:#aeb8d4;font-weight:900}.stone-arch.stable{background:linear-gradient(#276d5a,#17352f);box-shadow:0 0 28px #64edb477}.stone-arch.stable .arch-shape{border-color:#e1c783;box-shadow:0 0 30px #ffd86c}.temple-mode button:focus-visible,.temple-mode input:focus-visible{outline:4px solid #66e2c1;outline-offset:3px}@media(max-width:600px){.temple-fronton{padding:12px 8px 18px}.slab-slot,.stone-slab{min-width:60px;min-height:52px}.slab-rack{gap:7px}.beam-scene{height:145px}.pillar{width:58px}.beam-preview{width:180px}.beam-control{grid-template-columns:1fr 42px}.beam-control span{grid-column:1/3;text-align:left}.arch-gallery{gap:7px}.stone-arch{min-height:140px;padding:8px 4px}.arch-shape{width:66px;height:61px;border-width:11px}.stone-arch b{font-size:.78rem}}
[hidden]{display:none!important}
