*{box-sizing:border-box}:root{font-family:-apple-system,BlinkMacSystemFont,Pretendard,Noto Sans KR,Segoe UI,sans-serif;color:#172033;background:#f8fafc}body{margin:0;min-height:100vh;background:radial-gradient(circle at 20% 0%,#dbeafe 0,transparent 30%),#f8fafc}button{font:inherit;-webkit-tap-highlight-color:transparent}.screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom))}.phone-card{width:100%;max-width:430px;background:#fffffff5;border:1px solid rgba(148,163,184,.22);border-radius:28px;box-shadow:0 24px 70px #0f172a1f;padding:20px;animation:pop .22s ease-out}@keyframes pop{0%{opacity:0;transform:translateY(8px) scale(.99)}to{opacity:1;transform:none}}.topbar{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.eyebrow{margin:0 0 8px;color:#2563eb;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;display:flex;align-items:center;gap:5px}h1,h2,h3,p{margin-top:0}h1{font-size:28px;line-height:1.15;margin-bottom:0;letter-spacing:-.04em}h2{font-size:34px;line-height:1.08;letter-spacing:-.04em;margin-bottom:8px;word-break:keep-all}h3{font-size:14px;margin-bottom:8px;color:#334155}.pill{background:linear-gradient(135deg,#1d4ed8,#dc2626);color:#fff;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900}.date-row{display:flex;align-items:center;justify-content:space-between;margin:20px 0 14px;background:#f1f5f9;border-radius:18px;padding:8px}.round{width:36px;height:36px;border:0;border-radius:50%;background:#fff;color:#334155;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 1px 2px #0f172a0f}.round:disabled{opacity:.25}.streak-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.streak-grid div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:12px 8px;text-align:center}.streak-grid b{display:block;font-size:24px;color:#1d4ed8;line-height:1}.streak-grid span{color:#64748b;font-size:11px;font-weight:700}.today-box{margin:16px 0;display:grid;grid-template-columns:24px 1fr auto;gap:12px;align-items:center;padding:14px;border-radius:20px;background:#eff6ff;color:#1e3a8a}.today-box p{font-size:12px;font-weight:800;margin:0 0 2px;color:#2563eb}.today-box strong{display:block;font-size:18px}.today-box span{color:#475569;font-size:13px}.cta,.ghost{width:100%;border:0;border-radius:18px;padding:15px 16px;font-weight:900;display:flex;align-items:center;justify-content:center;gap:8px}.cta{background:linear-gradient(135deg,#1d4ed8,#2563eb);color:#fff;box-shadow:0 12px 28px #2563eb47}.cta:active,.ghost:active,.speaker:active{transform:scale(.985)}.ghost{margin-top:10px;background:#f8fafc;color:#334155;border:1px solid #e2e8f0}.mobile-header{position:fixed;top:max(10px,env(safe-area-inset-top));left:50%;transform:translate(-50%);width:min(430px,calc(100vw - 28px));display:flex;justify-content:space-between;align-items:center;z-index:2}.mobile-header button{border:0;background:#ffffffe6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:999px;padding:9px 13px;display:flex;align-items:center;gap:6px;font-weight:800;color:#334155;box-shadow:0 6px 18px #0f172a14}.mobile-header div{flex:1;margin-left:14px;max-width:220px;display:flex;align-items:center;gap:10px;color:#64748b;font-size:12px;font-weight:800}progress{width:100%;height:8px;border:none;border-radius:999px;overflow:hidden}progress::-webkit-progress-bar{background:#e2e8f0e6}progress::-webkit-progress-value{background:#2563eb}.study-screen{padding-top:62px;align-items:flex-start}.study-card{min-height:520px;display:flex;flex-direction:column}.pron{color:#64748b;font-size:17px;font-weight:800;margin-bottom:6px}.meaning{font-size:21px;color:#0f172a;font-weight:900;margin-bottom:16px}.speaker{border:1px solid #dbeafe;background:#fff;color:#1d4ed8;border-radius:16px;padding:12px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:900;transition:.15s}.speaker.primary{width:100%;background:#eff6ff;margin-bottom:16px}.speaker.small{width:42px;height:42px;padding:0;border-radius:50%}.speaker.playing{background:#1d4ed8;color:#fff;animation:pulse 1s infinite}@keyframes pulse{50%{transform:scale(.97)}}.note{display:flex;gap:10px;align-items:flex-start;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;padding:14px;border-radius:18px;line-height:1.55;margin-bottom:14px}.note p{margin:0}.phrase-box,.example,.explain{border:1px solid #e2e8f0;background:#f8fafc;border-radius:20px;padding:14px;margin-top:12px}.phrase-box span,.example span{color:#2563eb;font-size:12px;font-weight:900}.phrase-box strong,.example strong{display:block;font-size:20px;margin:6px 0;color:#111827}.phrase-box p,.example p,.explain p{color:#475569;line-height:1.55;margin-bottom:12px}.nav-row{margin-top:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px}.nav-row .ghost{margin-top:0}.done{background:linear-gradient(135deg,#16a34a,#22c55e);box-shadow:0 12px 28px #22c55e3d}.empty{text-align:center;padding:54px 10px;color:#64748b}.empty h2{color:#0f172a;font-size:26px}.hint{color:#64748b;line-height:1.5}.answer{background:#eff6ff;border-radius:20px;padding:16px;text-align:center;margin:14px 0}.answer strong{display:block;font-size:28px;margin-bottom:5px}.rating{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.rating button{border:0;border-radius:16px;padding:13px 4px;font-weight:900;background:#f1f5f9;color:#334155}.loading{text-align:center;color:#334155;font-weight:900}.review-screen{align-items:flex-start;flex-direction:column;gap:12px;padding-top:max(16px,env(safe-area-inset-top))}.review-progress-card{width:min(430px,calc(100vw - 32px));margin:0 auto;background:#fff;border:1px solid #e5e7eb;box-shadow:0 8px 24px #0f172a14;border-radius:20px;padding:13px 15px}.review-progress-title{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:#334155;margin-bottom:9px}.review-progress-title span{color:#2563eb;font-weight:900}.review-progress-track{height:7px;background:#e5e7eb;border-radius:999px;overflow:hidden}.review-progress-track div{height:100%;background:#2563eb;border-radius:999px;transition:width .2s ease-out}.japanese-style{min-height:610px;display:flex;flex-direction:column}.review-topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.review-topline button{border:0;background:#f8fafc;color:#475569;border-radius:999px;padding:9px 13px;display:inline-flex;gap:6px;align-items:center;font-weight:900}.review-topline span{color:#2563eb;background:#eff6ff;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900}.recall-front{text-align:left;padding:8px 0 2px}.recall-front h2{font-size:32px;margin-bottom:12px}.cue-box{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:18px;padding:13px;line-height:1.5;font-size:14px;margin-top:14px}.japanese-answer{text-align:left;background:linear-gradient(180deg,#eff6ff,#fff);border:1px solid #dbeafe;margin-top:18px}.japanese-answer strong{font-size:30px;color:#0f172a;letter-spacing:-.03em}.review-example{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:13px;margin-top:12px}.review-example span{color:#2563eb;font-size:12px;font-weight:900}.review-example b{display:block;margin:6px 0;font-size:18px}.review-example p{color:#64748b;margin-bottom:12px}.japanese-rating{display:block;margin-top:auto;padding-top:14px}.japanese-rating p{color:#334155;font-weight:900;text-align:center;margin-bottom:10px}.japanese-rating div{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.japanese-rating button:nth-child(1){background:#fee2e2;color:#b91c1c}.japanese-rating button:nth-child(2){background:#fef3c7;color:#b45309}.japanese-rating button:nth-child(3){background:#dcfce7;color:#15803d}.completion-card{overflow:hidden;padding:0}.completion-hero{background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;text-align:center;padding:34px 20px 28px}.completion-hero h2{margin:8px 0 4px;font-size:30px}.completion-hero p{color:#dbeafe;margin:0}.completion-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px}.completion-summary div{background:#f8fafc;border-radius:18px;padding:14px;text-align:center}.completion-summary b{color:#2563eb;font-size:28px;display:block}.completion-summary span{color:#64748b;font-size:12px;font-weight:800}.completion-card .cta{width:calc(100% - 36px);margin:0 18px 18px}@media(max-width:380px){.phone-card{padding:16px;border-radius:24px}h1{font-size:24px}h2{font-size:29px}.study-card{min-height:500px}.japanese-style{min-height:580px}}
