.once-player{display:flex;align-items:center;gap:20px}
.audio-player.once-player #play{width:auto;min-width:152px;height:52px;padding:0 18px;border-radius:15px;font-size:1rem;font-weight:650}
.audio-player.once-player #play:disabled{cursor:default;background:#e5ece6;color:#768b7e;box-shadow:0 3px 0 #d9e3db}
.audio-player.once-player #play.is-playing{background:#f5c8a5;color:#67472f}
.clip-progress{display:block;appearance:none;-webkit-appearance:none;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;background:#e1eee4;pointer-events:none;margin-top:9px}
.clip-progress::-webkit-progress-bar{background:#e1eee4;border-radius:8px}
.clip-progress::-webkit-progress-value{background:#8a70a7;border-radius:8px}
.clip-progress::-moz-progress-bar{background:#8a70a7;border-radius:8px}
.once-rule{display:flex;gap:14px;align-items:center;border:1px dashed #cab5d7;border-radius:17px;background:#f2eafa;padding:16px 20px;margin:23px 0;color:#74578c}
.once-rule>span{font-size:2.1rem;line-height:1}
.once-rule p{margin:0;font-size:1rem;line-height:1.7}
.once-rule br{display:none}
.cloze-heading{position:sticky;top:0;z-index:5;padding:14px 0;background:#f3faf5f5;backdrop-filter:blur(8px);margin:18px 0}
.sentence-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}
.blank-count{color:#799184;font-size:.875rem}
.cloze-list{align-items:stretch;gap:24px;margin-bottom:30px}
.cloze-card{padding:24px;box-shadow:0 5px 0 #e1ece1}
.cloze-card:last-child{grid-column:auto}
.sentence-audio{display:flex;align-items:center;gap:15px;padding-bottom:18px;border-bottom:1px dashed #dbe6dd;margin-bottom:15px}
.clip-play{flex-shrink:0;border:1px solid #d7c5e4;border-radius:13px;background:#ede3f5;color:#795e92;box-shadow:0 3px 0 #decfe9;padding:10px 14px;min-height:44px;font-weight:600;font-size:.95rem}
.clip-play:hover:enabled{background:#e5d7f0}
.clip-play:disabled{cursor:default;background:#edf2ed;border-color:#d8e3db;box-shadow:none;color:#718a7a}
.clip-play.is-playing{background:#f8e1c8;border-color:#e8c7a4;color:#a17448}
.clip-meta{min-width:0;flex:1}
.clip-status{font-size:.875rem;line-height:1.55;display:block;color:#768b7e}
.cloze-card .sentence-text{font-size:1.12rem;line-height:2.7;margin:5px 0 0;overflow-wrap:anywhere}
.cloze-card .word-input{width:7.2rem;margin:3px 4px;font-size:1.03rem}
.cloze-card .word-input.long{width:10rem}
.cloze-card .word-input.short{width:4.7rem}
.clip-error{font-size:.875rem!important;line-height:1.65!important;color:#a56149!important;margin:13px 0 0!important}
#word-results{display:grid;grid-template-columns:1fr;gap:24px}
.sentence-result{border:1px solid #d5e4db;border-radius:20px;background:#fff;padding:25px}
.sentence-result-heading{display:flex;justify-content:space-between;gap:15px;align-items:center}
.sentence-result-heading h3{font-size:1rem;margin:0;color:#76558d}
.sentence-result-heading>span{color:#6d8878;font-size:.875rem}
.full-sentence{font-size:1.13rem;line-height:2.05;background:#f3f8f2;border-radius:12px;padding:17px 20px;color:#3c5e4e;margin:17px 0 21px}
.full-sentence mark{padding:1px 3px;border-radius:4px;background:#dceee0;color:#347251}
.full-sentence mark.miss{background:#fae6d2;color:#9e6f3e}
.vocab-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.vocab-grid .word-result{border-radius:13px;padding:16px;min-width:0;grid-column:auto}
.vocab-grid .word-result-head strong{font-size:1.1rem}
.vocab-grid .word-result p{font-size:.9rem;overflow-wrap:anywhere}
.vocab-grid .word-result .reading{font-size:.875rem;color:#768b7d}
.vocab-grid .word-result .your-answer{font-size:.875rem}
.finished-badge{font-size:.875rem;color:#7b648d;background:#ece3f4;border-radius:20px;padding:8px 16px;white-space:nowrap}
.formula-row b{flex:0 0 2em;white-space:nowrap}
@media(max-width:820px){.vocab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cloze-list{grid-template-columns:1fr}}
@media(max-width:600px){.once-player{display:flex;flex-wrap:wrap;gap:15px}.audio-player.once-player #play{min-width:125px;font-size:.9rem;padding:0 13px;height:48px}.once-player .audio-main{flex:1;min-width:110px}.once-rule{padding:14px 17px;gap:12px}.once-rule p{font-size:.9rem}.once-rule br{display:block}.cloze-heading h2{font-size:1rem}.cloze-heading{margin:16px 0;padding:12px 0}.cloze-card{padding:20px 17px}.sentence-audio{gap:11px}.clip-play{font-size:.875rem;padding:9px 11px;min-width:111px}.clip-status{font-size:.875rem}.cloze-card .sentence-text{font-size:1.06rem;line-height:2.8}.cloze-card .word-input{width:6.6rem;font-size:1rem}.cloze-card .word-input.long{width:9rem}.cloze-card .word-input.short{width:4.2rem}.sentence-result{padding:19px 16px}.full-sentence{font-size:1rem;padding:14px 15px;line-height:2.05}.vocab-grid{grid-template-columns:1fr;gap:12px}.vocab-grid .word-result{padding:15px}.vocab-grid .word-result-head strong{font-size:1.1rem}.result-bottom{gap:8px}.result-top .score-orbit{width:105px;height:105px}.result-top .score-orbit strong{font-size:2.7rem}.result-top h1{font-size:1.55rem}.result-top{gap:10px}.result-message{font-size:.875rem}}

/* Dense dictation: one complete sentence per card. */
.cloze-list{grid-template-columns:1fr}.cloze-card .sentence-text{line-height:3}.cloze-card .word-input{margin:5px 4px}.cloze-card .word-input.long{width:11rem}.cloze-card .word-input.short{width:4.7rem}
@media(max-width:600px){.cloze-card .word-input.long{width:10.5rem}.cloze-card .word-input{width:6.6rem}.cloze-card .word-input.short{width:4.2rem}.cloze-card .sentence-text{line-height:3}}

.cloze-fragment{display:inline-block;white-space:nowrap;max-width:100%}
