@font-face { font-family:'Jua'; src:url('assets/font/jua.woff2') format('woff2'); }
* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
body { font-family:'Jua','Malgun Gothic','Apple SD Gothic Neo',sans-serif; background:#fdf8ef; color:#263238; line-height:1.5; }
.wrap { max-width:860px; margin:0 auto; padding:20px 16px 56px; }
.topbar { display:flex; align-items:center; gap:12px; padding:10px 4px 16px; }
.topbar img.logo { height:52px; }
.topbar .ttl { font-size:24px; color:#0e7c7b; }
.topbar .home-link { margin-left:auto; background:#fff; border:2px solid #0e7c7b; color:#0e7c7b; border-radius:999px; padding:8px 16px; font-family:inherit; font-size:16px; cursor:pointer; text-decoration:none; }
h1.page { font-size:28px; color:#0e7c7b; text-align:center; margin:6px 0 4px; }
.sub { text-align:center; color:#607d8b; font-size:16px; margin-bottom:22px; }
.sub .en { display:block; font-size:14px; color:#90a4ae; }
.doors { display:flex; flex-direction:column; gap:16px; }
.door { display:flex; align-items:center; gap:16px; background:#fff; border-radius:20px; padding:22px; text-decoration:none; color:#263238; box-shadow:0 3px 10px rgba(0,0,0,.07); border:3px solid transparent; cursor:pointer; text-align:left; width:100%; font-family:inherit; }
.door:active { transform:scale(.99); }
.door .ic { font-size:52px; }
.door h2 { font-size:25px; }
.door p { color:#607d8b; font-size:16px; }
.door p .en { color:#90a4ae; font-size:14px; }
.door.main { border-color:#0e7c7b; }
.door.words { border-color:#e8720c; }
.door.soon { border-color:#b0bec5; opacity:.85; }
.badge-soon { background:#90a4ae; color:#fff; border-radius:999px; padding:3px 12px; font-size:14px; margin-left:8px; vertical-align:middle; }
.progress-note { text-align:center; color:#78909c; font-size:14px; margin-top:18px; }
.steps-bar { display:flex; gap:6px; justify-content:center; flex-wrap:wrap; margin:14px 0 20px; }
.steps-bar .st { background:#eceff1; color:#78909c; border-radius:999px; padding:6px 14px; font-size:15px; }
.steps-bar .st.on { background:#0e7c7b; color:#fff; }
.steps-bar .st.done { background:#a5d6a7; color:#1b5e20; }
.card { background:#fff; border-radius:20px; padding:22px; box-shadow:0 3px 10px rgba(0,0,0,.07); margin-bottom:16px; }
.card h3 { font-size:21px; color:#0e7c7b; margin-bottom:8px; }
.bigword { text-align:center; }
.bigword img { width:min(300px,72vw); height:min(300px,72vw); object-fit:contain; background:#fdf8ef; border-radius:18px; }
.bigword .ko { font-size:52px; margin-top:10px; }
.bigword .rom { color:#90a4ae; font-size:19px; }
.bigword .en { color:#607d8b; font-size:19px; }
button.play { background:#e8720c; color:#fff; border:none; border-radius:999px; padding:14px 30px; font-family:inherit; font-size:21px; cursor:pointer; box-shadow:0 3px 0 #bf6008; }
button.play:active { transform:translateY(2px); box-shadow:none; }
button.next { background:#0e7c7b; color:#fff; border:none; border-radius:999px; padding:14px 34px; font-family:inherit; font-size:21px; cursor:pointer; display:block; margin:18px auto 0; }
button.ghost { background:#fff; color:#0e7c7b; border:2px solid #0e7c7b; border-radius:999px; padding:11px 26px; font-family:inherit; font-size:18px; cursor:pointer; }
.choices { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:16px; }
.choice { background:#fff; border:3px solid #cfd8dc; border-radius:18px; padding:12px; cursor:pointer; text-align:center; font-family:inherit; }
.choice img { width:100%; height:150px; object-fit:contain; background:#fdf8ef; border-radius:12px; }
.choice .lb { font-size:21px; margin-top:6px; }
.choice.right { border-color:#43a047; background:#e8f5e9; }
.choice.wrong { border-color:#e53935; background:#ffebee; }
.feedback { text-align:center; font-size:23px; min-height:36px; margin-top:14px; }
.feedback.good { color:#2e7d32; } .feedback.try { color:#e8720c; }
.tiles { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin:14px 0; }
.tile { background:#fff3e0; border:3px solid #e8720c; border-radius:14px; padding:12px 20px; font-size:24px; cursor:pointer; font-family:inherit; }
.tile.used { opacity:.3; pointer-events:none; }
.answer-zone { min-height:70px; background:#fff; border:3px dashed #90a4ae; border-radius:14px; display:flex; gap:10px; align-items:center; justify-content:center; flex-wrap:wrap; padding:10px; font-size:26px; }
.dialog { display:flex; flex-direction:column; gap:12px; margin-top:10px; }
.line { display:flex; gap:10px; align-items:flex-start; }
.line .who { font-size:30px; }
.line .bubble { background:#e0f2f1; border-radius:16px; padding:12px 16px; font-size:21px; flex:1; }
.line.teacher .bubble { background:#fff3e0; }
.line .why { display:block; font-size:14.5px; color:#607d8b; margin-top:5px; }
.line .mini-play { background:#e8720c; color:#fff; border:none; border-radius:50%; width:42px; height:42px; font-size:18px; cursor:pointer; flex:none; }
.stamp { text-align:center; font-size:22px; color:#2e7d32; background:#e8f5e9; border-radius:16px; padding:16px; margin-top:16px; }
.stamp .big { font-size:44px; }
.kan-cards { display:flex; flex-direction:column; gap:16px; }
.kan { display:flex; gap:16px; align-items:center; background:#fff; border-radius:20px; padding:20px; text-decoration:none; color:#263238; box-shadow:0 3px 10px rgba(0,0,0,.07); }
.kan .ic { font-size:46px; }
.kan h2 { font-size:24px; }
.kan p { color:#607d8b; font-size:15.5px; }
.kan .stampmark { margin-left:auto; font-size:34px; }
.qprog { text-align:center; color:#78909c; font-size:16px; margin-bottom:10px; }
.qimg { width:min(280px,68vw); height:min(280px,68vw); object-fit:contain; background:#fdf8ef; border-radius:18px; display:block; margin:10px auto; }
.modal-bg { position:fixed; inset:0; background:rgba(0,0,0,.45); display:none; align-items:center; justify-content:center; z-index:50; }
.modal-bg.show { display:flex; }
.modal { background:#fff; border-radius:20px; padding:30px 26px; max-width:420px; width:88vw; text-align:center; }
.modal h3 { font-size:24px; color:#0e7c7b; margin-bottom:10px; }
.modal p { color:#546e7a; font-size:17px; margin-bottom:18px; }
.kid-note { background:#fff8e1; border-radius:14px; padding:13px 16px; font-size:15.5px; color:#6d4c41; margin-top:14px; }
.rec-row { display:flex; gap:10px; justify-content:center; margin-top:12px; flex-wrap:wrap; }
button.rec { background:#7b1fa2; color:#fff; border:none; border-radius:999px; padding:12px 24px; font-family:inherit; font-size:18px; cursor:pointer; }
