.public-arithmetic .mental-container{width:min(100% - 2.5rem,72rem);margin-inline:auto;min-width:0}.public-arithmetic main>section:first-of-type{padding-bottom:1.5rem}.public-arithmetic main>section:first-of-type h1{font-size:clamp(2rem,4.5vw,3.25rem)}.public-arithmetic .mental-test-container{padding-bottom:3rem}.public-arithmetic .mental-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:800;color:#b83a0b}.public-arithmetic .mental-setup{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);border:2px solid #0a0b0d;border-radius:1rem;overflow:hidden;background:#fff;box-shadow:5px 5px #0a0b0d}.public-arithmetic .mental-setup-main{padding:1.5rem 2rem;border-top:4px solid #ffb88c}.public-arithmetic .mental-setup h2{margin-top:1rem;font-size:clamp(2rem,4vw,2.5rem);line-height:1.04;letter-spacing:-.045em;font-weight:800}.public-arithmetic .mental-setup-description{margin-top:1rem;font-size:1rem;line-height:1.75;color:#0a0b0dbf}.public-arithmetic .mental-fixed-settings{display:flex;flex-wrap:wrap;gap:1.5rem;padding-block:1rem;margin-top:.75rem}.public-arithmetic .mental-fixed-settings dt{font-size:.75rem;font-weight:600;color:#0a0b0da6}.public-arithmetic .mental-fixed-settings dd{margin-top:.3rem;font-size:.875rem;font-weight:800}.public-arithmetic .mental-setup-main>button,.public-arithmetic .mental-result-bottom button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;gap:.75rem;border:2px solid #0a0b0d;border-radius:.65rem;background:#ff5a1f;padding:.75rem 1.2rem;font-size:.9375rem;font-weight:800;color:#0a0b0d;transition:background-color .15s,box-shadow .15s}.public-arithmetic .mental-setup-main>button:hover,.public-arithmetic .mental-result-bottom button:hover{background:#ff7949;box-shadow:2px 2px #0a0b0d}.public-arithmetic button:disabled{opacity:.65;cursor:wait}.public-arithmetic .mental-status{margin-top:.75rem;min-height:1.5rem;font-size:.8125rem;line-height:1.6;color:#0a0b0db3}.public-arithmetic .mental-setup-aside{padding:1.75rem 2rem;border-left:1px solid rgb(10 11 13 / .15);background:#fffdf7}.public-arithmetic .mental-setup-aside h3{font-size:1.125rem;font-weight:800}.public-arithmetic .mental-setup-aside ul{margin-top:1rem}.public-arithmetic .mental-setup-aside li{margin-block:1rem;font-size:.9375rem;line-height:1.7}.public-arithmetic .mental-setup-aside strong{font-weight:800}.public-arithmetic .mental-setup-aside>p{margin-top:1.5rem;font-size:.875rem;line-height:1.7;color:#0a0b0dbf}.public-arithmetic .mental-best{font-size:.875rem;line-height:1.7;padding-top:1rem;border-top:1px solid rgb(10 11 13 / .15)}.public-arithmetic .mental-best strong,.public-arithmetic .mental-best span{display:block}.public-arithmetic .mental-best span{margin-top:.25rem;color:#0a0b0db3}.public-arithmetic .mental-error{margin-top:1rem;padding:.8rem 1rem;border-left:3px solid #b83a0b;background:#fff0e6;font-size:.875rem;line-height:1.6}.public-arithmetic .mental-privacy{max-width:72ch;margin-top:1.25rem;font-size:.8125rem;line-height:1.75;color:#0a0b0db3}.public-arithmetic .mental-player{overflow:hidden;border-radius:1rem;background:#0a0b0d;color:#fff}.public-arithmetic .mental-time-track{height:5px;background:#ffffff24}.public-arithmetic .mental-time-track span{display:block;height:100%;background:#ff5a1f}.public-arithmetic .mental-player-stats{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 2rem;border-bottom:1px solid rgb(255 255 255 / .2)}.public-arithmetic .mental-player-stats div:last-child{text-align:right}.public-arithmetic .mental-player-stats span{display:block;font-size:.8125rem;color:#ffffffbf}.public-arithmetic .mental-player-stats strong{display:block;margin-top:.25rem;font-size:1.75rem;font-weight:800;font-variant-numeric:tabular-nums}.public-arithmetic .mental-calculation{padding:1.75rem 2rem 1rem;text-align:center}.public-arithmetic .mental-calculation-type{display:flex;justify-content:center;flex-wrap:wrap;gap:.25rem .75rem;font-size:.875rem;font-weight:700;color:#ffab87}.public-arithmetic .mental-calculation-type span{color:#ffffffb3;font-weight:600}.public-arithmetic .mental-prompt{min-height:4rem;margin-top:1.5rem;font-size:clamp(1.35rem,3.6vw,2.7rem);font-weight:700;line-height:1.7}.public-arithmetic .mental-prompt .katex{font-size:1em}.public-arithmetic .mental-instruction{margin-top:.5rem;font-size:.875rem;line-height:1.6;color:#ffffffbf}.public-arithmetic .mental-answer{max-width:23rem;margin:1.5rem auto 0}.public-arithmetic .mental-answer label{display:block;margin-bottom:.5rem;font-size:.875rem;font-weight:600}.public-arithmetic .mental-input-row{display:flex;gap:.5rem}.public-arithmetic .mental-answer input{width:100%;min-width:0;min-height:64px;border:2px solid white;border-radius:.6rem;background:#fff;color:#0a0b0d;padding:.65rem;font-size:1.75rem;font-weight:800;text-align:center}.public-arithmetic .mental-answer button{min-height:44px;margin-top:.75rem;padding:.5rem 1rem;border:1px solid rgb(255 255 255 / .5);border-radius:.5rem;font-size:.875rem;font-weight:700}.public-arithmetic .mental-input-row button{flex-shrink:0;min-width:48px;margin-top:0;font-size:1.5rem}.public-arithmetic .mental-choices{max-width:36rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1.25rem auto 0}.public-arithmetic .mental-choices button{display:flex;align-items:center;gap:.75rem;min-height:64px;min-width:0;padding:.75rem 1rem;border:1px solid rgb(255 255 255 / .5);border-radius:.5rem;text-align:left}.public-arithmetic .mental-choices button:hover{background:#ffffff1f}.public-arithmetic .mental-choices button>span{color:#ffab87;font-size:.875rem;font-weight:800}.public-arithmetic .mental-choices .katex{font-size:1.1em}.public-arithmetic .mental-keyboard-tip{display:flex;justify-content:center;gap:.5rem;max-width:48ch;margin:1rem auto 0;font-size:.8125rem;line-height:1.7;color:#ffffffc7}.public-arithmetic .mental-keyboard-tip svg{flex-shrink:0;margin-top:.2rem}.public-arithmetic .mental-feedback{display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:3rem;font-size:1rem;color:#ffbb9e}.public-arithmetic .mental-feedback>span{display:inline-flex;align-items:center;gap:.5rem}.public-arithmetic .mental-player-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-top:1px solid rgb(255 255 255 / .2);padding:.75rem 2rem;font-size:.8125rem;line-height:1.6;color:#ffffffc7}.public-arithmetic .mental-player-footer button{min-height:44px;padding-inline:.75rem;border:1px solid rgb(255 255 255 / .4);border-radius:.5rem}.public-arithmetic .mental-results{border:2px solid #0a0b0d;border-radius:1rem;padding:2rem 2.5rem;background:#fff}.public-arithmetic .mental-results h2{margin-top:.5rem;font-size:1.75rem;font-weight:800;letter-spacing:-.035em}.public-arithmetic .mental-results h2:focus{outline:2px solid #ff5a1f;outline-offset:.3rem}.public-arithmetic .mental-results header>p:last-child{margin-top:.75rem;font-size:.9375rem;line-height:1.7;color:#0a0b0dbf}.public-arithmetic .mental-result-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-top:1.5rem;padding-block:1.25rem;border-block:1px solid rgb(10 11 13 / .15)}.public-arithmetic .mental-result-numbers dt{font-size:.8125rem;font-weight:600;color:#0a0b0db3}.public-arithmetic .mental-result-numbers dd{margin-top:.5rem;font-size:2.5rem;font-weight:800;line-height:1.2;letter-spacing:-.04em}.public-arithmetic .mental-result-numbers dd span{display:block;font-size:.8125rem;font-weight:600;letter-spacing:0;margin-top:.3rem}.public-arithmetic .mental-result-note{margin-top:1rem;max-width:76ch;font-size:.8125rem;line-height:1.7;color:#0a0b0db3}.public-arithmetic .mental-breakdown{width:100%;margin-top:1.5rem;font-size:.875rem}.public-arithmetic .mental-breakdown caption{text-align:left;font-size:1rem;font-weight:800;padding-bottom:.75rem}.public-arithmetic .mental-breakdown th,.public-arithmetic .mental-breakdown td{border-top:1px solid rgb(10 11 13 / .15);padding:.8rem .6rem;text-align:right}.public-arithmetic .mental-breakdown th:first-child{padding-left:0;text-align:left}.public-arithmetic .mental-breakdown thead{font-size:.75rem}.public-arithmetic .mental-breakdown tbody th{font-weight:700}.public-arithmetic .mental-result-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1.5rem;margin-top:1.5rem}.public-arithmetic .mental-transfer{border-top:2px solid #0a0b0d;padding-block:2.5rem}.public-arithmetic .mental-transfer h2,.public-arithmetic .mental-premium h2{font-size:1.75rem;line-height:1.15;letter-spacing:-.035em;font-weight:800}.public-arithmetic .mental-transfer p{max-width:75ch;margin-top:1rem;font-size:1rem;line-height:1.85;color:#0a0b0dc7}.public-arithmetic .mental-transfer a,.public-arithmetic .mental-link{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;margin-top:1.25rem;font-size:.875rem;font-weight:800;text-decoration:underline;text-underline-offset:4px}.public-arithmetic .mental-premium{padding-block:3rem;border-top:1px solid rgb(10 11 13 / .2);background:#fff}.public-arithmetic .mental-premium-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:4rem}.public-arithmetic .mental-premium h2{margin-top:.75rem}.public-arithmetic .mental-premium p:not(.mental-label){margin-top:1rem;max-width:40ch;font-size:.9375rem;line-height:1.8;color:#0a0b0dbf}.public-arithmetic .mental-premium li{padding-block:1rem;border-bottom:1px solid rgb(10 11 13 / .15)}.public-arithmetic .mental-premium li:first-child{padding-top:0}.public-arithmetic .mental-premium strong{display:block;font-weight:800}.public-arithmetic .mental-premium li span{display:block;margin-top:.35rem;font-size:.875rem;line-height:1.7;color:#0a0b0dbf}@media(min-width:640px){.public-arithmetic .mental-container{width:min(100% - 3rem,72rem)}}@media(max-width:767px){.public-arithmetic .mental-setup,.public-arithmetic .mental-premium-grid{grid-template-columns:minmax(0,1fr)}.public-arithmetic .mental-setup-main,.public-arithmetic .mental-setup-aside,.public-arithmetic .mental-results{padding:1.25rem}.public-arithmetic .mental-setup-aside{border-left:0;border-top:1px solid rgb(10 11 13 / .15)}.public-arithmetic .mental-setup{box-shadow:3px 3px #0a0b0d}.public-arithmetic .mental-setup h2{margin-top:1rem}.public-arithmetic .mental-premium-grid{gap:2rem}.public-arithmetic .mental-calculation{padding:1.5rem 1rem .75rem}.public-arithmetic .mental-player-stats,.public-arithmetic .mental-player-footer{padding-inline:1rem}.public-arithmetic .mental-result-numbers{grid-template-columns:repeat(2,minmax(0,1fr))}.public-arithmetic .mental-result-numbers div:last-child{grid-column:1 / -1}.public-arithmetic .mental-choices button{padding-inline:.65rem;gap:.5rem}.public-arithmetic .mental-fixed-settings{gap:1rem}.public-arithmetic .mental-breakdown th,.public-arithmetic .mental-breakdown td{padding-inline:.25rem}}@media(prefers-reduced-motion:reduce){.public-arithmetic *,.public-arithmetic *:before,.public-arithmetic *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
