:root{font-family:"Microsoft JhengHei","PingFang TC",sans-serif;color:#183d35;background:#f5f6ef;font-size:18px;line-height:1.6;--green:#205a48;--line:#d6e0d4;--paper:#fffdf8}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;color:#606e67;background:#f4f4ef;border-color:#e1e6df}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #a55d13;outline-offset:4px}a{color:var(--green);text-underline-offset:4px}.wrap{width:min(1120px,calc(100% - 64px));margin:auto}header{border-bottom:1px solid var(--line);background:var(--paper)}.mast{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px}.brand{font-size:1.12rem;font-weight:800;display:flex;align-items:center;gap:12px}.brand span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--green);color:white}.intro{padding:30px 0 23px}.intro p{margin:0;color:#456359}.intro p:first-child{font-weight:700;color:#346452}.intro h1{font-size:clamp(2rem,5vw,3.15rem);line-height:1.25;margin:7px 0 10px;letter-spacing:.04em}
#stages{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}#stages button,.letters button,.paging button{border:1px solid var(--line);border-radius:13px;background:var(--paper);min-height:58px;font-weight:700}#stages button{font-size:1.18rem;display:flex;justify-content:center;align-items:center;gap:12px}#stages span{font-family:system-ui;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e5eee3;font-size:.9rem;color:#205a48}#stages button[aria-pressed=true],#listen{background:var(--green);color:white;border-color:var(--green)}
.layout{display:grid;grid-template-columns:minmax(230px,28%) minmax(0,1fr);gap:18px}.layout aside,.practice,details{background:var(--paper);border:1px solid var(--line);border-radius:18px}.layout aside{padding:18px;align-self:start}.layout aside h2{font-size:1.05rem;margin:0 0 12px}.letters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.letters button{font-size:1.42rem}.letters button[aria-pressed=true]{background:#dcece0;border:2px solid var(--green)}.practice{padding:20px 24px;min-height:395px;display:flex;flex-direction:column}.context{display:flex;justify-content:space-between;gap:10px;color:#456359;font-weight:700}.prompt{display:grid;align-content:center;text-align:center;min-height:186px;padding:12px 0}.prompt h2{font-size:clamp(4rem,11vw,7rem);letter-spacing:.025em;margin:0;line-height:1.22;overflow-wrap:anywhere}.prompt h2.word{font-size:clamp(2.8rem,7vw,5rem)}.prompt h2.sentence{font-size:clamp(1.9rem,4.4vw,3.15rem);line-height:1.45}.prompt mark{background:none;color:#205a48;text-decoration:underline;text-decoration-color:#8da58d;text-underline-offset:.15em}.prompt p{font-size:1.65rem;margin:7px 0 0;letter-spacing:.12em;color:#456359}.prompt p[hidden]{display:none}.audio{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap}#listen{border:1px solid;border-radius:14px;padding:10px 23px;min-height:60px;font-size:1.22rem;font-weight:800}.slow{min-height:48px;display:flex;align-items:center;gap:6px;cursor:pointer;font-weight:700}.slow input{width:23px;height:23px;accent-color:var(--green)}#status{min-height:1.6em;text-align:center;margin:8px 0;color:#375b4e}.paging{display:flex;justify-content:space-between;gap:12px;margin-top:auto}.paging button{padding:8px 17px}.paging button:disabled{background:#f4f4ef;color:#606e67}details{margin:18px 0 30px;padding:12px 18px}summary{font-weight:700;cursor:pointer;padding:6px 0}details:target{scroll-margin-top:12px}details p{max-width:65ch}
@media(max-width:700px){.wrap{width:calc(100% - 28px)}.layout{grid-template-columns:1fr;gap:12px}.layout aside{padding:12px}.letters{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.letters button{font-size:1.2rem;min-height:46px}.practice{padding:15px;min-height:335px}.prompt{min-height:135px}.intro{padding:20px 0 16px}#stages{gap:6px;margin-bottom:12px}#stages button{gap:6px;font-size:1rem}#stages span{width:24px;height:24px}.mast{min-height:64px}.brand{font-size:1rem}}
