/* 课后练习页面（/oefenen/les-N/）共用样式 */
:root{
  --ink:#171717;--text:#343434;--muted:#737373;
  --paper:#FFFFFF;--line:#E6E6E6;--yellow:#FCF8D8;--yellow-line:#EFE6A8;
  --blue:#2B5C9E;--blue-pale:#EEF4FA;--orange:#E0703A;
  --green:#2C8A58;--green-pale:#EAF5EE;--red:#B3261E;--red-pale:#FBECEA
}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Inter","Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.7}
.oef-wrap{max-width:1000px;margin:0 auto;padding:48px 20px 100px}
.oef-kicker{font-size:12px;letter-spacing:.16em;font-weight:700;color:var(--orange)}
.oef-wrap h1{margin:10px 0 0;font-size:clamp(26px,5vw,36px);line-height:1.35;font-weight:700}
.oef-say{display:inline-block;margin-top:6px;font-family:"Caveat",cursive;font-size:24px;color:var(--blue);transform:rotate(-2deg)}
.oef-intro{margin:12px 0 0;color:var(--text)}
.oef-outline{margin:16px 0 0;padding-left:1.4em;color:var(--text);line-height:2}
.oef-outline li::marker{color:var(--muted);font-size:13px}

.oef-sec{margin:0}
/* 左边是各组标签（手机上变成顶部一排），右边是当前这组的卡片 */
.oef-work{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;align-items:start;margin-top:22px}
.oef-tabs{position:sticky;top:120px;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line)}
.oef-tab{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 14px;border:0;border-top:1px solid var(--line);background:#fff;color:var(--muted);font:inherit;font-size:14px;font-weight:600;text-align:left;cursor:pointer}
.oef-tab:first-child{border-top:0}
.oef-tab b{font-weight:600}
.oef-tab span{flex:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;border:1px solid var(--line);font-size:11.5px;color:var(--muted)}
.oef-tab:hover{color:var(--ink)}
.oef-tab.is-active{color:var(--ink);background:var(--yellow)}
.oef-tab.is-active span{background:var(--ink);border-color:var(--ink);color:#fff}
.oef-tab.is-test{border-top:1px solid #D4D4D4}
.oef-tab.is-intro span{font-style:italic;font-family:Georgia,serif}
.oef-tab.is-test span{border-color:var(--orange);color:var(--orange)}
.oef-tab.is-test.is-active span{background:var(--orange);border-color:var(--orange);color:#fff}
/* 卡片 */
.oef-card{background:#fff;border:1px solid var(--line);padding:26px 24px 22px;min-height:420px}
.oef-card h2{margin:0;font-size:20px;line-height:1.4;font-weight:700}
.oef-card .oef-item,.oef-card .oef-line{background:#fff}
.oef-card .oef-item.is-right{background:#F6FBF8}
.oef-card .oef-item.is-wrong{background:#FDF7F6}
.oef-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.oef-prev,.oef-next{height:42px;padding:0 18px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.oef-prev{border:1px solid var(--line);background:#fff;color:var(--text)}
.oef-prev:hover{border-color:var(--ink);color:var(--ink)}
.oef-next{border:1px solid var(--ink);background:var(--ink);color:#fff}
.oef-next:hover{background:var(--blue);border-color:var(--blue)}
.oef-sec h2{margin:0;font-size:20px;line-height:1.4;font-weight:700}
.oef-hint{margin:6px 0 18px;color:var(--muted);font-size:14.5px}

.oef-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.oef-grid-wide{grid-template-columns:minmax(0,1fr)}
.oef-item{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;background:#fff;border:1px solid var(--line);padding:12px 14px;transition:border-color .2s,background .2s}
.oef-item.is-right{border-color:#B9DCC6;background:#FBFEFC}
.oef-item.is-wrong{border-color:#EBC4BF;background:#FFFCFB}
.oef-item-top{display:flex;align-items:center;gap:10px;flex:none}
.oef-no{font-size:12px;font-weight:700;color:var(--muted);min-width:14px}

.oef-play{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;min-width:38px;padding:0 10px;border:1px solid var(--blue);background:#fff;color:var(--blue);font:inherit;font-size:13px;font-weight:600;cursor:pointer;border-radius:0}
.oef-play svg{width:16px;height:16px;fill:currentColor}
.oef-play:hover,.oef-play.is-playing{background:var(--blue);color:#fff}
.oef-play.is-missing{border-color:var(--line);color:var(--muted);cursor:not-allowed}

.oef-options{display:flex;flex-wrap:wrap;gap:8px;flex:1}
.oef-options.is-stacked{flex-direction:column;align-items:flex-start}
.oef-test-answer .oef-options.is-stacked{align-items:center}
.oef-opt{min-width:56px;height:38px;padding:0 14px;border:1px solid #D4D4D4;background:#fff;color:var(--ink);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.oef-opt:hover{border-color:var(--ink)}
.oef-item.is-done .oef-opt{cursor:default}
.oef-item.is-done .oef-opt:hover{border-color:#D4D4D4}
.oef-opt.is-right,.oef-opt.is-answer{border-color:var(--green);background:var(--green-pale);color:var(--green)}
.oef-opt.is-wrong{border-color:var(--red);background:var(--red-pale);color:var(--red)}

.oef-spell{display:flex;flex:1;min-width:150px}
.oef-spell input{flex:1;min-width:0;height:38px;padding:0 10px;border:1px solid #D4D4D4;border-right:0;border-radius:0;font:inherit;font-size:16px;background:#fff;outline:none}
.oef-spell input:focus{border-color:var(--blue)}
.oef-spell button{height:38px;padding:0 14px;border:1px solid var(--ink);background:var(--ink);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.oef-item.is-right .oef-spell input{border-color:var(--green);color:var(--green)}
.oef-item.is-wrong .oef-spell input{border-color:var(--red);color:var(--red);text-decoration:line-through}

.oef-note{display:none;flex-basis:100%;font-size:13px;color:var(--muted)}
.oef-item.is-done .oef-note{display:block}
.oef-correct{display:none;margin-right:8px;font-weight:700;color:var(--green)}
.oef-item.is-wrong .oef-correct{display:inline}

.oef-repeat{display:grid;gap:10px}
.oef-line{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);padding:12px 16px}
.oef-nl{font-size:17px;font-weight:600}
.oef-zh{font-size:13.5px;color:var(--muted)}
.oef-task{margin-top:16px;padding:16px 18px;background:var(--yellow);border:1px solid var(--yellow-line);font-size:15px}
.oef-task b{display:block;margin-bottom:4px;font-size:13px;letter-spacing:.06em;color:var(--blue)}


/* 看单词选读音：圆形播放按钮 + 旁边的选项 */
.oef-word{font-size:22px;font-weight:700;letter-spacing:.01em}
.oef-sound-opts{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;flex-basis:100%}
.oef-sound-opt{display:flex;align-items:center;gap:8px}
.oef-test-word{margin-top:16px;font-size:40px;font-weight:700;letter-spacing:.01em}
.oef-test-answer .oef-sound-opts{justify-content:center;gap:14px 32px}

/* 每题右上角「再做一次」：答完才出现，很淡 */
.oef-redo{position:absolute;top:6px;right:6px;display:none;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:0;background:transparent;color:#B8B8B8;cursor:pointer;border-radius:50%}
.oef-redo svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.oef-redo:hover{color:var(--ink);background:#F2F2F2}
.oef-item.is-done .oef-redo{display:inline-flex}
.oef-dline{position:relative}

/* 第一次填名字 */
.oef-name-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(23,23,23,.45)}
.oef-name-card{width:min(400px,100%);padding:26px 24px 22px;background:#fff;border:1px solid var(--line)}
.oef-name-title{font-size:19px;font-weight:700}
.oef-name-card p{margin:8px 0 16px;font-size:14px;color:var(--text);line-height:1.7}
.oef-name-card input{width:100%;height:44px;padding:0 12px;border:1px solid #D4D4D4;border-radius:0;font:inherit;font-size:16px;outline:none}
.oef-name-card input:focus{border-color:var(--blue)}
.oef-name-card button{width:100%;height:44px;margin-top:12px;border:0;background:var(--ink);color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.oef-name-card button:hover{background:var(--blue)}
.oef-me{display:block;margin-bottom:2px;font-weight:600;color:var(--ink)}
.oef-me .oef-clear{display:inline;margin:0}

/* 进度 */
.oef-progress:empty{display:none}
.oef-progress{margin:16px 0 0;padding:12px 14px;background:var(--yellow);border:1px solid var(--yellow-line);font-size:14px;color:var(--text)}
.oef-progress b{display:block;margin-bottom:2px;font-size:12px;letter-spacing:.06em;color:var(--orange)}
.oef-clear{display:block;margin-top:6px;padding:0;border:0;background:none;color:var(--muted);font:inherit;font-size:12.5px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.oef-back{display:inline-block;margin-bottom:14px;font-size:13.5px;color:var(--muted);text-decoration:none}
.oef-back:hover{color:var(--ink)}

/* 老师查看页 */
.oef-docent-login{margin-top:20px}
.oef-row{display:flex;max-width:360px;margin-top:12px}
.oef-row input{flex:1;height:42px;padding:0 12px;border:1px solid #D4D4D4;border-right:0;font:inherit;font-size:15px;outline:none}
.oef-row button,.oef-reset-code{height:42px;padding:0 18px;border:1px solid var(--ink);background:var(--ink);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.oef-reset-code{margin-top:14px;background:#fff;color:var(--ink)}
.oef-table-wrap{margin-top:16px;overflow-x:auto;border:1px solid var(--line)}
.oef-table{width:100%;border-collapse:collapse;font-size:14px;background:#fff}
.oef-table th{position:sticky;top:0;padding:10px 14px;background:var(--yellow);text-align:left;font-size:13px;white-space:nowrap}
.oef-table td{padding:10px 14px;border-top:1px solid var(--line);vertical-align:top;line-height:1.6;white-space:nowrap}
.oef-t-name{font-weight:700}
.oef-t-empty{color:#B5B5B5}
.oef-t-time{color:var(--muted);font-size:13px}

/* 课后练习总目录 */
.oef-hub{display:grid;gap:10px;margin-top:26px}
.oef-hub-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:6px 16px;padding:16px 18px;background:#fff;border:1px solid var(--line);color:var(--ink);text-decoration:none}
a.oef-hub-row:hover{border-color:var(--ink)}
.oef-hub-no{font-size:12px;font-weight:700;letter-spacing:.08em;color:var(--orange)}
.oef-hub-title{font-size:16.5px;font-weight:700}
.oef-hub-meta{grid-column:2 / 3;font-size:13px;color:var(--muted)}
.oef-hub-meta.is-done{color:var(--green)}
.oef-hub-go{grid-row:1 / span 2;grid-column:3;font-size:18px}
.oef-hub-row.is-locked{background:#FAFAFA;color:var(--muted)}
.oef-hub-row.is-locked .oef-hub-no{color:#B5B5B5}
.oef-hub-row.is-locked .oef-hub-title{font-weight:600}
@media (max-width:640px){.oef-hub-row{grid-template-columns:34px minmax(0,1fr) auto;gap:4px 12px;padding:14px}}

/* 字母表复习 */
.oef-alpha{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px}
.oef-letter{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:0 2px;height:64px;border:1px solid var(--line);background:#fff;color:var(--ink);font:inherit;cursor:pointer}
.oef-letter b{font-size:22px;line-height:1}
.oef-letter b small{margin-left:2px;font-size:15px;font-weight:600}
.oef-letter span{margin-top:4px;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12.5px;color:var(--muted)}
.oef-letter.is-playing span{color:var(--blue)}
.oef-alpha-tip{margin-top:12px;padding:12px 14px;border-left:3px solid var(--blue);background:var(--blue-pale);font-size:15px;min-height:20px}
.oef-letter:hover{border-color:var(--blue)}
.oef-letter.is-playing{border-color:var(--blue);background:var(--blue-pale);color:var(--blue)}
@media (max-width:640px){.oef-alpha{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.oef-letter{height:54px}.oef-letter b{font-size:19px}}

/* 先听：长短元音对照卡（左短右长，不写字，用 hint 说明） */
.oef-learn{display:grid;gap:10px}
.oef-pair{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);background:#fff}
.oef-pair-col{padding:12px 16px}
.oef-pair-col+.oef-pair-col{border-left:1px solid var(--line)}
.oef-vowel{display:inline-flex;align-items:center;gap:8px;margin:0 0 6px;padding:0;border:0;background:none;font:700 32px/1.1 Inter,sans-serif;color:var(--ink);cursor:pointer}
.oef-vowel svg{box-sizing:border-box;width:24px;height:24px;padding:4px;border:1px solid var(--blue);fill:var(--blue)}
.oef-vowel:hover svg,.oef-vowel.is-playing svg{background:var(--blue);fill:#fff}
.oef-vowel:hover,.oef-vowel.is-playing{color:var(--blue)}
.oef-pair-words{display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.oef-pair-word{display:flex;align-items:center;gap:8px}
.oef-pair-word .oef-zh{margin:0;font-size:13px;color:var(--muted)}
/* 无边框的小三角播放按钮 */
.oef-play.oef-wplay{height:30px;min-width:0;padding:0;border:0;border-radius:0;background:none;color:var(--ink);font-size:15px;font-weight:500;gap:6px}
.oef-play.oef-wplay svg{box-sizing:border-box;width:20px;height:20px;padding:3px;border:1px solid var(--blue);fill:var(--blue)}
.oef-play.oef-wplay:hover svg,.oef-play.oef-wplay.is-playing svg{background:var(--blue);fill:#fff}
.oef-play.oef-wplay:hover,.oef-play.oef-wplay.is-playing{background:none;color:var(--ink)}
/* 二选一答完后的对比 */
.oef-compare{display:flex;flex-wrap:wrap;gap:4px 18px;margin-top:6px}
/* 先自己读 */
.oef-selfread{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.oef-sr{position:relative;padding:12px 44px 12px 14px;border:1px solid var(--line);background:#fff}
.oef-sr-word{font:700 20px/1.2 Inter,sans-serif}
.oef-sr .oef-wplay{position:absolute;top:12px;right:12px}
.oef-sr .oef-wplay svg{width:26px;height:26px;padding:5px}
.oef-result-weak{margin:10px 0 0;font-size:15px}
.oef-result-weak b{color:var(--blue)}

/* 选择题里的一问一答 */
.oef-qa{flex-basis:100%;display:grid;gap:4px;padding:2px 0 4px}
.oef-qa-line{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;align-items:start}
.oef-qa-line .oef-who{margin-top:3px}
.oef-qa .oef-nl{font-size:16px;font-weight:600}
.oef-gap{display:inline-block;min-width:3.5em;border-bottom:2px solid var(--blue);background:var(--yellow);text-align:center;color:transparent}
.oef-gap.is-filled{color:var(--green);background:var(--green-pale);border-bottom-color:transparent;padding:0 4px}
.oef-fill.is-filled{color:var(--green);background:var(--green-pale);padding:0 4px}
.oef-test-qa{max-width:420px;margin:18px auto 0;text-align:left}

/* 对话填空 */
.oef-dialog{display:grid;gap:8px}
.oef-playall{justify-self:start;display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px 0 11px;margin-bottom:6px;border:1px solid var(--blue);background:#fff;color:var(--blue);font:inherit;font-size:13.5px;font-weight:600;cursor:pointer;border-radius:0}
.oef-playall svg{width:14px;height:14px;fill:currentColor}
.oef-playall:hover{background:var(--blue);color:#fff}
.oef-dline{display:grid;grid-template-columns:24px 38px minmax(0,1fr);align-items:start;gap:4px 10px;padding:10px 14px;background:#fff;border:1px solid var(--line)}
.oef-dline.is-speaking{border-color:var(--blue);background:var(--blue-pale)}
.oef-dline.oef-item{display:grid}
.oef-who{margin-top:9px;font-size:12px;font-weight:700;color:var(--orange)}
.oef-who.is-b{color:var(--blue)}
.oef-dtext{min-width:0;padding-top:5px}
.oef-dtext .oef-nl{font-size:16.5px;font-weight:600;line-height:1.6}
.oef-dtext .oef-zh{margin-top:1px}
.oef-dtext .oef-note{margin-top:4px}
.oef-inline{display:inline;flex:none;min-width:0}
.oef-inline input{display:inline-block;height:30px;margin:0 3px;padding:0 6px;border:0;border-bottom:2px solid var(--blue);background:var(--yellow);font:inherit;font-weight:600;text-align:center;vertical-align:baseline;outline:none;border-radius:0}
.oef-inline input:focus{background:#FFF6BF}
.oef-inline button{display:inline-block;height:28px;margin-left:8px;padding:0 10px;border:1px solid var(--ink);background:var(--ink);color:#fff;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;vertical-align:middle}
.oef-item.is-done .oef-inline button{display:none}
.oef-item.is-right .oef-inline input{border-bottom-color:var(--green);color:var(--green);background:var(--green-pale)}
.oef-item.is-wrong .oef-inline input{border-bottom-color:var(--red);color:var(--red);background:var(--red-pale);text-decoration:line-through}
.oef-test-cloze{margin-top:20px;font-size:20px;font-weight:600;line-height:1.7}
.oef-test-cloze .oef-inline input{font-size:20px;height:36px}
.oef-test-cloze .oef-zh{font-size:14px;font-weight:400;margin-top:6px}

/* 最终测试 */
.oef-test{max-width:520px;margin:10px auto 0;text-align:center}
.oef-test-progress{height:4px;background:#F0F0F0}
.oef-test-progress span{display:block;height:100%;background:var(--orange);transition:width .3s}
.oef-test-count{margin-top:14px;font-size:13px;color:var(--muted)}
.oef-test-q{margin-top:18px;font-size:18px;font-weight:700}
.oef-test-play{margin-top:18px}
.oef-test-play .oef-play{width:64px;height:64px}
.oef-test-play .oef-play svg{width:26px;height:26px}
.oef-test-answer{margin-top:22px}
.oef-test-answer .oef-options{justify-content:center}
.oef-test-answer .oef-opt{min-width:88px;height:44px;font-size:16px}
.oef-test-answer .oef-spell{max-width:360px;margin:0 auto}
.oef-result{padding:6px 0 4px}
.oef-result-say{font-family:"Caveat",cursive;font-size:30px;color:var(--orange);line-height:1.1}
.oef-result strong{display:block;margin-top:8px;font-size:46px;line-height:1.1}
.oef-result-pct{font-size:14px;color:var(--muted)}
.oef-result-list{margin:22px 0 0;text-align:left;border-top:1px solid var(--line)}
.oef-result-head{padding:10px 0 4px;font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--muted)}
.oef-result-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.oef-result-row b{display:block;font-size:15px}
.oef-result-row span{color:var(--muted);font-size:13px}
.oef-result-row em{margin-left:auto;font-style:normal;color:var(--red);font-size:13px;white-space:nowrap}
.oef-result-all{margin-top:16px;color:var(--green);font-weight:600}
.oef-retest{margin-top:22px;height:42px;padding:0 22px;border:1px solid var(--ink);background:var(--ink);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.oef-retest:hover{background:var(--blue);border-color:var(--blue)}

@media (max-width:820px){
  .oef-work{grid-template-columns:1fr;gap:0}
  .oef-tabs{position:static;flex-direction:row;overflow-x:auto;scrollbar-width:none;border:0;background:transparent;gap:6px}
  .oef-tabs::-webkit-scrollbar{display:none}
  .oef-tab{flex:none;min-height:40px;border:1px solid var(--line);border-bottom:0;background:#F5F5F5;padding:0 10px;font-size:13px}
  .oef-tab:first-child{border-top:1px solid var(--line)}
  .oef-tab.is-test{border-top:1px solid var(--line)}
  .oef-tab.is-active{background:var(--yellow);flex:1 0 auto}
  .oef-tab:not(.is-active) b{display:none}
  .oef-card{min-height:0}
}
@media (max-width:640px){
  .oef-wrap{padding:32px 16px 80px}
  .oef-card{padding:20px 14px 18px;margin:0 -2px}
  .oef-grid{grid-template-columns:1fr}
}

/* 老师查看：薄弱环节 */
.oef-weak-h{margin:32px 0 10px;font-size:18px}
.oef-bar{display:inline-block;width:70px;height:6px;margin-right:8px;vertical-align:middle;background:var(--line)}
.oef-bar i{display:block;height:100%;background:var(--blue)}
.oef-weak-items{margin-top:10px;font-size:13.5px;color:var(--muted);line-height:1.9}
.oef-weak-items span{margin-right:14px;white-space:nowrap}
.oef-weak-items b{color:var(--ink)}

/* 规则卡片（特殊字母、元音组合） */
.oef-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.oef-rule{border:1px solid var(--line);padding:14px 16px;background:#fff}
.oef-rule-head{display:flex;align-items:baseline;gap:10px;margin-bottom:10px}
.oef-rule-head b{font-size:22px;font-weight:700;color:var(--ink);white-space:nowrap}
.oef-rule-head span{font-size:13.5px;color:var(--muted);line-height:1.5}
.oef-rule-more{margin:-2px 0 12px;font-size:13.5px;color:var(--text);line-height:1.65}
.oef-rule-more summary{display:inline-block;cursor:pointer;font-size:13px;font-weight:600;color:var(--muted);list-style:none}
.oef-rule-more summary::-webkit-details-marker{display:none}
.oef-rule-more summary::before{content:"▸ "}
.oef-rule-more[open] summary::before{content:"▾ "}
.oef-rule-more p{margin:6px 0 0;padding-left:12px;border-left:3px solid var(--line)}
.oef-rule-words{display:flex;flex-direction:column;gap:2px}
.oef-subhead{margin:26px 0 12px;font-size:16px;font-weight:700}
@media(max-width:600px){.oef-rules{grid-template-columns:1fr}}
/* 看词读出来 */
.oef-item-speak .oef-word{font-size:20px;font-weight:700}
.oef-mic{display:inline-flex;align-items:center;gap:6px;height:36px;margin-left:auto;padding:0 12px;border:1px solid var(--ink);background:#fff;color:var(--ink);font:inherit;font-size:13px;font-weight:600;cursor:pointer;border-radius:0}
.oef-mic svg{width:15px;height:15px;fill:currentColor}
.oef-mic:hover{background:var(--ink);color:#fff}
.oef-mic.is-recording{border-color:var(--red);background:var(--red);color:#fff;animation:oef-rec 1.2s ease-in-out infinite}
@keyframes oef-rec{50%{opacity:.65}}
.oef-heard{flex-basis:100%;font-size:13px;color:var(--muted)}
.oef-heard:empty{display:none}
.oef-heard.is-ok{color:var(--green);font-weight:600}
.oef-heard.is-miss{color:#9A6A12}
.oef-item-speak.is-wrong{border-color:#E8D6B0;background:#FFFDF7}
.oef-speak-note{margin-top:4px}
.oef-say-word{display:inline-flex;align-items:center;gap:8px;vertical-align:middle}
.oef-say-word .oef-zh{font-size:13px;color:var(--muted)}
/* 长短元音卡片里老师的「音似」 */
.oef-vtip{margin:6px 0 4px;font-size:13px;color:var(--text)}
.oef-vtip b{color:var(--orange);font-weight:600}
/* 冷知识 */
.oef-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.oef-fact{display:flex;flex-direction:column;gap:2px;border:1px solid var(--line);padding:12px 14px;background:#fff}
.oef-fact .oef-wplay{font-size:17px;font-weight:600;justify-content:flex-start}
.oef-fact mark{background:none;color:var(--orange);font-weight:700}
.oef-fact .oef-zh{font-size:13px;color:var(--muted);padding-left:26px}
@media(max-width:600px){.oef-facts{grid-template-columns:1fr}}
.oef-gapword{flex:1;min-width:150px;font-size:22px;font-weight:700;letter-spacing:.04em}
.oef-gapword .oef-spell{align-items:center;flex-wrap:wrap}
.oef-gapword input{font-size:20px;font-weight:700;text-align:center;border-right:1px solid #D4D4D4!important;margin:0 2px}
.oef-gapword button{margin-left:10px}
.oef-ask-zh{flex-basis:100%;font-size:13px;color:var(--muted)}
.oef-item-ask .oef-word{font-size:17px;flex:1 1 180px;min-width:0}
/* 题目一行、选项一行一个（个人信息问答、音节、数字配对） */
.oef-item-q .oef-item-top{flex-basis:100%}
.oef-item-q .oef-options,.oef-item-q .oef-options.is-stacked{flex-basis:100%;flex-direction:column;align-items:stretch}
.oef-item-q .oef-opt{width:100%;height:auto;min-height:42px;padding:9px 14px;text-align:left}
/* 读出来：题目一行，下面一行是「读一遍」+ 结果 */
.oef-item-speak .oef-item-top{flex-basis:100%}
.oef-item-speak .oef-mic{margin-left:0;flex:none}
.oef-item-speak .oef-heard{flex:1 1 140px}
.oef-item-speak .oef-ask-zh{margin-top:-4px}
.oef-ask-hint{flex-basis:100%;font-size:14px;color:var(--text)}
.oef-ask-hint b{font-weight:700;color:var(--ink)}
.oef-item-ask .oef-item-top .oef-zh{font-size:13px;color:var(--muted);margin-left:2px}
.oef-item-ask .oef-mic span{font-size:14px}
.oef-item-ask .oef-item-top{flex-wrap:wrap;row-gap:2px}
.oef-item-ask .oef-item-top .oef-word{white-space:normal}
.oef-explain{display:grid;gap:4px;margin-top:8px;padding:10px 12px;background:#FAF8F2;border-left:3px solid var(--line);font-size:13.5px;color:var(--text);line-height:1.6}
.oef-explain b{font-weight:600;color:var(--ink);margin-right:6px}
/* 点词释义：答完才有虚线 */
.oef-w{pointer-events:none}
.is-done .oef-w,.oef-glall .oef-w{pointer-events:auto;cursor:pointer;text-decoration:underline dotted 1.5px #9FA9B5;text-underline-offset:4px}
.is-done .oef-w:hover,.is-done .oef-w.is-on,.oef-glall .oef-w:hover,.oef-glall .oef-w.is-on{text-decoration-color:var(--ink);text-decoration-style:solid;background:#E4ECF7}
.oef-gloss{position:absolute;z-index:60;max-width:min(260px,calc(100vw - 24px));padding:8px 11px;background:#fff;border:1px solid #CBD5DD;box-shadow:0 6px 20px rgba(23,34,56,.14);font-size:13.5px;line-height:1.5;color:var(--ink)}
.oef-gloss[hidden]{display:none}
.oef-gloss b{font-size:15px}
.oef-gloss small{display:block;margin-top:2px;font-size:12px;color:var(--muted)}
.oef-gloss-hint{display:block;margin-top:4px;font-size:12px;color:var(--blue)}
/* 答完以后选项里的小播放键 */
.oef-optplay{display:none}
.is-done .oef-opt .oef-optplay{display:inline-flex;float:right;width:24px;height:24px;min-width:0;padding:0;margin:-1px -4px 0 10px}
.is-done .oef-opt .oef-optplay svg{width:12px;height:12px}
/* 排句子 */
.oef-build-zh{font-size:14px;color:var(--text)}
.oef-build-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px;flex-basis:100%;min-height:46px;padding:4px 0 10px;border-bottom:1px dashed #D4D4D4}
.oef-build-line:empty:before{content:'点下面的词，按顺序排成句子';font-size:13px;color:var(--muted)}
.oef-picked{height:36px;padding:0 12px;border:1px solid var(--ink);background:#fff;color:var(--ink);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.oef-item.is-done .oef-picked{cursor:default}
.oef-item.is-right .oef-picked{border-color:var(--green);color:var(--green);background:var(--green-pale)}
.oef-item.is-wrong .oef-picked{border-color:var(--red);color:var(--red);background:var(--red-pale)}
.oef-build-end{font-size:18px;font-weight:700;margin-left:-4px}
.oef-build-pool{flex-basis:100%}
.oef-tile.is-used{visibility:hidden}
.oef-item.is-done .oef-build-pool{display:none}
.oef-after{display:none}
.is-done .oef-after{display:inline-flex}
.oef-build-pool.is-stacked,.oef-build-pool{flex-direction:row!important;flex-wrap:wrap;align-items:center!important}
.oef-build-pool .oef-opt{width:auto!important}
/* 卡片里的图、表格、小钟面 */
.oef-rules-wide{grid-template-columns:1fr}
.oef-rule-img{display:block;width:100%;max-width:420px;margin:4px auto 12px}
.oef-rtable{width:100%;border-collapse:collapse;font-size:14px;margin:4px 0 10px}
.oef-rtable th,.oef-rtable td{border:1px solid var(--line);padding:7px 9px;text-align:left;vertical-align:top}
.oef-rtable thead th{background:#FAF8F2;font-size:12.5px;color:var(--muted);font-weight:600}
.oef-rtable tbody th{font-weight:700;color:var(--ink);white-space:nowrap}
.oef-clock-words{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.oef-clock-words .oef-pair-word{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:8px;border:1px solid var(--line)}
.oef-clock{width:58px;height:58px}
/* 开头的人物 + 气泡 */
.oef-figure{display:flex;align-items:flex-end;gap:12px;margin:0 0 16px}
.oef-figure img{width:96px;flex:none}
.oef-bubble{position:relative;flex:1;display:flex;gap:10px;align-items:flex-start;background:#FCF8D8;border:1.5px solid var(--ink);padding:12px 14px;line-height:1.5}
.oef-bubble .oef-nl{font-weight:700;color:var(--ink);font-size:15px}
.oef-bubble .oef-zh{font-size:12.5px;color:var(--muted);margin-bottom:4px}
.oef-gapword .oef-spell{font-size:18px}
.oef-clock-words{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:640px){.oef-clock-words{grid-template-columns:repeat(4,minmax(0,1fr))}}
.oef-rules-wide .oef-rule-head{flex-direction:column;align-items:flex-start;gap:4px}
.oef-clock-words .oef-wplay{text-align:left;justify-content:flex-start;height:auto;min-height:30px}
.oef-clock-words .oef-wplay span{line-height:1.35}
.oef-figure img{width:76px}
.oef-bubble .oef-nl{font-size:14px}
.oef-bubble .oef-zh{font-size:12px}
.oef-build-gloss{margin-top:6px;font-size:15px;font-weight:600;color:var(--ink)}
.oef-build-gloss .oef-zh{margin-left:8px;font-weight:400}
.oef-figure .oef-w{pointer-events:auto}
/* 规则卡：灰色说明放在标题下面；例句荷兰语和中文放得下就同一行，放不下自动换成两行 */
.oef-rule-head{flex-direction:column;align-items:flex-start;gap:4px}
.oef-rule-head span:empty{display:none}
.oef-rule-words .oef-pair-word{display:flex;flex-wrap:wrap;align-items:center;column-gap:8px;row-gap:0}
.oef-rule-words .oef-pair-word .oef-wplay{text-align:left;height:auto;min-height:30px}
.oef-rule-words .oef-pair-word .oef-zh{padding-left:26px}
.oef-rule-words .oef-pair-word .oef-wplay + .oef-zh{padding-left:0}
.oef-rtable tbody th{line-height:1.4}
.oef-rtable tbody th small{display:block;font-size:12px;font-weight:400;color:var(--muted);white-space:normal}
.oef-rule-words .oef-pair-word.oef-pair-sent{display:block;margin-bottom:6px}
.oef-rule-words .oef-pair-sent .oef-wplay{display:flex}
.oef-rule-words .oef-pair-sent .oef-zh{display:block;padding-left:26px;margin-top:1px}
.oef-rule-words .oef-pair-word.oef-pair-sent .oef-wplay + .oef-zh{padding-left:26px}
.oef-lead{margin:2px 0 2px;color:var(--text)}
.oef-lead b{font-weight:700;color:var(--ink);margin-right:8px}
.oef-subj{color:#2F5DA8;font-weight:700}
.oef-verb{color:#C76B4A;font-weight:700}
/* Les 7：组上面的小提示、看图题、纠错句、自己写整句、半句排序 */
.oef-tipbar{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 16px}
.oef-tipbar > span{padding:5px 10px;border:1px solid var(--line);background:#FAF8F2;font-size:13.5px;font-weight:600;color:var(--ink)}
.oef-tipbar > span.is-key{border-color:#BFD3EC;background:var(--blue-pale);color:#1F4170}
.oef-pic{font-size:30px;line-height:1;margin-right:2px}
.oef-test-word .oef-pic{font-size:44px;display:block;margin-bottom:8px}
.oef-scene{display:block;flex-basis:100%;width:100%;max-width:420px;margin:0 0 12px;border:1px solid var(--line)}
.oef-test .oef-scene{margin:0 auto 14px}
.oef-bad{flex-basis:100%;display:flex;align-items:baseline;gap:8px;padding:8px 12px;margin:2px 0 4px;background:var(--red-pale);color:var(--red);font-size:16px;font-weight:600}
.oef-bad b{text-decoration:none;display:inline-block}
.oef-test .oef-bad{justify-content:center;margin:0 0 14px}
.oef-keys{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.oef-keys span{padding:3px 9px;border:1px dashed #BDB6A8;color:var(--ink);font-size:14px;font-weight:600}
.oef-write{flex-basis:100%;display:flex;gap:8px}
.oef-write input{flex:1;min-width:0}
.oef-build-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;flex-basis:100%;border-bottom:1px dashed #D4D4D4}
.oef-build-row .oef-build-line{flex:1;flex-basis:auto;min-width:160px;border-bottom:0}
.oef-build-pre{font-size:15px;font-weight:600;color:var(--muted);padding-bottom:6px}
.oef-mark-line{margin:4px 0 6px;font-size:15px;font-weight:600;color:var(--ink)}
.oef-inf{text-decoration:underline;text-decoration-color:var(--verb,#C76B4A);text-underline-offset:4px}
.oef-test-build{display:block;text-align:left;border:0;padding:0;background:none}
.oef-test-build .oef-build-pool{display:flex!important;gap:8px;margin-top:12px}
.oef-test-build.is-done .oef-build-pool{display:none!important}
.oef-test-zh{font-size:18px}
.oef-test-word.is-long{font-size:22px;line-height:1.4}
.oef-picq{display:flex;align-items:center;gap:12px;flex-basis:100%;flex-wrap:nowrap}
.oef-picq .oef-options{flex:none;flex-wrap:nowrap}
.oef-tipbar span b{font-weight:600}
.oef-tipbar span em{display:block;margin-top:3px;font-style:normal;font-weight:600;font-size:15px}
.oef-tipbar span em .oef-verb{font-weight:700}
/* 看图题：一张图 + 几道题一个框 */
.oef-scene-group{border:1px solid var(--line);background:#fff;padding:14px}
.oef-scene-group .oef-scene{margin:0 0 4px}
.oef-card .oef-scene-group .oef-item{border:0;border-top:1px dashed var(--line);padding:14px 0 4px;background:none}
.oef-card .oef-scene-group .oef-scene + .oef-item{border-top:0}
.oef-scene-group .oef-redo{right:0}
/* 答完以后颜色淡一点（和 A1 词汇测试一样）：框不变色，只给选中的答案浅浅的底色，文字保持黑色 */
.oef-card .oef-item.is-right,.oef-card .oef-item.is-wrong,.oef-item.is-right,.oef-item.is-wrong,.oef-item-speak.is-wrong{background:#fff;border-color:var(--line)}
.oef-opt.is-right,.oef-opt.is-answer{background:#EDF8EF;border-color:#9DBDA3;color:var(--ink)}
.oef-opt.is-wrong{background:#FFF0EF;border-color:#D2A4A0;color:var(--ink)}
.oef-item.is-right .oef-spell input,.oef-item.is-right .oef-inline input{border-color:#9DBDA3;color:var(--ink);background:#EDF8EF}
.oef-item.is-wrong .oef-spell input,.oef-item.is-wrong .oef-inline input{border-color:#D2A4A0;color:var(--muted);background:#FFF0EF}
.oef-item.is-right .oef-picked{border-color:#9DBDA3;color:var(--ink);background:#EDF8EF}
.oef-item.is-wrong .oef-picked{border-color:#D2A4A0;color:var(--ink);background:#FFF0EF}
.oef-correct{color:var(--ink);font-weight:600}
.oef-item.is-done .oef-note{margin-top:2px;padding-top:10px;border-top:1px solid var(--line)}
/* 测试结果：每道错题上下排，不分左右 */
.oef-result-row{display:grid;grid-template-columns:auto 1fr;column-gap:12px;row-gap:3px;align-items:start;text-align:left}
.oef-result-row > div{min-width:0}
.oef-result-row span{display:block;margin-top:2px;line-height:1.5}
.oef-result-row em{grid-column:2;margin-left:0;white-space:normal;color:#A4504A}
.oef-item-build .oef-item-top,.oef-item-write .oef-item-top{flex:1 1 100%;min-width:0;padding-right:22px}
.oef-build-zh{flex:1;min-width:0}
/* Les 8：先选喜欢哪个，再选后半句 */
.oef-prefs{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px}
.oef-pref{min-height:40px;padding:8px 16px;border:1px solid #CFCAC0;background:#fff;color:var(--ink);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.oef-pref.is-on{border-color:var(--ink);background:#FAF8F2}
.oef-item.is-done .oef-pref{cursor:default}
.oef-pref-step{flex-basis:100%;display:flex;flex-direction:column;gap:8px}
.oef-pref-step[hidden],.oef-pref-res[hidden]{display:none}
.oef-pref-start{font-size:17px;font-weight:700;color:var(--ink)}
.oef-pref-step .oef-options{flex-direction:column;align-items:stretch}
.oef-pref-step .oef-opt{width:100%;text-align:left;height:auto;min-height:42px;padding:9px 14px}
/* 听力 */
.oef-listen .oef-listen-play,.oef-listen > .oef-playall{margin-bottom:12px;height:44px;padding:0 18px 0 14px;font-size:15px}
.oef-listen-lock{margin:12px 0 0;font-size:13px;color:var(--muted)}
.oef-listen-lock[hidden],.oef-transcript[hidden]{display:none}
.oef-transcript{margin-top:14px;border:1px solid var(--line);padding:10px 14px;background:#fff}
.oef-transcript summary{cursor:pointer;font-weight:600;color:var(--ink)}
.oef-tline{margin-top:8px}
.oef-tline .oef-nl{font-weight:600;color:var(--ink)}
.oef-tline .oef-zh{font-size:13px;color:var(--muted)}
/* 写作小任务 */
.oef-taskbox{margin:0 0 14px;padding:12px 14px;background:#FCF8D8;border:1.5px solid var(--ink);line-height:1.6}
.oef-taskbox > b{display:block;font-size:12px;letter-spacing:.08em;color:var(--terra,#C76B4A)}
.oef-taskbox .oef-nl{font-weight:600;color:var(--ink)}
.oef-taskbox .oef-zh{font-size:14px;color:var(--text)}
.oef-checks{flex-basis:100%;display:flex;flex-direction:column;gap:6px}
.oef-check{display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid var(--line);font-size:15px;cursor:pointer}
.oef-check input{width:18px;height:18px;margin:0}
.oef-check.is-answer{background:#EDF8EF;border-color:#9DBDA3}
.oef-check.is-wrong{background:#FFF0EF;border-color:#D2A4A0}
.oef-check.is-off{color:var(--muted)}
.oef-check-go{height:40px;padding:0 18px;border:0;background:var(--ink);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.oef-item.is-done.oef-item-multi .oef-check-go{display:none}
.oef-letter{flex-basis:100%;width:100%;min-height:120px;padding:10px 12px;border:1px solid #CFCAC0;font:inherit;font-size:15px;line-height:1.55;resize:vertical}
.oef-letter-checks{list-style:none;margin:0 0 10px;padding:0;font-size:14px;line-height:1.8}
.oef-letter-checks .is-ok{color:var(--ink)}
.oef-letter-checks .is-miss{color:#A4504A}
.oef-model{padding:10px 12px;background:#FAF8F2}
.oef-model > b{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}
.oef-model .oef-nl{font-weight:600;color:var(--ink);font-size:14.5px}
.oef-model .oef-zh{font-size:12.5px;color:var(--muted);margin-bottom:4px}
.oef-taskbox .oef-nl{font-size:15px;line-height:1.5}
.oef-taskbox .oef-zh{font-size:13px;margin-top:4px}
.oef-tline .oef-nl{font-size:15px}
/* 排句子：不再在横线里写提示（提示放在这一组开头），空着的时候就是一条横线 */
.oef-build-line:empty:before{content:none}
.oef-build-line{border-bottom:1.5px solid #9A948A;padding-bottom:6px}
.oef-build-row{border-bottom:0}
.oef-build-row .oef-build-line{border-bottom:1.5px solid #9A948A}
.oef-build-row .oef-build-pre{padding-bottom:0}
/* 答完以后少一点字：问句中文放问句下面，正确选项里直接写中文 */
.oef-qzh{display:none;flex-basis:100%;margin-top:-6px;font-size:13px;color:var(--muted)}
.oef-item.is-done .oef-qzh{display:block}
.oef-opt-tr{display:none}
.oef-item.is-done .oef-opt-tr{display:block;margin-top:2px;font-size:12.5px;font-weight:400;color:var(--muted)}
.oef-grid-wide .oef-item-q .oef-word{font-size:19px;line-height:1.35}
/* 两步题答对以后：选项收起来，只留填好的整句 + ▶ 中文 */
.oef-item-pref.is-right .oef-pref-step .oef-options{display:none}
.oef-item-pref .oef-pref-start .oef-gap.is-filled{font-size:inherit}
.oef-pref-res .oef-wplay{text-align:left;height:auto;min-height:28px;color:var(--muted);font-weight:400;font-size:13.5px}
.oef-pref-res .oef-wplay span{color:var(--muted)}
/* Les 9：题目上方的中文情境、其他说法 */
.oef-ctx{flex-basis:100%;margin-top:-4px;font-size:14px;color:var(--text)}
.oef-models{margin-top:10px;padding:8px 12px;background:#FAF8F2}
.oef-models > b{display:block;font-size:12px;color:var(--muted);margin-bottom:2px}
.oef-models .oef-build-gloss{margin-top:4px;font-size:14.5px}
.oef-models .oef-wplay{vertical-align:middle}
.oef-card > .oef-table-wrap{margin:-4px 0 16px}
.oef-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.oef-cards,.oef-card{min-width:0}
.oef-card > .oef-table-wrap .oef-rtable{font-size:13px}
.oef-card > .oef-table-wrap .oef-rtable th,.oef-card > .oef-table-wrap .oef-rtable td{padding:6px 7px}
.oef-test-ctx{margin-top:6px;font-size:15px;color:var(--text)}
.oef-taskbox p{margin:0 0 4px}
.oef-task-list{margin:2px 0 6px;padding-left:20px}
.oef-task-list li{margin:1px 0}
.oef-taskbox .oef-zh{margin-top:8px;padding-top:6px;border-top:1px dashed #D8CFA0}
.oef-task-zh{margin-top:8px;padding-top:6px;border-top:1px dashed #D8CFA0}
.oef-task-zh summary{cursor:pointer;font-size:13px;color:var(--muted)}
.oef-task-zh .oef-zh{margin-top:6px;padding-top:0;border-top:0}
.oef-card > .oef-table-wrap .oef-rtable td{line-height:1.55}
.oef-tzh{font-size:12.5px;color:var(--muted)}
.oef-card > .oef-table-wrap .oef-rtable tbody th{white-space:normal;width:38%}
.oef-card > .oef-table-wrap .oef-rtable tbody th small{line-height:1.45;margin-top:2px}
.oef-card > .oef-table-wrap .oef-rtable td{font-weight:600;color:var(--ink)}
.oef-card > .oef-table-wrap .oef-rtable td .oef-tzh{font-weight:400}
/* 读一读：录下自己读的，回放，再和老师的比 */
.oef-rec-row{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px}
.oef-item-speak .oef-rec-row .oef-mic{margin-left:0}
.oef-mine{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border:1px solid var(--blue);background:#fff;color:var(--blue);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.oef-mine[hidden]{display:none}
.oef-mine svg{width:13px;height:13px;fill:currentColor}
.oef-say-pattern{flex-basis:100%;font-size:14px;color:var(--text)}
.oef-say-pattern b{color:var(--ink)}
/* 课后练习目录：按知识点分组 */
.oef-hub-group{display:grid;gap:10px}
.oef-hub-group + .oef-hub-group{margin-top:22px}
.oef-hub-head h2{margin:0;font-size:19px;color:var(--ink)}
.oef-hub-head p{margin:2px 0 0;font-size:13px;color:var(--muted)}
.oef-hub-title small{display:block;margin-top:3px;font-size:12.5px;font-weight:400;color:var(--muted)}
.oef-hub-more{margin:22px 0 0;font-size:13px;color:var(--muted)}

/* 听力题答完的对话原文 */
.oef-script{margin:6px 0 4px;padding:8px 10px;background:#FAF8F2}
.oef-script-line{display:flex;gap:8px;align-items:flex-start;margin:4px 0}
.oef-script-line .oef-nl{font-size:14px;font-weight:600;color:var(--ink)}
.oef-script-line .oef-zh{font-size:12.5px;color:var(--muted)}
/* 规则卡：长标题可以换行，宽表格在卡片里横向滑，不撑破页面 */
.oef-rules-wide{grid-template-columns:minmax(0,1fr)}
.oef-rule{min-width:0}
.oef-rule-head b{white-space:normal}
.oef-rule .oef-rtable{font-size:13px}
.oef-rule .oef-rtable th,.oef-rule .oef-rtable td{padding:6px 7px}

/* 看图题的选项是整句时（宽排版）：问句一行，下面选项一行一个 */
.oef-grid-wide .oef-picq{flex-wrap:wrap;gap:8px}
.oef-grid-wide .oef-picq .oef-word{flex-basis:100%}
.oef-grid-wide .oef-picq .oef-qzh{margin-top:-6px}
.oef-grid-wide .oef-picq .oef-options{flex-basis:100%;flex-direction:column;align-items:stretch;flex-wrap:nowrap}
.oef-grid-wide .oef-picq .oef-opt{width:100%;height:auto;min-height:42px;padding:9px 14px;text-align:left}

/* 例句里的重点词（比如 graag）：绿色 */
.oef-key{color:var(--green);font-weight:700}
@media (max-width:420px){
  .oef-rule .oef-rtable{font-size:12px}
  .oef-rule .oef-rtable th,.oef-rule .oef-rtable td{padding:5px 4px}
  .oef-rule .oef-rtable tbody th small{font-size:10.5px}
  .oef-rules-wide .oef-rule{padding:12px 10px}
}
/* 听问题回答（ask）：编号和小 ▶ 一列，题目、中文、句型、录音都对齐在右边一列 */
.oef-item-ask{display:block;padding:16px 18px}
.oef-item-ask .oef-item-top{display:grid;grid-template-columns:14px 28px minmax(0,1fr);column-gap:12px;row-gap:2px;align-items:start}
.oef-item-ask .oef-item-top .oef-no{line-height:28px}
.oef-item-ask .oef-item-top .oef-play{width:28px;height:28px;min-width:28px;padding:0}
.oef-item-ask .oef-item-top .oef-play svg{width:13px;height:13px}
.oef-grid-wide .oef-item-ask .oef-item-top .oef-word,.oef-item-ask .oef-item-top .oef-word{grid-column:3;font-size:19px;line-height:28px}
.oef-item-ask .oef-item-top .oef-zh{grid-column:3;margin:0}
.oef-item-ask > :not(.oef-item-top):not(.oef-redo){margin-left:66px}
.oef-item-ask .oef-say-pattern{margin-top:10px;padding:7px 12px;background:#FAF8F2;font-size:14px}
.oef-item-ask .oef-rec-row{margin-top:12px}
.oef-item-ask .oef-heard,.oef-item-ask .oef-note{margin-top:8px}
/* 重点提示（! 开头）：留白多一点，说明和例句分行 */
.oef-tipbar > span.is-key{padding:12px 16px;line-height:1.75}
.oef-tipbar > span.is-key b{font-size:14.5px;font-weight:700}
.oef-tipbar > span.is-key em{margin-top:6px;font-weight:500;font-size:15px;color:var(--text)}
.oef-tipbar > span.is-key em:last-child:not(:nth-child(2)){margin-top:10px;font-weight:600;font-size:16px;color:var(--ink)}
.oef-tipbar span em .oef-subj,.oef-tipbar span em .oef-key{font-weight:700}
/* 程度台阶图 */
.oef-scale{margin:4px 0 20px;max-width:440px}
.oef-scale svg{display:block;width:100%;height:auto}
.oef-scale-bar{stroke:#E0587F;stroke-width:1.5}
.oef-scale-bar-1{fill:#FFF1F4}.oef-scale-bar-2{fill:#FBD6E0}.oef-scale-bar-3{fill:#F5B3C6}.oef-scale-bar-4{fill:#EE8FAA}
.oef-scale-emoji{text-anchor:middle;font-size:22px}
.oef-scale-nl{text-anchor:middle;font:700 16px Inter,sans-serif;fill:var(--ink)}
.oef-scale-zh{text-anchor:middle;font:500 13px "Noto Sans SC",sans-serif;fill:var(--text)}
.oef-scale-base{stroke:#BDB6A8;stroke-width:1.5}
.oef-scale-arrow{stroke:#D7263D;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:6 5}
.oef-scale-head{fill:#D7263D}
.oef-scale figcaption{margin-top:6px;font-size:13px;font-weight:600;color:#D7263D}

/* 连线题：左荷兰语、右中文，两列按钮 */
.oef-item-match{display:block}
.oef-item-match .oef-item-top{margin-bottom:10px}
.oef-match{display:grid;grid-template-columns:1fr 1fr;gap:8px 28px}
.oef-match-col{display:flex;flex-direction:column;gap:8px}
.oef-mt{min-height:42px;padding:6px 14px;border:1px solid #D4D4D4;background:#fff;color:var(--ink);font:inherit;font-size:15px;font-weight:600;text-align:left;cursor:pointer;transition:background .15s,border-color .15s}
.oef-mt:hover{border-color:var(--ink)}
.oef-mt.is-on{border-color:var(--ink);background:#F3F3F1;box-shadow:inset 3px 0 0 var(--ink)}
.oef-mt.is-ok{background:#EDF8EF;border-color:#9DBDA3;color:var(--ink);cursor:default}
.oef-mt.is-bad{background:#FFF0EF;border-color:#D2A4A0}
.oef-item-match .oef-note{display:block;margin-top:10px;color:var(--muted);font-size:14px}
.oef-item-match .oef-note:empty{display:none}
@media(max-width:600px){.oef-match{gap:8px 10px}.oef-mt{font-size:14px;padding:6px 10px}}
.oef-item-match .oef-word{font-size:16px}

/* 读懂考题：问句里的疑问词用荧光笔标出来 */
.oef-qw{font-weight:800;font-size:1.12em;background:linear-gradient(transparent 58%,#F7E07A 58%);padding:0 2px}

.oef-table-note{margin:-8px 0 18px;font-size:13px;line-height:1.7;color:var(--muted)}
