/* ==========================================================
   专升本英语 · 从零开始
   设计系统
   ========================================================== */

:root{
  --bg:#F5F6FA;
  --surface:#FFFFFF;
  --surface-2:#FAFBFD;
  --line:#E9ECF3;
  --line-2:#F1F3F8;

  --text:#191C26;
  --text-2:#5F6679;
  --text-3:#9BA1B0;

  --primary:#3B6ED4;
  --primary-2:#6B93E8;
  --primary-soft:#EEF3FD;
  --primary-deep:#2B529F;

  --green:#2EA36B;
  --green-soft:#E9F7F0;
  --amber:#DE8F2E;
  --amber-soft:#FCF3E6;
  --red:#D95B5B;
  --red-soft:#FBECEC;
  --violet:#7A6BD4;
  --violet-soft:#F1EFFC;

  --r-xl:22px;
  --r-lg:18px;
  --r-md:13px;
  --r-sm:9px;

  --sh-1:0 1px 2px rgba(25,28,38,.04), 0 2px 8px rgba(25,28,38,.04);
  --sh-2:0 2px 6px rgba(25,28,38,.05), 0 10px 30px rgba(25,28,38,.07);
  --sh-3:0 8px 40px rgba(25,28,38,.13);

  --nav-h:62px;
  --safe-b:env(safe-area-inset-bottom, 0px);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}

html{-webkit-text-size-adjust:100%;}

body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:var(--bg);
  color:var(--text);
  font-size:15px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -webkit-tap-highlight-color:transparent;
  overscroll-behavior-y:none;
}

button{font-family:inherit;font-size:inherit;color:inherit;background:none;border:none;cursor:pointer;}
input{font-family:inherit;font-size:inherit;color:inherit;}
a{color:var(--primary);text-decoration:none;}
img,svg{display:block;}
::selection{background:var(--primary-soft);}

/* 滚动条 */
::-webkit-scrollbar{width:6px;height:6px;}
::-webkit-scrollbar-thumb{background:#D8DDE8;border-radius:3px;}
::-webkit-scrollbar-track{background:transparent;}

/* ==================== 布局 ==================== */
.app{
  max-width:760px;
  margin:0 auto;
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  background:var(--bg);
  position:relative;
}

.view{
  flex:1;
  padding:0 18px calc(var(--nav-h) + var(--safe-b) + 26px);
  animation:viewIn .3s cubic-bezier(.22,.8,.3,1);
}
@keyframes viewIn{
  from{opacity:0;transform:translateY(8px);}
  to{opacity:1;transform:none;}
}

/* ==================== 底部导航 ==================== */
.tabbar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  margin:0 auto;
  width:auto;
  max-width:760px;
  height:calc(var(--nav-h) + var(--safe-b));
  padding-bottom:var(--safe-b);
  display:grid;
  grid-template-columns:repeat(5,1fr);
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(18px);
  -webkit-backdrop-filter:saturate(180%) blur(18px);
  border-top:1px solid var(--line);
  z-index:50;
}
.tab{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  color:var(--text-3);
  font-size:10.5px;
  letter-spacing:.2px;
  transition:color .18s;
  position:relative;
}
.tab svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s;}
.tab.on{color:var(--primary);font-weight:600;}
.tab.on svg{transform:translateY(-1px) scale(1.04);}
.tab:active svg{transform:scale(.92);}

/* ==================== 通用组件 ==================== */
.page-head{
  padding:22px 2px 14px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
.page-head h1{
  font-size:24px;
  font-weight:700;
  letter-spacing:-.5px;
  line-height:1.25;
}
.page-head .sub{
  font-size:12.5px;
  color:var(--text-3);
  margin-top:3px;
}

.card{
  background:var(--surface);
  border-radius:var(--r-lg);
  border:1px solid var(--line);
  box-shadow:var(--sh-1);
}

.sec-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:26px 2px 11px;
}
.sec-title h2{
  font-size:14px;
  font-weight:650;
  letter-spacing:.2px;
}
.sec-title .more{
  font-size:12px;
  color:var(--text-3);
}
.sec-title .more:active{color:var(--primary);}

/* 按钮 */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  height:46px;
  padding:0 20px;
  border-radius:var(--r-md);
  font-size:14.5px;
  font-weight:600;
  transition:transform .12s, background .18s, opacity .18s;
  user-select:none;
  white-space:nowrap;
}
.btn:active{transform:scale(.975);}
.btn-primary{background:var(--primary);color:#fff;box-shadow:0 4px 14px rgba(59,110,212,.28);}
.btn-primary:active{background:var(--primary-deep);}
.btn-ghost{background:var(--surface);border:1px solid var(--line);color:var(--text);}
.btn-soft{background:var(--primary-soft);color:var(--primary);}
.btn-block{display:flex;width:100%;}
.btn[disabled]{opacity:.45;pointer-events:none;}
.btn-sm{height:36px;padding:0 14px;font-size:13px;border-radius:var(--r-sm);}

/* 标签 */
.chip{
  display:inline-flex;
  align-items:center;
  gap:4px;
  height:23px;
  padding:0 8px;
  border-radius:6px;
  font-size:11px;
  font-weight:600;
  letter-spacing:.2px;
  background:var(--line-2);
  color:var(--text-2);
  white-space:nowrap;
}
.chip-blue{background:var(--primary-soft);color:var(--primary);}
.chip-green{background:var(--green-soft);color:var(--green);}
.chip-amber{background:var(--amber-soft);color:var(--amber);}
.chip-red{background:var(--red-soft);color:var(--red);}
.chip-violet{background:var(--violet-soft);color:var(--violet);}

/* 进度条 */
.bar{
  height:6px;
  border-radius:99px;
  background:var(--line-2);
  overflow:hidden;
}
.bar > i{
  display:block;
  height:100%;
  border-radius:99px;
  background:linear-gradient(90deg,var(--primary-2),var(--primary));
  transition:width .5s cubic-bezier(.3,.9,.3,1);
}

/* 空状态 */
.empty{
  text-align:center;
  padding:46px 20px;
  color:var(--text-3);
  font-size:13.5px;
}
.empty .ico{font-size:34px;margin-bottom:10px;opacity:.6;}

/* ==================== 首页 ==================== */
.hero{
  margin-top:18px;
  padding:22px 20px 20px;
  border-radius:var(--r-xl);
  background:linear-gradient(158deg,#4A79DC 0%,#3B6ED4 52%,#2F5CB8 100%);
  color:#fff;
  position:relative;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(59,110,212,.26);
}
.hero::after{
  content:"";
  position:absolute;
  top:-58%;
  right:-24%;
  width:250px;height:250px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.18),transparent 68%);
  pointer-events:none;
}
.hero-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  position:relative;
  z-index:1;
}
.hero-greet{font-size:12.5px;opacity:.82;letter-spacing:.3px;}
.hero-num{
  font-size:27px;
  font-weight:700;
  letter-spacing:-.6px;
  margin-top:2px;
  display:flex;
  align-items:baseline;
  gap:6px;
}
.hero-num small{font-size:12.5px;font-weight:500;opacity:.8;letter-spacing:0;}

.ring{position:relative;width:62px;height:62px;flex-shrink:0;}
.ring svg{transform:rotate(-90deg);}
.ring .r-bg{stroke:rgba(255,255,255,.24);}
.ring .r-fg{stroke:#fff;stroke-linecap:round;transition:stroke-dashoffset .7s cubic-bezier(.3,.9,.3,1);}
.ring .r-txt{
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:700;
}

.hero-task{
  position:relative;z-index:1;
  margin-top:17px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.18);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
/* 文字区可收缩，按钮不被挤成两行 */
.hero-task > div{min-width:0;flex:1;}
.hero-task .t-main{font-size:14px;font-weight:600;}
.hero-task .t-sub{font-size:11.5px;opacity:.78;margin-top:2px;line-height:1.5;}
.hero-btn{
  height:38px;
  padding:0 17px;
  border-radius:10px;
  background:#fff;
  color:var(--primary-deep);
  font-size:13.5px;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:5px;
  flex-shrink:0;
  white-space:nowrap;
  box-shadow:0 3px 12px rgba(0,0,0,.12);
  transition:transform .12s;
}
.hero-btn:active{transform:scale(.96);}

/* 100 分地图 */
.score-map{
  display:flex;
  height:13px;
  border-radius:7px;
  overflow:hidden;
  gap:2px;
  margin-bottom:13px;
}
.score-map i{display:block;height:100%;}

.score-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.score-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  padding:12px 13px;
  text-align:left;
  box-shadow:var(--sh-1);
  transition:transform .14s;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.score-card:active{transform:scale(.975);}
.sc-row{display:flex;align-items:baseline;justify-content:space-between;gap:6px;}
.sc-name{font-size:13.5px;font-weight:650;letter-spacing:-.2px;}
.sc-pt{font-size:19px;font-weight:700;letter-spacing:-.5px;font-variant-numeric:tabular-nums;}
.sc-sub{font-size:11px;color:var(--text-3);}
.sc-tag{
  align-self:flex-start;
  font-size:10px;
  font-weight:600;
  padding:2px 7px;
  border-radius:5px;
  margin-top:4px;
  letter-spacing:.2px;
}

/* 快捷统计 */
.stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-top:12px;
}
.stat{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  padding:13px 12px;
  text-align:center;
}
.stat b{display:block;font-size:19px;font-weight:700;letter-spacing:-.4px;}
.stat span{font-size:11px;color:var(--text-3);}

/* 快捷入口 */
.entries{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:11px;
}
.entry{
  padding:16px 15px;
  border-radius:var(--r-lg);
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--sh-1);
  display:flex;
  flex-direction:column;
  gap:9px;
  transition:transform .14s, box-shadow .2s;
  text-align:left;
}
.entry:active{transform:scale(.982);box-shadow:var(--sh-2);}
.entry .e-ico{
  width:36px;height:36px;
  border-radius:11px;
  display:flex;align-items:center;justify-content:center;
  font-size:18px;
}
.entry .e-name{font-size:14px;font-weight:650;}
.entry .e-desc{font-size:11.5px;color:var(--text-3);line-height:1.4;margin-top:-4px;}

/* 学习计划条 */
.plan-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid var(--line-2);
}
.plan-row:last-child{border-bottom:none;}
.plan-row .p-dot{
  width:8px;height:8px;border-radius:50%;flex-shrink:0;
}
.plan-row .p-name{font-size:13.5px;font-weight:550;}
.plan-row .p-num{font-size:12px;color:var(--text-3);margin-left:auto;font-variant-numeric:tabular-nums;}

/* ==================== 背单词 ==================== */
.study-wrap{
  min-height:calc(100vh - var(--nav-h) - var(--safe-b));
  min-height:calc(100dvh - var(--nav-h) - var(--safe-b));
  display:flex;
  flex-direction:column;
  padding-top:8px;
}
.study-head{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 0 14px;
}
.icon-btn{
  width:36px;height:36px;
  border-radius:11px;
  display:flex;align-items:center;justify-content:center;
  background:var(--surface);
  border:1px solid var(--line);
  flex-shrink:0;
  transition:transform .12s;
}
.icon-btn:active{transform:scale(.93);}
.icon-btn svg{width:18px;height:18px;stroke:var(--text-2);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}

.study-progress{flex:1;}
.study-progress .sp-top{
  display:flex;justify-content:space-between;
  font-size:11.5px;color:var(--text-2);
  margin-bottom:5px;
  font-variant-numeric:tabular-nums;
}
/* 语音题的指令文字：原来用 --text-3(#9BA1B0) 太浅，抬到正文色 */
.study-progress .sp-top .sp-label{
  font-size:12.5px;
  font-weight:600;
  color:var(--text);
  letter-spacing:-.1px;
}

/* 单词卡 */
.wcard{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-xl);
  box-shadow:var(--sh-2);
  padding:34px 24px;
  position:relative;
  overflow:hidden;
  min-height:330px;
  transition:transform .3s cubic-bezier(.22,.8,.3,1), opacity .2s;
}
.wcard.swipe-out{transform:translateX(-115%) rotate(-4deg);opacity:0;}
.wcard.swipe-in{animation:cardIn .32s cubic-bezier(.22,.8,.3,1);}
@keyframes cardIn{
  from{transform:translateX(40px) scale(.97);opacity:0;}
  to{transform:none;opacity:1;}
}

.w-tag{
  position:absolute;top:14px;left:16px;
  display:flex;gap:6px;
}
.w-status{
  position:absolute;top:14px;right:16px;
  font-size:11px;color:var(--text-3);
}

.w-word{
  font-size:clamp(32px,9vw,44px);
  font-weight:700;
  letter-spacing:-1px;
  line-height:1.15;
  text-align:center;
  word-break:break-word;
}
.w-word.small{font-size:clamp(24px,6.4vw,32px);letter-spacing:-.4px;}

.w-phon{
  font-size:15px;
  color:var(--text-3);
  margin-top:9px;
  font-family:"Lucida Sans Unicode","Segoe UI","Helvetica Neue",Arial,sans-serif;
  letter-spacing:.4px;
  display:flex;
  align-items:center;
  gap:9px;
}
.phon-none{font-size:12px;opacity:.85;letter-spacing:0;}
.w-audio{
  width:30px;height:30px;
  border-radius:50%;
  background:var(--primary-soft);
  display:flex;align-items:center;justify-content:center;
  transition:transform .14s;
}
.w-audio:active{transform:scale(.88);}
.w-audio svg{width:15px;height:15px;fill:var(--primary);stroke:none;}

.w-answer{
  margin-top:24px;
  width:100%;
  text-align:center;
  animation:ansIn .26s ease-out;
}
@keyframes ansIn{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}

.w-pos{
  display:inline-block;
  font-size:11.5px;
  font-weight:700;
  color:var(--violet);
  background:var(--violet-soft);
  padding:2px 7px;
  border-radius:5px;
  margin-bottom:9px;
  letter-spacing:.3px;
}
.w-mean{
  font-size:19px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:-.2px;
}
.w-eg{
  margin-top:18px;
  padding-top:16px;
  border-top:1px dashed var(--line);
  font-size:13.5px;
  line-height:1.65;
  color:var(--text-2);
  text-align:left;
}
.w-eg .en{color:var(--text);}
.w-eg .en b{color:var(--primary);font-weight:650;}
.w-eg .cn{color:var(--text-3);font-size:12.5px;margin-top:3px;}
.w-coll{
  margin-top:12px;
  font-size:12.5px;
  color:var(--amber);
  background:var(--amber-soft);
  padding:7px 11px;
  border-radius:8px;
  text-align:left;
  line-height:1.55;
}

.w-hint{
  position:absolute;
  bottom:16px;
  left:0;right:0;
  text-align:center;
  font-size:12.5px;
  color:var(--text-2);
  animation:pulse 2.4s ease-in-out infinite;
}
/* 语音题底部的听音提示：静态显示，字号再大一点 */
.w-hint.pq-hint{
  position:static;
  margin-top:18px;
  font-size:13px;
  color:var(--text-2);
  animation:none;
}
@keyframes pulse{0%,100%{opacity:.5;}50%{opacity:.95;}}

/* 底栏评分 */
.gradebar{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin-top:14px;
  animation:ansIn .24s ease-out;
}
.grade{
  height:56px;
  border-radius:var(--r-md);
  font-size:13px;
  font-weight:650;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  border:1.5px solid;
  transition:transform .12s, background .18s;
}
.grade:active{transform:scale(.96);}
.grade small{font-size:9.5px;font-weight:500;opacity:.72;letter-spacing:.2px;}
.g-again{background:var(--red-soft);border-color:#F3D6D6;color:var(--red);}
.g-hard{background:var(--amber-soft);border-color:#F3E3CB;color:var(--amber);}
.g-good{background:var(--green-soft);border-color:#CFEBDC;color:var(--green);}
.g-easy{background:var(--primary-soft);border-color:#D5E2FA;color:var(--primary);}

/* 选项题 */
.quiz{
  margin-top:20px;
  display:flex;
  flex-direction:column;
  gap:9px;
  width:100%;
}
.opt{
  min-height:50px;
  padding:12px 15px;
  border-radius:var(--r-md);
  border:1.5px solid var(--line);
  background:var(--surface-2);
  font-size:14.5px;
  text-align:left;
  transition:all .16s;
  display:flex;
  align-items:center;
  gap:10px;
}
.opt:active{transform:scale(.99);}
.opt .k{
  width:21px;height:21px;
  border-radius:6px;
  background:#EEF0F6;
  color:var(--text-3);
  font-size:11px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.opt.right{background:var(--green-soft);border-color:#9FD9BC;color:#1F7A4E;}
.opt.right .k{background:var(--green);color:#fff;}
.opt.wrong{background:var(--red-soft);border-color:#F0C4C4;color:#A83A3A;}
.opt.wrong .k{background:var(--red);color:#fff;}
.opt.dim{opacity:.5;}

/* 拼写输入 */
.spell{
  margin-top:22px;
  width:100%;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.spell-hint{
  text-align:center;
  font-size:13px;
  color:var(--text-3);
  line-height:1.6;
}
.spell-input{
  width:100%;
  height:54px;
  border-radius:var(--r-md);
  border:1.5px solid var(--line);
  background:var(--surface-2);
  text-align:center;
  font-size:22px;
  font-weight:600;
  letter-spacing:2px;
  outline:none;
  transition:border-color .18s, background .18s;
}
.spell-input:focus{border-color:var(--primary);background:#fff;}
.spell-input.ok{border-color:#9FD9BC;background:var(--green-soft);}
.spell-input.no{border-color:#F0C4C4;background:var(--red-soft);}

/* 学习完成 */
.finish{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:30px 10px;
  gap:6px;
}
.finish .f-ico{
  width:82px;height:82px;
  border-radius:50%;
  background:var(--green-soft);
  display:flex;align-items:center;justify-content:center;
  font-size:38px;
  margin-bottom:14px;
  animation:pop .45s cubic-bezier(.3,1.5,.5,1);
}
@keyframes pop{from{transform:scale(.5);opacity:0;}to{transform:scale(1);opacity:1;}}
.finish h2{font-size:21px;font-weight:700;letter-spacing:-.3px;}
.finish p{font-size:13.5px;color:var(--text-3);line-height:1.6;}
.finish-stats{
  display:flex;
  gap:26px;
  margin:22px 0 26px;
}
.finish-stats div{text-align:center;}
.finish-stats b{display:block;font-size:22px;font-weight:700;color:var(--primary);}
.finish-stats span{font-size:11.5px;color:var(--text-3);}

/* ==================== 基础模块 ==================== */
.b-list{
  display:flex;
  flex-direction:column;
  gap:11px;
}
.b-item{
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  box-shadow:var(--sh-1);
  text-align:left;
  transition:transform .14s;
}
.b-item:active{transform:scale(.985);}
.b-item .b-ico{
  width:44px;height:44px;
  border-radius:13px;
  display:flex;align-items:center;justify-content:center;
  font-size:21px;
  flex-shrink:0;
}
.b-item .b-txt{flex:1;min-width:0;}
.b-item .b-name{font-size:14.5px;font-weight:650;}
.b-item .b-desc{font-size:12px;color:var(--text-3);margin-top:2px;line-height:1.45;}
.b-item .b-arrow{color:var(--text-3);flex-shrink:0;}

/* 字母表 */
.alpha-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(64px,1fr));
  gap:9px;
}
.alpha-cell{
  position:relative;
  aspect-ratio:1;
  border-radius:var(--r-md);
  background:var(--surface);
  border:1px solid var(--line);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  transition:transform .14s, border-color .18s;
}
.alpha-cell:active{transform:scale(.94);border-color:var(--primary);}
.alpha-cell b{font-size:22px;font-weight:700;letter-spacing:-.5px;}
.alpha-cell span{font-size:9.5px;color:var(--text-3);font-family:"Segoe UI","Helvetica Neue",Arial,sans-serif;}
.alpha-cell.vowel b{color:var(--primary);}

/* 音标表 */
.phon-group{margin-bottom:22px;}
.phon-group h3{
  font-size:13px;
  font-weight:650;
  color:var(--text-2);
  margin-bottom:10px;
  display:flex;
  align-items:center;
  gap:7px;
}
.phon-group h3::before{
  content:"";
  width:3px;height:13px;
  border-radius:2px;
  background:var(--primary);
}
.phon-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(72px,1fr));
  gap:8px;
}
.phon-cell{
  position:relative;
  padding:10px 4px;
  border-radius:var(--r-md);
  background:var(--surface);
  border:1px solid var(--line);
  text-align:center;
  transition:all .16s;
}
.phon-cell:active{transform:scale(.94);border-color:var(--primary);background:var(--primary-soft);}
.phon-cell b{
  display:block;
  font-size:17px;
  font-weight:650;
  font-family:"Segoe UI","Helvetica Neue",Arial,sans-serif;
  letter-spacing:-.3px;
}
.phon-cell span{font-size:10px;color:var(--text-3);display:block;margin-top:2px;}

/* 内容文章 */
.article{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:20px 18px;
  box-shadow:var(--sh-1);
  font-size:14.5px;
  line-height:1.8;
  color:var(--text-2);
}
.article h2{
  font-size:16.5px;
  font-weight:700;
  color:var(--text);
  margin:26px 0 10px;
  padding-bottom:8px;
  border-bottom:1px solid var(--line-2);
  letter-spacing:-.2px;
}
.article h2:first-child{margin-top:0;}
.article h3{
  font-size:14px;
  font-weight:650;
  color:var(--text);
  margin:18px 0 7px;
}
.article p{margin:9px 0;}
.article b{color:var(--text);font-weight:650;}
.article em{color:var(--primary);font-style:normal;font-weight:600;}
.article ul,.article ol{margin:9px 0 9px 20px;}
.article li{margin:5px 0;}
.article code{
  background:var(--primary-soft);
  color:var(--primary-deep);
  padding:1px 6px;
  border-radius:5px;
  font-size:13px;
  font-family:"SF Mono",Consolas,monospace;
}
.article .note{
  background:var(--amber-soft);
  border-left:3px solid var(--amber);
  padding:11px 14px;
  border-radius:0 8px 8px 0;
  font-size:13px;
  color:#8A5C12;
  margin:13px 0;
  line-height:1.7;
}
.article .tip{
  background:var(--green-soft);
  border-left:3px solid var(--green);
  padding:11px 14px;
  border-radius:0 8px 8px 0;
  font-size:13px;
  color:#1D6B47;
  margin:13px 0;
  line-height:1.7;
}
.article table{
  width:100%;
  border-collapse:collapse;
  margin:13px 0;
  font-size:13px;
}
.article th,.article td{
  border:1px solid var(--line);
  padding:8px 10px;
  text-align:left;
  line-height:1.6;
}
.article th{background:var(--surface-2);font-weight:650;color:var(--text);}

/* ==================== 题型模块 ==================== */
/* 情景对话 */
.dlg-line{
  display:flex;
  gap:10px;
  margin-bottom:12px;
  align-items:flex-start;
  font-size:13.5px;
  line-height:1.7;
}
.dlg-line:last-child{margin-bottom:0;}
.dlg-who{
  width:22px;height:22px;
  border-radius:7px;
  background:var(--line-2);
  color:var(--text-2);
  font-size:11px;
  font-weight:700;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  margin-top:1px;
}
.dlg-txt{flex:1;color:var(--text);}
.dlg-blank{
  flex:1;
  display:block;
  padding:6px 10px;
  border-radius:8px;
  border:1.5px dashed var(--line);
  color:var(--text-3);
  font-size:13px;
  line-height:1.55;
  transition:all .18s;
}
.dlg-blank.filled{
  border-style:solid;
  border-color:var(--primary);
  background:var(--primary-soft);
  color:var(--primary-deep);
  font-weight:550;
}
.dlg-blank.ok{border-color:#9FD9BC;background:var(--green-soft);color:#1F7A4E;}
.dlg-blank.no{border-color:#F0C4C4;background:var(--red-soft);color:#A83A3A;}

.dlg-opts{display:flex;flex-direction:column;gap:9px;}
.dlg-opt{
  display:flex;gap:10px;align-items:flex-start;
  padding:11px 13px;
  border-radius:var(--r-md);
  border:1.5px solid var(--line);
  background:var(--surface);
  font-size:13px;
  line-height:1.55;
  text-align:left;
  transition:all .16s;
}
.dlg-opt .k{
  width:20px;height:20px;border-radius:6px;
  background:#EEF0F6;color:var(--text-3);
  font-size:11px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.dlg-opt:active{transform:scale(.99);}
.dlg-opt.used{
  background:var(--primary-soft);
  border-color:var(--primary);
  color:var(--primary-deep);
}
.dlg-opt.used .k{background:var(--primary);color:#fff;}

/* 分类选择 */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;}
.cat-chip{
  padding:12px 6px;
  border-radius:var(--r-md);
  border:1px solid var(--line);
  background:var(--surface);
  display:flex;flex-direction:column;gap:2px;align-items:center;
  transition:all .16s;
}
.cat-chip:active{transform:scale(.96);border-color:var(--primary);}
.cat-chip b{font-size:13.5px;font-weight:650;}
.cat-chip span{font-size:10.5px;color:var(--text-3);}

/* 语音题 */
.pq-grid{display:flex;flex-direction:column;gap:10px;}
.pq-item{
  display:flex;align-items:center;gap:12px;
  padding:21px 16px;
  border-radius:var(--r-md);
  border:1.5px solid var(--line);
  background:var(--surface);
  transition:all .16s;
}
.pq-item:active{transform:scale(.99);}
.pq-k{
  width:22px;height:22px;border-radius:7px;
  background:#EEF0F6;color:var(--text-3);
  font-size:11px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.pq-w{flex:1;font-size:22px;font-weight:600;letter-spacing:-.4px;text-align:left;}
.pq-w u{
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:3px;
  color:var(--primary);
}
.pq-spk{
  width:32px;height:32px;border-radius:9px;
  background:var(--surface-2);
  display:flex;align-items:center;justify-content:center;
  color:var(--text-3);
  flex-shrink:0;
  cursor:pointer;
}
.pq-spk svg{width:15px;height:15px;}
.pq-spk:active{transform:scale(.88);}
.pq-item.right{border-color:#9FD9BC;background:var(--green-soft);}
.pq-item.right .pq-k{background:var(--green);color:#fff;}
.pq-item.wrong{border-color:#F0C4C4;background:var(--red-soft);}
.pq-item.wrong .pq-k{background:var(--red);color:#fff;}
.pq-item.dim{opacity:.5;}

/* ==================== 全真模拟 ==================== */
.mock-list{
  display:flex;
  flex-direction:column;
  gap:9px;
  margin-bottom:10px;
}
.mock-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 15px;
  border-radius:var(--r-lg);
  background:var(--surface);
  border:1px solid var(--line);
  text-align:left;
  transition:transform .14s, border-color .18s, box-shadow .18s;
  box-shadow:0 1px 2px rgba(25,28,38,.04);
}
.mock-row:active{transform:scale(.99);border-color:var(--primary);}
.mr-no{
  width:30px;height:30px;
  border-radius:9px;
  background:linear-gradient(135deg,#4A79DC,#2F5CB8);
  color:#fff;
  font-size:13px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  box-shadow:0 3px 8px rgba(59,110,212,.24);
}
.mr-txt{flex:1;min-width:0;}
.mr-name{font-size:14.5px;font-weight:650;letter-spacing:-.2px;}
.mr-sub{font-size:11.5px;color:var(--text-3);margin-top:2px;}
.mr-sc{
  font-size:13px;font-weight:700;
  flex-shrink:0;
  font-variant-numeric:tabular-nums;
}
.mr-sc small{font-size:10px;font-weight:500;opacity:.6;margin-left:1px;}
.mock-note{
  font-size:11.5px;
  line-height:1.7;
  color:var(--text-3);
  padding:0 2px 4px;
}
.sec-note{
  font-size:11px;
  font-weight:500;
  color:var(--text-3);
  margin-left:8px;
  letter-spacing:0;
}

.mk-bar{
  position:sticky;
  top:0;
  z-index:30;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 0;
  margin-bottom:6px;
  background:rgba(245,246,250,.94);
  backdrop-filter:blur(10px);
}
.mk-timer{
  font-size:19px;
  font-weight:700;
  letter-spacing:-.5px;
  font-variant-numeric:tabular-nums;
  color:var(--primary);
  min-width:56px;
}
.mk-timer.warn{color:var(--red);}
.mk-prog{flex:1;font-size:12px;color:var(--text-3);}
.mk-submit{
  height:32px;padding:0 14px;
  border-radius:9px;
  background:var(--primary);
  color:#fff;
  font-size:12.5px;font-weight:650;
}

.mk-sec-title{
  font-size:14px;
  font-weight:700;
  letter-spacing:-.2px;
  margin:16px 0 6px;
  padding-left:9px;
  border-left:3px solid var(--primary);
  line-height:1.3;
}
.mk-tip{font-size:12px;color:var(--text-3);margin-bottom:14px;line-height:1.6;}

.mk-block{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:15px 16px;
  margin-bottom:12px;
}
.mk-qno{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;height:20px;
  padding:0 6px;
  border-radius:6px;
  background:var(--primary-soft);
  color:var(--primary);
  font-size:11px;font-weight:700;
  margin-bottom:9px;
}
.mk-stem{font-size:14px;line-height:1.75;font-weight:550;margin-bottom:11px;}
.mk-opts{display:flex;flex-direction:column;gap:8px;}
.mk-opt{
  display:flex;align-items:flex-start;gap:10px;
  padding:10px 12px;
  border-radius:10px;
  border:1.5px solid var(--line);
  background:var(--surface-2);
  font-size:13px;
  line-height:1.55;
  text-align:left;
  transition:all .15s;
}
.mk-opt .k{
  width:19px;height:19px;border-radius:5px;
  background:#E6E9F1;color:var(--text-3);
  font-size:10.5px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;margin-top:1px;
}
.mk-opt.sel{
  border-color:var(--primary);
  background:var(--primary-soft);
  color:var(--primary-deep);
}
.mk-opt.sel .k{background:var(--primary);color:#fff;}

.pq-item.sel{
  border-color:var(--primary);
  background:var(--primary-soft);
}
.pq-item.sel .pq-k{background:var(--primary);color:#fff;}

.mk-passage{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:17px 17px 15px;
  margin-bottom:14px;
}
.mk-passage-title{
  font-size:13px;
  font-weight:700;
  color:var(--primary);
  margin-bottom:9px;
  letter-spacing:-.2px;
}
.mk-passage-body{font-size:13.5px;line-height:1.85;color:var(--text-2);}
.mk-passage-body p{margin:0 0 9px;}
.mk-passage-body p:last-child{margin-bottom:0;}

.cz-blank{
  display:inline-block;
  min-width:22px;
  padding:0 4px;
  margin:0 2px;
  border-bottom:2px solid var(--primary);
  color:var(--primary);
  font-weight:700;
  text-align:center;
  font-size:12px;
}
.cz-blank b{color:var(--primary);}

.mk-nav{
  display:flex;
  gap:10px;
  margin:18px 0 10px;
}
.mk-nav .btn{flex:1;}

/* ==================== 词库 ==================== */
.search-box{
  display:flex;
  align-items:center;
  gap:9px;
  height:44px;
  padding:0 14px;
  border-radius:var(--r-md);
  background:var(--surface);
  border:1px solid var(--line);
  margin-bottom:14px;
}
.search-box svg{width:17px;height:17px;stroke:var(--text-3);fill:none;stroke-width:2;stroke-linecap:round;}
.search-box input{
  flex:1;
  border:none;
  outline:none;
  background:none;
  font-size:14.5px;
}
.search-box input::placeholder{color:var(--text-3);}

/* 分段选择 */
.seg{
  display:flex;
  gap:4px;
  padding:3px;
  background:#EDEFF5;
  border-radius:10px;
  margin-bottom:16px;
}
.seg button{
  flex:1;
  height:34px;
  border-radius:8px;
  font-size:13px;
  font-weight:550;
  color:var(--text-2);
  transition:all .18s;
}
.seg button.on{
  background:var(--surface);
  color:var(--text);
  font-weight:650;
  box-shadow:0 1px 3px rgba(25,28,38,.1);
}

/* 小胶囊筛选 */
.chip-row{
  display:flex;
  gap:7px;
  margin-bottom:13px;
  overflow-x:auto;
  scrollbar-width:none;
  padding-bottom:2px;
}
.chip-row::-webkit-scrollbar{display:none;}
.minichip{
  height:28px;
  padding:0 11px;
  border-radius:99px;
  border:1px solid var(--line);
  background:var(--surface);
  font-size:11.5px;
  font-weight:550;
  color:var(--text-2);
  white-space:nowrap;
  flex-shrink:0;
  transition:all .16s;
}
.minichip.on{
  background:var(--primary);
  border-color:var(--primary);
  color:#fff;
}

.word-list{
  display:flex;
  flex-direction:column;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  overflow:hidden;
  box-shadow:var(--sh-1);
}
.word-row{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px 0 16px;
  border-bottom:1px solid var(--line-2);
  width:100%;
}
.word-row:last-child{border-bottom:none;}
.wr-main{
  flex:1;
  min-width:0;
  display:block;
  text-align:left;
  padding:13px 0;
  transition:opacity .15s;
}
.wr-main:active{opacity:.55;}
.word-row .wr-word{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:15px;
  font-weight:650;
  letter-spacing:-.2px;
}
.word-row .wr-mean{
  display:block;
  font-size:12.5px;
  color:var(--text-3);
  margin-top:1px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.wr-spk{
  width:34px;height:34px;
  border-radius:10px;
  background:var(--primary-soft);
  color:var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  transition:transform .14s, background .18s;
}
.wr-spk svg{width:16px;height:16px;}
.wr-spk:active{transform:scale(.88);background:#DCE6FB;}
.word-row .wr-mark{
  width:8px;height:8px;
  border-radius:50%;
  flex-shrink:0;
  background:#DDE2EC;
}
.word-row .wr-mark.new{background:#C9D2E4;}
.word-row .wr-mark.learning{background:var(--amber);}
.word-row .wr-mark.known{background:var(--green);}

/* 短语 */
.phrase-item{
  padding:14px 16px;
  border-bottom:1px solid var(--line-2);
}
.phrase-item:last-child{border-bottom:none;}
.ph-row{display:flex;align-items:flex-start;gap:8px;}
.ph-txt{flex:1;min-width:0;}
.phrase-item .ph-en{
  font-size:14.5px;
  font-weight:650;
  color:var(--text);
  letter-spacing:-.1px;
}
.phrase-item .ph-en i{color:var(--primary);font-style:normal;}
.phrase-item .ph-cn{font-size:12.5px;color:var(--text-2);margin-top:3px;}
.phrase-item .ph-eg{font-size:12px;color:var(--text-3);margin-top:6px;line-height:1.5;}

/* 小喇叭角标 */
.spk{
  position:absolute;
  top:5px;
  right:5px;
  width:11px;
  height:11px;
  color:var(--text-3);
  opacity:.55;
  pointer-events:none;
}

/* ==================== 我的 ==================== */
.profile-head{
  display:flex;
  align-items:center;
  gap:14px;
  padding:8px 0 20px;
}
.avatar{
  width:56px;height:56px;
  border-radius:18px;
  background:linear-gradient(140deg,#6B93E8,#3B6ED4);
  display:flex;align-items:center;justify-content:center;
  font-size:24px;
  color:#fff;
  box-shadow:0 5px 16px rgba(59,110,212,.28);
}
.profile-head .ph-name{font-size:18px;font-weight:700;letter-spacing:-.3px;}
.profile-head .ph-sub{font-size:12.5px;color:var(--text-3);margin-top:2px;}

.metric-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:11px;
}
.metric{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:16px;
  box-shadow:var(--sh-1);
}
.metric .m-label{font-size:11.5px;color:var(--text-3);display:flex;align-items:center;gap:5px;}
.metric .m-val{font-size:25px;font-weight:700;letter-spacing:-.7px;margin-top:4px;}
.metric .m-val small{font-size:12px;font-weight:500;color:var(--text-3);margin-left:3px;}

.setting-row{
  display:flex;
  align-items:center;
  gap:13px;
  padding:15px 16px;
  border-bottom:1px solid var(--line-2);
  width:100%;
  text-align:left;
  transition:background .15s;
}
.setting-row:active{background:var(--surface-2);}
.setting-row:last-child{border-bottom:none;}
.setting-row .s-label{font-size:14px;font-weight:550;flex:1;}
.setting-row .s-val{font-size:13px;color:var(--text-3);}
.setting-row .s-desc{font-size:11.5px;color:var(--text-3);margin-top:1px;font-weight:400;}

/* 开关 */
.switch{
  width:44px;height:26px;
  border-radius:99px;
  background:#DDE1EA;
  position:relative;
  transition:background .22s;
  flex-shrink:0;
}
.switch::after{
  content:"";
  position:absolute;
  top:3px;left:3px;
  width:20px;height:20px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.18);
  transition:transform .22s cubic-bezier(.3,1.2,.5,1);
}
.switch.on{background:var(--primary);}
.switch.on::after{transform:translateX(18px);}

/* 热力图 */
.heat{
  display:grid;
  grid-template-columns:repeat(15,1fr);
  gap:4px;
  padding:2px 0 4px;
}
.heat-cell{
  aspect-ratio:1;
  border-radius:4px;
  background:#EDEFF5;
}
.heat-cell.l1{background:#C9DCF7;}
.heat-cell.l2{background:#93B9EE;}
.heat-cell.l3{background:#5F8BE8;}
.heat-cell.l4{background:#3B6ED4;}
.heat-key{
  width:10px;height:10px;
  border-radius:3px;
  background:#EDEFF5;
  display:inline-block;
}
.heat-key.l1{background:#C9DCF7;}
.heat-key.l2{background:#93B9EE;}
.heat-key.l3{background:#5F8BE8;}
.heat-key.l4{background:#3B6ED4;}

/* ==================== Toast / Sheet ==================== */
.toast{
  position:fixed;
  left:50%;
  bottom:calc(var(--nav-h) + var(--safe-b) + 22px);
  transform:translate(-50%,14px);
  background:rgba(25,28,38,.92);
  color:#fff;
  font-size:13px;
  padding:9px 17px;
  border-radius:99px;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s, transform .22s;
  z-index:200;
  white-space:nowrap;
  max-width:82vw;
  overflow:hidden;
  text-overflow:ellipsis;
}
.toast.show{opacity:1;transform:translate(-50%,0);}

.mask{
  position:fixed;
  inset:0;
  background:rgba(15,18,28,.42);
  opacity:0;
  pointer-events:none;
  transition:opacity .26s;
  z-index:100;
  backdrop-filter:blur(2px);
}
.mask.on{opacity:1;pointer-events:auto;}

.sheet{
  position:fixed;
  left:50%;
  bottom:0;
  transform:translate(-50%,100%);
  width:100%;
  max-width:760px;
  max-height:86vh;
  background:var(--surface);
  border-radius:22px 22px 0 0;
  z-index:101;
  transition:transform .32s cubic-bezier(.22,.85,.3,1);
  display:flex;
  flex-direction:column;
  padding-bottom:var(--safe-b);
}
.sheet.on{transform:translate(-50%,0);}
.sheet-grip{
  width:36px;height:4px;
  border-radius:2px;
  background:#DDE1EA;
  margin:9px auto 4px;
  flex-shrink:0;
}
.sheet-body{
  padding:12px 20px 22px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.sheet-title{
  font-size:17px;
  font-weight:700;
  letter-spacing:-.3px;
  margin-bottom:4px;
}
.sheet-sub{
  font-size:12.5px;
  color:var(--text-3);
  margin-bottom:16px;
}

/* 数值选择 */
.num-picker{
  display:flex;
  gap:8px;
  margin-bottom:18px;
}
.num-picker button{
  flex:1;
  height:52px;
  border-radius:var(--r-md);
  border:1.5px solid var(--line);
  background:var(--surface-2);
  font-size:15px;
  font-weight:650;
  transition:all .16s;
}
.num-picker button.on{
  background:var(--primary-soft);
  border-color:var(--primary);
  color:var(--primary);
}

/* ==================== 专注模式（学习中隐藏导航） ==================== */
.tabbar{transition:transform .3s cubic-bezier(.22,.85,.3,1), opacity .25s;}
body.study-mode .tabbar{transform:translateY(130%);opacity:0;pointer-events:none;}
body.study-mode .view{padding-bottom:18px;}
body.study-mode{background:var(--bg);}

/* ==================== 四六级 ==================== */
.lv-switch{
  display:inline-flex;align-items:center;gap:4px;
  height:30px;padding:0 11px;
  border-radius:9px;
  background:var(--surface);
  border:1px solid var(--line);
  font-size:12.5px;font-weight:650;
  color:var(--text);
  box-shadow:var(--sh-1);
  flex-shrink:0;
}
.lv-switch:active{transform:scale(.96);}

.cet-warn{
  background:#FFF6E8;
  border-left:3px solid #DE8F2E;
  border-radius:var(--r-md);
  padding:13px 15px;
  margin-bottom:16px;
}
.cet-warn b{font-size:13px;display:block;margin-bottom:4px;}
.cet-warn p{margin:0;font-size:12.5px;line-height:1.75;color:var(--text-2);}
.cet-warn p strong{color:var(--text);font-weight:650;}

.cet-step{
  display:flex;gap:11px;
  padding:11px 16px;
  border-bottom:1px solid var(--line-2);
}
.cet-step:last-child{border-bottom:none;}
.cet-step .cs-no{
  width:20px;height:20px;flex-shrink:0;
  border-radius:6px;background:var(--primary);color:#fff;
  font-size:11px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  margin-top:1px;
}
.cet-step .cs-dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--text-3);flex-shrink:0;margin-top:7px;
}
.cet-step .cs-t{font-size:13px;font-weight:650;}
.cet-step .cs-d{font-size:12px;color:var(--text-3);line-height:1.7;}

.cet-words{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.cw{
  display:flex;flex-direction:column;gap:1px;
  padding:6px 9px;
  border-radius:8px;
  background:var(--surface-2);
  text-align:left;
  transition:background .15s;
}
.cw:active{background:#E4E7EF;}
.cw b{font-size:12px;font-weight:600;}
.cw span{font-size:10.5px;color:var(--text-3);}

/* 选词填空 */
.bk-text{font-size:13.5px;line-height:2.15;color:var(--text-2);margin:0;}
.bk-blank{
  display:inline-block;min-width:58px;
  margin:0 2px;padding:0 6px;
  border-bottom:2px solid var(--primary);
  color:var(--primary);font-weight:650;font-size:12.5px;
  text-align:center;
  transition:background .15s;
  vertical-align:baseline;
}
.bk-blank.on{background:#EEF3FD;}
.bk-blank.ok{color:var(--green);border-bottom-color:var(--green);background:#E9F7F0;}
.bk-blank.bad{color:var(--red);border-bottom-color:var(--red);background:#FDECEC;text-decoration:line-through;}
.bk-bank{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:6px;}
.bk-word{
  padding:7px 11px;border-radius:8px;
  background:var(--surface);border:1px solid var(--line);
  font-size:12.5px;font-weight:550;
  transition:all .15s;
}
.bk-word:active{transform:scale(.96);}
.bk-word.used{opacity:.32;text-decoration:line-through;}
.bk-word.ok{border-color:var(--green);background:#E9F7F0;color:var(--green);}
.bk-word.dim{opacity:.4;}
.bk-exp{padding:12px 16px;border-bottom:1px solid var(--line-2);}
.bk-exp:last-child{border-bottom:none;}
.bke-h{display:flex;align-items:center;gap:7px;font-size:13px;}
.bke-n{
  width:19px;height:19px;border-radius:6px;
  background:var(--surface-2);color:var(--text-3);
  font-size:10.5px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.bke-n.ok{background:var(--green);color:#fff;}
.bke-n.bad{background:var(--red);color:#fff;}
.bke-d{font-size:12px;color:var(--text-3);line-height:1.7;margin-top:4px;}

/* 仔细阅读 */
.cet-q{font-size:13.5px;font-weight:600;line-height:1.6;margin-top:8px;}
.cet-exp{
  font-size:12px;color:var(--text-3);line-height:1.7;
  margin-top:10px;padding:10px 12px;
  background:var(--surface-2);border-radius:8px;
}

/* 长篇匹配 */
.mt-q{padding:13px 16px;border-bottom:1px solid var(--line-2);}
.mt-q:last-child{border-bottom:none;}
.mtq-h{display:flex;gap:9px;align-items:flex-start;}
.mtq-n{
  width:20px;height:20px;flex-shrink:0;
  border-radius:6px;background:#E9F7F0;color:#2EA36B;
  font-size:11px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.mtq-t{font-size:13px;line-height:1.6;flex:1;}
.mtq-r{display:flex;align-items:center;gap:8px;margin:9px 0 0 29px;}
.mt-sel{
  height:32px;padding:0 9px;
  border-radius:8px;border:1px solid var(--line);
  background:var(--surface);font-size:12.5px;
  color:var(--text);
  font-family:inherit;
}
.mt-sel.ok{border-color:var(--green);color:var(--green);}
.mt-sel.bad{border-color:var(--red);color:var(--red);}
.mtq-ans{font-size:11.5px;font-weight:650;}
.mtq-ans.ok{color:var(--green);}
.mtq-ans.bad{color:var(--red);}
.mt-para{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid var(--line-2);}
.mt-para:last-child{border-bottom:none;}
.mtp-k{
  width:20px;height:20px;flex-shrink:0;
  border-radius:6px;background:var(--surface-2);
  font-size:11px;font-weight:700;color:var(--text-2);
  display:flex;align-items:center;justify-content:center;
}
.mtp-t{font-size:12.5px;line-height:1.85;color:var(--text-2);}

/* 翻译 */
.tr-cn{font-size:13.5px;line-height:2;color:var(--text);}
.tr-input{
  width:100%;min-height:150px;
  padding:13px 14px;
  border-radius:var(--r-md);
  border:1px solid var(--line);
  background:var(--surface);
  font-size:13.5px;line-height:1.85;
  color:var(--text);
  font-family:inherit;
  resize:vertical;
  box-sizing:border-box;
}
.tr-input:focus{outline:none;border-color:var(--primary);}
.tr-ref{font-size:13px;line-height:1.95;color:var(--text-2);}
.tr-line{display:flex;gap:10px;padding:5px 0;font-size:12.5px;}
.trl-en{flex:1;color:var(--text);font-weight:550;}
.trl-cn{color:var(--text-3);text-align:right;flex-shrink:0;}

/* 设置里的模式块 */
.setting-block{
  padding:14px 16px;
  border-bottom:1px solid var(--line-2);
}
.sb-head{display:flex;align-items:center;gap:12px;}

/* ==================== 桌面端 ==================== */
@media (min-width:761px){
  body{background:#EFF1F6;}
  .app{
    box-shadow:0 0 0 1px rgba(25,28,38,.05), 0 20px 60px rgba(25,28,38,.08);
    min-height:100vh;
    border-radius:0;
  }
  .view{padding:0 26px 96px;}
  .hero{padding:26px 26px 22px;}
  .hero-num{font-size:31px;}
  .ring{width:70px;height:70px;}
  .stats{grid-template-columns:repeat(3,1fr);}
  .metric-grid{grid-template-columns:repeat(4,1fr);}
  .wcard{min-height:400px;}
  .page-head{padding:30px 2px 16px;}
  .page-head h1{font-size:27px;}
}

@media (max-width:360px){
  .view{padding:0 14px calc(var(--nav-h) + var(--safe-b) + 22px);}
  .hero{padding:18px 16px;}
  .hero-num{font-size:24px;}
  .entries{gap:9px;}
  .entry{padding:13px 12px;}
}
