:root{--green:#4d6b45;--ink:#293b2d;--muted:#70806e;--paper:#faf9f3;--line:#e4e6da}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Malgun Gothic','Apple SD Gothic Neo',sans-serif}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:48px}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d68a32;outline-offset:4px}header{max-width:1120px;margin:auto;display:flex;align-items:center;gap:24px;padding:28px 32px;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:var(--ink);font-weight:800;font-size:21px;display:flex;align-items:center;gap:10px}.logo{background:var(--green);color:white;width:36px;height:36px;border-radius:12px;display:grid;place-items:center;font-size:29px}.header-note{font-size:13px;color:var(--muted);margin-right:auto}.quiet{border:0;background:transparent;color:var(--green);padding:10px 14px;font-weight:700}main{max-width:1060px;margin:auto;padding:0 32px}.hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;padding:55px 0 38px;gap:30px}.eyebrow{color:var(--green);font-size:13px;letter-spacing:1px;font-weight:800}h1{font-size:54px;line-height:1.28;letter-spacing:-2px;margin:18px 0}h1 span{color:var(--green)}.intro{color:var(--muted);line-height:1.9;font-size:16px}.hero-tags{display:flex;gap:18px;font-size:12px;color:var(--green);margin-top:24px}.illustration{height:310px;position:relative;background:#edf0e2;border-radius:48% 48% 43% 43%;margin:0 24px}.plant{position:absolute;left:50%;top:70px;transform:translateX(-50%);width:140px;height:210px}.stem{position:absolute;width:9px;height:115px;background:#527447;left:66px;top:8px;border-radius:10px}.leaf{position:absolute;background:#719358;width:68px;height:43px;z-index:1}.l1{left:4px;top:25px;border-radius:4px 50px 4px 50px;transform:rotate(12deg)}.l2{right:0;top:0;border-radius:50px 4px 50px 4px;transform:rotate(-18deg)}.pot{position:absolute;top:100px;left:12px;width:120px;height:102px;background:#e7a177;clip-path:polygon(0 0,100% 0,85% 100%,15% 100%);border-radius:8px;display:grid;place-items:center;font-size:35px;color:#5b4534}.ground{position:absolute;width:220px;height:16px;background:#d3dbc3;bottom:33px;left:50%;transform:translateX(-50%);border-radius:50%}.float{position:absolute;display:grid;place-items:center;border-radius:20px;width:57px;height:57px;font-size:40px;font-weight:bold}.plus{top:36px;left:27px;background:#f8d885;transform:rotate(-13deg);color:#8a6836}.times{top:73px;right:15px;background:#c6d6b4;transform:rotate(15deg);color:#4d6b45}.minus{bottom:73px;left:22px;background:#f3c4af;transform:rotate(8deg);color:#ab654a}.sun{position:absolute;right:78px;top:8px;color:#d8ae5e;font-size:35px}.art-label{position:absolute;bottom:7px;width:100%;text-align:center;font-size:12px;color:var(--green)}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:10px 0 18px;gap:12px}h2{font-size:21px;margin:0;letter-spacing:-.6px}.section-heading>span{color:#889080;font-size:11px;letter-spacing:.5px}.operations{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.operation{position:relative;border:1px solid var(--line);border-radius:18px;padding:23px;background:#fffefa;text-align:left;transition:transform .2s,border-color .2s}.operation:hover{transform:translateY(-3px)}.operation.selected{border:2px solid var(--green);background:#f0f4e9;padding:22px}.op-icon{display:grid;place-items:center;background:#e8eeda;border-radius:12px;width:46px;height:46px;font-size:34px;color:#59754b;margin-bottom:17px}.operation:nth-child(2) .op-icon{background:#fbe8d9;color:#af7953}.operation:nth-child(3) .op-icon{background:#efe6f4;color:#8e73a0}.operation:nth-child(4) .op-icon{background:#faedc5;color:#a68a42}.operation strong{font-size:19px;display:block;margin-bottom:7px}.operation small{font-size:12px;color:var(--muted)}.check{position:absolute;right:17px;top:17px;background:var(--green);border-radius:50%;color:white;width:20px;height:20px;text-align:center;font-size:12px;display:none}.selected .check{display:block}.setup{display:flex;align-items:center;justify-content:space-between;padding:28px 0 20px;gap:40px}.setup>div{flex:1}.levels{display:flex;gap:10px}.levels button{background:#fffefa;border:1px solid var(--line);border-radius:12px;padding:12px 25px;color:#677660;font-weight:bold}.levels .selected{background:var(--green);color:white;border-color:var(--green)}.level-info{font-size:12px;color:var(--muted);line-height:1.8}.primary{background:var(--green);color:white;border:0;border-radius:13px;padding:17px 25px;font-weight:800;box-shadow:0 4px 0 #3b5435;min-width:180px}.primary:hover{background:#3c5837}.primary span{margin-left:35px}.gentle{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);padding:18px 0;color:var(--muted);font-size:12px;line-height:1.7}.gentle>span{font-size:27px;color:#b99951}.gentle strong{color:#5d6e54}footer{max-width:1060px;margin:20px auto 0;padding:20px 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;color:#8b9483;font-size:11px}.quiz-top{display:flex;align-items:center;justify-content:space-between;margin-top:28px;font-size:13px}.progress{height:7px;border-radius:5px;background:#e3e8dc;margin:15px 0 25px;overflow:hidden}.progress>div{height:100%;background:var(--green);transition:width .2s}.quiz-card{max-width:580px;margin:0 auto 35px;background:#fffefa;border:1px solid var(--line);border-radius:24px;padding:30px;text-align:center}.quiz-card h1{font-size:56px;margin:25px 0}form label{display:block;color:var(--muted);font-size:13px}input{width:100%;max-width:300px;height:65px;font-size:32px;text-align:center;border:2px solid #b3c3a6;border-radius:12px;margin:14px 0;background:var(--paper);color:var(--ink)}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:300px;margin:0 auto 20px}.keypad button{border:1px solid var(--line);background:#f0f3e8;border-radius:10px;font-size:22px;min-height:48px}.keypad button:active{background:#cbdcbd}#answerForm>.primary{width:100%;max-width:300px}#hint{background:#f6efd9;border-radius:12px;padding:16px;line-height:1.8;font-size:14px}#feedback{font-weight:bold;line-height:1.8}.result-card{text-align:center;padding:50px 0;max-width:720px;margin:auto}.result-flower{font-size:65px}.result-card h1{font-size:42px}#score{font-size:24px;color:var(--green);font-weight:bold}.result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:15px;margin-top:25px}.review-row,.record-row{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:16px;text-align:left;line-height:1.7;font-size:14px}#reviewList{margin-top:25px}#encouragement{color:var(--muted);line-height:1.8}[hidden]{display:none!important}@media(max-width:760px){header{padding:18px 22px;gap:10px}.header-note{display:none}#recordButton{margin-left:auto}.hero{padding:35px 0 25px;gap:10px}h1{font-size:39px}.illustration{height:270px;margin:0;transform:scale(.9)}.operations{grid-template-columns:repeat(2,1fr)}.setup{gap:20px;flex-direction:column;align-items:stretch}.setup>.primary{width:100%}.levels button{flex:1;padding:12px 10px}.hero-tags{flex-direction:column;gap:8px}footer>span:last-child{display:none}}@media(max-width:480px){main{padding:0 20px}.hero{grid-template-columns:1fr;position:relative;overflow:hidden}.hero h1{font-size:40px}.illustration{position:absolute;right:-52px;top:55px;width:180px;height:220px;transform:scale(.65);transform-origin:right center;opacity:.9}.hero>div:first-child{z-index:1}.intro{font-size:13px}.hero-tags{font-size:11px}.section-heading>span{font-size:9px}.section-heading h2{font-size:18px}.operation{padding:19px}.operation.selected{padding:18px}.operation small{font-size:11px}.quiz-card{padding:24px 16px}.quiz-card h1{font-size:44px}.quiz-top{font-size:11px}.brand{font-size:18px}footer{padding:18px 20px;font-size:10px}.result-card h1{font-size:34px}.result-actions{flex-direction:column}.review-row,.record-row{font-size:12px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* 수학과 국어 카테고리 및 문장 선택 화면 */
.subjects{display:flex;gap:8px;width:fit-content;background:#eceee3;border-radius:16px;padding:5px;margin-top:28px}.subjects button{border:0;background:transparent;color:var(--muted);border-radius:12px;padding:12px 24px;font-weight:800}.subjects .selected{background:var(--green);color:white;box-shadow:0 2px 5px #293b2d15}.subjects~#home .hero{padding-top:32px}.operations.korean-operations{grid-template-columns:repeat(3,1fr)}.korean-operations .op-icon{font-size:23px;width:58px}.quiz-card h1.language-question{font-size:26px;letter-spacing:-.6px;line-height:1.6}.choices{display:grid;gap:12px;margin:22px 0}.choice{display:flex;align-items:center;gap:14px;text-align:left;width:100%;border:2px solid var(--line);background:var(--paper);color:var(--ink);border-radius:14px;padding:18px;font-size:19px;line-height:1.65;word-break:keep-all}.choice-number{display:grid;place-items:center;flex-shrink:0;width:29px;height:29px;font-size:14px;background:#e9eddf;border-radius:50%;color:var(--green)}.choice.selected{border-color:var(--green);background:#edf3e4}.choice:disabled{opacity:1;cursor:default}.choice.selected .choice-number{background:var(--green);color:white}.explanation{background:#edf3e4;color:var(--green);border-radius:12px;padding:17px;font-size:15px;line-height:1.8;word-break:keep-all}.language-review{display:block}.language-review strong{color:var(--green)}.language-review p{margin:8px 0;color:var(--muted)}.record-row strong{flex-shrink:0}#answerForm>.primary{margin-bottom:10px}@media(max-width:480px){.subjects{width:100%;margin-top:22px}.subjects button{flex:1;padding:12px 8px;font-size:14px}.operations.korean-operations{grid-template-columns:1fr}.korean-operations .operation{display:grid;grid-template-columns:58px 1fr;column-gap:18px;align-items:center}.korean-operations .op-icon{grid-row:span 2;margin:0}.korean-operations strong{margin-bottom:2px}.korean-operations small{font-size:12px}.choice{font-size:17px;padding:15px;gap:10px}.quiz-card h1.language-question{font-size:23px}.record-row{align-items:center}}

h1{word-break:keep-all}
