@font-face{font-family:"Press Start 2P";font-style:normal;font-display:swap;font-weight:400;src:url(/assets/press-start-2p-latin-400-normal-_wFEWmAB.woff2)format("woff2"),url(/assets/press-start-2p-latin-400-normal-KLytu4cr.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/nunito-latin-600-normal-Br8yIETf.woff2)format("woff2"),url(/assets/nunito-latin-600-normal-Cd0eNu1l.woff)format("woff")}@font-face{font-family:Nunito;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/nunito-latin-800-normal-Dz8SOQK_.woff2)format("woff2"),url(/assets/nunito-latin-800-normal-D-J0wlBY.woff)format("woff")}:root{--font-pixel:"Press Start 2P", monospace;--font-text:"Nunito", sans-serif;--bg:#1b1b2f;--fg:#f4f1e8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:var(--bg);color:var(--fg);font-family:var(--font-text);font-weight:600}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}body{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;overscroll-behavior:none}.app{width:100%;height:100%;position:relative;container-type:size}.canvas-host{position:absolute;inset:0}.canvas-host canvas{image-rendering:pixelated;display:block;position:absolute}.scene-label{font-family:var(--font-pixel);white-space:nowrap;opacity:0;will-change:transform, opacity;line-height:1;position:absolute;top:0;left:0}.ui-layer{position:absolute;inset:0}.screen{flex-direction:column;justify-content:center;align-items:center;height:100%;display:flex}.title{font-family:var(--font-pixel);margin:0;font-size:clamp(16px,4vh,32px);font-weight:400}button{font:inherit;color:inherit;cursor:pointer}.who-is-playing,.create-profile{gap:clamp(12px,4vh,32px);padding:16px}.profile-tiles{flex-wrap:wrap;justify-content:center;gap:clamp(12px,3vw,24px);display:flex}.profile-tile{background:#2a2a48;border:4px solid #4a4a78;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:clamp(120px,20vw,168px);min-height:clamp(120px,30vh,176px);padding:12px 8px;font-size:20px;font-weight:800;display:flex}.profile-tile:hover,.profile-tile:focus-visible{border-color:#f4c542}.new-player{background:0 0;border-style:dashed}.new-player-plus{font-family:var(--font-pixel);font-size:48px;line-height:96px}.profile-tile-name{overflow-wrap:anywhere;max-width:100%}.hero-picture{image-rendering:pixelated;background-repeat:no-repeat;display:block}.create-profile-form,.field{flex-direction:column;align-items:center;gap:12px;display:flex}.field-label{font-family:var(--font-pixel);font-size:clamp(12px,3vh,20px)}.name-input{background:var(--fg);width:min(80vw,360px);min-height:64px;color:var(--bg);font:800 28px var(--font-text);text-align:center;-webkit-user-select:text;user-select:text;border:4px solid #4a4a78;border-radius:12px;padding:8px 16px}.name-taken{color:#ff9a8a;min-height:1.4em;margin:0}.look-choices{gap:clamp(8px,2vw,16px);display:flex}.look-choice{background:#2a2a48;border:4px solid #0000;border-radius:12px;padding:4px}.look-choice[aria-checked=true]{border-color:#f4c542}.big-button{min-width:200px;min-height:64px;color:var(--bg);font-family:var(--font-pixel);background:#f4c542;border:none;border-radius:12px;padding:12px 24px;font-size:18px}.big-button:disabled{color:#b8b8c8;cursor:default;background:#6b6b80}.back-button{background:#2a2a48;border:none;border-radius:12px;width:64px;height:64px;font-size:32px;position:absolute;top:12px;left:12px}.corner-sound{background:#2a2a48;border:3px solid #4a4a78;border-radius:12px;min-width:64px;min-height:64px;padding:4px 14px;font-size:16px;font-weight:800;position:absolute;top:12px;right:12px}.corner-sound:hover,.corner-sound:focus-visible{border-color:#f4c542}.grown-up-gate{touch-action:none;background:0 0;border:none;place-items:center;width:64px;height:64px;padding:0;display:grid;position:absolute;bottom:8px;right:8px}.grown-up-gate svg{width:40px;height:40px;overflow:visible}.grown-up-padlock{fill:#6b6b80}.grown-up-keyhole{fill:var(--bg)}.grown-up-ring-track,.grown-up-ring{fill:none;stroke-width:3px}.grown-up-ring-track{stroke:#0000}.grown-up-ring{stroke:#f4c542;stroke-dasharray:100;stroke-dashoffset:100px;transform-origin:50%;transform:rotate(-90deg)}.grown-up-gate.holding .grown-up-ring-track{stroke:#4a4a78}.grown-up-gate.holding .grown-up-ring{animation:grown-up-ring-fill var(--hold-ms,3s) linear forwards}@keyframes grown-up-ring-fill{to{stroke-dashoffset:0}}.grown-up-menu{justify-content:flex-start;gap:16px;padding:24px 88px;overflow-y:auto}.menu-button{background:#2a2a48;border:4px solid #4a4a78;border-radius:12px;min-height:64px;padding:8px 20px;font-size:18px;font-weight:800}.menu-button:hover,.menu-button:focus-visible{border-color:#f4c542}.menu-button.danger{border-color:#a8443a}.menu-button:disabled{opacity:.5;cursor:default}.menu-message{min-height:1.4em;margin:0}.grown-up-profiles{flex-direction:column;gap:12px;width:min(100%,640px);margin:0;padding:0;list-style:none;display:flex}.grown-up-profile{background:#22223c;border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;padding:8px 12px;display:flex}.grown-up-profile-name{overflow-wrap:anywhere;flex:1;min-width:6em;font-size:22px;font-weight:800}.dialog-backdrop{background:#0009;place-items:center;padding:16px;display:grid;position:absolute;inset:0}.dialog{background:var(--bg);text-align:center;border:4px solid #4a4a78;border-radius:12px;flex-direction:column;align-items:center;gap:16px;max-width:520px;padding:20px;font-size:18px;display:flex}.dialog p{margin:0}.dialog-buttons{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.report{--report-new:#3a3a58;--report-weak:#b5473a;--report-known:#3f9152;touch-action:pan-y;justify-content:flex-start;gap:16px;padding:24px 88px;overflow-y:auto}.report-section{flex-direction:column;align-items:center;gap:8px;width:min(100%,640px);display:flex}.report-section h2,.report-detail h2,.report-detail h3{font-family:var(--font-pixel);margin:0;font-size:14px;font-weight:400}.report-section p{margin:0;font-size:18px}.report-weak{flex-direction:column;gap:8px;width:min(100%,360px);margin:0;padding:0;list-style:none;display:flex}.report-weak-row{border:4px solid var(--report-weak);background:#2a2a48;border-radius:12px;width:100%;min-height:64px;padding:8px 16px;font-size:22px;font-weight:800}.report-weak-row:hover,.report-weak-row:focus-visible{border-color:#f4c542}.report-grid{border-spacing:3px;text-align:center;font-size:14px;font-weight:800}.report-grid th{padding:0 6px;font-weight:800}.report-grid tbody th{color:var(--attack-colour);text-align:right;white-space:nowrap}.report-grid td{border-radius:6px;width:40px;height:32px;padding:0}.report-grid td button{width:100%;height:100%;font:inherit;cursor:pointer;background:0 0;border:2px solid #0000;border-radius:6px;padding:0}.report-grid td button:hover,.report-grid td button:focus-visible{border-color:#f4c542}.report-grid [data-state=new],.report-legend [data-state=new]{background:var(--report-new)}.report-grid [data-state=weak],.report-legend [data-state=weak]{background:var(--report-weak)}.report-grid [data-state=known],.report-legend [data-state=known]{background:var(--report-known)}.report-grid tr.dimmed{opacity:.35}.report-legend{gap:12px;margin:0;padding:0;list-style:none;display:flex}.report-legend li{border-radius:6px;padding:4px 10px}.report-answers{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.report-answers li{border-left:6px solid var(--report-known);justify-content:space-between;gap:16px;min-width:240px;padding:4px 10px;display:flex}.report-answers li[data-correct=false]{border-left-color:var(--report-weak)}@media (height<=499px){.report{padding:12px 80px}.report-grid{border-spacing:2px;font-size:11px}.report-grid td{width:auto;height:22px}}.app[data-screen=battle]{--panel-height:clamp(150px, 30vh, 300px)}.app[data-screen=battle] .canvas-host{bottom:var(--panel-height)}.battle-screen{position:absolute;inset:0}.phase-markers{gap:10px;display:flex;position:absolute;top:12px;left:50%;transform:translate(-50%)}.phase-marker{background:#4a4560;border:3px solid #0d0b14;width:18px;height:18px}.phase-marker[data-filled=true]{background:#f4c542}.phase-marker:nth-child(2)[data-filled=true]{animation:.35s cubic-bezier(.34,1.8,.64,1) marker-pop}@keyframes marker-pop{0%{transform:scale(2)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.phase-marker:nth-child(2)[data-filled=true]{animation:none}}.battle-panel{height:var(--panel-height);background:#241a3d;border-top:4px solid #0d0b14;gap:clamp(12px,3vw,40px);padding:clamp(10px,2vh,20px) clamp(16px,4vw,48px);display:flex;position:absolute;bottom:0;left:0;right:0}.battle-panel-left{flex-direction:column;flex:50%;justify-content:center;gap:clamp(4px,1vh,10px);min-width:0;display:flex}.spell-name{min-height:1.4em;font-family:var(--font-pixel);margin:0;font-size:clamp(10px,2vh,18px)}.fact{white-space:nowrap;min-height:1.2em;margin:0;font-size:clamp(36px,8vh,72px);font-weight:800;line-height:1.1}.miss{min-height:1.2em;font-family:var(--font-pixel);color:#ff9a8a;margin:0;font-size:clamp(12px,2.4vh,22px)}.timer-bar{background:#3a3150;border:3px solid #0d0b14;height:clamp(10px,2vh,18px);position:relative}.timer-fill{height:100%}.timer-notch{background:#f4f1e8;width:3px;margin-left:-1px;position:absolute;top:-6px;bottom:-6px}.battle-panel-right{flex:50%;min-width:0}.options-grid{grid-template-rows:1fr 1fr;grid-template-columns:1fr 1fr;gap:clamp(6px,1.2vh,12px);height:100%;display:grid}.option{background:#2a2a48;border:4px solid #4a4a78;border-radius:12px;min-height:0;font-size:clamp(28px,5.5vh,48px);font-weight:800}.option:hover:not([aria-disabled=true]){border-color:#f4c542}.option[aria-disabled=true]{cursor:default}.option[data-mark=correct]{color:#0d0b14;background:#3fbf63;border-color:#2f9e4f}.option[data-mark=wrong]{opacity:.6}.option[data-mark=chosen]{border-color:#f4c542}.end-of-battle{font-family:var(--font-text);text-align:center;background:#0d0b14bf;justify-content:safe center;gap:clamp(8px,2.5vh,20px);padding:16px;font-size:17px;font-weight:600;overflow-y:auto}.end-of-battle p,.end-of-battle h2,.end-of-battle ul{margin:0}.result-rating{align-items:center;gap:16px;display:flex}.result-stars{letter-spacing:8px;font-size:clamp(40px,10vh,80px)}.result-star{color:#4a4560;display:inline-block}.result-star[data-filled=true]{color:#f4c542;animation:.3s ease-out star-fill}@keyframes star-fill{0%{transform:scale(1.6)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.result-star[data-filled=true]{animation:none}}.result-best{font-family:var(--font-pixel);text-align:left;flex-direction:column;gap:6px;font-size:12px;display:flex}.result-record{color:#f4c542}.result-counts{flex-direction:column;gap:4px;display:flex}.result-practise h2{font-family:var(--font-pixel);font-size:14px;font-weight:400}.result-practise ul{flex-wrap:wrap;justify-content:center;gap:4px 20px;padding:8px 0 0;font-size:22px;font-weight:800;list-style:none;display:flex}.result-practise p{padding-top:8px}.result-hint{color:#c8c0e8}.result-new-power{flex-direction:column;gap:6px;display:flex}.result-new-power-name{font-family:var(--font-pixel);font-size:18px}.result-new-power-table{color:#e8e4f4}.result-buttons{flex-wrap:wrap;justify-content:center;gap:16px;display:flex}.fact[data-typing=true]:after{content:"_";animation:1s step-end infinite caret-blink}@keyframes caret-blink{50%{opacity:0}}.number-pad{touch-action:manipulation;-webkit-user-select:none;user-select:none;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(4,1fr);gap:clamp(4px,1vh,10px);height:100%;display:grid}.pad-key{background:#2a2a48;border:4px solid #4a4a78;border-radius:10px;min-height:0;font-size:clamp(22px,4.5vh,40px);font-weight:800;position:relative}.pad-key:hover:not([aria-disabled=true]){border-color:#f4c542}.pad-key:active:not([aria-disabled=true]){background:#3a3a62}.pad-key[aria-disabled=true]{cursor:default;opacity:.6}.pad-submit{color:#0d0b14;background:#f4c542;border-color:#b8902a}.pad-submit:active:not([aria-disabled=true]){background:#ffd866}.hint-hand{z-index:1;pointer-events:none;width:clamp(30px,6vh,50px);animation:.8s ease-in-out infinite alternate hint-hand-bob;position:absolute;top:38%;left:50%;transform:translate(-50%)}@keyframes hint-hand-bob{to{transform:translate(-50%,-18%)}}.hint{z-index:2;pointer-events:none;flex-direction:column;align-items:center;gap:4px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%)}.hint .hint-hand{animation-name:hint-bob;position:static;transform:none}@keyframes hint-bob{to{transform:translateY(-18%)}}.hint-caption{color:#0d0b14;font-family:var(--font-pixel);white-space:nowrap;background:#f4f1e8;border:3px solid #0d0b14;margin:0;padding:4px 8px;font-size:clamp(9px,1.8vh,14px);line-height:1.3}.battle-panel-right,.level-card-play{position:relative}.level-card-play .hint{top:82%;left:70%}.overworld{container-type:size}.map-frame{pointer-events:none;width:min(100cqw,177.778cqh);height:min(100cqh,56.25cqw);margin:auto;position:absolute;inset:0}.map-hint{width:6.66667%;height:11.8519%;position:absolute;transform:translate(-50%,-50%)}.map-hint .hint{top:90%}.timer-slot{height:calc(clamp(10px,2vh,18px) + 6px)}.timer-bar[data-flash=true] .timer-fill{animation:.5s ease-out perfect-flash}@keyframes perfect-flash{0%,to{filter:none;box-shadow:none}35%{filter:brightness(1.8);box-shadow:0 0 12px 4px #f4c542}}@media (prefers-reduced-motion:reduce){.hint .hint-hand{animation:none}}.plate-number{font-family:var(--font-pixel);color:#fff;text-shadow:2px 0 #1a1020,-2px 0 #1a1020,0 2px #1a1020,0 -2px #1a1020;line-height:1}.app[data-screen=overworld] .ui-layer{pointer-events:none}.overworld-hud,.level-card{pointer-events:auto}.overworld{position:absolute;inset:0}.overworld-hud{pointer-events:none;align-items:center;gap:12px;display:flex;position:absolute;top:8px;left:8px;right:8px}.hud-left,.hud-right{display:contents}.overworld-hud button,.overworld-hud p,.overworld-hud ul{pointer-events:auto}.hud-sound{background:#1a1020d9;border:3px solid #3a2a4a;border-radius:10px;order:1;min-height:56px;margin-left:auto;padding:4px 14px;font-size:16px;font-weight:800}.hud-sound:hover,.hud-sound:focus-visible{border-color:#f4c542}.hud-player,.hud-stars,.hud-gems{background:#1a1020d9;border:3px solid #3a2a4a;border-radius:10px}.hud-player{align-items:center;gap:8px;min-height:56px;padding:4px 14px 4px 6px;font-size:20px;font-weight:800;display:flex}.hud-player:hover,.hud-player:focus-visible{border-color:#f4c542}.hud-stars{font-family:var(--font-pixel);color:#ffd23f;margin:0;padding:12px 14px;font-size:14px}.hud-gems{gap:6px;margin:0;padding:8px 10px;list-style:none;display:flex}.hud-gem{color:#1a1020;background:#3a3442;border:3px solid #1a1020;border-radius:50%;place-items:center;width:26px;height:26px;font-size:12px;font-weight:800;display:grid}.hud-gem[data-held=true]{background:var(--gem);box-shadow:0 0 8px var(--gem)}.locked-note-slot{position:absolute;top:22%;left:50%;transform:translate(-50%)}.locked-note{white-space:nowrap;background:#1a1020eb;border:3px solid #9a90a8;border-radius:10px;margin:0;padding:10px 18px;font-size:20px;font-weight:800;animation:.3s cubic-bezier(.3,1.8,.6,1) note-pop}.toast-slot{position:absolute;top:12%;left:50%;transform:translate(-50%)}.overworld-toast{font-family:var(--font-pixel);white-space:nowrap;background:#1a1020eb;border:3px solid #ffd23f;border-radius:10px;align-items:center;gap:12px;margin:0;padding:10px 20px;font-size:16px;line-height:1.4;animation:.3s cubic-bezier(.3,1.8,.6,1) note-pop;display:flex}.overworld-toast .star-row{margin:0}@media (prefers-reduced-motion:reduce){.overworld-toast{animation:none}}@keyframes note-pop{0%{transform:scale(.4)}}.level-card{color:#2a1a10;text-align:center;background:#f3e2b8;border:4px solid #2a1a10;border-radius:12px;flex-direction:column;align-items:center;gap:8px;min-width:340px;padding:18px 28px 20px;display:flex;position:absolute;top:50%;transform:translateY(-50%);box-shadow:0 6px #0006}.level-card[data-side=left]{left:6%}.level-card[data-side=right]{right:6%}.level-card p{margin:0}.level-card-title{font-family:var(--font-pixel);margin:0 36px 4px;font-size:18px;font-weight:400}.level-card-enemy{font-size:22px;font-weight:800}.level-card-power{font-size:20px}.level-card-attack{text-shadow:0 0 2px #1a1020,0 0 2px #1a1020;font-weight:800}.level-card-new{font-family:var(--font-pixel);color:#c03030;font-size:14px}.star-row{letter-spacing:4px;font-size:28px}.star-row-star{color:#b8a888}.star-row-star[data-filled=true]{color:#e8a800}.level-card-play{color:#fff;text-shadow:0 2px #1a3a10;background:#45c43a;margin-top:6px}.level-card-close{color:#2a1a10;background:#d8c8a0;border:3px solid #2a1a10;border-radius:8px;width:44px;height:44px;font-size:18px;position:absolute;top:6px;right:6px}.profile-settings-backdrop{z-index:3;pointer-events:auto}.profile-settings{touch-action:pan-y;gap:10px;width:min(100%,460px);max-height:100%;position:relative;overflow-y:auto}.profile-settings h2{font-family:var(--font-pixel);margin:0;font-size:20px}.profile-settings .name-input{width:min(100%,320px)}.profile-settings-switch{width:100%}.profile-settings-close{background:#2a2a48;border:3px solid #4a4a78;border-radius:8px;width:44px;height:44px;font-size:22px;position:absolute;top:8px;right:8px}.profile-settings-close:hover,.profile-settings-close:focus-visible{border-color:#f4c542}@media (pointer:coarse){.profile-settings-close{width:64px;height:64px}}.pause-button{z-index:2;background:#2a2a48d9;border:4px solid #0d0b14;border-radius:10px;place-items:center;width:52px;height:52px;display:grid;position:absolute;top:8px;left:8px}@media (pointer:coarse){.pause-button{width:64px;height:64px}}.pause-button span{box-sizing:border-box;border-left:7px solid #f4f0e8;border-right:7px solid #f4f0e8;width:22px;height:22px}.battle-panel[inert]>*{visibility:hidden}.pause-menu{width:min(100%,380px)}.pause-button:hover,.pause-button:focus-visible{border-color:#f4c542}.pause-backdrop{z-index:3}.pause-menu h2{font-family:var(--font-pixel);margin:0;font-size:20px}.pause-menu>.menu-button{width:100%}.answer-mode-switch{flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.switch-options{gap:8px;width:100%;display:flex}.switch-option{cursor:pointer;-webkit-user-select:none;user-select:none;flex:1;place-items:center;display:grid}.switch-option[aria-checked=true]{background:#4a3d18;border-color:#f4c542}.menu-button.big{border-color:#f4c542;min-height:76px;font-size:22px}.turn-phone{z-index:10;background:var(--bg);place-content:center;justify-items:center;gap:24px;font-size:26px;font-weight:800;display:grid;position:absolute;inset:0}.turn-phone p{margin:0}.turn-phone-picture{border:6px solid #b9a8ff;border-radius:14px;width:70px;height:120px;animation:2s ease-in-out infinite turn-phone}@keyframes turn-phone{0%,25%{transform:rotate(0)}60%,to{transform:rotate(-90deg)}}.grown-up-menu,.end-of-battle{touch-action:pan-y}.hero-picture{position:relative}.hero-crown{filter:drop-shadow(1px 0 #1a1020)drop-shadow(-1px 0 #1a1020)drop-shadow(0 1px #1a1020)drop-shadow(0 -1px #1a1020);pointer-events:none;width:40%;position:absolute;top:-6%;left:50%;transform:translate(-50%)}.hud-stars[data-gold=true]{color:#1a1020;background:linear-gradient(#ffe066,#c48412);border-color:#fff1c8;animation:.5s cubic-bezier(.3,1.8,.6,1) gold-in;box-shadow:0 0 10px 2px #f4c542}@keyframes gold-in{0%{transform:scale(1.5)}}.hud-gems[data-flash=true] .hud-gem{animation:gem-flash var(--flash-s) ease-out var(--flash-delay) 1}@keyframes gem-flash{45%{background:var(--gem);box-shadow:0 0 16px 6px var(--gem);transform:scale(1.45)}}.star-flight{z-index:2}.flying-star{color:#ffd23f;text-shadow:1px 0 #1a1020,-1px 0 #1a1020,0 1px #1a1020,0 -1px #1a1020;transition:transform var(--fly-s) cubic-bezier(.55, 0, .75, .45) var(--fly-delay);font-size:clamp(8px,2.4cqh,14px);line-height:1;position:absolute;transform:translate(-50%,-50%)}.star-flight.flying .flying-star{transform:translate(calc(-50% + var(--dx,0px)), calc(-50% + var(--dy,0px))) scale(.7)}.celebration-backdrop{z-index:3;pointer-events:auto;background:#00000059;place-items:center;padding:16px;display:grid;position:absolute;inset:0}.celebration{text-align:center;background:#1a1020f0;border:4px solid #f4c542;border-radius:14px;flex-direction:column;align-items:center;gap:14px;max-width:620px;padding:24px 32px;animation:.35s cubic-bezier(.3,1.8,.6,1) note-pop;display:flex;box-shadow:0 0 24px 4px #f4c54273}.celebration-title{font-family:var(--font-pixel);color:#ffd23f;margin:0;font-size:24px;line-height:1.4}.celebration-stars{font-family:var(--font-pixel);color:#ffd23f;margin:0;font-size:16px}.celebration-question,.celebration-name{margin:0;font-size:22px;font-weight:800}.celebration-name{font-family:var(--font-pixel);font-weight:400}.celebration-button-slot{min-height:64px}@media (prefers-reduced-motion:reduce){.hud-stars[data-gold=true],.hud-gems[data-flash=true] .hud-gem,.celebration{animation:none}.flying-star{transition:none}}@media (height<=499px){.app[data-screen=battle]{--side-width:clamp(290px, 36cqw, 340px)}.app[data-screen=battle] .canvas-host{bottom:0;right:var(--side-width)}.pause-button{width:64px;height:64px}.phase-markers{left:calc((100% - var(--side-width)) / 2)}.battle-panel{width:var(--side-width);border-top:none;border-left:4px solid #0d0b14;flex-direction:column;gap:4px;height:auto;padding:4px 6px;top:0;left:auto}.battle-panel-left{text-align:center;flex:none;grid-template-columns:1fr auto;grid-template-areas:"spell miss""fact fact""timer timer";align-items:center;gap:2px 6px;display:grid}.spell-name{grid-area:spell;min-height:1.3em;font-size:clamp(9px,4cqh,13px)}.miss{grid-area:miss;min-height:0;font-size:clamp(9px,4cqh,13px)}.fact{grid-area:fact;font-size:clamp(24px,11cqh,40px)}.timer-bar{border-width:2px;grid-area:timer;height:10px}.timer-notch{top:-4px;bottom:-4px}.timer-slot{grid-area:timer;height:14px}.battle-panel-right{flex:auto;min-height:0}.options-grid,.number-pad{gap:5px}.option{border-width:3px;font-size:clamp(20px,9cqh,34px)}.pad-key{border-width:3px;border-radius:8px;font-size:clamp(18px,8cqh,30px)}.pause-backdrop{padding:8px}.pause-menu{grid-template-columns:1fr 1fr;grid-template-areas:"title switch""resume switch""leave sound";align-items:center;gap:8px 16px;width:min(100%,560px);max-width:none;padding:12px 16px;display:grid}.pause-menu h2{grid-area:title;font-size:16px}.pause-menu>.menu-button.big{grid-area:resume}.pause-menu>.menu-button.danger{grid-area:leave}.pause-menu>.menu-button[aria-pressed]{grid-area:sound}.pause-menu .answer-mode-switch{grid-area:switch;gap:4px}.dialog{gap:10px;padding:12px 16px}.end-of-battle{grid-template-columns:minmax(0,auto) minmax(0,auto);grid-template-areas:"rating rating""counts practise""hint power""buttons buttons";place-content:safe center;place-items:center;gap:6px 32px;padding:8px;font-size:15px;display:grid}.result-rating{grid-area:rating}.result-counts{grid-area:counts}.result-practise{grid-area:practise}.result-hint{grid-area:hint}.result-new-power{grid-area:power}.result-buttons{grid-area:buttons}.result-stars{font-size:clamp(28px,13cqh,48px)}.result-practise ul{padding-top:2px;font-size:18px}.result-practise p{padding-top:2px}.result-new-power-name{font-size:14px}.result-buttons .big-button{min-width:180px;padding:8px 16px;font-size:14px}.title{font-size:clamp(14px,7cqh,24px)}.who-is-playing,.create-profile{gap:12px;padding:8px}.profile-tile{min-height:0}.create-profile-form{grid-template-areas:"name looks-label""name looks""taken looks""done done";place-items:center;gap:6px 20px;display:grid}.create-profile-form .field{grid-area:name;gap:6px}.create-profile-form .name-taken{grid-area:taken}.create-profile-form #choose-look{grid-area:looks-label}.create-profile-form .look-choices{grid-area:looks}.create-profile-form .big-button{grid-area:done}.field-label{font-size:clamp(10px,4.5cqh,16px)}.name-input{width:min(36cqw,300px)}.grown-up-menu{padding:12px 80px}.overworld{--strip:max(70px, (100cqw - 100cqh * 16 / 9) / 2)}.overworld-hud{display:block;inset:0}.hud-left,.hud-right{width:var(--strip);flex-direction:column;align-items:center;gap:6px;padding:6px 2px;display:flex;position:absolute;top:0;bottom:0}.hud-left{left:0}.hud-right{right:0}.hud-player{flex-direction:column;justify-content:center;gap:2px;width:100%;max-width:120px;min-height:64px;padding:4px;font-size:14px}.hud-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.hud-stars{white-space:nowrap;padding:6px 8px;font-size:10px}.hud-sound{order:0;width:100%;min-width:64px;max-width:120px;min-height:64px;margin-left:0;padding:4px;font-size:13px}.hud-gems{grid-template-columns:repeat(2,auto);gap:4px;padding:6px;display:grid}.hud-gem{border-width:2px;width:clamp(18px,7cqh,26px);height:clamp(18px,7cqh,26px);font-size:10px}.level-card,.level-card[data-side=left],.level-card[data-side=right]{justify-content:center;gap:clamp(4px,2cqh,10px);width:clamp(340px,130cqh,480px);min-width:0;max-width:100%;padding:12px 16px;inset:0 auto 0 50%;transform:translate(-50%)}.level-card-title{margin:0 64px;font-size:clamp(10px,4.5cqh,16px);line-height:1.4}.level-card-enemy{font-size:clamp(16px,6.5cqh,22px)}.level-card-power{font-size:clamp(14px,5.5cqh,20px)}.level-card .star-row{font-size:clamp(20px,9cqh,28px)}.level-card-play{width:100%;margin-top:auto}.level-card-close{border-width:0 0 3px 3px;border-radius:0 8px;width:64px;height:64px;font-size:22px;top:0;right:0}.level-card-outside{pointer-events:auto;background:#0000004d;position:absolute;inset:0}.locked-note{font-size:16px}.map-hint .hint,.level-card-play .hint{flex-direction:column-reverse;top:auto;bottom:90%}.map-hint .hint .hint-hand,.level-card-play .hint .hint-hand{rotate:180deg}.hint-caption{font-size:clamp(9px,4cqh,12px)}.profile-settings{grid-template-columns:auto auto;grid-template-areas:"title title""name looks-label""name looks""taken switch""player switch";place-items:center;gap:4px 20px;width:auto;max-width:none;padding:8px 16px;display:grid}.profile-settings>h2{grid-area:title;font-size:16px}.profile-settings>.field{grid-area:name;gap:4px}.profile-settings>.name-taken{grid-area:taken}.profile-settings>.field-label{grid-area:looks-label}.profile-settings>.look-choices{grid-area:looks}.profile-settings>.answer-mode-switch{grid-area:switch;gap:4px}.profile-settings>.profile-settings-switch{grid-area:player;width:100%}.profile-settings .name-input{width:min(30cqw,280px)}.profile-settings-close{width:64px;height:64px;top:0;right:0}.celebration-backdrop{padding:6px calc(var(--strip,70px) + 6px)}.celebration{gap:clamp(4px,2.5cqh,10px);max-height:100%;padding:clamp(8px,4cqh,18px) 16px}.celebration-title{font-size:clamp(11px,5cqh,18px)}.celebration-stars{font-size:clamp(9px,4cqh,13px)}.celebration-question,.celebration-name{font-size:clamp(13px,5.5cqh,18px)}}
