.subject-heading{text-align:center;max-width:1000px;margin:25px auto 38px}.subject-heading h1{font:700 clamp(48px,7vw,82px)/1.05 var(--font-caveat),cursive;color:#315d80;margin:12px 0 18px}.subject-heading>p:last-of-type{color:#4d6260;font-size:23px}.subject-switch,.subject-mode-switch{flex-wrap:wrap;justify-content:center;gap:10px;margin:22px auto;display:flex}.subject-switch a,.subject-mode-switch a{color:#315d80;background:#fffbef;border:1px solid #aab8a7;border-radius:99px;padding:9px 18px;font-size:18px}.subject-switch a[aria-current=page],.subject-mode-switch a[aria-current=page]{color:#fffdf4;background:#315d80;border-color:#254961}.subject-library{margin-top:55px}.subject-library-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;display:flex}.subject-library h2{color:#315d80;font-size:48px}.subject-library-note{color:#4d6260;margin:10px 0 25px}.subject-grades{flex-wrap:wrap;gap:8px;display:flex}.subject-grades button{background:#fffbef;border:1px solid #9baea9;border-radius:12px;place-items:center;min-height:46px;padding:11px 20px;display:grid}.subject-grades button[aria-pressed=true]{color:#fffdf4;background:#315d80}.subject-topics{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.subject-topic-card{background:#fffbef;border:2px solid #aab8a7;border-radius:22px;flex-direction:column;min-width:0;padding:24px;display:flex;box-shadow:5px 6px #315d8012}.subject-topic-card>span{color:#7a7660;font-size:15px}.subject-topic-card h3{font:700 34px/1.1 var(--font-caveat),cursive;color:#315d80;margin:12px 0}.subject-topic-card p{color:#4d6260;flex:1;font-size:18px}.subject-topic-links{flex-wrap:wrap;gap:10px;margin-top:20px;display:flex}.subject-topic-links a{color:#315d80;text-underline-offset:4px;font-size:17px;text-decoration:underline}.subject-extra{margin:22px 0}.subject-extra summary{cursor:pointer;color:#315d80;min-height:44px;padding:8px 0;font-size:18px}.subject-extra .subject-topics{margin-top:18px}.subject-classic{margin-top:15px;display:inline-block}.subject-topic-tools{flex-wrap:wrap;gap:10px;margin:10px 0;display:flex}.subject-topic-tools button{color:#315d80;min-height:36px;font-size:16px;text-decoration:underline}.subject-topic-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:350px;padding:4px;display:grid;overflow:auto}.subject-topic-choices button{text-align:center;color:#263d43;background:#f6f2e6;border:1px solid #9baea9;border-radius:11px;justify-content:center;align-items:center;gap:7px;min-height:52px;padding:12px 8px;font-size:17px;display:flex}.subject-topic-choices button[aria-pressed=true]{color:#fffdf2;background:#315d80;border-color:#254961}.subject-axi-note{background:#fffbef;border:1px solid #aab8a7;border-radius:20px;align-items:center;gap:15px;margin:28px 0;padding:18px;display:flex}.subject-axi-note img{width:75px;height:75px}.subject-axi-note p{font-size:19px;line-height:1.4}.subject-arena{grid-template-columns:minmax(0,1fr) minmax(200px,.85fr) minmax(0,1fr);align-items:start;gap:20px;margin:25px 0;display:grid}.subject-field{text-align:center;grid-area:1/2;align-self:center}.subject-field .math-scene{border:2px solid #9aafa8;border-radius:22px}.subject-field>p{color:#4d6260;margin:12px 0;font-size:18px}.subject-player{background:#f0f5f3;border:2px solid #91acb7;border-radius:24px;grid-area:1/1;min-width:0;padding:22px;box-shadow:5px 7px #315d8012}.subject-player.orange{background:#fbf1e6;border-color:#c99d7f;grid-column:3}.subject-player header{color:#315d80;justify-content:space-between;align-items:center;gap:10px;display:flex}.subject-player.orange header{color:#965b35}.subject-player h2{font:700 38px var(--font-caveat),cursive}.subject-player header strong{text-align:center;font-size:32px}.subject-player header small{font-size:16px;font-weight:400;display:block}.subject-question{text-align:center;overflow-wrap:anywhere;place-items:center;min-height:115px;margin:24px 0 16px;font-size:clamp(22px,2.2vw,30px);line-height:1.35;display:grid}.subject-answers{border:0;gap:10px;min-width:0;padding:0;display:grid}.subject-answers button{color:#315d80;text-align:center;overflow-wrap:anywhere;background:#fffdf5;border:1px solid #90a9aa;border-radius:12px;min-height:58px;padding:12px;font-size:21px}.subject-answers button[aria-pressed=true]{color:#fffdf4;background:#315d80;border:2px solid #254961}.orange .subject-answers button[aria-pressed=true]{background:#a46c49;border-color:#895438}.subject-feedback{text-align:center;align-items:center;min-height:95px;margin:14px 0;font-size:18px;line-height:1.35;display:grid}.subject-feedback.correct{color:#28704e}.subject-feedback.wrong{color:#a14936}.subject-submit{color:#fffdf4;background:#315d80;border:2px solid #254961;border-radius:12px;justify-content:center;align-items:center;width:100%;min-height:52px;font-size:22px;display:flex}.orange .subject-submit{background:#a46c49;border-color:#895438}.subject-submit:disabled{opacity:.5}.subject-multiple{color:#6b6750;text-align:center;margin:-5px 0 14px;font-size:17px}.subject-game button:focus-visible,.subject-home button:focus-visible,.subject-home a:focus-visible{outline-offset:3px;outline:3px solid #315d80}.subject-player.feedback-correct{border-color:#488e68}.subject-game:fullscreen{background:var(--paper-color);width:100%;height:100%;padding:18px clamp(14px,3vw,52px);overflow:auto}@media (max-width:1050px){.subject-topics{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-arena{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.subject-field{grid-area:1/1/auto/-1;width:100%;max-width:600px;margin:auto}.subject-field .math-scene{max-height:240px}.subject-player{grid-row:2}.subject-player.orange{grid-column:2}.subject-question{min-height:100px}}@media (max-width:700px){.subject-topics{grid-template-columns:1fr}.subject-topic-card{padding:20px}.subject-heading>p:last-of-type{font-size:20px}.subject-heading h1{font-size:53px}.subject-game .math-setup-preview{display:block}.subject-game .math-setup-preview .math-scene{max-height:260px}.subject-topic-choices{grid-template-columns:1fr}.subject-arena{gap:8px}.subject-player{border-radius:16px;padding:12px 8px}.subject-player h2{font-size:30px}.subject-player header strong{font-size:25px}.subject-question{min-height:140px;margin-top:18px;font-size:21px}.subject-answers button{min-height:64px;padding:10px 5px;font-size:18px}.subject-feedback{min-height:120px;font-size:16px}.subject-switch a,.subject-mode-switch a{padding:8px 12px;font-size:16px}.subject-grades button{padding:10px 15px}.subject-axi-note img{width:58px;height:58px}.subject-axi-note p{font-size:18px}}.subject-arithmetic{background:#edf1e6;border:1px solid #aab8a7;border-radius:22px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:25px;margin-top:35px;padding:26px;display:flex}.subject-arithmetic h2{font:700 34px var(--font-caveat),cursive;color:#315d80}.subject-arithmetic p{color:#4d6260;margin:8px 0;font-size:18px}.subject-arithmetic .subject-topic-links{margin:0}.subject-submit:not(:disabled):hover,.subject-submit:not(:disabled):focus-visible{color:#fffdf4;background:#254961}.orange .subject-submit:not(:disabled):hover,.orange .subject-submit:not(:disabled):focus-visible{color:#fffdf4;background:#895438}.subject-number-answer{text-align:center;width:100%;margin:0 0 12px;display:block}.subject-game .subject-number-pad{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.subject-game .subject-number-pad button{color:#315d80;background:#fffdf5;border:1px solid #90a9aa;border-radius:12px;min-height:48px}.subject-game .subject-number-pad button:not(:disabled):hover{color:#254961;background:#dce8ee}.subject-game .orange .subject-number-pad button{color:#895438;border-color:#c99d7f}.subject-game .orange .subject-number-pad button:not(:disabled):hover{color:#895438;background:#f0dfcd}@media (min-width:1051px){.subject-arena{grid-template-columns:minmax(240px,1fr) minmax(0,2.2fr) minmax(240px,1fr);align-items:center;gap:16px}.subject-player{padding:16px}.subject-player h2{font-size:34px}.subject-question{min-height:100px;margin-top:18px;font-size:clamp(22px,1.7vw,27px)}.subject-answers button{min-height:54px;padding:10px;font-size:20px}.subject-feedback{min-height:78px;font-size:17px}}
