@import url('https://fonts.googleapis.com/css2?family=Jua&display=swap');

/* 초등학생이 직접 고르고 조작하는 밝은 수학 놀이터 */
.chip b{font-size:25px;font-weight:400}.chip small{font-size:13px;margin-left:3px}
:root{--ink:#293653;--muted:#596a82;--teal:#2458cc;--blue:#2458cc;--orange:#e9683f;--line:#d9e3f1;--bg:#f0f8ff;--yellow:#ffda65;--display:'Jua','Malgun Gothic',sans-serif}
body{background-color:var(--bg);background-image:radial-gradient(#c9dff1 1px,transparent 1px);background-size:22px 22px;line-height:1.75}
h1,h2,h3,.brand strong,.primary,.secondary,.chip,.select-label,.unit-btn,.step,.target,.count strong,.lesson-index,.feature p,.school-link,.ghost{font-family:var(--display);font-weight:400;letter-spacing:0}
.header{border-bottom:3px solid #daeafa;box-shadow:0 4px 0 #ffffffa0;background:#fff}
.header-row{height:78px}.brand-icon{background:#ffdb6c;color:#2659c8;border-radius:17px;border:2px solid #eebf41;box-shadow:0 3px 0 #eebf41;transform:rotate(-7deg);font-size:38px}.brand strong{font-size:27px;color:#255bcc}.brand strong span{color:#2659c8;margin-left:7px}.brand small{color:#687995;font-size:12px;font-weight:700}
.school-link,.ghost{border:2px solid #dce6f3;border-radius:14px;font-size:16px;color:#526788;box-shadow:0 3px 0 #e3eaf4}.school-link span{font-size:22px;margin-right:4px}.school-link:hover,.ghost:hover{background:#f0f6ff}
#main{padding-top:25px}.eyebrow{font-size:14px;color:#3661a1;letter-spacing:0}.page-heading{background:#e0f2ff;border:2px solid #c2e6fa;border-radius:26px;padding:18px 26px;margin-bottom:20px;min-height:138px;position:relative;overflow:hidden}
.page-heading h1{font-size:35px;color:#214d9c;margin-top:3px;line-height:1.3}.page-heading .sub{font-size:15px;color:#4e6481;margin-top:5px}.welcome-friend{display:flex;gap:10px;align-items:center;flex-shrink:0}.welcome-friend img{width:117px;height:117px;object-fit:contain}.hello-bubble{border-radius:17px 17px 3px 17px;background:#fff;border:2px solid #c0e3f8;padding:11px 17px;font-family:var(--display);font-size:18px;color:#305791;transform:rotate(-3deg)}
.selector{border:2px solid #d5e4f4;border-radius:24px;padding:17px 24px;margin-bottom:24px;box-shadow:0 5px 0 #dfeaf7}.select-row{gap:21px}.select-row+.select-row{padding-top:12px;margin-top:12px;border-color:#dbe7f3}.select-label{font-size:19px;color:#526a89;min-width:46px}.chips{gap:10px}.chip{min-width:83px;padding:7px 16px;border:2px solid #d3deef;border-radius:15px;background:#f8fbff;color:#4b6388;box-shadow:0 4px 0 #e1e8f1;font-size:20px;transition:transform 140ms,box-shadow 140ms}
.chip:nth-child(2){background:#fff4db;border-color:#f1d794;box-shadow:0 4px 0 #f1d794}.chip:nth-child(3){background:#e8f8ee;border-color:#b1dfc3;box-shadow:0 4px 0 #b1dfc3}.chip:nth-child(4){background:#ffece6;border-color:#f2c1b1;box-shadow:0 4px 0 #f2c1b1}.chip:nth-child(5){background:#f1ebff;border-color:#d1c2f2;box-shadow:0 4px 0 #d1c2f2}.chip:nth-child(6){background:#e3f6fa;border-color:#abdce5;box-shadow:0 4px 0 #abdce5}.chip.active{background:#315ed5;border-color:#284aa8;box-shadow:0 4px 0 #284aa8;color:#fff;transform:translateY(-1px)}.chip:hover:not(.active){transform:translateY(-2px)}.chip.term{font-size:17px;min-width:100px;padding:6px 18px}.term.active{background:#fff0b9;color:#6e4b12;border-color:#e8bc4d;box-shadow:0 4px 0 #e8bc4d}
.catalog{grid-template-columns:262px 1fr;gap:22px}.unit-panel h2{font-size:22px;color:#425f8a;padding-left:6px;margin-bottom:13px}.unit-btn{border:2px solid #d7e5f2;background:#fff;font-size:16px;line-height:1.4;padding:13px 12px;margin-bottom:10px;min-height:62px;border-radius:18px;box-shadow:0 3px 0 #e2ebf6;color:#516684;gap:12px}.unit-btn .num{width:36px;height:36px;border-radius:12px;background:#e6f1ff;color:#315ea8;font-size:21px;flex-shrink:0}.unit-btn:nth-of-type(2) .num{background:#fff0bf;color:#996012}.unit-btn:nth-of-type(3) .num{background:#daf6e9;color:#1b7957}.unit-btn:nth-of-type(4) .num{background:#ffe7df;color:#a64f37}.unit-btn:nth-of-type(5) .num{background:#ece1ff;color:#7155a6}.unit-btn:nth-of-type(6) .num{background:#e0f5ff;color:#296b95}.unit-btn.active{background:#eef4ff;border:2px solid #7299ee;color:#244b9b;box-shadow:0 4px 0 #bed1f5}.unit-btn.active .num{background:#315ed5;color:#fff}.unit-btn:not(.active):hover{background:#f7faff;border-color:#a5c0ea}.unit-help{font-size:13px;color:#647894;margin:17px 8px}
.lesson-panel{border:2px solid #d5e4f4;border-radius:27px;padding:22px;box-shadow:0 6px 0 #e0eaf8}.panel-heading{margin-bottom:17px}.panel-heading h2{font-size:25px;color:#334f7a}.panel-heading small{padding:5px 10px;border-radius:10px;background:#fff1bc;color:#78500f;font-weight:700;font-size:12px}.tag{border-radius:9px;background:#fff;color:#41649b;border:1px solid #c6ddf7;font-size:12px;font-weight:700;padding:4px 10px}
.feature{background:#e8f5ff;border:2px solid #b9dcf7;border-radius:22px;grid-template-columns:minmax(0,1fr) 180px;padding:22px;gap:12px;margin-bottom:20px;position:relative}.feature h3{font-size:30px;color:#2456ab;line-height:1.4;margin:11px 0 9px}.feature p{color:#4b658e;font-size:17px;line-height:1.6;margin-bottom:13px}.feature-art{display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;min-width:0}.feature-art img{width:185px;height:185px;object-fit:contain;filter:drop-shadow(0 8px 5px #4f85ab20)}.math-sticker{background:#ffdd76;color:#77500c;border:2px solid #edbf43;border-radius:11px;padding:4px 14px;transform:rotate(-5deg);font:18px var(--display);margin-top:-12px;z-index:1}
.primary{font-size:20px;min-height:51px;padding:10px 23px;border-radius:15px;background:#315ed5;border:2px solid #264ba5;box-shadow:0 5px 0 #264ba5;color:#fff;transition:transform 120ms,box-shadow 120ms}.primary:hover{background:#3c6ae6;transform:translateY(-2px);box-shadow:0 7px 0 #264ba5}.primary:active{transform:translateY(4px);box-shadow:0 1px 0 #264ba5}.primary:disabled{background:#a8bce4;border-color:#8ba2cf;box-shadow:0 3px 0 #8ba2cf}.secondary{font-size:18px;border:2px solid #c8d9ef;box-shadow:0 3px 0 #c8d9ef;border-radius:13px;color:#325caa;min-height:47px;background:#fff}.secondary:hover{background:#f0f5ff}
.mission-path{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.mission-path span{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:700;color:#536a88}.mission-path i{font-style:normal;font-size:19px}
.lesson-list{gap:9px}.lesson-row{padding:14px 13px;border:2px solid #e5ebf3;border-radius:16px;gap:12px;background:#fcfdff}.lesson-index{display:grid;place-items:center;background:#eaf0f7;color:#5c7493;border-radius:11px;width:35px;height:35px;min-width:35px;font-size:18px}.lesson-row h3{font-size:18px;color:#526785}.lesson-row p{font-size:13px}.lesson-row .status{font-size:12px;background:#edf1f7;color:#68788e;border-radius:8px;padding:4px 8px;font-weight:600}.lesson-row.ready{border:2px solid #edba57;background:#fff8e1;padding:16px 13px;box-shadow:0 4px 0 #fae6ad}.lesson-row.ready h3{color:#83561b;font-size:20px}.lesson-row.ready .lesson-index{background:#ffdc78;color:#7d5313}.lesson-row.ready .status{background:#f6cc62;color:#60440b}.intro-label{font-size:13px;color:#657996}.empty{border:2px solid #d6e6f5;border-radius:25px;background:#fff;box-shadow:0 5px 0 #e0eaf8}.empty h2{font-size:28px;color:#3d6197}.footer{font-size:12px;color:#667d97;padding-top:35px}
.breadcrumb{font-size:13px;color:#5f7799}.lesson-heading{background:#e5f2ff;border:2px solid #c5dff7;border-radius:24px;padding:17px 22px;margin-bottom:19px}.lesson-heading h1{font-size:32px;color:#2754a5}.lesson-heading .eyebrow{font-size:13px;color:#496ba0}.steps{background:transparent;border:0;padding:0;gap:13px;margin:20px 0 27px}.step{flex-direction:column;gap:6px;padding:13px 8px;border:2px solid #d5e1f1;border-radius:19px;box-shadow:0 4px 0 #d5e1f1;font-size:18px;color:#446087;background:#fff;min-height:100px}.step span{width:34px;height:34px;font:24px var(--display);background:transparent;border-radius:10px}.step:nth-child(2){background:#fff8e0;border-color:#f2dda1;box-shadow:0 4px 0 #f2dda1}.step:nth-child(3){background:#eafbF0;border-color:#bce3cc;box-shadow:0 4px 0 #bce3cc}.step:nth-child(4){background:#ffede7;border-color:#f0cabc;box-shadow:0 4px 0 #f0cabc}.step.active{background:#315ed5;border-color:#264ba5;box-shadow:0 5px 0 #264ba5;color:#fff}.step.active span{background:#ffffff24}.step.done:not(.active){color:#365c94}
.study{border:2px solid #d3e4f4;border-radius:27px;padding:28px;box-shadow:0 6px 0 #e0eaf8}.study-head{position:relative;padding-right:180px;min-height:100px;margin-bottom:22px}.study-head .eyebrow{display:inline-block;font-weight:700;font-size:13px;color:#426497;background:#eaf3ff;border:1px solid #d7e7fb;border-radius:9px;padding:3px 10px;margin:0 0 8px}.study-head h2{font-size:29px;line-height:1.4;color:#344f78}.study-head>p:last-of-type{font-size:16px;margin-top:5px;color:#5a708e}.study-friend{position:absolute;right:0;top:-13px;display:flex;flex-direction:column;align-items:center}.study-friend img{width:105px;height:105px;object-fit:contain}.study-friend span{font:15px var(--display);background:#fff1bc;color:#7c581b;border-radius:10px;padding:4px 12px;margin-top:-5px;transform:rotate(3deg)}
.think{background:#fff9e5;border:2px solid #f2dd99;border-radius:20px;padding:20px;margin-bottom:23px}.think h3,.question h3{font-size:23px;color:#846017}.think p,.question p{font-size:16px}.options{gap:13px}.option{font-size:16px;border:2px solid #ccdcef;border-radius:15px;box-shadow:0 4px 0 #dce6f2;padding:14px 19px;background:#fff;line-height:1.6}.option:hover{background:#f4f8ff;border-color:#91b1e8}.option:active{transform:translateY(2px);box-shadow:0 2px 0 #dce6f2}.option.correct,.option.chosen{background:#e4f8ed;border-color:#78bd99}.feedback{font-size:15px;line-height:1.7}.feedback.good{color:#167548}.feedback.retry{color:#a44c30}
.board{background-color:#eff8ff;background-image:linear-gradient(#dceefa 1px,transparent 1px),linear-gradient(90deg,#dceefa 1px,transparent 1px);background-size:25px 25px;border:2px solid #c8e3f7;border-radius:22px;min-height:330px;padding:16px}.board svg{height:280px}.board-caption{background:#fff;border:1px solid #d2e5f4;border-radius:12px;padding:6px 10px;color:#496b94;font-size:14px;align-self:center}.controls{background:#f2f7ff;border:2px solid #d6e5f8;border-radius:22px;padding:22px}.control-title{font:20px var(--display);color:#3d5d8d;line-height:1.6}.dimensions{gap:15px}.dim-row label{font:20px var(--display);color:#4a6289}.dim-row input{border:2px solid #b7cfee;border-radius:13px;min-height:47px;font:25px var(--display);color:#2f58a4;width:86px}.unit-suffix{font-size:15px}.layer-control{border-top:2px dashed #cdddf2;padding-top:17px}.layer-control label{font-size:16px}.counts{gap:12px}.count{border:2px solid #d6e4f6;border-radius:15px;font-size:13px;padding:10px}.count strong{font-size:33px;color:#305ebf}.question{background:#fff9e4;border:2px solid #efdc98;border-radius:20px;padding:22px}.answer-form{gap:10px}.answer-form label{font-weight:700}.answer-form input{border:2px solid #bccfee;border-radius:12px;font:25px var(--display);height:51px;color:#315caf}.hint summary{font-size:15px;color:#355eaa}.hint p{font-size:15px;background:#edf4ff;border:1px solid #d8e6f9;border-radius:13px}.next-row{margin-top:29px;padding-top:20px;border-top:2px dashed #deE8f3}.next-row .sub{font-size:14px}.note{background:#f0f6ff;border:2px solid #c8dff7;border-radius:17px;font-size:16px;padding:17px 20px}.note p{margin-top:6px}.formula{background:#fff0bb;border:2px solid #eecb69;border-radius:19px;color:#78500e;font-family:var(--display);font-weight:400;font-size:28px}.formula small{flex-basis:100%;text-align:center;font-size:14px}.mini-board{background:#f0f8ff;border:2px solid #d2e4f4;border-radius:19px}.mini-board p{font-size:16px;color:#416592}.mini-board svg{height:190px}.practice-count{font:20px var(--display);color:#496a9c}.meter{gap:9px;margin:15px 0 22px}.meter i{height:12px;background:#e8eef7;border:1px solid #d4e1f0;border-radius:9px}.meter i.filled{background:#facd5a;border-color:#dfaf3e}
.game-header{background:#fff0bb;border:2px solid #edc467;border-radius:22px;padding:19px 25px;margin-bottom:20px}.game-header p{font-size:15px;font-weight:700;color:#846327}.target{font-size:44px;line-height:1.4;color:#98611f}.target small{font-size:20px}.stamp{padding:8px 14px;border-radius:13px;background:#fff9df;color:#8a661f;font-size:15px;border:2px solid #f0d995}.finish-symbol{background:#ffedb7;border:3px solid #ecc662;color:#ba8222;box-shadow:0 6px 0 #f8dea0;width:96px;height:96px;font-size:48px}.finish h2{font-size:33px;color:#315b9c}.finish .eyebrow{color:#a77523}.learned div{background:#edf6ff;border:2px solid #d2e5f9;font-size:16px;border-radius:15px;padding:14px 17px}.finish p{font-size:16px}.finish .save-note{font-size:12px}.progress-note{color:#355e9b;background:#edf4ff}
@media(max-width:850px){.catalog{grid-template-columns:1fr}.unit-panel{padding-bottom:10px;gap:10px}.unit-btn{margin-bottom:3px;max-width:220px;min-height:57px;font-size:15px}.welcome-friend .hello-bubble{display:none}.feature{grid-template-columns:1fr 165px}.feature-art img{width:165px;height:165px}.feature h3{font-size:27px}.study-head{padding-right:125px}.study-friend img{width:94px;height:94px}.study-friend span{font-size:13px}}
@media(max-width:600px){.header-row{height:73px}.brand strong{font-size:21px}.brand strong span{margin-left:4px}.brand small{font-size:10px}.brand-icon{width:37px;height:37px;font-size:31px;border-radius:12px}.brand{gap:9px}.school-link{font-size:13px;padding:7px 9px;white-space:nowrap}.school-link span{display:none}.wrap{width:calc(100% - 24px)}#main{padding-top:18px}.page-heading{padding:18px;min-height:137px;gap:5px;border-radius:22px}.page-heading h1{font-size:28px;max-width:230px;line-height:1.35}.page-heading .eyebrow{font-size:12px}.page-heading .sub{font-size:14px;max-width:225px}.welcome-friend{position:absolute;right:3px;bottom:0;opacity:.95}.welcome-friend img{width:100px;height:100px}.page-heading>div:first-child{position:relative;z-index:1;padding-right:60px}.selector{padding:17px 15px;border-radius:21px;margin-bottom:21px}.select-label{font-size:17px;min-width:30px;padding-top:8px}.select-row{gap:10px}.chips{gap:9px}.chip{min-width:67px;padding:6px 11px;font-size:18px;min-height:43px;border-radius:12px}.chip.term{min-width:88px;font-size:16px}.unit-btn{max-width:220px;font-size:15px;padding:10px 12px;gap:10px}.unit-btn .num{width:30px;height:30px;font-size:20px}.lesson-panel{padding:17px;border-radius:23px}.panel-heading h2{font-size:23px;line-height:1.4}.panel-heading small{padding:4px 7px;font-size:11px}.feature{display:block;padding:19px 17px;min-height:260px;overflow:hidden}.feature>div:first-child{position:relative;z-index:1}.feature .tag{font-size:11px;padding:3px 7px}.feature h3{font-size:27px;max-width:240px;margin:11px 0;line-height:1.35}.feature p{font-size:15px;max-width:178px;margin-bottom:20px}.feature-art{position:absolute;right:-2px;bottom:10px;pointer-events:none}.feature-art img{width:122px;height:122px}.math-sticker{font-size:13px;padding:4px 8px;margin-top:-6px}.primary{font-size:19px;min-height:49px;padding:9px 20px;border-radius:13px}.mission-path{gap:9px;justify-content:space-between;margin-bottom:18px}.mission-path span{font-size:11px;gap:4px}.mission-path i{font-size:17px}.lesson-row{padding:12px 10px;gap:9px;border-radius:14px}.lesson-row h3{font-size:17px;line-height:1.45}.lesson-index{min-width:30px;width:30px;height:30px;font-size:16px}.lesson-row .status{padding:3px 5px;font-size:11px}.lesson-row.ready{padding:14px 10px}.lesson-row.ready h3{font-size:19px}.intro-label{font-size:12px}.lesson-heading{padding:16px 15px;border-radius:21px;gap:12px}.lesson-heading h1{font-size:27px;line-height:1.4}.lesson-heading .eyebrow{font-size:12px}.lesson-heading .ghost{font-size:12px;padding:8px;border-radius:11px}.breadcrumb{font-size:12px;gap:6px;margin-bottom:12px}.steps{gap:8px;margin:17px 0 23px}.step{font-size:14px;min-height:80px;padding:9px 3px;gap:4px;border-radius:14px}.step span{font-size:22px;width:28px;height:28px}.study{padding:19px 16px;border-radius:23px}.study-head{padding-right:0;min-height:0;margin-bottom:20px}.study-head h2{font-size:26px}.study-head>p:last-of-type{font-size:15px}.study-friend{display:none}.think{padding:16px;border-radius:18px}.think h3,.question h3{font-size:22px}.think p,.question p{font-size:15px}.option{font-size:15px;min-width:110px;padding:12px 10px;border-radius:13px}.two-col{grid-template-columns:1fr;gap:18px}.board{min-height:290px;padding:15px;border-radius:20px}.board svg{height:255px}.board-caption{font-size:13px}.controls{padding:18px;border-radius:19px}.control-title{font-size:19px}.dim-row label{font-size:19px}.dim-row input{width:82px;font-size:24px}.question{padding:17px;border-radius:18px}.feedback{font-size:14px}.next-row{flex-direction:column;align-items:stretch;gap:16px;margin-top:25px}.next-row .sub{font-size:13px}.formula{font-size:23px;padding:18px 12px;gap:8px}.formula small{font-size:12px}.mini-board svg{height:145px}.mini-board p{font-size:14px}.note{font-size:15px;padding:15px}.game-header{padding:16px;gap:10px}.target{font-size:37px}.target small{font-size:18px}.stamp{font-size:12px;padding:7px}.game-header p{font-size:13px}.learned div{font-size:15px}.finish h2{font-size:29px}.finish-symbol{width:84px;height:84px}.footer{padding-top:28px;font-size:11px}.finish p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.chip,.primary{transition:none}.primary:hover,.chip:hover{transform:none}}
