:root{--bg:#f6f6f8;--surface:#fff;--text:#1c1c22;--muted:#6b6b76;--border:#e2e2e8;--accent:#4f46e5;--accent-text:#fff;--accent-soft:#e0e7ff;--danger:#c62828;--stage-cue:#8a8a94;--stage-guide:#2563eb;--stage-you:#16a34a;--stage-text:#fff;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-family:system-ui,-apple-system,Hiragino Sans,Noto Sans JP,sans-serif;font-size:16px;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#121216;--surface:#1d1d23;--text:#ececf1;--muted:#9a9aa6;--border:#2e2e37;--accent:#818cf8;--accent-text:#0d0d12;--accent-soft:#2b2d55;--danger:#ef5350;--stage-cue:#9a9aa6;--stage-guide:#60a5fa;--stage-you:#4ade80;--stage-text:#0d0d12}}*,:before,:after{box-sizing:border-box}html,body{margin:0;overflow-x:hidden}body{background:var(--bg);color:var(--text)}h1,h2,p{margin:0}h1{font-size:1.4rem}h2{font-size:1rem}.screen{max-width:560px;padding:calc(12px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));flex-direction:column;gap:16px;min-height:100dvh;margin:0 auto;display:flex}.topbar{justify-content:space-between;align-items:center;gap:12px;min-height:48px;display:flex}.muted,.summary{color:var(--muted)}.card{background:var(--surface);border:1px solid var(--border);border-radius:14px;flex-direction:column;gap:12px;padding:16px;display:flex}button,select{font:inherit;color:var(--text);border:1px solid var(--border);background:var(--surface);border-radius:12px;min-height:48px;padding:0 16px}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.6;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:600}button.ghost{background:0 0;border-color:#0000;padding:0 8px}button.big{min-height:64px;font-size:1.2rem}select,.field select{width:100%;font-size:1rem}input[type=range]{width:100%;min-height:48px;accent-color:var(--accent)}.vowels{grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.vowels button{padding:0;font-size:1.2rem}.row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.field{color:var(--muted);flex-direction:column;gap:4px;font-size:.9rem;display:flex}.note{color:var(--muted);font-size:.9rem}.practice{text-align:center}.ex-title{font-size:1.1rem;font-weight:600}.vowel{min-height:1.1em;font-size:6rem;font-weight:700;line-height:1.1}.key-line{justify-content:center;align-items:baseline;gap:16px;font-size:1.2rem;display:flex}.key{font-size:2rem;font-weight:700}.stage{color:var(--stage-text);border-radius:999px;align-self:center;padding:8px 24px;font-size:1.4rem;font-weight:700}.stage-cue{background:var(--stage-cue)}.stage-guide{background:var(--stage-guide)}.stage-you{background:var(--stage-you)}.progress{background:var(--border);border-radius:2px;height:4px;overflow:hidden}.progress-bar{background:var(--accent);height:100%}.controls{grid-template-columns:1fr 1.4fr 1fr;gap:12px;display:grid}.controls button{min-height:64px;font-size:1.4rem}.error{color:var(--danger);flex-direction:column;gap:12px;display:flex}.done{flex-direction:column;gap:12px;display:flex}.done-message{font-size:1.4rem;font-weight:700}.check{align-items:center;gap:12px;min-height:48px;display:flex}.check input{width:24px;height:24px;accent-color:var(--accent);margin:0}.field.disabled{opacity:.5}button.toggle[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent);color:var(--text);font-weight:600}button.toggle[aria-pressed=false]{color:var(--muted)}.toggles{gap:8px;display:flex}.toggles>button,.toggles>select{flex:1}.toggles+.toggles{margin-top:8px}
