.studyWord{cursor:pointer;touch-action:pan-y;-webkit-user-select:none;user-select:none;border-radius:3px}.studyWord:focus-visible{outline:2px solid #16805c}.studyWord.studyMarked{border-bottom:2px dotted #16805c;background:#e7f4ed}.wordStudyDialog{width:min(650px,calc(100% - 24px));max-height:85dvh;overflow:auto;border:1px solid #dce8df;border-radius:18px;padding:28px;color:#183b31}.wordStudyDialog::backdrop{background:#0006}.wordStudyDialog h2{font-size:30px;margin:16px 0}.wordStudyDialog p{white-space:pre-line;line-height:1.8}.wordClose{float:right;border:0;background:none;font-size:28px;cursor:pointer}.wordAudio{display:block;margin:16px 0}.wordAudio audio{display:block;width:100%;margin-top:8px}.wordStudyToast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);z-index:10000;background:#183b31;color:white;padding:12px 18px;border-radius:12px;max-width:calc(100% - 24px);display:none}.wordStudyToast.visible{display:block}.wordBookList{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.wordStudySummary{padding:20px;border:1px solid #dce8df;border-radius:14px;background:#f4faf6;margin-bottom:20px}.wordStudySummary .btn{margin:4px}.studyHint{font-size:13px;color:#527066;margin:10px 0}.wordStudyDialog audio{max-width:100%}
@media(max-width:600px){.nav{height:auto!important}.navin{flex-wrap:wrap;gap:7px;padding:8px 16px!important}.navin .brand{white-space:nowrap}.navright{width:100%;overflow-x:auto;gap:14px!important;padding:4px 0}.navright>button{white-space:nowrap;flex-shrink:0}.wordStudyDialog{padding:20px}.wordStudySummary{padding:15px}.wordStudyToast{bottom:16px}}
.studyWord{-webkit-touch-callout:none}.wordStudyToast{pointer-events:none}
#qtext,#options,#paperPassage,#paperQuestionText,#paperQuestionInput .paperChoice{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.wordStudyMenu{position:fixed;z-index:10002;min-width:210px;max-width:calc(100vw - 16px);padding:10px;background:#fff;color:#183b31;border:1px solid #dce8df;border-radius:12px;box-shadow:0 8px 30px #183b3126}.wordStudyMenu[hidden]{display:none}.wordStudyMenu strong,.wordStudyMenu small{display:block;padding:6px 10px;overflow-wrap:anywhere}.wordStudyMenu small{max-width:230px;color:#527066;line-height:1.5}.wordStudyMenu button{display:block;width:100%;border:0;border-radius:7px;padding:10px;text-align:left;background:#fff;color:#183b31;font:inherit;cursor:pointer}.wordStudyMenu button:hover,.wordStudyMenu button:focus-visible{background:#e7f4ed;outline:2px solid #16805c}

.wordAudio select{display:block;max-width:100%;margin-top:8px;padding:8px;border:1px solid #bdd5c6;border-radius:8px;color:#183b31;background:#fff}.wordAudioNote{font-size:12px;color:#657b6d}

.wordPronunciation{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 18px}.wordPronunciation .wordAudio{display:inline-flex;align-items:center;gap:8px;margin:0}.wordSpeaker{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 12px;border:0;border-radius:999px;background:#edf4ee;color:#234e3d;font:inherit;font-size:14px;cursor:pointer}.wordSpeaker:hover,.wordSpeaker.isPlaying{background:#d8eade;color:#12603e}.wordSpeaker:focus-visible{outline:2px solid #16805c;outline-offset:3px}.wordPhonetics{color:#657b6d;line-height:1.6;overflow-wrap:anywhere}.wordMeaning{white-space:pre-line}.wordStudyDialog audio{display:none!important}
