:root{color:#191f28;background:#f7f8fa;font-family:-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Noto Sans KR,Segoe UI,sans-serif;font-synthesis:none;letter-spacing:0;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f7f8fa;font-size:17px}button{border:0;font:inherit}.screen{width:min(100%,520px);min-height:100vh;margin:0 auto;padding:calc(20px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom))}.topbar,.quiz-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.eyebrow{margin:0 0 6px;color:#4e5968;font-size:15px;font-weight:700}h1,h2,p{letter-spacing:0}h1{margin:0;font-size:30px;line-height:1.25}h2{margin:0;font-size:22px;line-height:1.35}.hero-panel,.question-panel,.explanation-panel,.result-card,.review-item,.empty-state{border:1px solid #e5e8eb;border-radius:8px;background:#fff}.hero-panel{padding:24px}.hero-icon{display:grid;width:48px;height:48px;margin-bottom:18px;place-items:center;border-radius:8px;color:#0064ff;background:#eef6ff}.hero-copy{margin:0;font-size:24px;font-weight:800;line-height:1.35}.subcopy{margin:10px 0 20px;color:#4e5968;line-height:1.55}.return-prompt{margin:-4px 0 14px;color:#0064ff;font-size:16px;font-weight:800;line-height:1.45}.primary-button,.secondary-button,.text-button,.hint-button,.option-button,.secondary-actions button{display:inline-flex;min-height:56px;align-items:center;justify-content:center;gap:8px;border-radius:8px;cursor:pointer}.primary-button{width:100%;color:#fff;background:#0064ff;font-weight:800}.primary-button:disabled,.secondary-button:disabled,.text-button:disabled{cursor:wait;opacity:.72}.secondary-button{width:100%;color:#191f28;background:#eef1f4;font-weight:800}.text-button{width:100%;color:#4e5968;background:transparent;font-weight:700}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.stat-cell{display:grid;gap:8px;min-height:108px;padding:16px;border:1px solid #e5e8eb;border-radius:8px;background:#fff}.stat-cell svg{color:#0064ff}.stat-cell span{color:#6b7684;font-size:15px}.stat-cell strong{font-size:22px}.secondary-actions{margin:14px 0}.secondary-actions button{width:100%;color:#191f28;background:#fff;border:1px solid #e5e8eb;font-weight:800}.banner-slot{display:grid;min-height:96px;margin-top:18px;place-items:center;border:1px dashed #b0b8c1;border-radius:8px;color:#6b7684;background:#fff;font-size:13px;text-align:center}.progress-pill,.category-pill,.difficulty-pill{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;font-size:15px;font-weight:800}.progress-pill{color:#0064ff;background:#eef6ff}.category-pill{width:fit-content;color:#53606d;background:#eef1f4}.quiz-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.difficulty-pill.easy{color:#007a45;background:#eafaf2}.difficulty-pill.normal{color:#0064ff;background:#eef6ff}.difficulty-pill.hard{color:#8a5a00;background:#fff3cd}.question-panel{padding:22px}.question-panel h2{font-size:23px;line-height:1.45;word-break:keep-all}.question-label{margin:0 0 8px;color:#0064ff;font-weight:900}.option-list{display:grid;gap:10px;margin-top:22px}.option-button{width:100%;min-height:60px;justify-content:space-between;padding:12px 16px;border:1px solid #e5e8eb;color:#191f28;background:#fff;font-size:19px;font-weight:800;line-height:1.4;text-align:left}.option-text{word-break:keep-all}.option-mark{display:inline-flex;flex:0 0 auto;align-items:center;gap:4px;padding:4px 8px;border-radius:999px;color:#fff;font-size:14px;font-weight:800}.option-mark.correct{background:#00a661}.option-mark.wrong{background:#f04452}.option-button.correct{border-color:#00a661;color:#007a45;background:#eafaf2}.option-button.wrong{border-color:#f04452;color:#d91c29;background:#fff0f1}.option-button.muted{color:#8b95a1;background:#f7f8fa}.hint-button{width:100%;margin-top:14px;color:#0064ff;background:#eef6ff;font-weight:800}.hint-button:disabled,.option-button:disabled{cursor:default}.hint-box{margin:12px 0 0;padding:14px;border-radius:8px;color:#4e5968;background:#fff8e1;line-height:1.5}.explanation-panel{margin-top:14px;padding:18px}.explanation-panel p{margin:0 0 12px;line-height:1.55}.answer-correct,.answer-wrong{font-size:20px;font-weight:900}.answer-correct{color:#007a45}.answer-wrong{color:#d91c29}.result-card{display:grid;gap:1px;margin-top:18px;overflow:hidden;background:#e5e8eb}.result-card div{display:flex;min-height:62px;align-items:center;justify-content:space-between;padding:0 18px;background:#fff}.result-card span{color:#6b7684;font-weight:700}.result-card strong{font-size:20px}.result-note{margin:10px 0 0;color:#4e5968;line-height:1.5}.retention-loop{display:grid;gap:12px;margin-top:14px;padding:16px;border-left:3px solid #3182f6;background:#eef6ff}.retention-preview,.retention-reward{display:flex;align-items:flex-start;gap:10px}.retention-preview svg,.retention-reward svg{flex:0 0 auto;color:#0064ff}.retention-preview div,.retention-reward div{display:grid;gap:4px}.retention-preview strong,.retention-reward strong{line-height:1.4}.retention-preview span,.retention-reward span{color:#4e5968;font-size:14px;line-height:1.45}.retention-challenge{display:flex;align-items:center;padding-top:12px;border-top:1px solid #d4e8ff}.retention-challenge strong{color:#0064ff;font-size:14px}.stamp-card{display:grid;gap:12px;margin-top:14px;padding:18px;border-radius:16px;background:#eef6ff}.stamp-card-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.stamp-card-header strong{font-size:17px;line-height:1.4}.stamp-card-header span{flex:0 0 auto;color:#0064ff;font-size:16px;font-weight:700}.stamp-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0;padding:0;list-style:none}.stamp{display:grid;place-items:center;min-height:56px;border:2px dashed #b0d4ff;border-radius:14px;background:#fff;color:#8b95a1;font-size:16px;font-weight:700}.stamp.filled{border:2px solid #0064ff;background:#0064ff;color:#fff}.stamp-card-note{margin:0;color:#333d4b;font-size:16px;line-height:1.45}.stamp-card-reward{display:flex;align-items:center;gap:8px;margin:0;color:#0064ff;font-size:15px;font-weight:700}.tomorrow-question{display:grid;gap:6px;margin-top:12px;padding:18px;border-radius:16px;border:1px solid #e5e8eb;background:#fff}.tomorrow-question-label{display:flex;align-items:center;gap:6px;margin:0;color:#0064ff;font-size:15px;font-weight:700}.tomorrow-question strong{font-size:18px;line-height:1.45}.tomorrow-question span{color:#6b7684;font-size:15px}.streak-save{display:grid;gap:10px;margin-top:14px;padding:18px;border-radius:16px;background:#fff4e6}.streak-save p{margin:0;font-size:16px;line-height:1.45}.completed-today{color:#0064ff;font-weight:700}.action-stack{display:grid;gap:10px;margin-top:18px}.review-list{display:grid;gap:12px;margin-top:18px}.review-item{padding:18px}.review-item h2{margin-top:12px;font-size:18px}.review-item p{line-height:1.5}.empty-state{display:grid;gap:14px;margin:18px 0;padding:22px;justify-items:center;text-align:center}.empty-state svg{color:#00a661}.terms-page{width:min(100%,720px);min-height:100vh;margin:0 auto;padding:36px 20px 64px;background:#fff}.terms-page h1{font-size:28px}.terms-page h2{margin-top:28px;font-size:18px}.terms-page p{color:#333d4b;line-height:1.7}.terms-date{color:#6b7684}@media (max-width: 380px){.screen{padding-right:14px;padding-left:14px}h1{font-size:27px}.hero-copy,.question-panel h2{font-size:21px}.option-button{font-size:18px}}.share-button{display:inline-flex;width:100%;min-height:56px;align-items:center;justify-content:center;gap:8px;margin-top:12px;border:2px solid #ffb4cf;border-radius:8px;color:#b8336a;background:#fff0f6;font-weight:800;cursor:pointer}.icon-button{display:inline-grid;width:44px;height:44px;place-items:center;border-radius:999px;color:#333d4b;background:transparent;cursor:pointer}.icon-button:disabled{color:#d1d6db;cursor:default}.share-sheet-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:flex-end;justify-content:center;background:#00000073}.share-sheet{display:grid;gap:10px;width:100%;max-width:520px;max-height:100vh;overflow-y:auto;padding:16px 20px calc(20px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0;background:#fff}.share-sheet-header{display:flex;align-items:center;justify-content:space-between;font-size:19px}.share-card-preview{display:block;width:100%;aspect-ratio:1 / 1;border-radius:14px;background:#fff8ec;object-fit:cover}.share-card-preview.placeholder{display:grid;place-items:center;color:#8b95a1}.share-sheet-note,.share-status{margin:4px 0;color:#4e5968;text-align:center}.share-status{color:#0064ff;font-weight:700}.menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.menu-grid button{flex-direction:column;min-height:84px;gap:6px;font-weight:800}.calendar-card{margin-top:16px;padding:16px 12px 18px;border-radius:16px;background:#fff}.calendar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:19px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.calendar-weekday{color:#8b95a1;font-size:15px;font-weight:700;text-align:center}.calendar-day{position:relative;display:grid;min-height:48px;place-items:center;border-radius:12px;color:#333d4b;font-weight:700}.calendar-day.done{color:#b8336a;background:#fff0f6}.calendar-day.done .calendar-day-number{position:absolute;right:4px;bottom:2px;font-size:12px}.calendar-day.today{box-shadow:inset 0 0 0 2px #0064ff}.dex-list{display:grid;gap:10px;margin-top:16px}.dex-category{display:grid;grid-template-columns:1fr auto;gap:10px;width:100%;padding:16px;border-radius:14px;color:#191f28;background:#fff;text-align:left;cursor:pointer}.dex-category-title{display:inline-flex;align-items:center;gap:8px;font-weight:800}.dex-category-count{color:#0064ff;font-weight:800}.dex-progress{grid-column:1 / -1;height:10px;overflow:hidden;border-radius:999px;background:#eef1f4}.dex-progress span{display:block;height:100%;border-radius:999px;background:#3182f6}.dex-answer{color:#007a45;font-weight:800}.dex-back{justify-content:flex-start;padding-left:0}.reminder-card{display:grid;gap:10px;margin-top:14px;padding:18px;border-radius:16px;background:#fffbea}.reminder-card p{display:flex;align-items:center;gap:8px;margin:0;line-height:1.45}.reminder-card.on{background:#f2f8ff}
