:root{
  --teal:#058f88;
  --teal2:#14b8a6;
  --ink:#102027;
  --muted:#64748b;
  --line:#dfe8ec;
  --bg:#f4fbfb;
  --card:#fff;
  --shadow:0 16px 40px rgba(18,52,61,.08);
  --radius:18px;
  --font: "Microsoft YaHei","PingFang SC","Noto Sans SC",Arial,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:var(--font);color:var(--ink);background:linear-gradient(180deg,#f7fdfd,#eef8f8)}
button,a{font-family:inherit}
button{cursor:pointer}
a{text-decoration:none;color:inherit}
.dd-screen{min-height:100vh;width:100%;background:linear-gradient(180deg,#f7fdfd,#eef8f8);overflow:auto}
.dd-topbar{height:74px;display:flex;align-items:center;gap:28px;padding:0 clamp(20px,3vw,56px);background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;backdrop-filter:blur(12px)}
.dd-brand{display:flex;align-items:center;gap:12px;min-width:230px}
.dd-logo{width:52px;height:52px;object-fit:contain;border-radius:12px}
.dd-brand-title{font-size:24px;font-weight:900;letter-spacing:.18em;color:#0f6864;line-height:1}
.dd-brand-sub{font-size:11px;letter-spacing:.28em;color:#197b75;margin-top:4px}
.dd-nav{display:flex;height:100%;align-items:center;gap:6px;flex:1}
.dd-nav-item{height:100%;padding:0 24px;display:flex;align-items:center;font-size:17px;font-weight:700;color:#20323a;border-bottom:4px solid transparent}
.dd-nav-item.active{color:var(--teal);border-bottom-color:var(--teal);background:linear-gradient(180deg,rgba(20,184,166,.06),rgba(20,184,166,.02))}
.dd-top-actions{display:flex;align-items:center;gap:12px}
.dd-small-btn,.dd-course-btn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 16px;font-weight:700;color:#1f3840;font-size:15px}
.dd-course-btn{display:flex;align-items:center;gap:8px;min-width:160px;justify-content:center}
.dd-small-btn:hover,.dd-course-btn:hover{border-color:#b8d7d4;background:#f8fffe}
.dd-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;max-width:2200px;margin:0 auto;padding:28px clamp(18px,2.4vw,48px) 44px}
.dd-left{display:flex;flex-direction:column;gap:18px}
.dd-side-card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}
.dd-side-title{font-size:17px;font-weight:900;margin-bottom:14px}
.dd-bank-card{width:100%;display:flex;align-items:center;gap:14px;text-align:left;background:#f7fbfb;border:1px solid #e5eff1;border-radius:14px;padding:16px;color:var(--ink)}
.dd-bank-card b{display:block;font-size:16px;margin-bottom:4px}
.dd-bank-card em{font-style:normal;color:var(--teal);font-size:13px}
.dd-bank-card i{margin-left:auto;font-size:28px;color:var(--teal)}
.dd-bank-icon{font-size:32px}
.dd-mode-btn{width:100%;height:52px;border:1px solid var(--line);background:#fff;border-radius:12px;margin:6px 0;display:flex;align-items:center;gap:14px;padding:0 18px;font-size:17px;font-weight:800;color:#173139;text-align:left}
.dd-mode-btn span{width:24px;text-align:center;color:var(--teal)}
.dd-mode-btn.active{background:linear-gradient(135deg,#07978f,#047b75);color:#fff;border-color:#047b75;box-shadow:0 10px 22px rgba(5,143,136,.22)}
.dd-mode-btn.active span{color:#fff}
.dd-progress-row{display:flex;align-items:center;gap:18px}
.dd-ring{width:112px;height:112px;border-radius:50%;background:conic-gradient(var(--teal) calc(var(--p)*1%),#e7f0f1 0);display:grid;place-items:center;position:relative}
.dd-ring:after{content:"";position:absolute;inset:14px;background:#fff;border-radius:50%}
.dd-ring span{position:relative;z-index:1;font-size:30px;font-weight:900}
.dd-progress-data{font-size:15px;line-height:2}
.dd-progress-data b{display:block;font-size:28px;color:var(--teal);line-height:1.1}
.dd-outline-wide{width:100%;height:46px;border:1px solid #c4dedb;background:#f9ffff;border-radius:12px;color:var(--teal);font-weight:900;margin-top:16px;font-size:15px}
.dd-main{min-width:0}
.dd-question-card,.dd-explain-card{background:rgba(255,255,255,.98);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.dd-question-card{padding:28px 34px}
.dd-question-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}
.dd-q-meta{display:flex;align-items:center;gap:18px}
.dd-type-badge{background:#e4f7f5;color:var(--teal);font-weight:900;border-radius:10px;padding:9px 18px;font-size:16px}
#qIndexText{font-size:28px;color:#116d68}
.dd-mode-label{color:var(--muted);font-size:15px}
.dd-audio-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.dd-audio-btn{border:1px solid #cde3e1;background:#fff;border-radius:10px;padding:10px 14px;font-weight:800;color:var(--teal)}
.dd-audio-btn.disabled{opacity:.45;color:#7b8a91;background:#f4f7f8}
.dd-question-body{display:grid;grid-template-columns:minmax(420px,1fr) minmax(320px,44%);gap:28px;align-items:start}
.dd-question-title{font-size:clamp(24px,1.6vw,34px);line-height:1.45;margin:0 0 24px;font-weight:900}
.dd-options{display:flex;flex-direction:column;gap:16px}
.dd-option{min-height:64px;border:1px solid var(--line);background:#fff;border-radius:13px;display:flex;align-items:center;gap:16px;padding:14px 18px;font-size:20px;font-weight:700;box-shadow:0 4px 12px rgba(16,32,39,.03)}
.dd-option:hover{border-color:#b6deda;background:#fbffff}
.dd-option .dd-letter{width:38px;height:38px;border-radius:50%;border:1px solid #d1dde2;display:grid;place-items:center;font-weight:900;color:#22343b;background:#fff;flex:0 0 auto}
.dd-option.correct{border-color:#8bddcf;background:#effbf8;color:#047b75}
.dd-option.correct .dd-letter{background:#20b486;border-color:#20b486;color:#fff}
.dd-option.wrong{border-color:#ffb8b8;background:#fff4f4;color:#b91c1c}
.dd-option.selected{border-color:#8bdad4;background:#f3fffd}
.dd-option .dd-check{margin-left:auto;color:#12a884;font-size:22px;font-weight:900}
.dd-confirm{height:52px;padding:0 34px;border:0;border-radius:12px;background:var(--teal);color:#fff;font-size:18px;font-weight:900;margin-top:18px}
.dd-feedback{display:inline-flex;align-items:center;gap:10px;border-radius:14px;padding:14px 22px;font-size:21px;font-weight:900;margin-top:20px;border:1px solid}
.dd-feedback.success{background:#edfff6;color:#06915c;border-color:#9be7c4}
.dd-feedback.error{background:#fff4f4;color:#c72929;border-color:#ffc4c4}
.dd-question-media img{width:100%;border-radius:14px;border:1px solid #dbe7ea;display:block;max-height:420px;object-fit:cover}
.dd-view-image{display:block;margin:10px auto 0;border:0;background:transparent;color:#657680;font-weight:800}

.dd-question-body.no-media{grid-template-columns:minmax(0,1fr)}
.dd-question-body.no-media .dd-question-left{max-width:980px}
.dd-question-body.no-media .dd-options{max-width:920px}
.dd-question-body.no-media + .dd-question-actions{}

.dd-question-actions{display:flex;justify-content:flex-end;gap:16px;margin-top:28px}
.dd-action-outline,.dd-action-main{height:56px;min-width:150px;border-radius:12px;font-size:18px;font-weight:900}
.dd-action-outline{border:1px solid #bcd9d7;background:#fff;color:#126b66}
.dd-action-main{border:0;background:linear-gradient(135deg,#08a79d,#047b75);color:#fff;box-shadow:0 12px 24px rgba(5,143,136,.22);display:inline-flex;align-items:center;justify-content:center;padding:0 32px}
.dd-explain-card{margin-top:18px;padding:22px 28px}
.dd-panel-title{font-size:19px;font-weight:900;color:#086c67;display:flex;justify-content:space-between}
.dd-panel-content{font-size:17px;color:#3c4d55;line-height:1.8;margin-top:12px}
.dd-explain-card.vip .dd-panel-title{color:#c18411}
.dd-modal-mask,.dd-resolution-mask{position:fixed;inset:0;background:rgba(10,21,25,.45);z-index:100;display:grid;place-items:center;padding:20px}
.dd-modal-mask[hidden],.dd-resolution-mask[hidden]{display:none}
.dd-modal{width:min(860px,92vw);background:#fff;border-radius:16px;box-shadow:0 24px 80px rgba(0,0,0,.25);position:relative;overflow:hidden}
.dd-modal-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:30px;color:#34444a}
.dd-modal h2{font-size:26px;margin:0;padding:24px 32px;border-bottom:1px solid var(--line)}
.dd-modal-content{padding:28px 32px}
.dd-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.dd-select-tile{border:1px solid var(--line);background:#fff;border-radius:14px;padding:18px 12px;text-align:center;font-size:17px;font-weight:800;color:#1b3038;min-height:116px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.dd-select-tile:hover,.dd-select-tile.active{border-color:var(--teal);background:#f0fffd}
.dd-select-icon{font-size:34px;color:var(--teal)}
.dd-modal-actions{display:flex;justify-content:center;gap:28px;margin-top:26px}
.dd-resolution-modal{width:min(640px,94vw);background:#fff;border-radius:0 0 16px 16px;overflow:hidden;box-shadow:0 28px 80px rgba(0,0,0,.28)}
.dd-resolution-title{height:58px;background:#2f3f45;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 22px;font-size:19px;font-weight:900}
.dd-resolution-title button{border:0;background:transparent;color:#fff;font-size:32px}
.dd-resolution-modal p{font-size:20px;line-height:1.5;margin:28px 24px 18px}
.dd-resolution-list{display:flex;flex-direction:column;gap:12px;padding:0 24px 24px}
.dd-resolution-list button{height:58px;border:1px solid #bfd2d8;background:#fff;text-align:left;padding:0 20px;font-size:18px;font-weight:800;display:flex;gap:20px;align-items:center}
.dd-resolution-list button:hover{border-color:var(--teal);background:#f5fffd}
.dd-resolution-list .restore{justify-content:center;background:var(--teal);color:#fff;border-color:var(--teal)}
body.dd-res-preview{
  background:#dceceb;
  overflow:auto;
}
body.dd-res-preview:before{
  content:"当前模拟：" attr(data-res) "（只模拟布局宽度，不缩小文字）";
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:99;
  background:rgba(4,123,117,.92);
  color:#fff;
  border-radius:999px;
  padding:8px 14px;
  font-weight:900;
  box-shadow:0 10px 26px rgba(0,0,0,.18);
}
body.dd-res-preview .dd-resolution-stage{
  min-height:100vh;
  overflow:auto;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  background:#dceceb;
  padding:18px;
}
body.dd-res-preview .dd-screen{
  width:min(100%, var(--sim-w));
  min-height:min(var(--sim-h), 100vh);
  flex:0 0 auto;
  box-shadow:0 0 0 1px #b6c7cc,0 20px 70px rgba(0,0,0,.18);
  border-radius:8px;
}
body.dd-res-preview[data-res="1366x768"] .dd-layout,
body.dd-res-preview[data-res="1440x900"] .dd-layout{
  grid-template-columns:260px minmax(0,1fr);
  padding:20px;
  gap:18px;
}
body.dd-res-preview[data-res="1366x768"] .dd-question-card,
body.dd-res-preview[data-res="1440x900"] .dd-question-card{
  padding:24px 28px;
}
body.dd-res-preview[data-res="1366x768"] .dd-question-title,
body.dd-res-preview[data-res="1440x900"] .dd-question-title{
  font-size:28px;
}
body.dd-res-preview[data-res="1366x768"] .dd-question-body,
body.dd-res-preview[data-res="1440x900"] .dd-question-body{
  grid-template-columns:1fr;
}
body.dd-res-preview[data-res="1366x768"] .dd-question-media,
body.dd-res-preview[data-res="1440x900"] .dd-question-media{
  max-width:520px;
}
.dd-home-simple{max-width:1380px;margin:0 auto;padding:42px}
.dd-home-hero{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:54px}
.dd-home-hero h1{font-size:42px;margin:0 0 12px}
.dd-home-hero p{font-size:20px;color:var(--muted)}
.dd-home-actions{display:flex;gap:16px;margin-top:28px}
.dd-home-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}
.dd-home-steps>div{background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:var(--shadow)}
.dd-exam-placeholder{max-width:1100px;margin:80px auto;padding:50px;background:#fff;border:1px solid var(--line);border-radius:24px;text-align:center;box-shadow:var(--shadow)}
.dd-exam-placeholder h1{font-size:36px}

@media (min-width:2400px){
  :root{font-size:18px}
  .dd-layout{max-width:2600px;grid-template-columns:340px minmax(0,1fr)}
  .dd-question-card{padding:38px 48px}
  .dd-option{min-height:76px}
}
@media (max-width:1200px){
  .dd-layout{grid-template-columns:260px minmax(0,1fr);gap:18px;padding:20px}
  .dd-question-body{grid-template-columns:1fr}
  .dd-question-media{max-width:560px}
  .dd-nav-item{padding:0 14px}
}
@media (max-width:860px){
  .dd-topbar{height:auto;min-height:72px;flex-wrap:wrap;padding:12px 16px}
  .dd-brand{min-width:auto}
  .dd-nav{order:3;width:100%;height:48px}
  .dd-top-actions{margin-left:auto}
  .dd-layout{grid-template-columns:1fr}
  .dd-left{order:2}
  .dd-question-actions{flex-wrap:wrap}
  .dd-action-outline,.dd-action-main{min-width:calc(50% - 8px)}
  .dd-grid{grid-template-columns:repeat(2,1fr)}
}

.dd-modal{max-height:86vh;display:flex;flex-direction:column}
.dd-modal h2{flex:0 0 auto}
.dd-modal-content{overflow:auto;max-height:calc(86vh - 88px)}
.dd-modal-content h3{margin:12px 0 12px;font-size:18px;color:#12343b}
.dd-select-tile small{color:#64748b;font-weight:700;margin-top:2px}
.dd-grid + h3{margin-top:24px}
@media (max-width:1400px){
  .dd-layout{grid-template-columns:280px minmax(0,1fr);max-width:1380px}
  .dd-question-card{padding:26px 30px}
  .dd-question-body{gap:22px}
  .dd-option{font-size:18px;min-height:58px}
}

/* V2.11.9.36.1.13 interaction completion */
.red,.font-red,.dd-highlight,.highlight,span[style*="red"]{
  color:#ef4444!important;
  font-weight:900;
  display:inline-block;
  animation:ddPop .36s ease both;
}
@keyframes ddPop{
  0%{transform:scale(1)}
  45%{transform:scale(1.16)}
  100%{transform:scale(1)}
}
.dd-setting-list{display:flex;flex-direction:column;gap:16px;font-size:18px}
.dd-setting-list label{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.dd-setting-list input{width:20px;height:20px}
.dd-setting-list p{color:var(--muted);line-height:1.7;margin:4px 0 0}
.dd-progress-modal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dd-progress-modal div{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fbffff}
.dd-progress-modal b{display:block;color:#64748b;margin-bottom:8px}
.dd-progress-modal span{font-size:22px;font-weight:900;color:#075e59}
.dd-image-preview img{display:block;max-width:100%;max-height:70vh;margin:auto;border-radius:14px}
.dd-option-text img{max-width:100%;vertical-align:middle}
.dd-feedback{transition:all .18s ease}
@media (max-width:1366px){
  .dd-topbar{height:68px}
  .dd-brand-title{font-size:20px}
  .dd-logo{width:46px;height:46px}
  .dd-nav-item{font-size:16px;padding:0 16px}
}

/* V2.11.9.36.1.13 VIP test + full API load */
.dd-setting-list label:nth-child(3){border-color:#f0d59b;background:#fffbf1}
.dd-setting-list label:nth-child(4){border-color:#bde7e2;background:#f1fffd}
.dd-audio-btn:not(.disabled):hover{background:#eafffc;border-color:var(--teal)}

/* V2.11.9.36.1.13 cache + VIP behavior */
.dd-option.correct{border-color:#3dd6bd!important;background:#ecfffb!important;color:#075e59!important}
.dd-option.wrong{border-color:#ffb6b6!important;background:#fff4f4!important;color:#c72828!important}
.dd-feedback.success{font-size:20px;padding:12px 18px;border-color:#95e7c9;background:#edfff6;color:#04865c}
.dd-feedback.error{font-size:20px;padding:12px 18px;border-color:#ffc8c8;background:#fff5f5;color:#c72828}
.dd-explain-card.vip{border:2px solid #f2c869;background:linear-gradient(180deg,#fffaf0,#fff)}
.dd-explain-card.vip .dd-panel-title{font-size:22px;color:#d08a00}
.dd-vip-prompt h3{font-size:26px;margin:0 0 12px;color:#b77900}
.dd-vip-prompt p{font-size:18px;line-height:1.8;color:#374151}
.dd-setting-list label:nth-child(5){border-color:#bde7e2;background:#f1fffd}

/* V2.11.9.36.1.13 visible version + server cache + final feedback */
.dd-version-badge{
  display:inline-flex;
  align-items:center;
  margin-top:5px;
  padding:3px 7px;
  border-radius:999px;
  background:#e8fffb;
  border:1px solid #bfe9e4;
  color:#047b75;
  font-size:10px;
  font-weight:900;
  letter-spacing:.02em;
}
.dd-system-notice{
  position:fixed;
  left:50%;
  top:86px;
  transform:translateX(-50%) translateY(-20px);
  z-index:999;
  background:rgba(5,143,136,.96);
  color:#fff;
  border-radius:999px;
  padding:10px 18px;
  font-size:16px;
  font-weight:900;
  box-shadow:0 14px 34px rgba(0,0,0,.18);
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
}
.dd-system-notice.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}
.dd-setting-list label:nth-child(6){border-color:#b7d9ff;background:#f2f8ff}

/* V2.11.9.36.1.13 old-flow main-question layout */
.dd-question-card{
  padding:28px 34px 22px;
}
.dd-question-head{
  margin-bottom:18px;
  border-bottom:1px solid #edf4f5;
  padding-bottom:12px;
}
.dd-audio-actions .dd-audio-btn:nth-child(2),
.dd-audio-actions .dd-audio-btn:nth-child(3){
  display:none;
}
.dd-question-body{
  grid-template-columns:minmax(520px,1fr) minmax(320px,420px);
  align-items:start;
  min-height:320px;
}
.dd-question-body.no-media{
  grid-template-columns:minmax(0,1fr);
}
.dd-question-body.no-media .dd-question-left{
  max-width:920px;
}
.dd-question-title{
  margin-bottom:20px;
}
.dd-options{
  gap:12px;
}
.dd-option{
  min-height:52px;
  font-size:18px;
}
.dd-question-media{
  align-self:start;
  padding-top:8px;
}
.dd-question-media img{
  max-height:280px;
  object-fit:contain;
  background:#f8fbfb;
}
.dd-answer-line{
  margin-top:18px;
  display:flex;
  align-items:center;
  gap:16px;
  font-size:17px;
  font-weight:800;
  color:#1f333b;
}
.dd-answer-letters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.dd-answer-letter{
  width:48px;
  height:44px;
  border:1px solid #cfdadd;
  border-radius:10px;
  background:linear-gradient(#fff,#f4f4f4);
  font-size:22px;
  font-weight:900;
  color:#102027;
}
.dd-answer-letter.selected{
  border-color:var(--teal);
  background:#eafffc;
  color:#047b75;
}
.dd-answer-letter.correct{
  border-color:#16b99d;
  background:#17b99d;
  color:#fff;
}
.dd-answer-letter.wrong{
  border-color:#ffb6b6;
  background:#fff1f1;
  color:#c72828;
}
.dd-question-actions{
  border-top:1px solid #edf4f5;
  padding-top:16px;
  margin-top:18px;
  justify-content:flex-end;
}
.dd-action-outline,.dd-action-main{
  height:46px;
  min-width:128px;
  font-size:16px;
}
.dd-panel-audio{
  border:1px solid #cde3e1;
  background:#f7fffd;
  color:#047b75;
  border-radius:10px;
  padding:8px 14px;
  font-weight:900;
  margin:0 0 10px;
}
.dd-explain-card{
  margin-top:14px;
}
@media (max-width:1200px){
  .dd-question-body{grid-template-columns:1fr}
  .dd-question-media{max-width:520px}
}

/* V2.11.9.36.1.13 answer sheet + resume + clean confirm */
[hidden]{display:none!important}
.dd-confirm[hidden], .dd-confirm[style*="none"]{display:none!important}
.dd-study-tools{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:12px;
}
.dd-study-tools button{
  height:38px;
  border:1px solid #d7e7e7;
  border-radius:10px;
  background:#fbffff;
  color:#047b75;
  font-weight:900;
  padding:0 14px;
}
.dd-study-tools button:hover{border-color:var(--teal);background:#effffd}
.dd-sheet-card{
  margin-top:14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:16px 18px;
}
.dd-sheet-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
}
.dd-sheet-head b{font-size:18px;color:#102027}
.dd-sheet-head span{font-size:13px;color:#64748b;font-weight:800}
.dd-sheet-grid{
  display:grid;
  grid-template-columns:repeat(20,minmax(34px,1fr));
  gap:7px;
}
.dd-sheet-btn{
  height:34px;
  border:1px solid #d8e6e8;
  background:#fff;
  border-radius:8px;
  font-weight:900;
  color:#234;
}
.dd-sheet-btn.current{background:#dff7f4;border-color:#0ba69d;color:#047b75}
.dd-sheet-btn.right{background:#ecfff6;border-color:#8de8c6;color:#047857}
.dd-sheet-btn.wrong{background:#fff2f2;border-color:#ffc0c0;color:#c72828}
.dd-sheet-btn:disabled{opacity:.45;background:#f8fafc}
.dd-resume-box h3{margin:0 0 10px;font-size:26px;color:#075e59}
.dd-resume-box p{font-size:18px;line-height:1.8;color:#334155}
.dd-explain-card.vip{
  background:linear-gradient(180deg,#fff9ec,#ffffff);
  border:2px solid #f2c96d;
  box-shadow:0 18px 44px rgba(189,128,0,.10);
}
.dd-explain-card.vip .dd-panel-title{
  font-size:22px;
  color:#c18411;
}
.dd-vip-core{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.dd-vip-core span{
  display:inline-flex;
  height:32px;
  align-items:center;
  padding:0 12px;
  border-radius:999px;
  background:#f59e0b;
  color:#fff;
  font-weight:900;
}
.dd-vip-core strong{font-size:20px;color:#8a5a00}
.dd-vip-text{font-size:18px;line-height:1.9;color:#24343b}
@media(max-width:1300px){
  .dd-sheet-grid{grid-template-columns:repeat(10,minmax(34px,1fr));}
}

/* V2.11.9.36.1.13 stable layout / no jump / full sheet */
.dd-resolution-badge,
body.dd-res-preview:before{
  display:none!important;
}
.dd-question-card{
  min-height:520px;
  display:flex;
  flex-direction:column;
}
.dd-question-body{
  flex:1 0 auto;
  min-height:310px;
}
.dd-question-actions{
  margin-top:auto;
}
.dd-answer-line[hidden]{
  display:none!important;
}
.dd-study-tools{
  min-height:40px;
}
.dd-study-tools button{
  min-width:112px;
}
.dd-explain-card{
  min-height:96px;
  margin-top:14px;
}
.dd-explain-card[hidden]{
  display:none!important;
}
.dd-sheet-card{
  max-height:260px;
  overflow:hidden;
}
.dd-sheet-grid{
  max-height:190px;
  overflow:auto;
  padding-right:4px;
  grid-template-columns:repeat(20,minmax(38px,1fr));
}
.dd-sheet-grid::-webkit-scrollbar{width:8px}
.dd-sheet-grid::-webkit-scrollbar-thumb{background:#c7dddd;border-radius:999px}
.dd-feedback{
  min-height:42px;
  display:inline-flex;
  align-items:center;
}
.dd-feedback[hidden]{
  display:none!important;
}
.dd-option{
  position:relative;
}
.dd-audio-actions .dd-audio-btn:nth-child(2){
  display:none!important;
}
.dd-audio-actions .dd-audio-btn:nth-child(3){
  display:inline-flex!important;
}
@media(max-width:1500px){
  .dd-sheet-grid{grid-template-columns:repeat(15,minmax(38px,1fr));}
}
@media(max-width:1200px){
  .dd-sheet-grid{grid-template-columns:repeat(10,minmax(38px,1fr));}
}

/* V2.11.9.36.1.13 red-box final layout */
.dd-top-hint{
  font-size:14px;
  color:#047b75;
  font-weight:900;
  background:#e8fffb;
  border:1px solid #bfe9e4;
  padding:7px 12px;
  border-radius:999px;
}
.dd-question-card{
  min-height:560px!important;
  padding:26px 30px 20px!important;
  display:flex!important;
  flex-direction:column!important;
}
.dd-question-head{
  flex:0 0 auto;
}
.dd-question-body{
  flex:1 1 auto;
  display:grid!important;
  grid-template-columns:minmax(560px,1fr) minmax(340px,430px)!important;
  gap:28px!important;
  min-height:300px!important;
  align-items:start!important;
}
.dd-question-body.no-media{
  grid-template-columns:1fr!important;
}
.dd-question-title{
  font-size:30px!important;
  line-height:1.52!important;
  margin:0 0 20px!important;
  max-width:980px;
}
.dd-options{
  display:grid!important;
  gap:13px!important;
  max-width:880px;
}
.dd-option{
  min-height:56px!important;
  padding:0 18px!important;
  font-size:18px!important;
  border-radius:14px!important;
}
.dd-question-media{
  margin-top:8px!important;
  min-height:260px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}
.dd-question-media[hidden]{
  display:none!important;
}
.dd-question-media img{
  width:100%;
  max-width:420px!important;
  max-height:285px!important;
  object-fit:contain!important;
  background:#f8fbfb;
  border-radius:12px;
}
.dd-practice-control{
  flex:0 0 auto;
  margin-top:12px;
  border-top:1px solid #e7f1f1;
  padding-top:14px;
}
.dd-answer-row{
  min-height:42px;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.dd-answer-label{
  font-size:16px;
  font-weight:900;
  color:#263b42;
}
.dd-answer-letters{
  display:flex;
  gap:10px;
}
.dd-answer-letter{
  width:48px;
  height:42px;
  border:1px solid #cfdadd;
  border-radius:10px;
  background:linear-gradient(#fff,#f6f6f6);
  font-size:22px;
  font-weight:900;
  color:#102027;
}
.dd-right-answer{
  margin-left:14px;
  color:#075e59;
  font-size:17px;
  font-weight:900;
}
.dd-main-buttons{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap;
}
.dd-main-buttons button{
  min-width:104px!important;
  height:42px!important;
  padding:0 14px!important;
  font-size:15px!important;
}
.dd-switch-row{
  margin-top:12px;
  min-height:40px;
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  padding:10px 12px;
  background:#fbffff;
  border:1px solid #e5f0f0;
  border-radius:12px;
}
.dd-switch-row label{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:15px;
  color:#263b42;
  font-weight:800;
}
.dd-switch-row input{
  width:16px;
  height:16px;
}
.dd-switch-btn{
  height:34px;
  border:1px solid #cde3e1;
  background:#f4fffd;
  border-radius:10px;
  color:#047b75;
  font-weight:900;
  padding:0 12px;
}
.dd-feedback{
  margin-top:10px!important;
  min-height:38px!important;
}
.dd-option.correct-preview{
  border-color:#19baa2!important;
  background:#effffd!important;
}
.dd-explain-card{
  margin-top:12px!important;
  min-height:120px!important;
  max-height:220px;
  overflow:auto;
}
.dd-explain-card[hidden]{
  display:none!important;
}
.dd-sheet-card{
  margin-top:14px!important;
  max-height:300px!important;
  overflow:hidden!important;
}
.dd-sheet-grid{
  grid-template-columns:repeat(20,minmax(40px,1fr))!important;
  max-height:225px!important;
  overflow:auto!important;
  gap:7px!important;
}
.dd-sheet-btn{
  height:34px!important;
  border-radius:8px!important;
}
@media(max-width:1400px){
  .dd-question-body{
    grid-template-columns:1fr!important;
  }
  .dd-question-media{
    min-height:auto;
    align-items:flex-start;
  }
  .dd-sheet-grid{
    grid-template-columns:repeat(12,minmax(40px,1fr))!important;
  }
}

/* V2.11.9.36.1.13 stable explain dock + anti jitter */
.dd-question-card{
  min-height:700px!important;
  overflow:hidden;
}
.dd-question-body{
  min-height:300px!important;
  max-height:360px;
  overflow:hidden;
}
.dd-question-left{
  min-width:0;
}
.dd-question-title{
  font-size:28px!important;
  line-height:1.46!important;
  margin-bottom:16px!important;
}
.dd-options{
  gap:10px!important;
}
.dd-option{
  min-height:50px!important;
  padding:0 16px!important;
  font-size:17px!important;
}
.dd-practice-control{
  margin-top:10px!important;
  padding-top:12px!important;
}
.dd-answer-row{
  min-height:38px!important;
}
.dd-main-buttons{
  margin-top:8px!important;
  gap:8px!important;
}
.dd-main-buttons button{
  min-width:94px!important;
  height:38px!important;
  font-size:14px!important;
}
.dd-switch-row{
  margin-top:8px!important;
  min-height:36px!important;
  padding:8px 10px!important;
  gap:12px!important;
}
.dd-switch-row label{
  font-size:13px!important;
}
.dd-explain-dock{
  height:142px;
  margin-top:10px;
  overflow:hidden;
  border-radius:14px;
}
.dd-explain-dock:not(.open){
  height:0;
  margin-top:0;
}
.dd-explain-dock.open{
  height:142px;
}
.dd-explain-dock .dd-explain-card{
  height:142px!important;
  min-height:142px!important;
  max-height:142px!important;
  margin:0!important;
  overflow:auto!important;
  box-shadow:none!important;
}
.dd-explain-dock .dd-explain-card[hidden]{
  display:none!important;
}
.dd-panel-title{
  padding:12px 16px 6px!important;
  font-size:18px!important;
}
.dd-panel-content{
  padding:0 16px 12px!important;
  font-size:16px!important;
  line-height:1.75!important;
}
.dd-vip-core{
  margin-bottom:6px!important;
}
.dd-vip-core strong{
  font-size:17px!important;
}
.dd-vip-core span{
  height:28px!important;
  padding:0 10px!important;
}
.dd-vip-text,.dd-analysis-text{
  font-size:16px!important;
  line-height:1.75!important;
}
.dd-audio-miss{
  display:inline-flex;
  margin-bottom:8px;
  padding:6px 10px;
  background:#f6f8f9;
  color:#7b8a91;
  border-radius:8px;
  font-weight:800;
}
.dd-panel-audio{
  height:32px!important;
  padding:0 12px!important;
  margin-bottom:8px!important;
}
.dd-sheet-card{
  margin-top:12px!important;
  max-height:240px!important;
}
.dd-sheet-grid{
  max-height:165px!important;
}
.dd-option,.dd-answer-letter,.dd-action-outline,.dd-action-main,.dd-switch-btn,.dd-sheet-btn{
  -webkit-user-select:none;
  user-select:none;
}
@media(max-width:1400px){
  .dd-question-card{min-height:720px!important}
  .dd-question-body{max-height:none!important;overflow:visible;}
}

/* V2.11.9.36.1.13 normal question loading */
.dd-sheet-head span{font-size:12px!important}
.dd-sheet-grid{max-height:150px!important}
.dd-question-title{min-height:44px}

/* V2.11.9.36.1.14 loading fix */
.dd-explain-dock:not(.open){
  height:0!important;
  margin-top:0!important;
  overflow:hidden!important;
}
.dd-explain-dock.open{
  height:142px!important;
}
.dd-feedback.error{
  color:#c72828;
  background:#fff1f1;
  border:1px solid #ffcaca;
  border-radius:10px;
  padding:9px 12px;
}

/* V2.11.9.36.1.15 check fix */

/* V2.11.9.36.1.16 layout polish / totals / answer highlight / fixed explain */
.dd-question-card{
  min-height:720px!important;
}
.dd-question-body{
  grid-template-columns:minmax(520px, 1fr) 360px!important;
  gap:24px!important;
  max-height:355px!important;
  min-height:300px!important;
}
.dd-question-title{
  font-size:26px!important;
  line-height:1.42!important;
  min-height:74px!important;
  max-height:112px!important;
  overflow:hidden!important;
  display:-webkit-box!important;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
}
.dd-options{
  max-width:760px!important;
}
.dd-option{
  min-height:48px!important;
  max-height:50px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.dd-option-text,
.dd-option span:not(.dd-option-key){
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}
.dd-question-media{
  align-items:center!important;
  justify-content:flex-start!important;
  padding-top:8px!important;
}
.dd-question-media img{
  width:100%!important;
  max-width:340px!important;
  max-height:245px!important;
  object-fit:contain!important;
}
.dd-practice-control{
  padding-top:12px!important;
}
.dd-answer-row{
  min-height:36px!important;
}
.dd-right-answer b{
  color:#00695f!important;
}
.dd-option.correct-preview{
  border-color:#10b99d!important;
  background:#e8fff9!important;
  color:#00695f!important;
  box-shadow:inset 0 0 0 1px #10b99d;
}
.dd-option.correct-preview .dd-option-key{
  background:#10b99d!important;
  color:#fff!important;
}
.dd-main-buttons{
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
}
.dd-main-buttons button{
  min-width:86px!important;
  height:36px!important;
  font-size:13px!important;
  padding:0 10px!important;
}
.dd-switch-row{
  height:38px!important;
  min-height:38px!important;
  overflow:hidden!important;
}
.dd-explain-dock{
  height:150px!important;
  margin-top:10px!important;
  display:grid!important;
  grid-template-columns:1fr 1fr;
  gap:10px;
  overflow:hidden!important;
}
.dd-explain-dock:not(.open), .dd-explain-dock.open{
  height:150px!important;
  margin-top:10px!important;
}
.dd-explain-card{
  display:block!important;
  height:150px!important;
  min-height:150px!important;
  max-height:150px!important;
  margin:0!important;
  overflow:hidden!important;
  border:1px solid #dcecec!important;
  background:#fff!important;
}
.dd-explain-card.vip{
  border-color:#f2c96d!important;
  background:linear-gradient(180deg,#fff9ec,#fff)!important;
}
.dd-explain-card .dd-panel-title{
  height:42px!important;
  padding:10px 14px!important;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #edf4f4;
}
.dd-explain-card .dd-panel-title span{
  font-size:12px!important;
  color:#7b8a91;
  font-weight:800;
}
.dd-explain-card .dd-panel-content{
  display:none;
  height:105px!important;
  overflow:auto!important;
  padding:8px 14px!important;
}
.dd-explain-card.active .dd-panel-content{
  display:block!important;
}
.dd-explain-card.active .dd-panel-title span{
  color:#047b75;
}
.dd-vip-core{
  gap:8px!important;
}
.dd-vip-core span{
  height:24px!important;
  font-size:12px!important;
}
.dd-vip-core strong{
  font-size:15px!important;
}
.dd-vip-text,.dd-analysis-text{
  font-size:15px!important;
  line-height:1.65!important;
}
.dd-sheet-card{
  max-height:168px!important;
}
.dd-sheet-grid{
  max-height:96px!important;
  grid-template-columns:repeat(20,minmax(38px,1fr))!important;
}
@media(max-width:1400px){
  .dd-question-body{
    grid-template-columns:1fr!important;
    max-height:none!important;
  }
  .dd-question-media img{max-width:320px!important;}
  .dd-main-buttons{flex-wrap:wrap!important;}
  .dd-explain-dock{grid-template-columns:1fr!important;height:250px!important;}
  .dd-explain-dock:not(.open), .dd-explain-dock.open{height:250px!important;}
}

/* V2.11.9.36.1.17 strict answer rules */
.dd-option.strict-correct-pulse{
  animation: ddCorrectPulse 0.42s ease-in-out 0s 2;
  border-color:#10b99d!important;
  background:#e9fff9!important;
  box-shadow:0 0 0 3px rgba(16,185,157,.14)!important;
}
@keyframes ddCorrectPulse{
  0%{transform:scale(1)}
  45%{transform:scale(1.08)}
  100%{transform:scale(1)}
}
.dd-switch-row input:disabled + span,
.dd-switch-row label:has(input:disabled){
  opacity:.72;
}
.dd-feedback.success{
  color:#047b75!important;
  background:#e9fff9!important;
  border:1px solid #b9efe5!important;
}
.dd-feedback.error{
  color:#c72828!important;
  background:#fff3f3!important;
  border:1px solid #ffcaca!important;
}

/* V2.11.9.36.1.17 strict exam page */
.dd-exam-wrap{
  max-width:1280px;
  margin:32px auto;
}
.dd-exam-intro,.dd-exam-panel,.dd-exam-result{
  background:#fff;
  border:1px solid #dcecec;
  border-radius:20px;
  padding:28px;
  box-shadow:0 20px 60px rgba(0,92,88,.10);
}
.dd-exam-rule-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin:18px 0;
}
.dd-exam-rule-grid div{
  border:1px solid #e2eeee;
  border-radius:14px;
  padding:18px;
}
.dd-exam-rule-grid b{display:block;font-size:22px;margin-bottom:8px}
.dd-exam-status{
  display:flex;
  gap:16px;
  align-items:center;
  border-bottom:1px solid #e8f2f2;
  padding-bottom:14px;
  margin-bottom:18px;
  font-size:18px;
  font-weight:900;
}
.dd-exam-status span,.dd-exam-status b{
  background:#f2fbfa;
  border:1px solid #d8eeee;
  border-radius:999px;
  padding:8px 14px;
}
.dd-exam-question{
  display:grid;
  grid-template-columns:1fr 360px;
  gap:24px;
}
.dd-exam-question h2{
  font-size:28px;
  line-height:1.5;
  margin:0 0 18px;
}
.dd-exam-options{
  display:grid;
  gap:12px;
}
.dd-exam-option{
  min-height:58px;
  border:1px solid #dce8e8;
  background:#fff;
  border-radius:14px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 16px;
  font-size:18px;
  font-weight:800;
  text-align:left;
}
.dd-exam-option b{
  width:34px;height:34px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background:#f1f7f7;
}
.dd-exam-option.selected{
  border-color:#0aa08f;
  background:#ebfffb;
}
.dd-exam-media img{
  max-width:100%;
  max-height:280px;
  object-fit:contain;
  border-radius:14px;
  border:1px solid #e0ecec;
}
.dd-exam-modal{
  position:fixed;inset:0;background:rgba(10,20,25,.42);
  display:flex;align-items:center;justify-content:center;z-index:9999;
}
.dd-exam-modal[hidden]{display:none!important}
.dd-exam-modal-box{
  width:min(420px,92vw);
  background:#fff;
  border-radius:18px;
  padding:26px;
  box-shadow:0 20px 70px rgba(0,0,0,.22);
}
.dd-exam-score{
  font-size:52px;
  color:#008f82;
  font-weight:1000;
  margin:14px 0;
}
@media(max-width:900px){
  .dd-exam-question,.dd-exam-rule-grid{grid-template-columns:1fr}
}

/* V2.11.9.36.1.18 final layout patch */
.dd-mode-btn[data-modal="skill"] span{font-size:15px}
.dd-question-card{
  min-height:650px!important;
}
.dd-question-body{
  grid-template-columns:minmax(440px, 610px) minmax(260px, 360px)!important;
  justify-content:start!important;
  align-items:start!important;
  gap:26px!important;
  max-height:none!important;
  min-height:260px!important;
}
.dd-question-body.no-media{
  grid-template-columns:minmax(440px, 610px) 1fr!important;
}
.dd-question-title{
  min-height:66px!important;
  max-height:112px!important;
}
.dd-options{
  width:100%!important;
  max-width:610px!important;
}
.dd-option{
  width:100%!important;
  max-width:610px!important;
  min-height:46px!important;
  height:46px!important;
  padding:0 14px!important;
}
.dd-question-media{
  width:100%!important;
  min-height:230px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.dd-question-media[hidden]{
  display:none!important;
}
.dd-question-media img{
  max-width:330px!important;
  max-height:230px!important;
  object-fit:contain!important;
}
.dd-answer-line{
  justify-content:flex-start!important;
  gap:10px!important;
  padding-left:0!important;
}
.dd-practice-control{
  border-top:1px solid #edf4f4!important;
  margin-top:10px!important;
  padding-top:12px!important;
}
.dd-main-buttons{
  justify-content:flex-end!important;
  gap:8px!important;
}
.dd-main-buttons button{
  height:34px!important;
  min-width:78px!important;
}
.dd-explain-dock,
.dd-explain-dock.open,
.dd-explain-dock:not(.open){
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  height:124px!important;
  min-height:124px!important;
  margin-top:10px!important;
  overflow:hidden!important;
}
.dd-explain-card{
  display:block!important;
  height:124px!important;
  min-height:124px!important;
  max-height:124px!important;
  margin:0!important;
  overflow:hidden!important;
  opacity:1!important;
}
.dd-explain-card[hidden]{
  display:block!important;
}
.dd-explain-card .dd-panel-title{
  height:40px!important;
  padding:9px 14px!important;
}
.dd-explain-card .dd-panel-content{
  display:none!important;
  height:80px!important;
  max-height:80px!important;
  overflow:auto!important;
  padding:8px 14px!important;
}
.dd-explain-card.active .dd-panel-content{
  display:block!important;
}
.dd-sheet-card{
  max-height:190px!important;
  min-height:150px!important;
}
.dd-sheet-grid{
  grid-template-columns:repeat(20,minmax(34px,1fr))!important;
  max-height:124px!important;
  overflow-y:auto!important;
  padding-right:6px!important;
}
.dd-sheet-btn.not-loaded{
  opacity:.72;
  background:#fbfefe;
}
@media(max-width:1200px){
  .dd-question-body,.dd-question-body.no-media{
    grid-template-columns:1fr!important;
  }
  .dd-options,.dd-option{max-width:100%!important}
  .dd-explain-dock,.dd-explain-dock.open,.dd-explain-dock:not(.open){
    grid-template-columns:1fr!important;
    height:208px!important;
  }
}
