.answer-controls{margin:28px 0;border-top:1px solid var(--border,#29313d);padding-top:22px}.answer-switch{display:flex;gap:10px;flex-wrap:wrap}.answer-switch button{border:1px solid var(--border,#29313d);border-radius:12px;background:transparent;color:inherit;padding:11px 20px;font:inherit;cursor:pointer;transition:background .18s,transform .18s}.answer-switch button:hover{background:rgba(128,150,205,.12)}.answer-switch button:active{transform:scale(.98)}.answer-switch button.selected{background:#a9bbf5;color:#12203a;border-color:transparent}.answer-content{padding:24px;margin-top:16px;border-radius:18px;background:rgba(135,151,195,.07);line-height:1.85;overflow-wrap:anywhere}.answer-content[hidden]{display:none}.answer-content h4{margin:0 0 12px;font-size:14px;opacity:.65}.answer-content section+section{margin-top:24px;padding-top:22px;border-top:1px solid var(--border,#29313d)}.english-passage{margin:16px 0 24px;padding:20px;border:1px solid var(--border,#29313d);border-radius:18px;font-size:17px;line-height:1.9}.english-passage summary{cursor:pointer;font-weight:600}.english-passage summary span{font-size:12px;font-weight:400;margin-left:12px;opacity:.55}.english-passage>div{margin-top:18px}.source-caution{padding:12px 16px;border-radius:12px;background:rgba(222,167,73,.12);font-size:14px!important;color:#c99c56!important}.bank-release-status{white-space:pre-line;line-height:1.8}.bank-release-actions{display:flex;gap:12px;flex-wrap:wrap}@media(max-width:600px){.answer-content{padding:16px}.english-passage{padding:16px;font-size:16px}.answer-switch button{flex:1;padding:12px 15px}}@media(prefers-reduced-motion:reduce){.answer-switch button{transition:none}}
.app-shell .english-question #q-title{font-weight:400;line-height:1.65;font-size:18px}.english-question .answer-content{font-size:16px;line-height:1.8}.english-question .answer-options>button{font-size:16px}
.app-shell #study-question-map{display:block}.answer-sheet-group+.answer-sheet-group{margin-top:22px}.app-shell .answer-sheet-group h4{display:flex;align-items:center;justify-content:space-between;gap:8px;font:500 11px/1.5 system-ui,'Microsoft YaHei',sans-serif;color:var(--ink);margin:0 0 10px}.answer-sheet-group h4 span{font-size:9px;font-weight:400;color:var(--muted)}.answer-sheet-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.app-shell #study-question-map button{min-width:0;min-height:32px;border-radius:8px;transition:background .18s,border-color .18s}.app-shell .study-grade{margin:18px 0;gap:10px;flex-wrap:wrap}.app-shell .study-grade button{min-height:42px;padding:10px 24px;font-size:13px}.app-shell .study-grade[hidden]{display:none!important}.app-shell .answer-options>button{cursor:pointer;min-height:48px;border-radius:12px;transition:background .18s,border-color .18s}.app-shell .answer-options>button:not(:disabled):hover{background:#a8c5ec12;border-color:#a8c5ec70}.app-shell .answer-options>button:focus-visible,.app-shell #study-question-map button:focus-visible{outline:2px solid var(--study-accent);outline-offset:3px}.app-shell .answer-options>button:disabled{cursor:default;opacity:1}
@media(max-width:1050px){.answer-sheet-grid{grid-template-columns:repeat(auto-fill,minmax(38px,1fr))}.app-shell #study-question-map button{min-height:38px}.answer-sheet-group+.answer-sheet-group{margin-top:18px}}
@media(prefers-reduced-motion:reduce){.app-shell .answer-options>button,.app-shell #study-question-map button{transition:none}}
@media(max-width:650px){.app-shell .player-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.player-top #quit-practice{grid-column:1;grid-row:1;justify-self:start;max-width:100%;white-space:normal}.player-top .timer{grid-column:2;grid-row:1}.player-top .player-progress{grid-column:1;grid-row:2;max-width:160px;width:100%;min-width:0}.player-top #study-pause{grid-column:2;grid-row:2;justify-self:end}}
.english-passage-body{font-family:Georgia,'Times New Roman',serif;font-size:18px;line-height:1.85;letter-spacing:.005em}.english-passage-body p{margin:0 0 1.1em}.english-passage-body p:last-child{margin-bottom:0}.translation-underline{text-decoration-line:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-skip-ink:auto}.translation-underline.is-current{background:#a9bbf51a;text-decoration-color:#a9bbf5;text-decoration-thickness:2px;border-radius:3px}.app-shell .answer-sheet-group h4{font-size:10px;gap:4px}.answer-sheet-group h4 span{white-space:nowrap;font-size:8px}
@media(min-width:1101px){.study-answer-sheet.panel{min-height:0;max-height:calc(100vh - 130px);overflow-y:auto;position:sticky;top:90px;align-self:start;scrollbar-width:thin}}
@media(max-width:650px){.english-passage-body{font-size:17px;line-height:1.8}.english-passage summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px}.english-passage summary span{margin-left:0}.app-shell .answer-sheet-group h4{font-size:12px}.answer-sheet-group h4 span{font-size:10px}}
.english-reading-workspace{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;height:clamp(420px,calc(100vh - 310px),740px);height:clamp(420px,calc(100dvh - 310px),740px);min-width:0}
.english-reading-workspace .english-passage{margin:0;padding:18px;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden}
.english-reading-workspace .english-passage summary{flex:none;font-size:14px;padding-bottom:14px;border-bottom:1px solid var(--border,#29313d)}
.english-reading-workspace .english-passage summary span{display:block;margin:5px 0 0;font-size:11px}
.english-reading-workspace .english-passage-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;padding-right:10px;margin-top:16px;font-size:17px;line-height:1.85;-webkit-overflow-scrolling:touch}
.english-reading-workspace .english-passage:not([open]) .english-passage-body{display:none}
.english-answer-pane{min-height:0;min-width:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;padding:0 8px 10px 0;-webkit-overflow-scrolling:touch}
.app-shell .english-answer-pane #q-title{margin:0 0 20px}
.english-answer-pane .answer-controls{margin:22px 0 16px;padding-top:18px}.english-answer-pane .answer-options>button{padding:12px;font-size:15px}
.english-passage-body:focus-visible,.english-answer-pane:focus-visible,.app-shell #study-question-map:focus-visible{outline:2px solid var(--study-accent);outline-offset:-2px;border-radius:8px}
.library-shell .study-answer-sheet.panel{display:flex;flex-direction:column;min-height:0;height:clamp(420px,calc(100vh - 240px),820px);height:clamp(420px,calc(100dvh - 240px),820px);max-height:none;overflow:hidden;position:static;align-self:start}
.study-answer-sheet>header,.study-answer-sheet>p,.study-answer-sheet>#study-finish{flex:none}
.app-shell #study-question-map{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;padding:3px;-webkit-overflow-scrolling:touch}
@media(max-width:1100px){.english-reading-workspace{grid-template-columns:1fr;height:auto;gap:20px}.english-reading-workspace .english-passage[open]{height:clamp(240px,36vh,380px);height:clamp(240px,36dvh,380px)}.english-answer-pane{max-height:none;overflow:visible;padding:0}.library-shell .study-answer-sheet.panel{height:340px;margin:0;max-height:none}.english-reading-workspace .english-passage:not([open]){height:auto}}
@media(max-width:650px){.english-reading-workspace{gap:18px}.english-reading-workspace .english-passage{padding:14px}.english-reading-workspace .english-passage[open]{height:clamp(220px,33vh,300px);height:clamp(220px,33dvh,300px)}.english-reading-workspace .english-passage-body{font-size:16px;padding-right:6px}.english-answer-pane .answer-options>button{font-size:15px}.library-shell .study-answer-sheet.panel{height:320px}}
/* Native details uses an anonymous content box: give its scroll area an explicit height. */
.english-reading-workspace{--reading-height:clamp(420px,calc(100vh - 310px),740px);--reading-height:clamp(420px,calc(100dvh - 310px),740px);height:var(--reading-height)}
.english-reading-workspace .english-passage[open]{height:var(--reading-height);box-sizing:border-box}
.english-reading-workspace .english-passage-body{flex:none;height:calc(var(--reading-height) - 110px);max-height:calc(var(--reading-height) - 110px)}
@media(max-width:1100px){.english-reading-workspace{--reading-height:clamp(240px,36vh,380px);--reading-height:clamp(240px,36dvh,380px);height:auto}}
@media(max-width:650px){.english-reading-workspace{--reading-height:clamp(220px,33vh,300px);--reading-height:clamp(220px,33dvh,300px)}}
.english-reading-workspace .english-passage-body,.english-answer-pane,.app-shell #study-question-map{scrollbar-color:#78849b88 transparent}
