:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Noto Sans JP",sans-serif;color:#202124;background:#f5f5f7;font-size:17px;line-height:1.65}*{box-sizing:border-box}body{margin:0}main{width:min(100%,850px);margin:20px auto;padding:0 22px}header{margin:0 0 28px}.eyebrow{font-size:12px;letter-spacing:.14em;color:#657384;font-weight:700}h1{font-size:clamp(28px,6vw,38px);line-height:1.4;letter-spacing:-.025em;margin:10px 0 16px}h2{font-size:21px;line-height:1.45;margin:0 0 14px}h3{font-size:14px;color:#536270;margin:22px 0 6px}.intro{color:#555f6b;max-width:630px}.card{padding:25px;background:#fff;border-radius:15px;margin:20px 0;box-shadow:0 1px 2px #00000008}.heading-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:16px}.heading-row h2{margin:0}.badge{color:#075ba6;font-size:14px;font-weight:650;background:#edf5ff;border-radius:6px;padding:3px 10px}label{display:block;font-size:14px;font-weight:650;margin-bottom:6px}select,button{font:inherit;color:inherit;min-height:48px;border:1px solid #cbd1d8;border-radius:9px;background:#fff;padding:9px 12px}select{width:100%;max-width:100%;font-size:16px;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:none}button{cursor:pointer;touch-action:manipulation}button:disabled{opacity:.48;cursor:default}.settings{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.controls{display:grid;grid-template-columns:1.7fr 1fr;gap:12px}.primary{color:white;background:#0064ca;border-color:#0064ca;font-weight:650}button:hover:not(:disabled){filter:brightness(.96)}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #72b9ff;outline-offset:3px}.status{min-height:3.3em;display:flex;align-items:center;margin:12px 0 5px;color:#374554;font-size:16px}.status[data-phase=error]{color:#a82323;background:#fff2f2;padding:10px;border-radius:7px}.hint{font-size:13px;color:#616b76;line-height:1.7;margin:8px 0 14px}.reveal{width:100%;color:#005caf;text-align:center;margin-top:4px;white-space:normal}.explanation{padding:4px 0 0;overflow-wrap:anywhere}.english{font-size:clamp(22px,4.9vw,27px);line-height:1.65;margin:5px 0}.phonetic{font-size:20px;line-height:1.75;overflow-wrap:anywhere;margin:5px 0}.respell{color:#075ba6}.sound-note{background:#f5f7fa;padding:12px;border-radius:8px;margin-top:10px}.sound-note p{margin:3px 0}.sound-note .phrase{font-weight:650}.sound-note .description{font-size:15px}.navigation{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.navigation button{flex:1}.number-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(70px,1fr));gap:9px}.number-list button[aria-pressed=true]{background:#eaf3ff;border-color:#0064ca;color:#0053a6;font-weight:700}.group-label{color:#536270;font-weight:650;margin:18px 0 8px;font-size:14px}.resources li{padding-left:3px;margin-bottom:8px}.resources ol{padding-left:24px}.pdf-link{display:inline-block;color:#005caf;font-weight:650;margin:10px 0;padding:8px 0}footer{padding:10px 0 30px;font-size:12px;color:#6e7680;text-align:center}.notice{border:1px solid #b63e3e;padding:15px;background:#fff}a{color:#005caf}[hidden]{display:none!important}@media(max-width:440px){main{padding:0 14px;margin-top:14px}.card{padding:20px 17px}.settings{gap:10px}.controls{gap:9px}.reveal{font-size:15px}.navigation button{font-size:15px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.heading-row h1{font-size:21px;line-height:1.45;letter-spacing:normal;margin:0}.status:empty{display:none}.resources{text-align:center;padding:0 0 18px}
.sentence-list{grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0;gap:7px}.sentence-list button{font-size:14px;padding:8px 3px}details{margin:14px 0 4px}summary{cursor:pointer;color:#536270;font-size:14px;list-style:none;padding:7px 0}summary::-webkit-details-marker{display:none}summary:focus-visible{outline:3px solid #72b9ff;outline-offset:3px}.explanation p{margin:5px 0 14px}.reveal{margin-top:18px}.phonetic{font-size:18px}.english{font-size:23px}.card{margin-top:20px}.heading-row{margin-bottom:18px}
