/* 색과 여백을 공통으로 조정해 아동·어른 화면의 일관성을 유지합니다. */
:root{--cream:#f5f1e7;--green:#426c59;--dark:#273f35;--muted:#68766d;--orange:#b47b4d;--line:#e2e7de;--pale:#edf2e9}
body{background:#fafbf7;letter-spacing:-.25px;-webkit-font-smoothing:antialiased}
.site-header{height:88px;background:#fffefa;border-bottom:1px solid #e8ebe3;padding-left:max(4%,calc((100vw - 1192px)/2));padding-right:max(4%,calc((100vw - 1192px)/2))}
.brand{font-size:26px;letter-spacing:-1.2px}.brand-mark{border-radius:14px 14px 14px 5px;background:#345b48;box-shadow:0 4px 9px #294d3b12;width:42px;height:42px}.brand-sub{border-left:1px solid #d9dfd4;padding-left:18px;font-size:12px}.site-header nav{gap:22px}.user-tag{border:1px solid var(--line);background:#f5f7f0;padding:7px 13px;border-radius:30px;font-size:12px}.site-header nav>a{font-weight:600}
main{padding-top:40px}h1{letter-spacing:-1.9px}h2,h3{letter-spacing:-.8px}.eyebrow{letter-spacing:1px;color:#577360;font-size:12px;font-weight:600}.muted{line-height:1.8}.panel{border-color:#e4e8df;border-radius:22px;box-shadow:0 5px 20px #324c3e04}.button{border-radius:12px;min-height:56px;transition:background .18s,transform .18s,box-shadow .18s}.primary{background:#426c59;box-shadow:0 5px 12px #365d4914}.primary:hover{background:#315743;box-shadow:0 7px 16px #365d4920;transform:translateY(-1px)}.secondary{background:#f1f5ed;border-color:#dfe7d9}.text-button{min-height:40px}input,select,textarea{background:#fdfefa;border-color:#dce3d7;border-radius:11px;min-height:52px}input::placeholder,textarea::placeholder{color:#828b82;font-weight:400}.stack{gap:21px}.stack label{color:#485b4d;font-size:14px}.site-footer{padding-top:28px;padding-bottom:30px;font-size:12px}.site-footer>span{font-size:18px}
.library-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.library-heading .eyebrow{margin:0;font-size:14px}.library-caption{font-size:12px;color:var(--muted)}
.activity-hero{min-height:310px;padding:38px 44px;border-radius:24px;background:linear-gradient(108deg,#f1f1e4 0%,#f5f1e8 56%,#eeeede 100%);border:1px solid #e8e7d8;isolation:isolate}.activity-hero:after{content:'';position:absolute;width:370px;height:370px;border:1px solid #c5d1bb55;border-radius:50%;right:8%;bottom:-200px;z-index:-1}.activity-hero h1{font-size:41px;line-height:1.4;font-weight:700;margin:12px 0 17px}.activity-hero>.eyebrow{font-size:12px}.activity-hero p{font-size:16px;line-height:1.9}.hero-friend{margin:12px 72px 0 auto;transform:none;position:relative;width:300px;flex-shrink:0}.hero-friend img{width:100%;display:block}.hero-friend>p{font-size:12px;position:absolute;right:-9px;bottom:12px;padding:9px 17px;background:#fffef9;box-shadow:0 4px 16px #3657440b;border:1px solid #e7e7d8;transform:rotate(-4deg)}.sticker-count{font-size:18px;right:27px;top:23px;color:#668061}.sticker-count strong{font-size:24px;font-weight:700}.sticker-count small{font-size:11px;color:#667363}
.mode-tabs{background:#fffefa;border:1px solid #e3e8de;border-radius:18px;padding:7px;gap:7px;margin:22px 0 42px;box-shadow:0 4px 16px #233f2e03}.mode-tab{border:1px solid transparent;background:transparent;border-radius:12px;padding:17px 20px;grid-template-columns:43px 1fr;gap:2px 14px;transition:background .15s}.mode-tab.active{padding:17px 20px;border:1px solid #cfddc8;background:#edf3e8}.mode-tab:hover{background:#f3f6ee}.mode-tab strong{font-size:19px;font-weight:600}.mode-tab small{font-size:12px;color:#697665}.mode-symbol{height:43px;width:43px;display:grid;place-items:center;border-radius:12px;background:#f0f3ec;color:#607662}.mode-symbol svg{width:27px;height:27px}.active .mode-symbol{background:#426c59;color:#fff}
.section-heading{margin-bottom:22px}.section-heading h2{font-size:23px;font-weight:700}.scenario-grid{gap:24px}.scenario-card{border:1px solid #e2e6dc;border-radius:19px;box-shadow:0 3px 12px #283d3003;transition:transform .2s,box-shadow .2s,border-color .2s}.scenario-card:hover{border-color:#b9cdb1;box-shadow:0 12px 28px #2e483a0d;transform:translateY(-4px)}.scenario-art{height:186px;background:#e9efde;overflow:hidden}.scenario-art>img{width:100%;height:100%;object-fit:contain;transition:transform .25s}.scenario-card:hover .scenario-art>img{transform:scale(1.025)}.scenario-art>small{top:15px;left:16px;border:1px solid #ffffff8c;background:#fffdf0b3;color:#5c6b56;font-size:11px;padding:4px 10px}.tone-1 .scenario-art{background:#e6edf0}.tone-2 .scenario-art{background:#f1e5dd}.tone-3 .scenario-art{background:#f3ead6}.tone-4 .scenario-art{background:#eae6ee}.scenario-copy{padding:23px 25px}.scenario-copy .eyebrow{font-size:11px;margin-bottom:8px;letter-spacing:.4px}.scenario-copy h3{font-size:23px;font-weight:700;margin-bottom:11px}.scenario-copy p{font-size:15px;line-height:1.85;min-height:55px;margin-bottom:20px}.card-action{align-items:center;padding-top:16px;font-size:13px;font-weight:600}.card-action b{display:grid;place-items:center;border:1px solid #dfe7d8;border-radius:50%;width:28px;height:28px;font-size:16px;background:#f7f9f2}.done-sticker{background:#fff8dc;border:1px solid #eadcb0;color:#7a642d}.gentle-note{margin-top:31px;background:#f0f3eb;border:1px solid #e8ede1;color:#5b725c;font-size:14px;padding:20px}
.login-layout{grid-template-columns:1.17fr 1fr;gap:85px;padding:18px 18px 25px;min-height:690px}.welcome h1{font-size:55px;font-weight:700;line-height:1.4;letter-spacing:-2.6px}.welcome>p{font-size:17px;line-height:1.9}.welcome-illustration{width:100%;height:233px;background:linear-gradient(120deg,#eaf0df,#f5f0e4);border:1px solid #e5e9dc;border-radius:22px;position:relative;margin-top:28px;overflow:hidden}.welcome-illustration>img{width:83%;height:100%;object-fit:contain}.illustration-note{position:absolute;right:15px;bottom:19px;border:1px solid #e2e6d5;border-radius:13px;padding:11px 16px;background:#fffef8;transform:rotate(-3deg);box-shadow:0 8px 14px #384e3b08}.illustration-note span{display:block;font-size:10px;color:#73806d;margin-bottom:4px}.illustration-note strong{font-size:14px;font-weight:500}.welcome-tags{gap:8px;margin-top:17px}.welcome-tags span{font-size:11px;background:#f3f5ee;border:0;padding:6px 11px}.login-panel{padding:42px 36px;box-shadow:0 18px 60px #344c3d08;position:relative}.login-panel:before{content:'';position:absolute;top:-1px;left:36px;right:36px;height:3px;border-radius:4px;background:#698771}.login-panel h2{font-size:28px;font-weight:700;line-height:1.5}.login-panel>.muted{font-size:14px;margin-bottom:27px}.login-panel .small{font-size:12px;line-height:1.8}.login-panel .primary{margin-top:8px;justify-content:space-between;padding-left:22px;padding-right:22px}
.page-heading{margin:13px 0 33px}.page-heading h1{font-size:35px}.stats{padding:10px 0;background:#fffefa;box-shadow:0 4px 15px #344c3d03;border-radius:18px}.stats>div+div{border-left:1px solid var(--line)}.stats strong{font-size:37px;font-weight:500}.stats>div{gap:23px}.child-card{transition:box-shadow .18s}.child-card:hover{box-shadow:0 10px 25px #344c3d08}.child-card .avatar{font-size:36px;background:#f0f2e6;border:1px solid #e5e9d9;width:70px;height:70px;text-align:center}.child-card h3{font-size:22px}.records-panel h2{font-size:22px}.record-row{padding:21px 8px;border-radius:9px}.record-row:hover{background:#f7f9f2}.record-row strong{font-size:15px;font-weight:600}.record-row small{font-size:12px}.pill{background:#f0eee4;color:#6c674f;border:1px solid #e8e3d4;padding:6px 12px}.pill.green{border-color:#d4e0cb}.account-grid summary{color:#526d55;font-size:15px;font-weight:600}
.play-shell{box-shadow:0 10px 40px #3e554307;padding:35px 42px}.play-stage{background:#f3f2e8;border:1px solid #e9e8db}.character{width:98px;flex-shrink:0}.character img{width:100%;display:block}.play-stage h1{font-weight:700;letter-spacing:-1px}.question h2{font-weight:600;font-size:26px}.choice{border-width:1px;box-shadow:0 3px 8px #344c3d03;min-height:82px}.choice.correct{border-width:2px;padding:17px 23px}.choice>span{background:#f0f3e9;color:#5a7158}.feedback{border:1px solid #dbe7d1}.completion{padding:18px 0 38px}.big-sticker{width:85px;height:85px;border-radius:50%;border:1px solid #e9d6a6;background:#faf1d7;display:grid;place-items:center;font-size:48px;margin:0 auto 22px}.completion h1{font-size:31px}.facts{font-size:15px;row-gap:17px}.facts dd{font-weight:500}.ai-notice{border:1px solid #e0e6da;background:#f2f5ee}.ai-notice .pill{margin-left:auto}.button:disabled{opacity:.6;transform:none}
@media(max-width:1000px){.login-layout{gap:35px;padding:12px 0}.welcome h1{font-size:46px}.login-panel{padding:35px 27px}.hero-friend{width:245px;margin-right:48px}.activity-hero h1{font-size:35px}.activity-hero{padding:35px}.mode-tab,.mode-tab.active{padding:15px 12px;gap:2px 10px}.scenario-art{height:195px}.brand-sub{display:none}}
@media(max-width:700px){.site-header{height:auto;padding:17px 20px;gap:14px}.brand{font-size:23px}.brand-mark{width:36px;height:36px;font-size:29px}.site-header nav{gap:13px}.user-tag{padding:5px 10px;font-size:11px}.site-header .text-button{padding:0;font-size:12px}main{padding:25px 18px 42px}.library-heading{margin-bottom:17px}.library-heading .eyebrow{font-size:12px}.library-caption{display:none}.activity-hero{padding:30px 25px;min-height:280px;border-radius:20px}.activity-hero h1{font-size:31px;line-height:1.45;margin-top:28px}.activity-hero .eyebrow{font-size:10px}.activity-hero p{font-size:14px}.hero-friend{display:none}.sticker-count{right:18px;top:15px;font-size:13px}.sticker-count strong{font-size:17px}.sticker-count small{font-size:9px}.mode-tabs{padding:5px;gap:4px;margin:17px 0 30px;border-radius:15px}.mode-tab,.mode-tab.active{padding:12px 6px;display:flex;flex-direction:column;align-items:center;gap:8px;border-radius:10px}.mode-tab .mode-symbol{width:34px;height:34px;border-radius:9px}.mode-symbol svg{width:23px;height:23px}.mode-tab strong{font-size:15px}.mode-tab small{display:none}.section-heading h2{font-size:21px}.section-heading>span{font-size:12px}.scenario-grid{gap:20px}.scenario-art{height:192px}.scenario-copy{padding:23px}.scenario-copy h3{font-size:24px}.scenario-copy p{font-size:16px;min-height:auto}.card-action{font-size:14px}.gentle-note{font-size:13px;line-height:1.8;padding:18px}.login-layout{display:block;min-height:0}.welcome{padding:4px 4px 22px}.welcome h1{font-size:39px;line-height:1.4}.welcome>p{font-size:15px}.welcome-illustration{height:160px;margin-top:20px}.welcome-illustration>img{width:70%}.illustration-note{right:10px;bottom:16px;padding:8px 10px}.illustration-note strong{font-size:11px}.welcome-tags{display:flex}.welcome-tags span{font-size:10px}.login-panel{padding:29px 24px}.login-panel h2{font-size:25px}.stats{padding:7px 0}.stats>div{padding:12px 7px}.stats strong{font-size:29px}.stats span{font-size:10px}.page-heading h1{font-size:29px}.play-shell{padding:20px}.play-stage{padding:15px;gap:10px}.character{width:65px}.play-stage h1{font-size:22px}.question h2{font-size:23px}.choice{font-size:21px;padding:17px;min-height:80px}.choice.correct{padding:16px}.completion h1{font-size:26px}.ai-notice .pill{margin-left:0}.section-heading{margin-top:24px}.site-footer{gap:12px}}
@media(prefers-reduced-motion:reduce){.scenario-card,.scenario-art>img,.button,.mode-tab,.child-card{transition:none}.scenario-card:hover,.primary:hover{transform:none}}
.ai-workspace,.ai-evaluation,.ai-story,.ai-review-actions{margin-top:25px}.ai-workspace{background:linear-gradient(120deg,#f4f6ed,#fffefa)}.ai-workspace .section-heading{margin-top:0}.ai-budget{display:flex;align-items:center;gap:16px;flex-wrap:wrap;border:1px solid #dfe6d7;background:#fffefa;padding:16px 20px;border-radius:13px;margin:22px 0}.ai-budget>span{font-size:13px;color:var(--muted)}.ai-budget strong{font-size:17px}.ai-budget small{font-size:11px;color:var(--muted);margin-left:auto}.budget-warning{border-color:#d9b978;background:#fff8e9}.ai-loading{display:block;font-size:14px;color:var(--green);margin-top:15px}.ai-history{margin-top:22px}.draft-content{padding:24px;border:1px solid #dde7d4;background:#f4f7ef;border-radius:14px;margin-bottom:22px;line-height:1.95}.ai-review-header h1{font-size:32px}.ai-story>p{font-size:20px}.ai-review-step{padding:25px 0;border-top:1px solid var(--line)}.ai-review-step h3{font-size:22px}.ai-review-step li{padding:9px;font-size:18px}.review-feedback{background:#f3f6eb;padding:17px;border-radius:12px;font-size:16px}.confirm-label{display:flex;gap:12px;align-items:center;margin-bottom:22px}.confirm-label input{width:21px;min-height:21px;accent-color:var(--green)}.ai-practice-list{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.ai-practice-card{display:flex;align-items:center;gap:15px;padding:22px;background:#f0f4e9;border:1px solid #dbe4d2;border-radius:16px}.ai-practice-card>span:last-child{margin-left:auto}.ai-practice-card small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.ai-spark{font-size:32px;color:#718957}.approved-practice{margin-bottom:35px}@media(max-width:700px){.ai-practice-list{grid-template-columns:1fr}.ai-budget{gap:10px;padding:15px}.ai-budget small{margin-left:0;width:100%}.ai-review-header h1{font-size:25px}.ai-review-step h3{font-size:20px}.ai-review-step li{font-size:17px}.confirm-label{align-items:flex-start}}
