*{box-sizing:border-box}body{color:#111827;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button{font:inherit;cursor:pointer;border:0}.screen{background:radial-gradient(circle at 0 0,#fee2e2,#0000 32%),linear-gradient(135deg,#f8fafc,#eef2ff);justify-content:center;min-height:100vh;padding:14px;display:flex}.dark-screen{background:#020617}.phone{background:#ffffffe6;border:1px solid #ffffffb3;border-radius:32px;width:100%;max-width:430px;min-height:860px;position:relative;overflow:hidden;box-shadow:0 30px 80px #0f172a38}.home-hero{color:#fff;background:#0f172a;padding:26px;position:relative;overflow:hidden}.home-hero:before{content:"";filter:blur(28px);background:#ef444459;border-radius:999px;width:160px;height:160px;position:absolute;top:-40px;right:-50px}.home-hero small{letter-spacing:.28em;color:#fecaca;font-weight:900}.hero-row{justify-content:space-between;align-items:center;gap:16px;display:flex;position:relative}.hero-row h1{margin:14px 0;font-size:32px;font-weight:1000;line-height:1.05}.hero-row button{color:#0f172a;background:#fff;border-radius:18px;padding:12px 18px;font-weight:1000}.stats{background:#ffffff14;border:1px solid #ffffff1f;border-radius:24px;justify-content:space-between;align-items:end;padding:16px;display:flex;position:relative}.stats span{color:#cbd5e1;font-weight:800;display:block}.stats b{font-size:42px}.stats p{text-align:right;color:#cbd5e1;margin:0;font-weight:800}.bar{background:#ffffff1f;border-radius:99px;height:12px;margin-top:15px;overflow:hidden}.bar i{background:#f87171;border-radius:99px;height:100%;display:block}.tabs{grid-template-columns:repeat(4,1fr);gap:9px;padding:15px;display:grid}.tabs button{color:#475569;text-align:left;background:#f1f5f9;border-radius:20px;padding:12px 8px;transition:all .2s}.tabs button.active{color:#fff;background:#dc2626;box-shadow:0 12px 25px #fecaca}.tabs b{font-size:20px;display:block}.tabs span{font-weight:1000;display:block}.tabs small{opacity:.7;font-weight:800}.section-title{justify-content:space-between;align-items:end;padding:0 20px 12px;display:flex}.section-title h2{margin:0;font-size:22px}.section-title p{color:#64748b;margin:4px 0 0;font-weight:700}.section-title>b{background:#f1f5f9;border-radius:99px;padding:8px 12px;font-size:12px}.kana-list{grid-template-columns:repeat(3,1fr);gap:12px;max-height:520px;padding:0 20px 110px;display:grid;overflow:auto}.kana-list.wide{grid-template-columns:1fr}.kana-list button{text-align:left;background:#fff;border:1px solid #f1f5f9;border-radius:24px;min-height:112px;padding:18px;transition:all .2s;position:relative;box-shadow:0 6px 20px #0f172a0a}.kana-list button:hover{transform:translateY(-3px);box-shadow:0 16px 30px #0f172a17}.kana-list button.seen{background:#fef2f2;border-color:#fee2e2}.kana-list em{color:#94a3b8;background:#ffffffbf;border-radius:99px;padding:2px 8px;font-size:11px;font-style:normal;font-weight:1000;position:absolute;top:10px;right:12px}.kana-list strong{font-size:48px;font-weight:1000;line-height:1;display:block}.kana-list code{color:#dc2626;margin-top:8px;font-weight:1000;display:block}.kana-list small{color:#64748b;margin-top:6px;font-weight:800;display:block}.bottom{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff2;border:1px solid #e2e8f0;border-radius:26px;grid-template-columns:1fr 72px;gap:10px;padding:10px;display:grid;position:absolute;bottom:14px;left:16px;right:16px;box-shadow:0 15px 40px #0f172a29}.bottom button{border-radius:20px;padding:17px;font-weight:1000}.bottom button:first-child{color:#fff;background:#0f172a}.bottom button:last-child{background:#f1f5f9}.dark-phone{color:#fff;background:#0f172a}.topbar{justify-content:space-between;align-items:center;padding:20px;display:flex}.topbar button{color:#fff;background:#ffffff1a;border-radius:18px;padding:12px 16px;font-size:24px}.topbar small{color:#fecaca;letter-spacing:.25em;font-weight:900}.topbar h2{color:#cbd5e1;margin:4px 0;font-size:14px}.hero-card{color:#111827;background:#fff;border-radius:32px;justify-content:space-between;align-items:end;margin:0 24px;padding:24px;display:flex}.big-kana{font-size:110px;font-weight:1000;line-height:.9}.romaji-large{color:#dc2626;font-family:monospace;font-size:32px;font-weight:1000}.rule{background:#f1f5f9;border-radius:20px;max-width:145px;padding:14px}.rule small{color:#94a3b8;font-weight:1000;display:block}.rule b{font-size:14px}.actions{grid-template-columns:1fr 1fr;gap:12px;margin:18px 24px;display:grid}.actions button{color:#fff;background:#ffffff1a;border-radius:24px;padding:18px;font-weight:1000}.actions button:last-child{background:#ef4444}.sheet{color:#111827;background:#fff;border-radius:34px 34px 0 0;min-height:420px;margin-top:12px;padding:24px}.sheet h2{margin-top:0}.example{text-align:left;background:#f8fafc;border:1px solid #f1f5f9;border-radius:24px;justify-content:space-between;align-items:center;gap:14px;width:100%;margin-bottom:12px;padding:15px;display:flex}.example span{font-size:32px}.example b{font-size:25px;display:block}.example code{color:#dc2626;font-weight:900;display:block}.example p{color:#64748b;margin:3px 0 0;font-weight:700}.example i{font-style:normal}.tip{color:#78350f;background:#fffbeb;border-radius:24px;padding:16px;font-weight:700}.tip p{margin-bottom:0}.drill-phone{padding:20px}.drill-head{align-items:center;gap:12px;margin-bottom:22px;display:flex}.drill-head button{background:#f1f5f9;border-radius:18px;padding:12px}.progress{flex:1}.progress div{color:#94a3b8;justify-content:space-between;font-size:12px;font-weight:1000;display:flex}.progress meter{width:100%;height:12px}.question{color:#fff;text-align:center;background:#0f172a;border-radius:30px;padding:30px 20px;box-shadow:0 18px 35px #0f172a38}.question small{color:#fecaca;letter-spacing:.25em;font-weight:900}.question div{margin:18px 0;font-size:88px;font-weight:1000;line-height:1}.question p{color:#cbd5e1;font-weight:800}.options{grid-template-columns:1fr 1fr;gap:12px;margin-top:22px;display:grid}.options button{background:#f8fafc;border:2px solid #f1f5f9;border-radius:24px;padding:28px 10px;font-family:monospace;font-size:30px;font-weight:1000}.options .picked{color:#b91c1c;background:#fef2f2;border-color:#ef4444}.options .right{color:#047857;background:#ecfdf5;border-color:#10b981}.options .wrong{color:#be123c;background:#fff1f2;border-color:#f43f5e}.feedback{border-radius:22px;margin-top:18px;padding:14px;font-weight:1000}.feedback.ok{color:#047857;background:#ecfdf5}.feedback.no{color:#be123c;background:#fff1f2}.primary{color:#fff;background:#0f172a;border-radius:26px;padding:20px;font-size:18px;font-weight:1000;position:absolute;bottom:22px;left:20px;right:20px}.primary:disabled{color:#94a3b8;background:#e2e8f0}.result{color:#fff;text-align:center;background:#0f172a;flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex}.trophy{background:#ef4444;border-radius:32px;padding:26px;font-size:48px}.result small{color:#fecaca;letter-spacing:.25em;margin-top:24px;font-weight:900}.result h1{margin:12px 0;font-size:42px}.result p{color:#cbd5e1;font-weight:800}.score{color:#f87171;font-size:82px;font-weight:1000}.score span{color:#64748b;font-size:32px}.result-buttons{grid-template-columns:1fr 1fr;gap:12px;width:100%;margin-top:20px;display:grid}.result-buttons button{border-radius:24px;padding:18px;font-weight:1000}.result-buttons button:first-child{color:#fff;background:#ef4444}.result-buttons button:last-child{color:#0f172a;background:#fff}@media (width<=420px){.phone{border-radius:0;min-height:100vh}.screen{padding:0}.big-kana{font-size:94px}.question div{font-size:74px}}
