:root {
  --blue: #2b6de8; --blue-d: #1d4fc4; --bg: #eef2f9; --ink: #1c2433;
  --line: #d9e1ef; --ok: #16a34a; --warn: #d97706; --bad: #dc2626;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: "Microsoft YaHei UI", "Segoe UI", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--ink); font-size: 15px; }

.screen { display: none; height: 100vh; }
.screen.on { display: flex; flex-direction: column; }
.hidden { display: none !important; }

button { font-family: inherit; cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 7px 14px; font-size: 14px; color: var(--ink); }
button:hover { border-color: var(--blue); color: var(--blue); }
button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
button.primary:hover { background: var(--blue-d); }
button.big { width: 100%; padding: 12px; font-size: 16px; letter-spacing: 6px; }
button.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
button.danger:hover { background: #b91c1c; }
button.link { border: none; background: none; color: var(--blue); }
button:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 登录 ---------- */
#screen-auth { align-items: center; justify-content: center; background: linear-gradient(135deg, #0f1b33 0%, #1d3a7a 60%, #2b6de8 100%); }
.auth-box { width: 400px; background: #fff; border-radius: 14px; padding: 34px 36px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.brand { text-align: center; margin-bottom: 20px; }
.logo { width: 58px; height: 58px; border-radius: 14px; background: linear-gradient(135deg, var(--blue), #6d3df0); color: #fff; font-size: 30px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.brand h1 { font-size: 26px; letter-spacing: 4px; }
.brand p { color: #7c8aa5; font-size: 13px; margin-top: 4px; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tab { flex: 1; padding: 9px; border-radius: 8px; background: #f1f4fa; border: 1px solid transparent; color: #5b6b85; }
.tab.on { background: #e7efff; border-color: var(--blue); color: var(--blue); font-weight: 600; }
.auth-box label { display: block; font-size: 13px; color: #5b6b85; margin: 12px 0 5px; }
.auth-box input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; }
.auth-box input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,109,232,.12); }
.auth-box .big { margin-top: 20px; }
.msg { min-height: 20px; margin-top: 12px; text-align: center; font-size: 14px; color: var(--bad); }
.msg.ok { color: var(--ok); }
.auth-tip { margin-top: 8px; font-size: 12.5px; color: #7c8aa5; text-align: center; line-height: 1.7; }

/* ---------- 首页 ---------- */
.home-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 26px; background: #fff; border-bottom: 1px solid var(--line); }
.brand.small { display: flex; align-items: center; gap: 10px; }
.brand.small .logo { width: 36px; height: 36px; font-size: 19px; margin: 0; border-radius: 9px; }
.brand.small b { font-size: 19px; letter-spacing: 2px; white-space: nowrap; }
.home-user { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pill { background: #eef2f9; border-radius: 20px; padding: 4px 12px; font-size: 13px; color: #5b6b85; }
.pill.ok { background: #e8f7ee; color: var(--ok); }
.banner-row { display: flex; align-items: stretch; gap: 10px; margin: 14px 26px 0; }
.banner { flex: 1; margin: 0; padding: 10px 16px; background: #fff7e8; border: 1px solid #f5d9a8; color: var(--warn); border-radius: 8px; font-size: 14px; display: flex; align-items: center; }
.banner-dl { flex: none; display: flex; align-items: center; padding: 10px 18px; background: #2f7cf6; color: #fff; border-radius: 8px; font-size: 14px; text-decoration: none; white-space: nowrap; }
.banner-dl:hover { background: #1e63d0; }
.subj-tabs { display: flex; gap: 10px; padding: 16px 26px 0; }
.subj-tabs button { padding: 9px 22px; border-radius: 22px; font-size: 15px; background: #fff; }
.subj-tabs button.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.paper-list { flex: 1; overflow: auto; padding: 18px 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; align-content: start; }
.paper-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.paper-card h3 { font-size: 17px; }
.paper-card .desc { color: #7c8aa5; font-size: 13px; flex: 1; line-height: 1.6; }
.paper-card .meta { font-size: 12.5px; color: #98a5bb; }
.paper-card .row { display: flex; gap: 8px; }
.paper-card .row button { flex: 1; }
.empty { grid-column: 1/-1; text-align: center; color: #98a5bb; padding: 60px 0; }

/* ---------- 机考界面 ---------- */
.exam { background: #f7f9fd; }
.exam-top { display: flex; align-items: center; gap: 16px; background: #1e3a6e; color: #fff; padding: 0 16px; height: 54px; }
.exam-title { font-size: 16px; font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.exam-timer { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; background: rgba(255,255,255,.12); padding: 4px 16px; border-radius: 8px; }
.exam-timer.low { background: var(--bad); }
.exam-tools { display: flex; gap: 8px; }
.exam-tools button { background: rgba(255,255,255,.12); border-color: transparent; color: #fff; }
.exam-tools button:hover { background: rgba(255,255,255,.25); color: #fff; }
.exam-tools button.danger { background: var(--bad); }
.exam-body { flex: 1; display: flex; overflow: hidden; }
.q-area { flex: 1; overflow: auto; padding: 22px 28px; }
.q-card { width: 300px; background: #fff; border-left: 1px solid var(--line); overflow: auto; padding: 16px; }
.q-card h3 { margin-bottom: 10px; }
#card-legend { display: flex; gap: 14px; font-size: 12.5px; color: #7c8aa5; margin-bottom: 12px; }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.dot.done { background: var(--ok); } .dot.todo { background: #cbd5e1; } .dot.mark { background: var(--warn); }
.card-sec { font-size: 13px; color: #5b6b85; margin: 12px 0 6px; font-weight: 600; }
.card-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.card-grid button { width: 34px; height: 32px; padding: 0; border-radius: 6px; font-size: 13px; background: #eef1f6; border-color: transparent; color: #5b6b85; position: relative; }
.card-grid button.done { background: var(--ok); color: #fff; }
.card-grid button.cur { outline: 2px solid var(--blue); }
.card-grid button.mark::after { content: ""; position: absolute; top: 2px; right: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); }

.sec-note { background: #eaf1fd; border: 1px solid #c7dbfa; color: #28549e; border-radius: 8px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 14px; line-height: 1.6; }
.q-text { font-size: 16.5px; line-height: 1.8; margin: 6px 0 18px; }
.q-idx { color: var(--blue); font-weight: 700; margin-right: 6px; }
.opt { display: block; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; cursor: pointer; background: #fff; line-height: 1.6; }
.opt:hover { border-color: var(--blue); }
.opt.sel { border-color: var(--blue); background: #eaf1fd; }
.opt .tag { display: inline-block; width: 26px; height: 26px; line-height: 26px; text-align: center; border: 1px solid var(--line); border-radius: 50%; margin-right: 10px; font-size: 13px; background: #fff; }
.opt.sel .tag { background: var(--blue); border-color: var(--blue); color: #fff; }
.judge-btns { display: flex; gap: 14px; margin: 8px 0 18px; }
.judge-btns button { flex: 1; padding: 14px; font-size: 17px; border-radius: 10px; }
.judge-btns button.sel { background: var(--blue); border-color: var(--blue); color: #fff; }
textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-size: 14.5px; font-family: inherit; line-height: 1.7; resize: vertical; }
textarea:focus { outline: none; border-color: var(--blue); }
.sub-block { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 12px; background: #fff; }
.sub-block p { line-height: 1.7; margin-bottom: 10px; }

/* ---------- 托福 ---------- */
.t-tabs { display: flex; gap: 6px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 0; }
.t-tabs button { border-radius: 8px 8px 0 0; border-bottom: none; padding: 10px 24px; font-size: 15px; }
.t-tabs button.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.t-tabs button.done-pill::after { content: " ✓"; color: var(--ok); }
.t-tabs button.on.done-pill::after { color: #a7f3c7; }
.t-body { flex: 1; overflow: auto; padding: 20px 28px; }
.passage { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; line-height: 1.9; font-size: 15.5px; margin-bottom: 18px; max-width: 900px; }
.passage h3 { margin-bottom: 12px; }
.transcript-box { background: #fffbe8; border: 1px solid #f0e2b0; border-radius: 10px; padding: 16px 20px; line-height: 1.9; font-size: 15px; margin-bottom: 18px; max-width: 900px; white-space: pre-wrap; }
.t-sec-title { font-size: 17px; font-weight: 700; margin: 6px 0 14px; }
.timer-chip { display: inline-block; background: #fff1f1; color: var(--bad); border: 1px solid #f6c8c8; border-radius: 8px; padding: 4px 12px; font-weight: 700; font-variant-numeric: tabular-nums; margin-left: 10px; }
.rec-btn { padding: 10px 26px; font-size: 15px; border-radius: 24px; }
.rec-btn.rec { background: var(--bad); border-color: var(--bad); color: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .65; } }
.word-count { font-size: 12.5px; color: #98a5bb; text-align: right; margin-top: 4px; }

/* ---------- 成绩 ---------- */
.result-wrap { flex: 1; overflow: auto; padding: 30px 40px; max-width: 1000px; margin: 0 auto; width: 100%; }
.score-hero { background: linear-gradient(135deg, #1e3a6e, #2b6de8); color: #fff; border-radius: 16px; padding: 30px 36px; display: flex; align-items: center; gap: 40px; margin-bottom: 22px; }
.score-num { font-size: 56px; font-weight: 800; }
.score-side { font-size: 14.5px; line-height: 2; opacity: .95; }
.result-actions { display: flex; gap: 12px; margin: 0 0 22px; }
table.rtable { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.rtable th, .rtable td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: 14px; line-height: 1.6; }
.rtable th { background: #f1f5fb; white-space: nowrap; }
.rtable tr.good td:first-child { border-left: 4px solid var(--ok); }
.rtable tr.bad td:first-child { border-left: 4px solid var(--bad); }
.ans-line { font-size: 13.5px; margin-top: 6px; color: #43536e; }
.ans-line b.ok { color: var(--ok); } .ans-line b.bad { color: var(--bad); }
textarea.selfscore { width: 90px; padding: 6px; }
input[type=range] { width: 220px; vertical-align: middle; }

/* ---------- 计算器 ---------- */
.calc { position: fixed; right: 26px; bottom: 26px; width: 300px; background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.3); z-index: 50; overflow: hidden; }
.calc-head { display: flex; justify-content: space-between; align-items: center; background: #1e3a6e; color: #fff; padding: 9px 14px; font-weight: 600; }
.calc-head button { background: none; border: none; color: #fff; font-size: 15px; padding: 0 4px; }
#calc-display { width: 100%; border: none; text-align: right; font-size: 26px; padding: 14px 16px; font-variant-numeric: tabular-nums; }
.calc-keys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 10px; }
.calc-keys button { padding: 10px 0; font-size: 15px; border-radius: 8px; background: #f1f4fa; border-color: transparent; }
.calc-keys button.op { background: #e3ecff; color: var(--blue); font-weight: 600; }
.calc-keys button.eq { background: var(--blue); color: #fff; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; top: 70px; transform: translateX(-50%); background: rgba(20,30,50,.92); color: #fff; padding: 11px 22px; border-radius: 8px; font-size: 14px; z-index: 99; }

/* ---------- 首页两级导航 ---------- */
.home-nav{display:flex;align-items:center;gap:14px;padding:14px 26px 0}
.home-nav button{border-radius:8px;padding:7px 16px}
.home-nav span{font-size:15px;color:#5b6b85;font-weight:600}
.course-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;cursor:pointer;
  display:flex;flex-direction:column;gap:14px;transition:all .15s}
.course-card:hover{border-color:var(--blue);box-shadow:0 8px 24px rgba(43,109,232,.14);transform:translateY(-2px)}
.cc-head{display:flex;gap:14px;align-items:center}
.cc-icon{width:52px;height:52px;border-radius:12px;background:linear-gradient(135deg,#e7efff,#d7e6fd);
  display:flex;align-items:center;justify-content:center;font-size:26px}
.cc-info h3{font-size:18px;margin-bottom:4px}
.cc-info p{color:#7c8aa5;font-size:12.5px}
.cc-meta{display:flex;gap:14px;font-size:12.5px;color:#98a5bb}
.cc-dl{color:var(--ok)}
.cc-btn{width:100%;padding:11px;font-size:15px;border-radius:9px;letter-spacing:2px}
.pl-sec{grid-column:1/-1;font-size:15px;font-weight:700;color:#33415e;margin:6px 0 2px;
  padding-left:10px;border-left:4px solid var(--blue)}
.paper-row{grid-column:1/-1;background:#fff;border:1px solid var(--line);border-radius:10px;
  padding:15px 20px;display:flex;align-items:center;gap:16px}
.paper-row:hover{border-color:var(--blue)}
.pr-main{flex:1;min-width:0}
.pr-main b{font-size:15.5px}
.pr-desc{display:block;color:#7c8aa5;font-size:12.5px;margin-top:3px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pr-ops{display:flex;align-items:center;gap:8px;flex-shrink:0}
.pr-ops button{padding:8px 18px;border-radius:8px}
.pr-tip{font-size:12px;color:#b3bdd0}


/* ================= 注册会计师专属机考皮肤（中注协官方界面风格） ================= */
.skin-cpa { background: #e9eef6; }
/* 顶栏：深蓝色官方标题栏 */
.skin-cpa .exam-top {
  background: linear-gradient(180deg, #1d4e9e 0%, #163d7e 100%);
  border-bottom: 3px solid #0f2c5c;
  color: #fff;
  padding: 0 18px;
}
.skin-cpa .exam-title {
  color: #fff;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
}
.skin-cpa .exam-cand {
  color: #cfe0ff;
  font-size: 13px;
  margin-left: 26px;
  letter-spacing: .5px;
}
.skin-cpa .exam-timer {
  background: #fff;
  color: #b03a2e;
  border: 1px solid #8fb0e0;
  border-radius: 4px;
  font-family: Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  padding: 3px 12px;
}
.skin-cpa .exam-timer.low { color: #fff; background: #c0392b; border-color: #96281b; }
.skin-cpa .exam-tools button {
  background: rgba(255,255,255,.14);
  color: #eaf2ff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 4px;
  padding: 5px 13px;
  font-size: 13px;
}
.skin-cpa .exam-tools button:hover { background: rgba(255,255,255,.28); }
.skin-cpa .exam-tools button.danger { background: #b03a2e; border-color: #8e2f24; color: #fff; }

/* 主体：官方灰白底色 */
.skin-cpa .exam-body { background: #e9eef6; }
.skin-cpa .q-area {
  background: #fff;
  border: 1px solid #b9c8de;
  box-shadow: 0 1px 4px rgba(20,50,100,.08);
  font-family: SimSun, "宋体", serif;
  font-size: 15.5px;
  line-height: 2;
  color: #111;
}
.skin-cpa .sec-note { color: #444; font-size: 13.5px; background: #f4f7fc; border: 1px dashed #a9bedd; padding: 8px 12px; }
.skin-cpa .q-idx {
  background: #1d4e9e;
  color: #fff;
  border-radius: 3px;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 13px;
  padding: 2px 10px;
  margin-right: 10px;
}
.skin-cpa .q-text { font-size: 15.5px; }

/* 客观题选项：方形选项 + 蓝色选中态 */
.skin-cpa .q-area .opt {
  border: 1px solid #c3cfe0;
  border-radius: 4px;
  background: #fff;
  padding: 9px 14px;
  font-family: SimSun, "宋体", serif;
  font-size: 15px;
}
.skin-cpa .q-area .opt:hover { border-color: #1d4e9e; background: #f5f9ff; }
.skin-cpa .q-area .opt.sel { border-color: #1d4e9e; background: #e8f1ff; }
.skin-cpa .q-area .opt .tag {
  border: 1px solid #7d94bb;
  border-radius: 3px;
  color: #163d7e;
  background: #fff;
  font-family: Arial, sans-serif;
}
.skin-cpa .q-area .opt.sel .tag { background: #1d4e9e; color: #fff; border-color: #1d4e9e; }
.skin-cpa .judge-btns button { border: 1px solid #c3cfe0; border-radius: 4px; background: #fff; padding: 10px 34px; font-size: 15px; }
.skin-cpa .judge-btns button.sel { background: #1d4e9e; color: #fff; border-color: #163d7e; }

/* 案例资料区：官方分页资料样式 */
.skin-cpa .cpa-mat-tabs { display: flex; gap: 0; border-bottom: 2px solid #1d4e9e; margin-bottom: 0; }
.skin-cpa .cpa-mat-tabs button {
  border: 1px solid #b9c8de;
  border-bottom: none;
  background: #f0f4fa;
  color: #163d7e;
  padding: 7px 22px;
  font-size: 14px;
  font-family: "Microsoft YaHei", sans-serif;
  border-radius: 6px 6px 0 0;
  margin-right: 4px;
}
.skin-cpa .cpa-mat-tabs button.on { background: #1d4e9e; color: #fff; border-color: #1d4e9e; }
.skin-cpa .cpa-mat-body {
  border: 1px solid #b9c8de;
  border-top: none;
  background: #fffef8;
  padding: 16px 20px;
  font-family: SimSun, "宋体", serif;
  font-size: 15px;
  line-height: 2;
  white-space: pre-wrap;
  max-height: 320px;
  overflow-y: auto;
}
.skin-cpa .cpa-mat-body.only { border-top: 1px solid #b9c8de; background: #fffef8; }
.skin-cpa .cpa-asks-label {
  margin: 18px 0 6px;
  color: #163d7e;
  font-family: "Microsoft YaHei", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
}

/* 主观题作答区 */
.skin-cpa .sub-block p { font-family: SimSun, "宋体", serif; font-size: 15px; color: #222; }
.skin-cpa .sub-block textarea {
  width: 100%;
  border: 1px solid #9fb4d4;
  border-radius: 4px;
  background: #fff;
  font-family: SimSun, "宋体", serif;
  font-size: 15px;
  line-height: 1.9;
  padding: 12px 14px;
  resize: vertical;
}
.skin-cpa .sub-block textarea:focus { outline: none; border-color: #1d4e9e; box-shadow: 0 0 0 2px rgba(29,78,158,.15); }

/* 答题卡面板 */
.skin-cpa .q-card {
  background: #fff;
  border: 1px solid #b9c8de;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(20,50,100,.08);
}
.skin-cpa .q-card h3 {
  background: #1d4e9e;
  color: #fff;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 14.5px;
  padding: 9px 14px;
  margin: -1px -1px 10px;
  border-radius: 3px 3px 0 0;
}
.skin-cpa .card-sec { color: #163d7e; font-weight: 700; font-size: 13px; font-family: "Microsoft YaHei", sans-serif; }
.skin-cpa #card-grid button { border-radius: 3px; border: 1px solid #9fb4d4; }
.skin-cpa #card-grid button.done { background: #1d4e9e; border-color: #163d7e; color: #fff; }
.skin-cpa #card-grid button.mark { background: #e67e22; border-color: #bf6a1d; color: #fff; }
.skin-cpa #card-grid button.cur { outline: 2px solid #e74c3c; outline-offset: 1px; }


/* ================= 托福 ETS 官方机考界面风格 ================= */
.skin-to { background: #fff; }
.skin-toefl { background: #fff; }
/* 顶栏：ETS 深蓝 */
.skin-toefl .exam-top {
  background: linear-gradient(180deg, #173a6b 0%, #0e2a52 100%);
  border-bottom: none;
  color: #fff;
}
.skin-toefl .toefl-logo {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: .5px;
  margin-right: 18px;
}
.skin-toefl .toefl-logo sup { font-size: 10px; font-weight: 400; }
.skin-toefl .exam-title {
  color: #cfe0f5;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
}
.skin-toefl .exam-timer {
  color: #fff;
  font-family: Consolas, monospace;
  font-size: 17px;
  font-weight: 700;
  background: transparent;
  border: none;
}
.skin-toefl .exam-timer.low { color: #ffb199; }
.skin-toefl .exam-tools button {
  background: transparent;
  color: #dce8f8;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 3px;
  padding: 4px 12px;
  font-size: 12.5px;
}
.skin-toefl .exam-tools button.danger { background: #b23b2e; border-color: #8e2f24; color: #fff; }

/* 部分切换标签：ETS 风格灰蓝条 */
.skin-toefl .t-tabs {
  background: #dce6f2;
  border-bottom: 1px solid #b6c7dd;
  padding: 0 16px;
  gap: 2px;
}
.skin-toefl .t-tabs button {
  border-radius: 0;
  background: transparent;
  color: #33517c;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 20px;
  border: none;
  border-bottom: 3px solid transparent;
}
.skin-toefl .t-tabs button.on { background: #fff; color: #0e2a52; border-bottom-color: #f37f20; }
.skin-toefl .t-tabs button.done-pill { color: #2e7d4f; }

/* 阅读分屏：左文章右题目 */
.skin-toefl .t-split { display: flex; height: 100%; min-height: 0; }
.skin-toefl .t-passage {
  flex: 0 0 52%;
  border-right: 2px solid #9fb3cc;
  overflow-y: auto;
  padding: 22px 28px;
  background: #fffef5;
}
.skin-toefl .t-passage h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  color: #16335c;
  margin-bottom: 12px;
}
.skin-toefl .t-passage-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15.5px;
  line-height: 1.85;
  color: #1a1a1a;
  white-space: pre-wrap;
  overflow-y: auto;
}
.skin-toefl .t-player { display: flex; align-items: center; gap: 12px; margin: 10px 0 14px; }
.skin-toefl .t-play {
  background: #173a6b;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 700;
}
.skin-toefl .t-play:hover { background: #1f4a85; }
.skin-toefl .t-player-hint { color: #7d8aa0; font-size: 12.5px; }
.skin-toefl .t-transcript {
  border: 1px solid #c4d2e6;
  border-radius: 4px;
  background: #f7fafd;
  padding: 8px 12px;
  font-family: Georgia, serif;
  font-size: 14px;
}
.skin-toefl .t-transcript summary { cursor: pointer; color: #33517c; font-weight: 600; font-size: 13px; }
.skin-toefl .t-transcript div { margin-top: 8px; white-space: pre-wrap; line-height: 1.8; }

/* 右侧面板：一屏一题 */
.skin-toefl .t-qpanel {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 26px;
  background: #fff;
  overflow-y: auto;
}
.skin-toefl .t-qbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #173a6b;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid #d5dfec;
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.skin-toefl .t-qtext {
  font-size: 15.5px;
  line-height: 1.8;
  color: #222;
  margin-bottom: 18px;
}
.skin-toefl .t-opts { display: flex; flex-direction: column; gap: 10px; }
.skin-toefl .t-opt {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #c9d4e4;
  border-radius: 4px;
  background: #fbfdff;
  padding: 11px 14px;
  font-size: 14.5px;
  cursor: pointer;
  line-height: 1.6;
}
.skin-toefl .t-opt:hover { border-color: #173a6b; background: #f2f7fd; }
.skin-toefl .t-opt.sel { border-color: #173a6b; background: #e7f0fb; box-shadow: inset 0 0 0 1px #173a6b; }
.skin-toefl .t-opt .tag {
  width: 22px; height: 22px;
  border: 1px solid #7d94bb;
  border-radius: 50%;
  color: #173a6b;
  font: 700 13px/20px Arial, sans-serif;
  text-align: center;
  flex-shrink: 0;
  background: #fff;
}
.skin-toefl .t-opt.sel .tag { background: #173a6b; color: #fff; border-color: #173a6b; }

/* 底部导航：ETS 橙色 Next */
.skin-toefl .t-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #e3eaf3;
}
.skin-toefl .t-back {
  background: #fff;
  color: #173a6b;
  border: 1px solid #173a6b;
  border-radius: 3px;
  padding: 8px 26px;
  font-size: 14px;
  font-weight: 700;
}
.skin-toefl .t-back:disabled { opacity: .35; cursor: default; }
.skin-toefl .t-next {
  background: #f37f20;
  color: #fff;
  border: 1px solid #d96d15;
  border-radius: 3px;
  padding: 8px 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
}
.skin-toefl .t-next:hover { background: #e06f12; }

/* 口语 */
.skin-toefl .t-speak, .skin-toefl .t-write-block { padding: 22px 30px; max-width: 900px; }
.skin-toefl .t-speak-meta { color: #567; font-size: 13.5px; margin-bottom: 16px; }
.skin-toefl .t-speak-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.skin-toefl .rec-btn {
  background: #173a6b;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 11px 30px;
  font-size: 15px;
  font-weight: 700;
}
.skin-toefl .rec-btn:hover { background: #b23b2e; }
.skin-toefl .timer-chip {
  background: #fff4ec;
  color: #d96d15;
  border: 1px solid #f3c9a3;
  border-radius: 16px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 14px;
}

/* 写作 */
.skin-toefl textarea {
  width: 100%;
  border: 1px solid #9fb4d4;
  border-radius: 3px;
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.8;
  padding: 14px 16px;
  resize: vertical;
  background: #fff;
}
.skin-toefl textarea:focus { outline: none; border-color: #173a6b; box-shadow: 0 0 0 2px rgba(23,58,107,.15); }
.skin-toefl .word-count { color: #7d8aa0; font-size: 12.5px; margin-top: 6px; text-align: right; }
.skin-toefl .t-write-block { margin-bottom: 26px; }
.skin-toefl .t-write-block .passage { max-width: none; border-color: #c4d2e6; background: #fffef5; }
.skin-toefl .t-body { background: #fff; padding: 0; }
.skin-toefl .passage h4 { color: #16335c; font-family: Georgia, serif; font-size: 16px; margin-bottom: 8px; }

/* 商标免责声明 */
.disclaimer { margin-top: 14px; font-size: 11.5px; color: #9aa7bc; text-align: center; line-height: 1.6; }
.home-disclaimer { padding: 6px 16px 14px; margin-top: 0; }

/* 2026 新托福题型样式 */
.cw-box { margin: 16px 0; padding: 16px; background: #f4f7fb; border: 1px solid #d7e1ee; border-radius: 8px; }
.cw-masked { font-family: 'Courier New', monospace; font-size: 22px; letter-spacing: 3px; color: #16335c; margin-bottom: 10px; }
.cw-input { width: 100%; padding: 10px 12px; font-size: 16px; border: 1px solid #b9c8dd; border-radius: 6px; }
.cw-input:focus { outline: 2px solid #1e8449; border-color: transparent; }
.cw-hint { margin-top: 6px; font-size: 12.5px; color: #7b8aa0; }
.bs-built { min-height: 52px; margin: 14px 0; padding: 10px; background: #fff; border: 2px dashed #b9c8dd; border-radius: 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bs-empty { color: #9aa7bc; font-size: 13.5px; }
.bs-bank { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.bs-word { padding: 8px 14px; font-size: 15px; border: 1px solid #b9c8dd; background: #eef4fb; border-radius: 6px; cursor: pointer; }
.bs-word:hover { background: #dcecfa; }
.bs-picked { background: #1e8449; color: #fff; border-color: #1e8449; }
.bs-used { opacity: .35; cursor: default; }

/* ================= 雅思 IELTS 机考界面风格 ================= */
.skin-ielts { background: #fff; }
/* 顶栏：雅思官方深蓝紫 */
.skin-ielts .exam-top {
  background: linear-gradient(180deg, #2b2a6b 0%, #1b1a4a 100%);
  border-bottom: none;
  color: #fff;
}
.skin-ielts .ielts-logo {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .5px;
  margin-right: 16px;
  color: #fff;
}
.skin-ielts .exam-title { color: #cfcded; font-size: 14px; font-weight: 600; letter-spacing: .3px; }
.skin-ielts .exam-timer {
  color: #fff;
  font-family: Consolas, monospace;
  font-size: 17px;
  font-weight: 700;
  background: transparent;
  border: none;
}
.skin-ielts .exam-timer.low { color: #ffb199; }
.skin-ielts .exam-tools button {
  background: transparent;
  color: #e2e0f7;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 3px;
  padding: 4px 12px;
  font-size: 12.5px;
}
.skin-ielts .exam-tools button.danger { background: #a8232e; border-color: #8c1d26; color: #fff; }

/* 部分标签条 */
.skin-ielts .t-tabs {
  background: #eceaf8;
  border-bottom: 1px solid #c9c5e6;
  padding: 0 16px;
  gap: 2px;
}
.skin-ielts .t-tabs button {
  border-radius: 0;
  background: transparent;
  color: #4a4684;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 20px;
  border: none;
  border-bottom: 3px solid transparent;
}
.skin-ielts .t-tabs button.on { background: #fff; color: #1b1a4a; border-bottom-color: #d22730; }
.skin-ielts .t-tabs button.done-pill { color: #2e7d4f; }

.skin-ielts .t-body { background: #fff; }

/* ================= TOEIC 托业主题（ETS 风格深蓝） ================= */
.skin-toeic { background: #fff; }
.skin-toeic .exam-top {
  background: linear-gradient(180deg, #003c71 0%, #00284d 100%);
  border-bottom: none;
  color: #fff;
}
.skin-toeic .toeic-logo {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .5px;
  margin-right: 16px;
  color: #fff;
}
.skin-toeic .exam-title { color: #bcd2e8; font-size: 14px; font-weight: 600; letter-spacing: .3px; }
.skin-toeic .exam-timer {
  color: #fff;
  font-family: Consolas, monospace;
  font-size: 17px;
  font-weight: 700;
  background: transparent;
  border: none;
}
.skin-toeic .exam-timer.low { color: #ffc9a3; }
.skin-toeic .exam-tools button {
  background: transparent;
  color: #d6e4f2;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 3px;
  padding: 4px 12px;
  font-size: 12.5px;
}
.skin-toeic .exam-tools button.danger { background: #b03a2e; border-color: #8e2b21; color: #fff; }
.skin-toeic .t-tabs {
  background: #dbe7f3;
  border-bottom: 1px solid #aecbe4;
  padding: 0 16px;
  gap: 2px;
}
.skin-toeic .t-tabs button {
  border-radius: 0;
  background: transparent;
  color: #2e5d8c;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 20px;
  border: none;
  border-bottom: 3px solid transparent;
}
.skin-toeic .t-tabs button.on { background: #fff; color: #003c71; border-bottom-color: #e67e22; }
.skin-toeic .t-tabs button.done-pill { color: #2e7d4f; }
.skin-toeic .t-body { background: #fff; }
.skin-toeic .t-split { display: flex; height: 100%; min-height: 0; }
.skin-toeic .t-passage {
  flex: 0 0 52%;
  border-right: 2px solid #aecbe4;
  overflow-y: auto;
  padding: 22px 28px;
  background: #f7fafd;
}
.skin-toeic .t-passage h4 {
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  color: #003c71;
  margin-bottom: 12px;
}
.skin-toeic .t-qpanel { flex: 1; overflow-y: auto; padding: 18px 24px; }
.skin-toeic .t-passage-text { white-space: pre-wrap; line-height: 1.9; font-size: 15px; color: #23303d; font-family: Arial, "Helvetica Neue", sans-serif; }
.skin-toeic .i-col { padding: 20px 30px; max-width: 980px; }
.skin-toeic .t-player { display: flex; align-items: center; gap: 12px; margin: 10px 0 14px; }
.skin-toeic .t-player-hint { color: #7d95ac; font-size: 12.5px; }
.skin-toeic .t-transcript { border: 1px solid #dbe7f3; border-radius: 6px; padding: 8px 12px; margin: 6px 0 14px; background: #f7fafd; }
.skin-toeic .t-transcript summary { cursor: pointer; color: #2e5d8c; font-weight: 600; font-size: 13px; }
.skin-toeic .t-transcript div { margin-top: 8px; white-space: pre-wrap; line-height: 1.8; }
.skin-toeic .t-nav { margin-top: 24px; display: flex; justify-content: space-between; gap: 10px; }
.skin-toeic .t-back { background: #fff; color: #003c71; border: 1px solid #aecbe4; border-radius: 4px; padding: 8px 22px; font-size: 14px; cursor: pointer; }
.skin-toeic .t-back:disabled { opacity: .35; cursor: default; }
.skin-toeic .t-next { background: #003c71; color: #fff; border: none; border-radius: 4px; padding: 8px 26px; font-size: 14px; font-weight: 600; cursor: pointer; }
.skin-toeic .t-next:hover { background: #e67e22; }
.skin-toeic .t-qbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #003c71;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid #dbe7f3;
  padding-bottom: 10px;
  margin-bottom: 14px;
  gap: 12px;
}
.skin-toeic .t-qbar .pill { background: #003c71; color: #fff; }
.skin-toeic .t-qtext.toeic-q { font-family: Arial, "Helvetica Neue", sans-serif; font-size: 16px; color: #1a2a3a; }
.skin-toeic .t-opts { display: flex; flex-direction: column; gap: 10px; margin: 10px 0; }
.skin-toeic .t-opt {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #c3d6e8;
  border-radius: 4px;
  background: #f8fbfe;
  padding: 11px 14px;
  font-size: 14.5px;
  cursor: pointer;
  line-height: 1.6;
}
.skin-toeic .t-opt:hover { border-color: #003c71; background: #eef5fb; }
.skin-toeic .t-opt .tag {
  width: 22px; height: 22px;
  border: 1px solid #7fa3c4;
  border-radius: 50%;
  color: #003c71;
  font: 700 13px/20px Arial, sans-serif;
  text-align: center;
  flex-shrink: 0;
  background: #fff;
}
.skin-toeic .t-opt.sel { border-color: #e67e22; background: #fff4e5; box-shadow: inset 0 0 0 1px #e67e22; }
.skin-toeic .t-opt.sel .tag { background: #e67e22; color: #fff; border-color: #e67e22; }
.skin-toeic .i-no { color: #e67e22; }
.skin-toeic .toeic-img {
  display: block;
  max-width: 520px;
  width: 100%;
  margin: 12px auto;
  border: 2px solid #aecbe4;
  border-radius: 6px;
  background: #fff;
}
.skin-toeic .toeic-p1 { text-align: center; }
.skin-toeic .toeic-blank { color: #b03a2e; font-weight: 700; }
.skin-toeic .t-next { background: #003c71; color: #fff; border: none; }
.skin-toeic .t-back { background: #fff; color: #003c71; border: 1px solid #aecbe4; }
.toeic-rev { margin: 8px 0; border: 1px solid #dbe7f3; border-radius: 6px; }
.toeic-rev > summary {
  cursor: pointer;
  padding: 10px 14px;
  font-weight: 600;
  color: #003c71;
  background: #f0f6fb;
  border-radius: 6px;
}
.toeic-rev[open] > summary { border-bottom: 1px solid #dbe7f3; border-radius: 6px 6px 0 0; }
.ans-line.explain { color: #5d6d7e; }

/* 阅读分屏：左文章右题目 */
.skin-ielts .t-split { display: flex; height: 100%; min-height: 0; }
.skin-ielts .t-passage {
  flex: 0 0 52%;
  border-right: 2px solid #b8b4e0;
  overflow-y: auto;
  padding: 22px 28px;
  background: #fffef7;
}
.skin-ielts .t-passage h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  color: #26245c;
  margin-bottom: 12px;
}
.skin-ielts .t-passage-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15.5px;
  line-height: 1.9;
  color: #1a1a1a;
  white-space: pre-wrap;
}
.skin-ielts .i-hl-tip { margin-top: 14px; font-size: 12px; color: #8a86b8; }
.skin-ielts mark.hl { background: #ffe58a; padding: 0 1px; }

/* 播放器 / 原文 */
.skin-ielts .t-player { display: flex; align-items: center; gap: 12px; margin: 10px 0 14px; }
.skin-ielts .t-player-hint { color: #8a86b8; font-size: 12.5px; }
.skin-ielts .t-transcript {
  border: 1px solid #cfcbee;
  border-radius: 4px;
  background: #f8f7fd;
  padding: 8px 12px;
  font-family: Georgia, serif;
  font-size: 14px;
}
.skin-ielts .t-transcript summary { cursor: pointer; color: #4a4684; font-weight: 600; font-size: 13px; }
.skin-ielts .t-transcript div { margin-top: 8px; white-space: pre-wrap; line-height: 1.8; }

/* 右侧题目面板 */
.skin-ielts .t-qpanel {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 26px;
  background: #fff;
  overflow-y: auto;
}
.skin-ielts .t-qbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #26245c;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid #e2dff3;
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.skin-ielts .t-qtext { font-size: 15.5px; line-height: 1.8; color: #222; margin-bottom: 18px; }

/* 听力整页布局 */
.skin-ielts .i-col { padding: 20px 30px; max-width: 980px; }

/* 题组元素 */
.skin-ielts .i-note {
  margin: 14px 0 8px;
  font-size: 13.5px;
  color: #5b5890;
  font-weight: 600;
}
.skin-ielts .i-no {
  display: inline-block;
  min-width: 26px;
  color: #1b1a4a;
  font-weight: 700;
}
.skin-ielts .i-fill-row {
  margin: 9px 0;
  font-size: 15px;
  line-height: 2.1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.skin-ielts .i-fill {
  border: none;
  border-bottom: 2px solid #7a76b8;
  background: #f6f5fc;
  font-size: 15px;
  font-family: Georgia, serif;
  padding: 2px 8px;
  min-width: 150px;
}
.skin-ielts .i-fill:focus { outline: none; border-bottom-color: #d22730; background: #fff; }
.skin-ielts .i-match-opts {
  margin: 8px 0 12px;
  padding: 10px 14px;
  background: #f4f3fb;
  border: 1px solid #d8d5ee;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.9;
}
.skin-ielts .i-mq-row { display: flex; align-items: center; gap: 10px; margin: 9px 0; flex-wrap: wrap; }
.skin-ielts .i-mq-text { font-size: 15px; line-height: 1.7; flex: 1; min-width: 220px; }
.skin-ielts .i-match {
  border: 1px solid #7a76b8;
  border-radius: 3px;
  font-size: 14px;
  padding: 5px 8px;
  background: #fff;
  color: #1b1a4a;
}
.skin-ielts .i-tfng { margin: 12px 0; }
.skin-ielts .i-tfng .i-mq-text { display: block; margin-bottom: 6px; }
.skin-ielts .i-tfng-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.skin-ielts .i-tfng-btns button {
  border: 1px solid #9d99cf;
  background: #fff;
  color: #3a3780;
  border-radius: 3px;
  padding: 6px 16px;
  font-size: 13.5px;
  font-weight: 600;
}
.skin-ielts .i-tfng-btns button.sel { background: #2b2a6b; border-color: #1b1a4a; color: #fff; }
.skin-ielts .i-mcq { margin: 14px 0; }

/* 选择题 */
.skin-ielts .t-opts { display: flex; flex-direction: column; gap: 10px; }
.skin-ielts .t-opt {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #cfcbee;
  border-radius: 4px;
  background: #fbfaff;
  padding: 11px 14px;
  font-size: 14.5px;
  cursor: pointer;
  line-height: 1.6;
}
.skin-ielts .t-opt:hover { border-color: #2b2a6b; background: #f3f2fc; }
.skin-ielts .t-opt.sel { border-color: #2b2a6b; background: #e9e7fa; box-shadow: inset 0 0 0 1px #2b2a6b; }
.skin-ielts .t-opt .tag {
  width: 22px; height: 22px;
  border: 1px solid #8d89c4;
  border-radius: 50%;
  color: #26245c;
  font: 700 13px/20px Arial, sans-serif;
  text-align: center;
  flex-shrink: 0;
  background: #fff;
}
.skin-ielts .t-opt.sel .tag { background: #2b2a6b; color: #fff; border-color: #2b2a6b; }

/* 底部导航：雅思红 Next */
.skin-ielts .t-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #e6e4f5;
}
.skin-ielts .t-back {
  background: #fff;
  color: #26245c;
  border: 1px solid #26245c;
  border-radius: 3px;
  padding: 8px 26px;
  font-size: 14px;
  font-weight: 700;
}
.skin-ielts .t-back:disabled { opacity: .35; cursor: default; }
.skin-ielts .t-next {
  background: #d22730;
  color: #fff;
  border: 1px solid #b01f28;
  border-radius: 3px;
  padding: 8px 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .5px;
}
.skin-ielts .t-next:hover { background: #b01f28; }

/* 写作 */
.skin-ielts .t-write-block { padding: 22px 30px; max-width: 900px; }
.skin-ielts .i-data {
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.7;
  background: #f7f6fd;
  border: 1px solid #d8d5ee;
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 16px;
  white-space: pre-wrap;
}
.skin-ielts textarea {
  width: 100%;
  border: 1px solid #9d99cf;
  border-radius: 3px;
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.8;
  padding: 14px 16px;
  resize: vertical;
  background: #fff;
}
.skin-ielts textarea:focus { outline: none; border-color: #2b2a6b; box-shadow: 0 0 0 2px rgba(43,42,107,.15); }
.skin-ielts .word-count { color: #8a86b8; font-size: 12.5px; margin-top: 6px; text-align: right; }

/* 版本号标识 */
.app-ver { color: #8a97a8; font-size: 12px; margin-left: 6px; }

/* ================= PTE 培生机考皮肤（仿 Pearson 官方界面） =================
   Pearson 品牌色系：深海军蓝 #001E50 / 主蓝 #0067B9 / 浅灰底 #F4F6FA */
#screen-pte {
  background: #eef1f6;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  color: #1d2733;
}
#screen-pte .screen { display: none; }
#screen-pte.on { display: flex; flex-direction: column; }
.pte-top {
  background: #001E50;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  height: 58px;
  flex: none;
  box-shadow: 0 2px 8px rgba(0, 20, 60, .35);
  z-index: 5;
}
.pte-logo { font-size: 17px; font-weight: 300; letter-spacing: .5px; white-space: nowrap; }
.pte-logo b { font-weight: 800; }
.pte-title { font-size: 14px; color: #b9c6e2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.pte-timer-box { font-size: 13px; color: #b9c6e2; white-space: nowrap; }
.pte-timer-box b { color: #fff; font-size: 16px; margin-left: 6px; font-variant-numeric: tabular-nums; }
.pte-tools { display: flex; gap: 8px; }
.pte-tools button {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 4px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
}
.pte-tools button:hover { background: rgba(255, 255, 255, .22); }
.pte-tools button.danger { background: #c0392b; border-color: #a93226; }
.pte-tools button.danger:hover { background: #e74c3c; }

.pte-body { flex: 1; overflow: auto; padding: 26px 34px 40px; }
.p-col { max-width: 960px; margin: 0 auto; }

/* 题型与题号条 */
.p-itembar {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid #d7dee8; border-left: 4px solid #0067B9;
  border-radius: 4px; padding: 10px 16px; margin-bottom: 14px;
  font-size: 13.5px; color: #55657c;
}
.p-itembar .p-type { font-weight: 700; color: #001E50; font-size: 14.5px; }

/* 指令框（仿官方斜体灰框） */
.p-instr {
  background: #fff;
  border: 1px solid #d7dee8;
  border-radius: 4px;
  padding: 14px 18px;
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: #33415c;
  margin-bottom: 16px;
}

/* 阅读/提示文本框 */
.p-read-text {
  background: #fff;
  border: 1px solid #d7dee8;
  border-radius: 4px;
  padding: 20px 24px;
  font-size: 16.5px;
  line-height: 1.9;
  margin-bottom: 16px;
}
.p-passage { font-size: 15.5px; color: #2a3648; }
.p-box {
  background: #fff; border: 1px solid #d7dee8; border-radius: 4px;
  padding: 18px 22px; font-size: 16px; line-height: 1.8; margin-bottom: 16px;
}
.p-qtext { font-size: 16px; font-weight: 600; margin: 6px 0 12px; color: #001E50; }
.p-img-box {
  background: #fff; border: 1px solid #d7dee8; border-radius: 4px;
  padding: 18px; text-align: center; margin-bottom: 16px;
}
.p-img-box img { max-width: 100%; max-height: 420px; }

/* 选项（仿官方整行选项 + 蓝色选中） */
.p-opts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.p-opt {
  display: flex; align-items: flex-start; gap: 12px;
  background: #fff; border: 1px solid #cdd6e2; border-radius: 4px;
  padding: 12px 16px; font-size: 15px; line-height: 1.6; cursor: pointer;
  transition: background .12s, border-color .12s;
}
.p-opt:hover { border-color: #0067B9; background: #f4f9fd; }
.p-opt.sel { border-color: #0067B9; background: #e8f2fb; box-shadow: inset 0 0 0 1px #0067B9; }
.p-dot {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid #7b8aa0;
  flex: none; margin-top: 2px; background: #fff;
}
.p-dot.sq { border-radius: 3px; }
.p-opt.sel .p-dot { border-color: #0067B9; background: #0067B9; box-shadow: inset 0 0 0 3px #fff; }
.p-opt.sel .p-dot.sq { box-shadow: none; }

/* 录音条（仿官方：圆点 + 进度条 + 状态） */
.p-recbar {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid #d7dee8; border-radius: 4px;
  padding: 14px 18px; margin-bottom: 12px;
}
.p-mic { font-size: 22px; filter: grayscale(1); }
.p-mic.rec { filter: none; animation: p-blink 1s infinite; }
.p-mic.done { filter: none; opacity: .8; }
@keyframes p-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.p-track { flex: 1; height: 10px; background: #e3e8f0; border-radius: 5px; overflow: hidden; }
.p-prog { height: 100%; width: 0; background: #8a97ad; transition: width 1s linear; }
.p-prog.rec { background: #0067B9; }
.p-rec-status { font-size: 14px; font-weight: 700; color: #001E50; min-width: 190px; text-align: right; }
.p-rec-play { width: 100%; margin-bottom: 14px; }
.p-speak-ctl { margin-bottom: 16px; }
.p-rec-btn {
  background: #0067B9; color: #fff; border: none; border-radius: 4px;
  padding: 12px 30px; font-size: 15px; font-weight: 700; cursor: pointer;
}
.p-rec-btn:hover { background: #005a9e; }

/* 输入与写作 */
.p-text, .p-fill {
  border: 1px solid #b9c4d4; border-radius: 3px; padding: 10px 12px;
  font-size: 15px; background: #fff; margin: 4px 2px;
}
.p-text { width: 100%; box-sizing: border-box; margin-bottom: 16px; }
.p-text:focus, .p-fill:focus { outline: none; border-color: #0067B9; box-shadow: 0 0 0 2px rgba(0, 103, 185, .15); }
#p-wr, #screen-pte textarea {
  width: 100%; box-sizing: border-box;
  border: 1px solid #b9c4d4; border-radius: 3px;
  font-family: "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.8;
  padding: 14px 16px; resize: vertical; background: #fff;
}
#screen-pte textarea:focus { outline: none; border-color: #0067B9; box-shadow: 0 0 0 2px rgba(0, 103, 185, .15); }
#screen-pte .word-count { color: #7b8aa0; font-size: 12.5px; margin-top: 6px; text-align: right; }
.p-qbar { font-size: 14px; color: #55657c; margin: 10px 0; }

/* 段落排序 */
.p-ro-box { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.p-ro-item {
  background: #fff; border: 1px solid #cdd6e2; border-radius: 4px;
  padding: 12px 16px; font-size: 14.5px; line-height: 1.6; cursor: pointer;
}
.p-ro-item:hover { border-color: #0067B9; }
.p-ro-item.used { opacity: .35; pointer-events: none; }
.p-ro-ans { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.p-ro-chip {
  background: #e8f2fb; border: 1px solid #0067B9; border-radius: 4px;
  padding: 10px 14px; font-size: 14px; cursor: pointer;
}
.p-ro-chip:hover { background: #f6d9d9; border-color: #c0392b; }

/* 下拉填空 */
.p-blank {
  border: 1px solid #b9c4d4; border-radius: 3px; padding: 6px 8px;
  font-size: 14.5px; margin: 0 3px; background: #f4f9fd;
}
.p-blank:focus { outline: none; border-color: #0067B9; }

/* HIW 点词 */
.p-hiw .p-w { padding: 1px 3px; border-radius: 3px; cursor: pointer; line-height: 2.1; }
.p-hiw .p-w:hover { background: #dce9f7; }
.p-hiw .p-w.sel { background: #ffd24d; }

/* 导航按钮（仿官方蓝底白字 Next） */
.p-nav { display: flex; justify-content: space-between; margin-top: 20px; }
.p-next {
  background: #0067B9; color: #fff; border: none; border-radius: 4px;
  padding: 12px 42px; font-size: 15px; font-weight: 700; cursor: pointer;
  letter-spacing: .5px;
}
.p-next:hover { background: #005a9e; }
.p-back {
  background: #fff; color: #33415c; border: 1px solid #b9c4d4; border-radius: 4px;
  padding: 12px 26px; font-size: 14px; cursor: pointer;
}
.p-back:disabled { opacity: .4; cursor: default; }

#screen-pte audio { width: 100%; margin-bottom: 14px; }
#screen-pte .t-transcript { background: #fff; border: 1px solid #d7dee8; border-radius: 4px; padding: 10px 16px; margin-bottom: 14px; font-size: 14px; }
#screen-pte .t-transcript summary { cursor: pointer; color: #0067B9; font-weight: 600; }

/* 成绩页 PTE 技能条 */
.pte-hero { background: linear-gradient(135deg, #001E50, #00337a); color: #fff; }
.pte-skills { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 18px 0; }
.pte-skill { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }
.pte-skill span { width: 150px; color: #33415c; }
.pte-skill b { width: 34px; text-align: right; color: #001E50; font-size: 16px; }
.pte-bar { flex: 1; height: 12px; background: #e3e8f0; border-radius: 6px; overflow: hidden; }
.pte-bar i { display: block; height: 100%; background: linear-gradient(90deg, #0067B9, #31a2f2); border-radius: 6px; }

/* 登录框内协议勾选行（网页版） */
.agree-row { display: flex !important; align-items: flex-start; gap: 8px; margin: 2px 0 10px !important; font-size: 13px; color: #667085; cursor: pointer; line-height: 1.6; }
.agree-row input[type="checkbox"] { width: 15px; height: 15px; margin-top: 2px; flex: none; cursor: pointer; }
.agree-row a { color: #2f7cf6; text-decoration: none; }
.agree-row a:hover { text-decoration: underline; }

/* 注册区：算术验证码行（网页版） */
.captcha-row { display: flex; align-items: center; gap: 8px; }
.captcha-row .captcha-q { flex: none; min-width: 92px; text-align: center; background: #eef3fb; border: 1px dashed #b9c8e2; color: #1d3a7a; font-weight: 700; font-size: 15px; padding: 9px 6px; border-radius: 8px; letter-spacing: 1px; }
.captcha-row input { flex: 1; }
.captcha-row button { flex: none; width: 40px; height: 40px; border: 1px solid #cfd8e6; background: #f2f5fa; border-radius: 8px; font-size: 17px; cursor: pointer; color: #5b6b85; }
.captcha-row button:hover { border-color: #2f7cf6; color: #2f7cf6; }

.wx-bold { color: #1f2329; font-weight: 700; }

/* ============ PTE 拼写练习模块 ============ */
.spell-wrap { max-width: 860px; margin: 0 auto; padding: 28px 20px 60px; }
.spell-setup h2 { font-size: 26px; color: #16305e; margin: 6px 0 4px; }
.sp-sub { color: #667085; font-size: 14px; margin: 0 0 22px; }
.sp-block { background: #fff; border: 1px solid #e4e9f2; border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
.sp-bt { font-size: 15px; font-weight: 700; color: #16305e; margin-bottom: 12px; }
.sp-opts { display: flex; flex-wrap: wrap; gap: 12px; }
.sp-opt { position: relative; cursor: pointer; }
.sp-opt input { position: absolute; opacity: 0; }
.sp-opt span { display: inline-block; padding: 11px 22px; border: 1.5px solid #d3dbe8; border-radius: 10px; font-size: 16px; color: #33415c; background: #f8fafd; transition: all .15s; }
.sp-opt input:checked + span { border-color: #2f7cf6; background: #eaf2ff; color: #1a5fd0; font-weight: 700; box-shadow: 0 0 0 3px rgba(47,124,246,.12); }
.sp-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.sp-actions button { padding: 13px 30px; font-size: 17px; border-radius: 10px; border: 1px solid #cfd8e6; background: #fff; color: #33415c; cursor: pointer; }
.sp-actions button.primary { background: linear-gradient(135deg, #2f7cf6, #1a5fd0); border: none; color: #fff; font-weight: 700; }
.sp-actions button.big { font-size: 18px; padding: 14px 44px; }
.sp-actions button:disabled { opacity: .55; cursor: not-allowed; }
.sp-actions button:not(:disabled):hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,95,208,.22); }
.sp-loading { margin-top: 14px; color: #1a5fd0; font-size: 14px; }

/* 练习进行页 */
.spell-run { background: #fff; border: 1px solid #e4e9f2; border-radius: 16px; padding: 26px 30px 30px; }
.sp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.sp-head button { border: 1px solid #cfd8e6; background: #f2f5fa; color: #33415c; border-radius: 8px; padding: 8px 16px; font-size: 15px; cursor: pointer; }
.sp-head button:hover { border-color: #2f7cf6; color: #1a5fd0; }
.sp-prog { font-size: 16px; font-weight: 700; color: #16305e; }
.sp-score { font-size: 16px; font-weight: 700; color: #0e9f5d; }
.sp-playrow { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.sp-replay { border: none; background: linear-gradient(135deg, #2f7cf6, #1a5fd0); color: #fff; font-size: 17px; font-weight: 700; padding: 12px 26px; border-radius: 10px; cursor: pointer; }
.sp-replay:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,95,208,.28); }
.sp-hint { color: #8a94a6; font-size: 13.5px; }
.sp-blanks { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 8px 0 26px; min-height: 46px; align-items: center; }
.sp-cell { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 46px; border-bottom: 3px solid #2f7cf6; font-size: 32px; font-weight: 700; color: #16305e; font-family: Georgia, 'Times New Roman', serif; }
.sp-sent-blank { font-size: 17px; color: #8a94a6; }
.sp-input { display: block; width: 100%; box-sizing: border-box; font-size: 30px; padding: 16px 20px; border: 2px solid #c9d4e6; border-radius: 12px; outline: none; color: #16305e; font-family: Georgia, 'Times New Roman', serif; letter-spacing: 1px; }
.sp-input:focus { border-color: #2f7cf6; box-shadow: 0 0 0 4px rgba(47,124,246,.13); }
.sp-input:disabled { background: #f2f5fa; color: #667085; }
.sp-runhint { margin-top: 14px; text-align: center; color: #a0a9b8; font-size: 13px; }
.sp-judge { margin-top: 20px; border-radius: 12px; padding: 18px 22px; display: flex; align-items: center; gap: 18px; animation: spPop .25s ease; }
.sp-judge.ok { background: #e8f9f0; border: 1.5px solid #63d69a; }
.sp-judge.bad { background: #fdeeee; border: 1.5px solid #f08a8a; }
.sp-mark { font-size: 44px; font-weight: 900; line-height: 1; }
.sp-judge.ok .sp-mark { color: #0e9f5d; }
.sp-judge.bad .sp-mark { color: #d92c2c; }
.sp-jtext { font-size: 17px; color: #33415c; }
.sp-jtext b { font-size: 19px; color: #16305e; letter-spacing: 1px; }
.sp-your { display: block; margin-top: 4px; color: #8a94a6; font-size: 14px; }
@keyframes spPop { 0% { transform: scale(.85); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* 成绩页 */
.sp-score-big { font-size: 22px; color: #33415c; text-align: center; margin: 18px 0 4px; }
.sp-score-big b { font-size: 52px; color: #1a5fd0; }
.sp-score-sub { text-align: center; color: #8a94a6; font-size: 15px; margin-bottom: 22px; }
.sp-review { background: #fff; border: 1px solid #e4e9f2; border-radius: 14px; padding: 18px 20px; margin-bottom: 8px; max-height: 320px; overflow: auto; }
.sp-rw { display: flex; gap: 12px; padding: 10px 4px; border-bottom: 1px dashed #edf0f6; font-size: 16px; color: #16305e; }
.sp-rw:last-child { border-bottom: none; }
.sp-rx { color: #d92c2c; font-weight: 900; }
.sp-perfect { text-align: center; font-size: 18px; color: #0e9f5d; padding: 18px 0; }
.spell-card { border: 1.5px solid #b9d1f8 !important; background: linear-gradient(135deg, #f4f9ff, #eaf2ff) !important; }

/* 错词本 */
.sp-wb-empty { color: #a0a9b8; font-size: 14px; padding: 4px 0 6px; }
.sp-wb-btn { border: 1.5px solid #f0b429 !important; background: #fff8e6 !important; color: #8a6100 !important; font-size: 15px !important; font-weight: 700; padding: 11px 20px; border-radius: 10px; cursor: pointer; }
.sp-wb-btn:hover { background: #ffefc2 !important; }
.sp-wb-toggle { border: none; background: none; color: #2f7cf6; font-size: 14px; cursor: pointer; padding: 4px 0; }
.sp-wb-toggle:hover { text-decoration: underline; }
.sp-wb-detail { margin-top: 10px; }
.sp-wb-sec { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #16305e; margin: 10px 0 4px; }
.sp-wb-clear { margin-left: auto; border: 1px solid #f0b429; background: #fff8e6; color: #8a6100; border-radius: 6px; font-size: 12.5px; padding: 3px 10px; cursor: pointer; }
.sp-wb-item { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-bottom: 1px dashed #edf0f6; font-size: 15.5px; color: #33415c; }
.sp-wb-item span:first-child { font-family: Georgia, serif; letter-spacing: .5px; }
.sp-wb-n { color: #b7791f; font-size: 12.5px; }
.sp-wb-item button { margin-left: auto; border: none; background: #fdeeee; color: #d92c2c; width: 24px; height: 24px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.sp-wb-item button:hover { background: #f8d3d3; }
.sp-wb-clearall { margin-top: 12px; border: 1px solid #f08a8a; background: #fdeeee; color: #d92c2c; border-radius: 8px; padding: 8px 18px; font-size: 14px; cursor: pointer; }
.sp-wb-msg { text-align: center; color: #8a6100; background: #fff8e6; border: 1px solid #f0d48a; border-radius: 10px; padding: 10px; font-size: 14.5px; margin-bottom: 14px; }

/* 译文展示 */
.sp-zh { color: #0e7a46; font-size: 15px; margin-top: 6px; font-weight: 400; }
.sp-zhline { display: block; color: #b7791f; font-size: 14px; margin-top: 4px; font-style: normal; }
