/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.relative{position:relative}.start{inset-inline-start:var(--spacing)}.table{display:table}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}}:root{--ink:#173b3f;--muted:#6f817f;--mint:#2aa889;--mint-dark:#167b68;--mint-soft:#e4f6ef;--peach:#ff9d72;--paper:#fffdf8;--line:#dce8e4;--background:#f3f7f2;--shadow:0 18px 45px #224d4517}*{box-sizing:border-box}html{background:var(--background)}body{background:radial-gradient(circle at 15% 10%, #ffdbaf57, transparent 27rem), radial-gradient(circle at 90% 80%, #b5e8d759, transparent 30rem), var(--background);min-width:320px;min-height:100vh;color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-family:Pretendard,Noto Sans KR,Apple SD Gothic Neo,Malgun Gothic,sans-serif}button{font:inherit}button:focus-visible,canvas:focus-visible{outline-offset:3px;outline:4px solid #2aa88947}.app-shell{width:min(1180px,100% - 48px);min-height:100vh;margin:0 auto;padding:24px 0 30px}.topbar{align-items:center;gap:14px;min-height:62px;display:flex}.brand-mark{background:var(--ink);color:#fff;border-radius:16px 16px 16px 5px;place-items:center;width:50px;height:50px;font-size:23px;font-weight:800;display:grid;box-shadow:0 9px 22px #173b3f29}.brand-copy{flex-direction:column;gap:2px;display:flex}.brand-copy strong{letter-spacing:-.03em;font-size:18px}.brand-copy span{color:var(--muted);font-size:12px}.lesson-tabs{border:1px solid var(--line);background:#ffffffb3;border-radius:999px;gap:4px;margin-left:auto;padding:5px;display:flex}.lesson-tabs span{color:#95a19e;border-radius:999px;padding:8px 16px;font-size:13px;font-weight:700}.lesson-tabs .active{background:var(--ink);color:#fff}.lesson-tabs .done{color:var(--mint-dark)}.lesson-heading{justify-content:space-between;align-items:end;margin-top:24px;display:flex}.eyebrow,.card-kicker{color:var(--mint-dark);letter-spacing:.08em;margin:0 0 4px;font-size:12px;font-weight:800}.lesson-heading h1{letter-spacing:-.05em;margin:0;font-size:clamp(27px,3vw,38px);line-height:1.12}.step-counter{color:var(--muted);align-items:baseline;gap:5px;display:flex}.step-counter strong{color:var(--ink);font-size:30px}.step-counter span{font-size:15px;font-weight:700}.progress-track{grid-template-columns:repeat(14,1fr);gap:8px;margin:18px 0;display:grid}.progress-track span{color:#0000;background:#dfe7e3;border-radius:99px;place-items:center;height:8px;font-size:0;display:grid;overflow:hidden}.progress-track .complete{background:#87d2bc}.progress-track .current{background:var(--peach);box-shadow:0 0 0 4px #ff9d7229}.practice-grid,.test-grid{grid-template-columns:1fr 1fr;gap:22px;display:grid}.sample-card,.writing-card,.listen-card{min-width:0;box-shadow:var(--shadow);background:#fffdf8f0;border:1px solid #d8e5e0e6;border-radius:26px}.sample-card,.writing-card{min-height:clamp(330px,48vh,445px);padding:20px}.card-label-row{justify-content:space-between;align-items:center;min-height:34px;display:flex}.card-kicker{color:var(--muted);margin:0}.sound-button,.clear-button,.replay-button{cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;min-height:38px;font-size:13px;font-weight:800;display:inline-flex}.sound-button{background:var(--mint-soft);color:var(--mint-dark);gap:9px;padding:0 13px}.clear-button{color:#5c6d6a;background:#f0f3f1;min-width:68px}.writing-tools{gap:7px;display:flex}.clear-button:disabled{cursor:default;opacity:.42}.speaker-icon{width:21px;height:19px;display:inline-block;position:relative}.speaker-cone{background:currentColor;border-radius:2px;width:7px;height:9px;position:absolute;top:5px;left:1px}.speaker-cone:after{content:"";border-top:8px solid #0000;border-bottom:8px solid #0000;border-right:8px solid;width:0;height:0;position:absolute;top:-3px;left:5px;transform:rotate(180deg)}.sound-wave{border:2px solid #0000;border-right-color:currentColor;border-radius:50%;position:absolute;top:5px}.wave-one{width:6px;height:9px;left:10px}.wave-two{width:11px;height:15px;top:2px;left:10px}.sample-grid,.paper-grid{background-color:#fffefa;background-image:linear-gradient(#2aa8890e 1px,#0000 1px),linear-gradient(90deg,#2aa8890e 1px,#0000 1px);background-size:32px 32px;border:1px solid #e4ece7;border-radius:20px;margin-top:14px;position:relative;overflow:hidden}.sample-grid{place-items:center;height:calc(100% - 104px);min-height:230px;display:grid}.word-photo-card{background:#fffefa;border:1px solid #e4ece7;border-radius:20px;grid-template-rows:minmax(0,1fr) auto;height:calc(100% - 52px);min-height:260px;margin-top:14px;display:grid;overflow:hidden}.word-photo-card img{object-fit:cover;width:100%;height:100%;min-height:0}.word-photo-card strong{min-height:70px;color:var(--ink);letter-spacing:.05em;background:#fffdf8f5;border-top:1px solid #e4ece7;place-items:center;font-size:clamp(30px,4vw,47px);display:grid}.sample-grid:before,.sample-grid:after{content:"";background:#2aa88921;position:absolute}.sample-grid:before{width:1px;top:0;bottom:0;left:50%}.sample-grid:after{height:1px;top:50%;left:0;right:0}.sample-letter{z-index:1;color:var(--ink);font-family:Malgun Gothic,Apple SD Gothic Neo,sans-serif;font-size:clamp(130px,18vh,205px);font-weight:700;line-height:1;position:relative;transform:translateY(-4px)}.letter-name{height:0;position:absolute;overflow:hidden}.paper-grid{touch-action:none;height:calc(100% - 48px);min-height:255px}.guide-line{z-index:0;pointer-events:none;background:#2aa88921;position:absolute}.guide-vertical{width:1px;top:0;bottom:0;left:50%}.guide-horizontal{height:1px;top:50%;left:0;right:0}.drawing-canvas{z-index:2;cursor:crosshair;touch-action:none;width:100%;height:100%;position:absolute;inset:0}.trace-guide{z-index:1;color:#173b3f2e;pointer-events:none;-webkit-user-select:none;user-select:none;font-family:Malgun Gothic,Apple SD Gothic Neo,sans-serif;font-size:clamp(156px,21.6vh,246px);font-weight:700;line-height:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-52%)}.trace-guide.word-guide{letter-spacing:.12em;text-align:center;white-space:nowrap;width:92%;font-size:clamp(58px,8.4vw,106px)}.stroke-order-guide{z-index:1;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.canvas-hint{z-index:1;color:#b2bfba;pointer-events:none;font-size:15px;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.writing-feedback{z-index:3;pointer-events:none;border:1px solid;border-radius:14px;flex-direction:column;justify-content:center;min-height:61px;padding:10px 14px;display:flex;position:absolute;bottom:16px;left:16px;right:16px;box-shadow:0 8px 20px #173b3f1a}.writing-feedback strong{font-size:15px}.writing-feedback span{margin-top:2px;font-size:12px;font-weight:700}.writing-feedback.passed{color:var(--mint-dark);background:#e4f6eff5;border-color:#aadfce}.writing-feedback.needs-practice{color:#934f33;background:#fff2e9f7;border-color:#f5c3aa}.action-bar{justify-content:space-between;align-items:center;gap:18px;margin-top:18px;display:flex}.milestone-note,.self-check-copy{color:var(--muted);align-items:center;gap:9px;font-size:13px;font-weight:650;display:flex}.note-dot{background:var(--peach);border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 5px #ff9d7224}.primary-button,.retry-button{cursor:pointer;border:0;border-radius:17px;justify-content:center;align-items:center;min-height:54px;padding:0 24px;font-size:15px;font-weight:800;transition:transform .15s,box-shadow .15s;display:inline-flex}.primary-button{background:var(--ink);color:#fff;gap:18px;box-shadow:0 12px 24px #173b3f2e}.primary-button:hover,.retry-button:hover{transform:translateY(-2px)}.test-view{margin-top:28px}.test-heading{justify-content:space-between;align-items:center;display:flex}.test-badge{color:#9c4c2c;background:#ffe9dd;border-radius:999px;padding:10px 15px;font-size:13px;font-weight:850}.test-count{color:var(--muted);font-size:15px;font-weight:800}.test-progress{background:#dfe7e3;border-radius:99px;height:8px;margin:14px 0 22px;overflow:hidden}.test-progress span{border-radius:inherit;background:var(--peach);height:100%;transition:width .25s;display:block}.listen-card{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:clamp(330px,48vh,445px);padding:28px;display:flex}.listen-card>p{color:var(--ink);letter-spacing:-.03em;margin:0 0 18px;font-size:20px;font-weight:850}.listen-orb{background:var(--mint-soft);width:122px;height:122px;color:var(--mint-dark);cursor:pointer;border:0;border-radius:50%;place-items:center;display:grid;box-shadow:0 0 0 16px #e4f6ef8a}.listen-orb .speaker-icon{transform:scale(2.1)}.replay-button{color:var(--ink);background:#edf2ef;margin-top:24px;padding:0 17px}.listen-tip{color:#91a09c;margin-top:18px;font-size:12px;font-weight:700}.revealed-answer{color:#8e5c46;background:#fff2e9;border-radius:14px;align-items:center;min-height:52px;margin-top:15px;padding:7px 15px;font-size:14px;font-weight:700;display:flex}.revealed-answer strong{color:var(--ink);margin:0 8px;font-size:28px}.grade-buttons{gap:10px;display:flex}.waiting-for-check{color:#93a09d;background:#fff9;border-radius:12px;padding:10px 14px;font-size:12px;font-weight:800}.retry-button{color:var(--ink);border:1px solid var(--line);background:#fff}.completion-card{border:1px solid var(--line);background:var(--paper);text-align:center;width:min(720px,100%);min-height:560px;box-shadow:var(--shadow);border-radius:36px;flex-direction:column;justify-content:center;align-items:center;margin:54px auto 0;padding:58px;display:flex}.completion-symbol{background:var(--mint-soft);min-width:150px;height:150px;color:var(--mint-dark);border-radius:50%;place-items:center;padding:0 24px;font-size:34px;font-weight:900;display:grid;box-shadow:0 0 0 18px #e4f6ef73}.completion-kicker{color:var(--mint-dark);margin-top:36px;font-size:13px;font-weight:900}.completion-card h1{letter-spacing:-.05em;margin:10px 0;font-size:clamp(28px,4vw,42px)}.completion-card p{color:var(--muted);margin:0 0 30px}.lesson-return-button{border:1px solid var(--line);min-height:44px;color:var(--ink);cursor:pointer;background:#ffffffc7;border-radius:14px;margin-left:auto;padding:0 17px;font-size:14px;font-weight:800;box-shadow:0 7px 18px #173b3f0f}.home-menu,.game-menu,.find-game,.game-results{margin-top:28px}.home-menu{box-shadow:var(--shadow);background:#fffdf8db;border:1px solid #d8e5e0eb;border-radius:34px;padding:clamp(28px,4vw,48px)}.home-heading,.game-page-heading{text-align:center}.home-heading h1,.game-page-heading h1{letter-spacing:-.055em;margin:7px 0 8px;font-size:clamp(29px,4vw,44px);line-height:1.15}.home-heading p,.game-page-heading p{color:var(--muted);margin:0;font-size:15px;font-weight:650}.game-kicker{color:var(--mint-dark);letter-spacing:.04em;font-size:13px;font-weight:900;display:inline-block}.home-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:34px;display:grid}.home-choice{--card-color:#2aa889;--card-soft:#e4f6ef;min-width:0;min-height:222px;color:var(--ink);cursor:pointer;background:#fff;border:2px solid #0000;border-radius:25px;flex-direction:column;justify-content:center;align-items:center;padding:22px 13px 19px;transition:transform .16s,box-shadow .16s,border-color .16s;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 28px #173b3f14}.home-choice:before{content:"";background:var(--card-color);height:8px;position:absolute;top:0;left:0;right:0}.home-choice:after{content:"";background:var(--card-soft);border-radius:50%;width:92px;height:92px;position:absolute;top:-31px;right:-29px}.home-choice:hover,.home-choice:focus-visible{border-color:var(--card-color);transform:translateY(-5px);box-shadow:0 18px 34px #173b3f24}.home-choice>span{z-index:1;background:var(--card-soft);width:86px;height:86px;color:var(--card-color);border-radius:25px;place-items:center;margin-bottom:15px;font-family:Malgun Gothic,Apple SD Gothic Neo,sans-serif;font-size:48px;font-weight:850;line-height:1;display:grid;position:relative;box-shadow:inset 0 0 0 1px #ffffffa6}.home-choice strong{z-index:1;letter-spacing:-.04em;font-size:23px;position:relative}.home-choice small{z-index:1;color:var(--muted);white-space:nowrap;margin-top:6px;font-size:12px;font-weight:700;position:relative}.home-choice.vowel{--card-color:#e77a4c;--card-soft:#fff0e8}.home-choice.syllable{--card-color:#557bc6;--card-soft:#edf2ff}.home-choice.word{--card-color:#9a6ac2;--card-soft:#f5edfc}.home-choice.word>span{letter-spacing:-.08em;font-size:27px}.home-choice.game{--card-color:#d99a21;--card-soft:#fff6d9}.home-choice.math{--card-color:#3970b8;--card-soft:#eaf2ff}.home-choice.math>span{letter-spacing:-.08em;font-family:Pretendard,Noto Sans KR,sans-serif;font-size:35px}.math-page{margin-top:27px}.math-page-heading{justify-content:space-between;align-items:end;gap:24px;margin-bottom:19px;display:flex}.math-kicker{color:#3970b8;letter-spacing:.05em;font-size:12px;font-weight:900}.math-page-heading h1{letter-spacing:-.055em;margin:4px 0 5px;font-size:clamp(28px,4vw,40px)}.math-page-heading p{color:var(--muted);margin:0;font-size:14px;font-weight:650}.math-level-tabs{background:#fffc;border:1px solid #cfdaeb;border-radius:16px;gap:5px;padding:5px;display:flex}.math-level-tabs button{color:#738096;cursor:pointer;background:0 0;border:0;border-radius:12px;min-width:76px;min-height:43px;font-weight:850}.math-level-tabs button.active{color:#fff;background:#3970b8;box-shadow:0 7px 15px #3970b83b}.math-header-controls{align-items:center;gap:9px;display:flex}.math-mode-switch{background:#ffffffc7;border:1px solid #d7e0e9;border-radius:16px;gap:4px;padding:5px;display:flex}.math-mode-switch button{color:#738096;cursor:pointer;background:0 0;border:0;border-radius:12px;min-height:43px;padding:0 14px;font-size:12px;font-weight:850}.math-mode-switch button.active{background:var(--ink);color:#fff}.math-ai-loading{min-height:360px;box-shadow:var(--shadow);background:#fffdf8f5;border:1px solid #d8e1ec;border-radius:28px;justify-content:center;align-items:center;gap:22px;padding:38px;display:flex}.math-ai-loading>span{color:#fff;background:linear-gradient(135deg,#7359bc,#4384be);border-radius:23px;flex:none;place-items:center;width:74px;height:74px;font-size:20px;font-weight:950;animation:1.4s ease-in-out infinite ai-pulse;display:grid}@keyframes ai-pulse{50%{transform:scale(1.08);box-shadow:0 0 0 13px #526fbe1a}}.math-ai-loading strong{font-size:22px;display:block}.math-ai-loading p{color:var(--muted);margin:6px 0 0;font-size:13px;font-weight:700}.math-generation-notice{border-radius:10px;align-items:center;gap:7px;min-height:35px;margin:-10px 0 18px;padding:0 11px;font-size:10px;font-weight:850;display:flex}.math-generation-notice>span{background:#ffffffb8;border-radius:7px;place-items:center;width:22px;height:22px;font-size:9px;display:grid}.math-generation-notice.ai{color:#6750a0;background:#f1edff}.math-generation-notice.fallback{color:#287362;background:#edf6f2}.math-exam-setup,.math-exam-results{box-shadow:var(--shadow);background:#fffdf8f5;border:1px solid #d8e1ec;border-radius:30px;padding:clamp(25px,4vw,42px)}.exam-setup-group{width:min(850px,100%);margin:28px auto 0}.exam-setup-group>strong{margin-bottom:10px;font-size:14px;display:block}.exam-option-grid{gap:12px;display:grid}.exam-option-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.exam-option-grid.compact.times{grid-template-columns:repeat(4,minmax(0,1fr))}.exam-option-grid.compact.counts{grid-template-columns:repeat(2,minmax(0,1fr))}.exam-option-grid.compact button{min-height:78px}.exam-option-grid button{min-height:92px;color:var(--ink);cursor:pointer;text-align:left;background:#fff;border:2px solid #e1e7ed;border-radius:18px;flex-direction:column;align-items:flex-start;padding:16px 18px;display:flex}.exam-option-grid button.active{background:#f0f6ff;border-color:#3970b8;box-shadow:0 10px 20px #3970b81c}.exam-option-grid button>span{color:#3970b8;font-size:11px;font-weight:900}.exam-option-grid button b{margin-top:4px;font-size:17px}.exam-option-grid button small{color:var(--muted);margin-top:4px;font-size:11px;font-weight:700}.exam-start-summary{background:#edf4ff;border-radius:19px;grid-template-columns:1fr 1fr auto;align-items:center;gap:20px;width:min(850px,100%);margin:28px auto 0;padding:20px;display:grid}.exam-start-summary>div{flex-direction:column;gap:3px;display:flex}.exam-start-summary>div span{color:#60748f;font-size:10px;font-weight:800}.exam-start-summary>div strong{font-size:12px}.math-exam-taking{margin-top:5px}.exam-toolbar{background:#ffffffd1;border:1px solid #d8e1ec;border-radius:18px;margin-bottom:15px;padding:15px 18px}.exam-toolbar>div:first-child{justify-content:space-between;align-items:center;gap:10px;font-size:13px;font-weight:850;display:flex}.exam-status-cluster{align-items:center;gap:14px;display:flex}.exam-status-cluster>span{color:#476889;background:#edf4ff;border-radius:10px;padding:7px 11px;font-size:11px}.exam-status-cluster>span strong{color:#204f80;font-variant-numeric:tabular-nums;margin-left:4px;font-size:15px}.exam-status-cluster.urgent>span{color:#b94832;background:#fff0ec}.exam-status-cluster.urgent>span strong{color:#b02f25}.exam-question-nav{grid-template-columns:repeat(10,1fr);gap:7px;margin-top:12px;display:grid}.exam-question-nav button{color:#718096;cursor:pointer;background:#fff;border:1px solid #d8e1ec;border-radius:10px;min-width:0;height:36px;font-size:11px;font-weight:850}.exam-question-nav button.answered{color:#176e5e;background:#eaf7f2;border-color:#9fc9bd}.exam-question-nav button.current{color:#fff;background:#3970b8;border-color:#3970b8}.exam-problem-card{min-height:650px}.exam-question-row{margin-top:28px}.exam-choices{margin-top:26px}.exam-notice{color:#924a30;background:#fff0e8;border-radius:11px;margin:14px 0 0;padding:11px 13px;font-size:12px;font-weight:850}.exam-navigation-actions{justify-content:space-between;gap:10px;margin-top:auto;padding-top:20px;display:flex}.exam-navigation-actions>button:not(.primary-button){color:#536478;cursor:pointer;background:#fff;border:1px solid #d8e1ec;border-radius:15px;min-height:52px;padding:0 17px;font-size:12px;font-weight:850}.exam-navigation-actions>button:disabled{cursor:default;opacity:.35}.submit-exam{background:#9c4050}.exam-score-card{text-align:center}.exam-score-card>span{color:#3970b8;font-size:12px;font-weight:900}.exam-score-card>strong{color:var(--ink);margin:8px 0 2px;font-size:clamp(48px,8vw,76px);line-height:1;display:block}.exam-score-card p{color:var(--muted);margin:8px 0 0;font-weight:700}.exam-result-list{gap:10px;margin-top:30px;display:grid}.exam-result-list>article{background:#fff;border:1px solid #dfe6eb;border-radius:16px;padding:16px 18px}.exam-result-list>article.correct{border-left:6px solid #62b99f}.exam-result-list>article.wrong{border-left:6px solid #d98171}.exam-result-list article>div:first-child{align-items:center;gap:9px;display:flex}.exam-result-list article>div:first-child span{background:#edf1f5;border-radius:8px;place-items:center;width:28px;height:28px;font-size:11px;font-weight:900;display:grid}.exam-result-list article>div:first-child small{color:var(--muted);margin-left:auto;font-size:10px;font-weight:750}.exam-result-list article>p{margin:11px 0 0;font-size:14px;font-weight:750}.exam-answer-review{color:#7f4936;background:#fff5ef;border-radius:12px;margin-top:12px;padding:12px;font-size:11px}.exam-answer-review>span,.exam-answer-review>strong{margin-right:14px}.exam-answer-review p{margin:7px 0 0;font-weight:700;line-height:1.55}.exam-result-actions{justify-content:center;gap:10px;margin-top:26px;display:flex}.math-selection-card{min-height:540px;box-shadow:var(--shadow);background:#fffdf8f5;border:1px solid #d8e1ec;border-radius:30px;padding:clamp(26px,4vw,42px);position:relative}.math-selection-heading{text-align:center}.math-selection-heading>span{color:#3970b8;background:#eaf2ff;border-radius:999px;align-items:center;min-height:31px;padding:0 12px;font-size:12px;font-weight:900;display:inline-flex}.math-selection-heading h2{letter-spacing:-.045em;margin:11px 0 6px;font-size:clamp(24px,3vw,32px)}.math-selection-heading p{color:var(--muted);margin:0;font-size:14px;font-weight:650}.math-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:30px;display:grid}.math-topic-grid button{min-height:170px;color:var(--ink);cursor:pointer;background:#fff;border:2px solid #e2e8ef;border-radius:22px;flex-direction:column;align-items:center;padding:18px;transition:transform .15s,border-color .15s,box-shadow .15s;display:flex;box-shadow:0 9px 20px #173b3f0f}.math-topic-grid button:hover,.math-topic-grid button:focus-visible{border-color:#6694d0;transform:translateY(-4px);box-shadow:0 14px 28px #3970b824}.math-topic-grid button>span{color:#3970b8;background:#eaf2ff;border-radius:18px;place-items:center;width:62px;height:62px;margin-bottom:10px;font-size:28px;font-weight:900;display:grid}.math-topic-grid strong{font-size:18px}.math-topic-grid small{color:var(--muted);text-align:center;margin-top:5px;font-size:11px;font-weight:700;line-height:1.4}.math-selection-back{color:#536478;cursor:pointer;background:#fff;border:1px solid #d8e1ec;border-radius:11px;min-height:39px;padding:0 12px;font-size:12px;font-weight:850;position:absolute;top:24px;left:25px}.math-difficulty-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;width:min(960px,100%);margin:44px auto 0;display:grid}.math-difficulty-grid button{cursor:pointer;text-align:left;border:2px solid #0000;border-radius:25px;flex-direction:column;align-items:flex-start;min-height:250px;padding:27px;transition:transform .15s,border-color .15s;display:flex;box-shadow:0 13px 28px #173b3f14}.math-difficulty-grid button:hover,.math-difficulty-grid button:focus-visible{transform:translateY(-5px)}.math-difficulty-grid button.basic{color:#176e5e;background:#eef8f4}.math-difficulty-grid button.applied{color:#315f9d;background:#eef4ff}.math-difficulty-grid button.balanced{color:#fff;background:radial-gradient(circle at 88%,#ffffff57,#0000 115px),linear-gradient(135deg,#7257b7,#477ec4);grid-column:1/-1;min-height:154px;padding-right:220px}.math-difficulty-grid button.progressive{color:#fff;background:radial-gradient(circle at 88%,#ffffff47,#0000 115px),linear-gradient(135deg,#16836d,#4d91b9);grid-column:1/-1;min-height:154px;padding-right:220px}.math-difficulty-grid button.balanced strong,.math-difficulty-grid button.balanced small,.math-difficulty-grid button.progressive strong,.math-difficulty-grid button.progressive small{color:#fff}.math-difficulty-grid button.balanced small,.math-difficulty-grid button.progressive small{opacity:.86}.math-difficulty-grid button.intermediate{color:#9b671b;background:#fff6e5}.math-difficulty-grid button.advanced{color:#7550a5;background:#f5efff}.math-difficulty-grid button.top{color:#aa4554;background:#fff0f1}.math-difficulty-grid button.basic:hover,.math-difficulty-grid button.basic:focus-visible{border-color:#62b99f}.math-difficulty-grid button.applied:hover,.math-difficulty-grid button.applied:focus-visible{border-color:#6694d0}.math-difficulty-grid button.intermediate:hover,.math-difficulty-grid button.intermediate:focus-visible{border-color:#dfad54}.math-difficulty-grid button.balanced:hover,.math-difficulty-grid button.balanced:focus-visible{border-color:#b5a7e1}.math-difficulty-grid button.progressive:hover,.math-difficulty-grid button.progressive:focus-visible{border-color:#90d6c7}.math-difficulty-grid button.advanced:hover,.math-difficulty-grid button.advanced:focus-visible{border-color:#aa87d2}.math-difficulty-grid button.top:hover,.math-difficulty-grid button.top:focus-visible{border-color:#d9818e}.math-difficulty-grid button>span{background:#ffffffc7;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:900}.math-difficulty-grid strong{color:var(--ink);margin-top:24px;font-size:22px}.math-difficulty-grid small{color:var(--muted);margin-top:7px;font-size:13px;font-weight:700;line-height:1.5}.math-difficulty-grid b{margin-top:auto;font-size:14px}.math-workspace{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:stretch;gap:20px;display:grid}.math-problem-card,.math-note-card{min-width:0;min-height:620px;box-shadow:var(--shadow);background:#fffdf8f5;border:1px solid #d8e1ec;border-radius:28px}.math-problem-card{flex-direction:column;padding:25px;display:flex}.math-problem-meta{justify-content:space-between;align-items:center;gap:12px;display:flex}.math-problem-meta>div{align-items:center;gap:9px;display:flex}.math-problem-meta>div span{color:#3970b8;background:#eaf2ff;border-radius:9px;padding:7px 10px;font-size:11px;font-weight:900}.math-problem-meta strong{font-size:13px}.math-problem-meta>span{color:var(--muted);font-size:12px;font-weight:850}.math-problem-progress{background:#e8edf3;border-radius:99px;height:6px;margin:14px 0 24px;overflow:hidden}.math-problem-progress span{border-radius:inherit;background:#6694d0;height:100%;transition:width .2s;display:block}.math-problem-progress.random span{background:linear-gradient(90deg,#6694d0,#8f75c6,#6694d0) 0 0/200% 100%;width:100%;animation:2.6s linear infinite random-progress}.math-difficulty-control{background:#f6f9fc;border:1px solid #d8e1ec;border-radius:16px;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin:17px 0 2px;padding:8px;display:grid}.math-difficulty-control button{color:#3970b8;cursor:pointer;background:#fff;border:1px solid #cfdaea;border-radius:11px;min-height:42px;padding:0 10px;font-size:11px;font-weight:850}.math-difficulty-control button:last-child{color:#fff;background:#3970b8}.math-difficulty-control button:disabled{cursor:default;opacity:.32}.math-difficulty-control>div{justify-items:center;min-width:94px;display:grid}.math-difficulty-control small{color:var(--muted);font-size:9px;font-weight:800}.math-difficulty-control strong{color:var(--ink);margin:1px 0;font-size:15px}.math-difficulty-control span{color:#738096;font-size:10px;font-weight:800}@keyframes random-progress{to{background-position:-200% 0}}.math-question-row{align-items:flex-start;gap:13px;display:flex}.math-question-number{color:#fff;background:#3970b8;border-radius:12px;flex:none;place-items:center;width:38px;height:38px;font-size:17px;font-weight:900;display:grid}.math-question-row h2{letter-spacing:-.035em;margin:2px 0 0;font-size:clamp(19px,2.2vw,25px);line-height:1.45}.math-read-button{color:#3970b8;cursor:pointer;background:#edf3fb;border:0;border-radius:11px;align-self:flex-start;align-items:center;gap:7px;min-height:38px;margin:15px 0 17px 51px;padding:0 12px;font-size:12px;font-weight:850;display:inline-flex}.math-read-button .speaker-icon{transform:scale(.76)}.math-choices{gap:9px;display:grid}.math-choice{width:100%;min-height:53px;color:var(--ink);cursor:pointer;text-align:left;background:#fff;border:2px solid #e1e7ed;border-radius:14px;align-items:center;gap:11px;padding:7px 12px;transition:border-color .13s,background .13s;display:flex}.math-choice>span{color:#718096;background:#f0f3f6;border-radius:9px;flex:none;place-items:center;width:30px;height:30px;font-size:12px;font-weight:900;display:grid}.math-choice strong{overflow-wrap:anywhere;min-width:0;font-size:14px}.math-choice:hover:not(:disabled),.math-choice.selected{background:#f2f7ff;border-color:#6694d0}.math-choice.selected>span{color:#fff;background:#3970b8}.math-choice.correct{background:#ebf8f3;border-color:#62b99f}.math-choice.correct>span{background:var(--mint-dark);color:#fff}.math-choice.wrong{background:#fff0e9;border-color:#e58b6b}.math-choice.wrong>span{color:#fff;background:#c86846}.math-choice:disabled{cursor:default;opacity:1}.math-answer-panel{border-radius:14px;margin-top:15px;padding:14px 16px}.math-answer-panel.correct{color:#176e5e;background:#e9f7f1}.math-answer-panel.wrong{color:#924a30;background:#fff0e8}.math-answer-panel strong{font-size:14px}.math-answer-panel p{margin:5px 0 0;font-size:12px;font-weight:700;line-height:1.55}.math-answer-panel>small{margin-top:7px;font-size:11px;font-weight:900;display:block}.math-actions{justify-content:space-between;gap:10px;margin-top:auto;padding-top:18px;display:flex}.math-change-button,.math-refresh-button{color:#536478;cursor:pointer;background:#fff;border:1px solid #d8e1ec;border-radius:14px;min-height:48px;padding:0 14px;font-size:12px;font-weight:850}.math-refresh-button{color:#3970b8;background:#edf4ff;border-color:#c9d9ed}.math-actions .primary-button:disabled{cursor:default;opacity:.38;box-shadow:none}.math-note-card{flex-direction:column;padding:20px;display:flex}.math-note-heading{justify-content:space-between;align-items:center;gap:12px;min-height:48px;display:flex}.math-note-heading>div{flex-direction:column;gap:2px;display:flex}.math-note-heading span{color:#3970b8;font-size:12px;font-weight:900}.math-note-heading strong{font-size:15px}.math-note-heading button{color:#536478;cursor:pointer;background:#edf1f5;border:0;border-radius:11px;min-height:40px;padding:0 13px;font-size:12px;font-weight:850}.math-note-heading button:disabled{cursor:default;opacity:.42}.math-paper{background-color:#fffefa;background-image:linear-gradient(#507eb21c 1px,#0000 1px),linear-gradient(90deg,#507eb21c 1px,#0000 1px);background-size:28px 28px;border:1px solid #cad9e8;border-radius:19px;flex:1;min-height:520px;margin-top:13px;position:relative;overflow:hidden}.math-paper canvas{z-index:2;cursor:crosshair;touch-action:none;width:100%;height:100%;position:absolute;inset:0}.math-paper>span{z-index:1;color:#a9b7c5;text-align:center;pointer-events:none;width:90%;font-size:14px;font-weight:750;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.game-mode-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:30px;display:grid}.game-mode-card{border:1px solid var(--line);cursor:pointer;min-height:230px;color:var(--ink);box-shadow:var(--shadow);background:#fffdf8f2;border-radius:25px;flex-direction:column;align-items:center;padding:24px;transition:transform .16s,border-color .16s;display:flex}.game-mode-card:hover,.game-mode-card:focus-visible{border-color:var(--mint);transform:translateY(-4px)}.game-mode-icon{background:var(--mint-soft);width:88px;height:88px;color:var(--mint-dark);border-radius:25px;place-items:center;margin-bottom:14px;font-size:45px;font-weight:850;display:grid}.game-mode-card strong{font-size:21px}.game-mode-card>span:not(.game-mode-icon){color:var(--muted);margin-top:4px;font-size:13px;font-weight:700}.game-mode-card small{color:var(--mint-dark);background:#f1f5f2;border-radius:999px;margin-top:15px;padding:7px 11px;font-weight:800}.record-panel{border:1px solid var(--line);background:#ffffffc2;border-radius:24px;margin-top:22px;padding:23px;box-shadow:0 12px 28px #173b3f0f}.record-panel-heading,.record-row,.game-status-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.record-panel-heading span,.record-row small{color:var(--muted);font-size:12px;font-weight:700}.record-list{gap:8px;margin-top:16px;display:grid}.record-row{background:#f4f7f4;border-radius:13px;min-height:50px;padding:0 15px}.record-row span{flex:1;font-size:14px;font-weight:800}.record-row strong{font-variant-numeric:tabular-nums}.empty-record{color:var(--muted);text-align:center;background:#f4f7f4;border-radius:14px;margin:18px 0 0;padding:18px;font-size:13px;font-weight:700}.find-game{width:min(720px,100%);margin-left:auto;margin-right:auto}.game-status-row>strong{color:var(--muted);font-size:15px}.game-play-card{border:1px solid var(--line);min-height:530px;box-shadow:var(--shadow);background:#fffdf8f2;border-radius:30px;flex-direction:column;align-items:center;padding:32px;display:flex}.game-play-card>p{margin:0 0 18px;font-size:20px;font-weight:850}.game-listen-button{background:var(--mint-soft);width:88px;height:88px;color:var(--mint-dark);cursor:pointer;border:0;border-radius:50%;place-items:center;display:grid;box-shadow:0 0 0 12px #e4f6ef8c}.game-listen-button .speaker-icon{transform:scale(1.6)}.game-replay{min-height:36px;color:var(--ink);cursor:pointer;background:#f0f3f1;border:0;border-radius:11px;margin-top:15px;padding:0 13px;font-size:12px;font-weight:800}.letter-board-frame{background-color:#f8fcfa;background-image:linear-gradient(#2aa8890b 1px,#0000 1px),linear-gradient(90deg,#2aa8890b 1px,#0000 1px),none;background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:25px 25px;background-attachment:scroll,scroll,scroll;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;border:2px solid #c9ddd6;border-radius:22px;width:min(100%,350px);margin:28px auto 18px;padding:18px;box-shadow:inset 0 0 0 5px #ffffffa6}.letter-board-label{color:var(--mint-dark);text-align:center;margin-bottom:13px;font-size:12px;font-weight:900;display:block}.letter-board{grid-template-columns:repeat(5,50px);justify-content:center;gap:12px;display:grid}.letter-tile{width:50px;height:50px;color:var(--ink);cursor:pointer;background:#fff;border:2px solid #9fc9bd;border-radius:12px;place-items:center;padding:0;font-size:25px;font-weight:850;transition:transform .12s,border-color .12s,background .12s;display:grid;box-shadow:0 6px 12px #173b3f1f}.letter-tile:hover:not(:disabled),.letter-tile:focus-visible:not(:disabled){border-color:var(--mint);background:var(--mint-soft);transform:translateY(-2px)}.letter-tile:disabled{cursor:wait;opacity:.9;background:#f5f8f6}.letter-tile.wrong{color:#a64c2d;background:#fff0e8;border-color:#e58968;animation:.23s wrong-shake}@keyframes wrong-shake{33%{transform:translate(-4px)}66%{transform:translate(4px)}}.timer-state{color:var(--muted);background:#f0f3f1;border-radius:999px;margin-top:auto;padding:8px 13px;font-size:12px;font-weight:800}.game-results{border:1px solid var(--line);background:var(--paper);text-align:center;width:min(720px,100%);box-shadow:var(--shadow);border-radius:32px;flex-direction:column;align-items:center;margin-left:auto;margin-right:auto;padding:42px;display:flex}.result-icon{color:#d99a21;background:#fff6d9;border-radius:28px;place-items:center;width:92px;height:92px;margin:14px 0;font-size:48px;display:grid}.game-results h1{font-variant-numeric:tabular-nums;margin:5px 0;font-size:clamp(38px,7vw,62px)}.game-results>p{color:var(--muted);margin:0;font-weight:700}.round-time-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;width:100%;margin-top:26px;display:grid}.round-time-grid span{font-variant-numeric:tabular-nums;background:#f1f5f2;border-radius:13px;flex-direction:column;justify-content:center;min-height:58px;padding:8px;font-size:13px;font-weight:850;display:flex}.round-time-grid small{color:var(--muted);margin-bottom:2px;font-size:10px}.result-actions{gap:12px;margin-top:26px;display:flex}@media (width<=760px){.app-shell{width:min(100% - 24px,620px);padding-top:14px}.brand-copy span{display:none}.lesson-tabs span{padding:8px 11px}.home-menu{border-radius:25px;padding:25px 16px}.home-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:25px}.home-choice{border-radius:20px;min-height:188px;padding:18px 8px 15px}.home-choice>span{border-radius:21px;width:72px;height:72px;margin-bottom:11px;font-size:40px}.home-choice.word>span{font-size:23px}.home-choice strong{font-size:20px}.home-choice.game:last-child{grid-column:1/-1;min-height:170px}.math-page-heading{flex-direction:column;align-items:stretch;gap:16px}.math-header-controls{flex-direction:column;align-items:stretch}.math-mode-switch,.math-level-tabs{width:100%}.math-mode-switch button{flex:1}.math-level-tabs{width:100%}.math-level-tabs button{flex:1}.math-selection-card{border-radius:23px;min-height:520px;padding:24px 15px}.math-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.math-topic-grid button{min-height:156px;padding:14px 8px}.math-topic-grid button>span{width:54px;height:54px;font-size:24px}.math-topic-grid strong{font-size:16px}.math-selection-back{margin-bottom:18px;position:static}.math-difficulty-grid{grid-template-columns:1fr;margin-top:28px}.math-difficulty-grid button{min-height:210px}.math-difficulty-grid button.balanced,.math-difficulty-grid button.progressive{min-height:210px;padding-right:27px}.math-workspace{grid-template-columns:1fr}.math-problem-card,.math-note-card{border-radius:23px;min-height:590px}.math-problem-card{padding:19px 15px}.math-problem-meta>div{flex-direction:column;align-items:flex-start;gap:5px}.math-question-row h2{font-size:20px}.math-read-button{margin-left:0}.math-actions .primary-button{width:100%}.math-actions{flex-direction:column-reverse}.math-change-button,.math-refresh-button{width:100%}.math-note-card{min-height:620px;padding:15px}.math-note-heading{align-items:flex-start}.math-note-heading strong{font-size:13px}.math-paper{min-height:530px}.math-ai-loading{text-align:center;flex-direction:column;min-height:330px;padding:26px 18px}.math-exam-setup,.math-exam-results{border-radius:23px;padding:24px 14px}.exam-option-grid.two{grid-template-columns:1fr}.exam-option-grid.compact.times,.exam-option-grid.compact.counts{grid-template-columns:repeat(2,minmax(0,1fr))}.exam-toolbar>div:first-child{align-items:flex-start}.exam-status-cluster{flex-direction:column;align-items:flex-end;gap:4px}.exam-start-summary{grid-template-columns:1fr}.exam-start-summary .primary-button{width:100%}.exam-question-nav{grid-template-columns:repeat(5,1fr)}.exam-navigation-actions{flex-direction:column-reverse}.exam-navigation-actions>button{width:100%}.exam-result-actions{flex-direction:column}.exam-result-actions .primary-button,.exam-result-actions .retry-button{width:100%}.game-mode-grid{grid-template-columns:1fr}.game-mode-card{min-height:190px}.record-panel-heading{flex-direction:column;align-items:flex-start;gap:3px}.game-play-card{min-height:500px;padding:28px 14px}.letter-board{gap:9px}.letter-board-frame{width:min(100%,326px);padding:14px 10px}.game-results{padding:34px 18px}.round-time-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.result-actions{flex-direction:column-reverse;width:100%}.lesson-heading{margin-top:18px}.progress-track{gap:5px}.practice-grid,.test-grid{grid-template-columns:1fr}.sample-card,.writing-card,.listen-card{min-height:330px}.action-bar{flex-direction:column;align-items:stretch}.milestone-note,.self-check-copy{text-align:center;justify-content:center}.primary-button,.retry-button{width:100%}.grade-buttons{flex-direction:column-reverse;width:100%}.completion-card{min-height:510px;margin-top:32px;padding:34px 24px}}@media (width>=761px) and (height<=780px){.app-shell{padding-top:14px}.lesson-heading{margin-top:12px}.progress-track{margin:13px 0}.sample-card,.writing-card,.listen-card{height:45vh;min-height:350px}.action-bar{margin-top:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}
