@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap";:root{color:#17202a;background:#f3f5f7;font-family:DM Sans,Noto Sans JP,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}.hidden{display:none}.welcome{background:radial-gradient(circle at 15% 15%,#dcecf0 0,#0000 30%),#f3f5f7;place-items:center;min-height:100dvh;padding:24px;display:grid}.welcome-card{background:#fff;border:1px solid #dfe5e9;border-radius:28px;max-width:600px;padding:56px;box-shadow:0 18px 50px #16324a16}.eyebrow{color:#197b7b;letter-spacing:.12em;font-size:.75rem;font-weight:700}.welcome h1{margin:.4rem 0 1rem;font-size:clamp(2rem,6vw,3.8rem);line-height:1.18}.welcome p{color:#53616d;line-height:1.9}.welcome small{color:#71808b;margin-top:20px;display:block}.app-shell{min-height:100dvh}.app-shell header{color:#fff;background:#12304a;align-items:center;gap:18px;height:70px;padding:0 clamp(18px,5vw,72px);display:flex}.brand{color:#fff;letter-spacing:.04em;background:0 0;border:0;font-size:1.1rem;font-weight:700}.brand span{color:#74d5ce;margin-right:4px}.stats{color:#cfdae2;gap:20px;margin-left:auto;font-size:.83rem;display:flex}.stats b{color:#fff}.icon-button{color:inherit;background:0 0;border:0;padding:5px;font-size:1.6rem;line-height:1}.side{z-index:3;background:#fff;width:min(360px,90vw);padding:24px;transition:all .2s;position:fixed;top:0;bottom:0;left:0;transform:translate(-105%);box-shadow:6px 0 30px #0002}.side.open{transform:translate(0)}.side-head{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.side h2{margin:0}.side label{color:#4f5f6b;gap:7px;margin:15px 0;font-size:.84rem;font-weight:700;display:grid}.side input,.side select{color:#17202a;background:#fff;border:1px solid #d7dfe4;border-radius:10px;padding:11px}.side hr{border:0;border-top:1px solid #e2e8eb;margin:25px 0}.scrim{z-index:2;background:#00152666;border:0;position:fixed;inset:0}.study-area{max-width:850px;margin:auto;padding:clamp(25px,6vw,72px) 20px}.progress-row{color:#64727d;align-items:center;gap:13px;margin-bottom:18px;font-size:.83rem;display:flex}.bar{background:#dfe6e9;border-radius:99px;flex:1;height:6px;overflow:hidden}.bar i{border-radius:inherit;background:#1b9b91;height:100%;transition:width .2s;display:block}.card{background:#fff;border:1px solid #e0e6e9;border-radius:20px;padding:clamp(24px,5vw,52px);box-shadow:0 12px 28px #16324a0d}.badges{flex-wrap:wrap;gap:8px;display:flex}.badges span{color:#14746f;background:#e5f2f0;border-radius:99px;padding:5px 9px;font-size:.75rem;font-weight:700}.badges .state{color:#a35a00;background:#fdf0d7}.card h1{margin:21px 0 7px;font-size:clamp(1.35rem,3vw,2rem)}.source{color:#7b8992;margin:0 0 32px;font-size:.82rem}.cloze{white-space:pre-wrap;min-height:180px;font-family:Noto Sans JP,sans-serif;font-size:clamp(1rem,2.4vw,1.12rem);line-height:2.05}.cloze:not(.revealed) span{color:#0000;-webkit-user-select:none;user-select:none;background:#dbe7eb;border-radius:4px;padding:1px 5px}.cloze.revealed span{background:#fff1c9;border-bottom:2px solid #edb80e;border-radius:3px;padding:1px 2px}.primary,.secondary,.again,.good{border:0;border-radius:11px;padding:13px 18px;font-weight:700}.primary{color:#fff;background:#147d7a}.large{margin-top:12px;font-size:1rem}.reveal{width:100%;margin-top:30px}.secondary{color:#30424d;background:#e9eff1;width:100%;margin-bottom:11px}.text-button{color:#847169;background:0 0;border:0;padding:8px 0;text-decoration:underline}.answer-actions{gap:10px;margin-top:30px;display:flex}.answer-actions button{flex:1}.again{color:#9a3927;background:#f7e3df}.good{color:#08694f;background:#d9f0e9}.navigation{justify-content:space-between;margin-top:22px;display:flex}.navigation button{color:#30424d;background:#fff;border:1px solid #d3dde2;border-radius:9px;padding:10px 15px}.navigation button:disabled{opacity:.4;cursor:default}.empty{text-align:center;padding:70px 15px}.empty .secondary{max-width:230px}@media (width<=560px){.app-shell header{height:60px;padding:0 16px}.stats{display:none}.study-area{padding:25px 14px}.card{border-radius:16px;padding:24px 20px}.cloze{min-height:260px;line-height:2}.welcome-card{border-radius:20px;padding:35px 25px}}.cloze:not(.revealed) span:not(.answer){color:inherit;background:0 0;padding:0}.cloze.revealed span:not(.answer){background:0 0;border:0;padding:0}
