/* ===== Be Go必过词测 · 云端工作台 · 自由风 UI ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --coral: #ff7a59;
  --coral-d: #f4613f;
  --teal: #2ec4b6;
  --ink: #2b2b33;
  --muted: #8a8a96;
  --warn: #f4a261;
  --bad: #ef5d6f;
  --card: rgba(255,255,255,.82);
  --line: rgba(0,0,0,.06);
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
  color: var(--ink);
  font-size: 17px;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 12% -8%, #ffe3d6 0%, rgba(255,227,214,0) 55%),
    radial-gradient(1000px 560px at 105% 8%, #d6f5ef 0%, rgba(214,245,239,0) 55%),
    linear-gradient(160deg, #fff6f1 0%, #f3fbf9 100%);
  background-attachment: fixed;
}
a { text-decoration: none; color: inherit; }

/* 顶部导航 */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 26px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 21px; font-weight: 800; letter-spacing: .5px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tabs { display: flex; gap: 6px; }
.tab {
  font-size: 17px; padding: 9px 18px; border-radius: 999px; color: var(--muted);
  cursor: pointer; transition: .18s; font-weight: 600;
}
.tab:hover { color: var(--ink); background: rgba(0,0,0,.04); }
.tab.active {
  color: #fff; background: linear-gradient(120deg, var(--coral), var(--coral-d));
  box-shadow: 0 6px 16px rgba(255,122,89,.32);
}
.userbox { margin-left: auto; font-size: 15px; color: var(--muted); display: flex; gap: 14px; align-items: center; }
.logout { color: var(--muted); cursor: pointer; }
.logout:hover { color: var(--bad); }

.container { max-width: 940px; margin: 0 auto; padding: 26px 22px 80px; }

/* 卡片 */
.card {
  background: var(--card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 18px; padding: 18px;
  margin-bottom: 14px;
  box-shadow: 0 8px 24px rgba(40,40,60,.06);
}
.flex { display: flex; align-items: center; }
.between { justify-content: space-between; }
.muted { color: var(--muted); font-size: 15px; }
.header {
  font-size: 19px; font-weight: 800; margin: 20px 0 12px;
  display: flex; align-items: center; gap: 8px;
}
.header::before {
  content: ""; width: 6px; height: 18px; border-radius: 4px;
  background: linear-gradient(180deg, var(--coral), var(--teal));
}
.empty { color: var(--muted); text-align: center; padding: 48px 0; font-size: 16px; }
.loading { color: var(--muted); text-align: center; padding: 48px 0; font-size: 16px; }
.op-tip { min-height: 20px; margin-top: 10px; text-align: center; }

/* A-Z 首字母分组标题 */
.alpha-head {
  display: flex; align-items: center; gap: 10px;
  margin: 22px 0 10px; font-size: 22px; font-weight: 900;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.alpha-head:first-of-type { margin-top: 8px; }
.alpha-count {
  font-size: 13px; font-weight: 700; color: #fff;
  background: rgba(124,124,140,.55); border-radius: 20px;
  padding: 1px 9px; -webkit-text-fill-color: #fff;
}

/* 学生/错词行 */
.stu { cursor: pointer; transition: .18s; }
.stu:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(40,40,60,.1); }
.stu .name { font-size: 20px; font-weight: 700; }
.stu .meta { color: var(--muted); font-size: 15px; margin-top: 5px; }
.counts { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.count {
  flex: 1; min-width: 120px; background: rgba(255,255,255,.7);
  border-radius: 14px; padding: 12px 14px; text-align: center;
  border: 1px solid var(--line);
}
.count .n { font-size: 24px; font-weight: 800; color: var(--teal); }
.count .l { font-size: 14px; color: var(--muted); margin-top: 3px; }
.count.warn .n { color: var(--warn); }
.count.bad .n { color: var(--bad); }

/* 按钮 */
.btn-primary, .btn-ghost {
  display: inline-block; border: none; border-radius: 999px; cursor: pointer;
  font-size: 17px; font-weight: 700; padding: 12px 22px; text-align: center;
  transition: .18s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--coral), var(--coral-d));
  box-shadow: 0 8px 20px rgba(255,122,89,.3);
}
.btn-primary:hover { filter: brightness(1.04); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(46,196,182,.12); color: #1c8f84;
  border: 1px solid rgba(46,196,182,.3);
}
.btn-ghost:hover { background: rgba(46,196,182,.2); }
.btn-block { display: block; width: 100%; margin-top: 14px; }
.del-btn { color: var(--bad); font-size: 15px; cursor: pointer; padding: 6px 12px; border-radius: 10px; }
.del-btn:hover { background: rgba(239,93,111,.1); }

/* 表单 */
.ipt {
  width: 100%; border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 15px; font-size: 17px; margin-top: 10px; background: rgba(255,255,255,.9);
  transition: .18s;
}
.ipt:focus { border-color: var(--coral); outline: none; box-shadow: 0 0 0 3px rgba(255,122,89,.15); }
label.field { display: block; margin-top: 14px; font-size: 15px; color: #555; font-weight: 600; }

/* 错词 */
.word .w-text { font-size: 22px; font-weight: 800; }
.word .w-ipa { color: var(--muted); font-size: 16px; margin-left: 8px; }
.word .pos { color: var(--teal); font-weight: 700; margin-right: 6px; }
.word .meanings { color: #444; font-size: 16px; margin-top: 6px; line-height: 1.7; }
.spk { font-size: 22px; cursor: pointer; padding: 6px 12px; background: rgba(46,196,182,.12); border-radius: 12px; transition: .15s; }
.spk:hover { background: rgba(46,196,182,.22); }
.badge { font-size: 13px; color: #1c8f84; background: rgba(46,196,182,.14); padding: 4px 10px; border-radius: 999px; }
.badge.bad { color: var(--bad); background: rgba(239,93,111,.12); }

/* 听写 */
.board { text-align: center; padding: 30px; }
.word-big { font-size: 42px; font-weight: 800; margin: 16px 0; letter-spacing: 1px; }
.d-meanings { margin-top: 10px; }
.d-m { font-size: 18px; color: #444; margin: 4px 0; }
.d-ipa { color: var(--teal); font-size: 17px; font-weight: 700; margin: 6px 0 2px; }
.spk-big {
  font-size: 18px; padding: 12px 22px; border-radius: 999px; cursor: pointer;
  display: inline-block; margin-top: 8px; color: #fff; font-weight: 700;
  background: linear-gradient(120deg, var(--teal), #25a99d);
  box-shadow: 0 8px 20px rgba(46,196,182,.3);
}
.judge { display: flex; gap: 14px; margin-top: 18px; }
.judge .btn-primary { flex: 1; }
.judge .btn-ghost { flex: 1; }
.progress { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* 登录遮罩 */
.mask {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(30,28,40,.45);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
}
.login-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-radius: 24px; padding: 38px 34px; width: 360px; text-align: center;
  box-shadow: 0 30px 70px rgba(40,30,60,.3);
  border: 1px solid rgba(255,255,255,.6);
}
.login-title { font-size: 24px; font-weight: 800; }
.login-sub { color: var(--muted); font-size: 15px; margin: 12px 0 22px; line-height: 1.6; }
.login-tip { color: var(--muted); font-size: 13px; margin-top: 14px; line-height: 1.6; }
.hidden { display: none !important; }

/* 扫码登录二维码 */
.qr-box {
  width: 264px; height: 264px; margin: 0 auto 6px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #fff, #fdf3ee); border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
}
.qr-img { width: 244px; height: 244px; }
.qr-loading { color: var(--muted); font-size: 15px; }
.qr-code {
  font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 22px; font-weight: 700;
  letter-spacing: 2px; color: var(--ink); background: #fff; padding: 14px 18px; border-radius: 12px;
  border: 1px dashed var(--coral);
}

/* 数据分析 */
.stat-row { display: flex; gap: 14px; flex-wrap: wrap; }
.stat {
  flex: 1; min-width: 150px; background: var(--card); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 18px; padding: 20px; text-align: center;
  box-shadow: 0 8px 24px rgba(40,40,60,.06);
}
.stat .n { font-size: 30px; font-weight: 800; background: linear-gradient(120deg, var(--coral), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .l { color: var(--muted); font-size: 15px; margin-top: 6px; }
.hf-item { display: flex; justify-content: space-between; align-items: center; padding: 13px 6px; border-bottom: 1px solid var(--line); font-size: 16px; }
.hf-item:last-child { border-bottom: none; }
.hf-item .c { color: var(--bad); font-weight: 700; }

/* 词库页学生卡内可点击统计 */
.counts.stu-counts { gap: 6px; margin-top: 12px; }
.count.clickable { cursor: pointer; transition: .15s; min-width: 78px; }
.count.clickable:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(40,40,60,.12); }
/* 计数小块被选中（点它筛选）时高亮，与小程序 .cnt-on 一致 */
.count.on { background: #e8f8ef; box-shadow: inset 0 0 0 2px var(--teal); }
.count.on .l { color: var(--teal); font-weight: 600; }
.grad-badge { background: rgba(46,196,182,.15); color: #1c8f84; }

/* 错词本筛选 tab */
.filter-tabs { gap: 8px; margin: 14px 0 4px; flex-wrap: wrap; }
.ftab { font-size: 15px; padding: 7px 16px; border-radius: 999px; cursor: pointer; color: var(--muted);
  background: rgba(0,0,0,.04); transition: .15s; font-weight: 600; }
.ftab.active { color: #fff; background: linear-gradient(120deg, var(--coral), var(--coral-d)); }
.ftab:hover { color: var(--ink); }

/* 已掌握区 */
.grad-head { color: var(--teal); }
.grad-head::before { background: var(--teal); }
.word.grad { opacity: .82; }

/* 备注 */
.remark-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 15px; }
.remark-text { color: #555; flex: 1; }
.remark-edit { color: #07c160; font-size: 15px; cursor: pointer; white-space: nowrap; font-weight: 600; }
.remark-edit:hover { text-decoration: underline; }

/* 总数据：班级趋势 */
.class-card .name { font-size: 18px; font-weight: 700; }
.class-metrics { flex-wrap: wrap; gap: 10px 18px; margin-top: 10px; font-size: 15px; color: var(--muted); }
.up { color: var(--teal); font-weight: 700; }
.down { color: var(--bad); font-weight: 700; }
.trend { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 12px; padding: 8px 6px;
  background: rgba(0,0,0,.03); border-radius: 12px; }
.tbar { flex: 1; min-width: 8px; background: linear-gradient(180deg, var(--coral), var(--teal)); border-radius: 4px 4px 0 0; min-height: 6px; }

/* 总数据：共性痛点 */
.pain-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.pain-item:last-child { border-bottom: none; }
.pain-item.common { background: rgba(239,93,111,.06); border-radius: 12px; padding: 12px; margin: 6px 0; }
.pain-cat { font-size: 17px; font-weight: 700; }

/* 总数据：分层教学 */
.tier-wrap { display: flex; gap: 14px; flex-wrap: wrap; }
.tier { flex: 1; min-width: 240px; }
.tier-title { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.tier-A .tier-title { color: var(--bad); }
.tier-B .tier-title { color: var(--coral); }
.tier-C .tier-title { color: var(--teal); }
.tier-stu { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.tier-stu:last-child { border-bottom: none; }
.tier-name { font-size: 16px; font-weight: 700; }

/* 学生库批量补全提示 */
.batch-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(244,162,97,.12); border: 1px solid rgba(244,162,97,.3); color: #b5701f;
  padding: 12px 16px; border-radius: 14px; margin: 14px 0; font-size: 15px; }
.btn-ghost.sm { font-size: 14px; padding: 7px 14px; margin: 0; }

/* 正向统计（已掌握 / 进步率） */
.stat .n.good { background: linear-gradient(120deg, var(--teal), #25a99d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ===== 导入错词本面板 ===== */
.ttl { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }

.imp-file { display: block; width: 100%; margin-top: 10px; font-size: 15px; color: #555; }
.imp-link { color: var(--teal); cursor: pointer; font-weight: 600; font-size: 15px; }
.imp-link:hover { text-decoration: underline; }
.imp-tpl {
  background: rgba(0,0,0,.04); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: 14px; color: #555; white-space: pre-wrap;
  font-family: "SF Mono", Menlo, Consolas, monospace; margin-top: 10px; line-height: 1.6; overflow-x: auto;
}

.imp-num { background: rgba(46,196,182,.14); color: #1c8f84; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

.imp-check { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: #555; margin-top: 12px; cursor: pointer; line-height: 1.5; }
.imp-check input { margin-top: 3px; flex-shrink: 0; }

.imp-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.imp-row {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 10px;
  background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
}
.imp-w { flex: 0 0 auto; font-size: 17px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.imp-pos { font-size: 12px; color: #1c8f84; background: rgba(46,196,182,.14); padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.imp-ipa { font-size: 12px; color: #b5701f; background: rgba(244,162,97,.16); padding: 2px 8px; border-radius: 999px; font-weight: 700; }
.imp-stu { font-size: 12px; color: #b5701f; background: rgba(244,162,97,.16); padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.imp-mean { flex: 1 1 160px; font-size: 15px; color: #555; line-height: 1.6; }
.imp-mean.empty { color: var(--muted); font-style: italic; }
.imp-remark { flex: 1 1 100%; font-size: 13px; color: var(--muted); margin-top: 2px; }
.imp-del { flex: 0 0 auto; color: var(--bad); cursor: pointer; font-size: 16px; padding: 2px 6px; border-radius: 8px; transition: .15s; }
.imp-del:hover { background: rgba(239,93,111,.1); }

.imp-bar { background: rgba(0,0,0,.06); border-radius: 999px; height: 12px; overflow: hidden; margin: 12px 0 8px; }
.imp-bar-in { height: 100%; width: 2%; background: linear-gradient(120deg, var(--coral), var(--teal)); border-radius: 999px; transition: width .3s ease; }

.imp-ps { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.imp-ps:last-child { border-bottom: none; }

/* 全局页脚版本号（#appFooter，app.js 填充文案） */
.app-footer {
  text-align: center;
  color: #a6adb8;
  font-size: 12px;
  padding: 32px 0 24px;
  user-select: none;
}

/* 工作台 · 联系客服卡片 */
.service-card { background: linear-gradient(120deg, rgba(255,122,89,.08), rgba(46,196,182,.08)); }
.service-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.service-tel { font-size: 24px; font-weight: 800; letter-spacing: 1px; background: linear-gradient(120deg, var(--coral), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* 错词编辑面板 */
.edit-btn { color: #07c160; font-size: 15px; cursor: pointer; padding: 6px 12px; border-radius: 10px; font-weight: 600; }
.edit-btn:hover { background: rgba(7,193,96,.1); }
.extra { color: #555; font-size: 15px; margin-top: 6px; }
.extra::before { content: "· "; color: var(--muted); }
.edit-form { display: block; }
.edit-form .ipt { margin-top: 6px; }
.edit-actions { display: flex; gap: 10px; margin-top: 14px; }
.edit-actions .btn-primary, .edit-actions .btn-ghost { flex: 1; margin: 0; }

/* 听写 · 隐藏占位 + 工具条 */
.word-big.placeholder { color: var(--muted); font-size: 22px; font-weight: 600; background: rgba(0,0,0,.04); border-radius: 12px; padding: 14px; }
.dict-tools { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }
.dict-tools .btn-ghost { margin: 0; }

/* 协议与隐私政策页 */
.doc-switch { display: flex; gap: 8px; margin: 6px 0 18px; }
.ds-item { font-size: 15px; padding: 8px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); background: rgba(0,0,0,.04); font-weight: 600; transition: .15s; }
.ds-item.on { color: #fff; background: linear-gradient(120deg, var(--coral), var(--coral-d)); }
.ag-title { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.ag-updated { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.ag-sec { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-bottom: 12px; box-shadow: 0 8px 24px rgba(40,40,60,.05); }
.ag-h { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--coral-d); }
.ag-p { font-size: 15px; color: #444; line-height: 1.8; margin: 6px 0; }
.ag-li { font-size: 15px; color: #444; line-height: 1.8; margin: 6px 0; }

/* ===== 统计页（对齐小程序「总数据」） ===== */
.stat .n.warn-n { background: linear-gradient(120deg, var(--warn), #e07b39); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dist-row { display: flex; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.dist-row:last-of-type { border-bottom: none; }
.dist-name { flex: 1; font-size: 17px; font-weight: 600; }
.dist-num { font-size: 19px; font-weight: 800; margin-right: 14px; }
.dist-num.warn { color: var(--warn); }
.dist-num.ok { color: var(--teal); }
.dist-btn { font-size: 14px; color: #fff; background: var(--teal); border-radius: 999px; padding: 4px 14px; }
.dist-list { max-height: 260px; overflow: auto; padding: 6px 2px; border-top: 1px dashed var(--line); margin-bottom: 8px; }
.dist-item { display: flex; justify-content: space-between; padding: 8px 4px; font-size: 15px; border-bottom: 1px solid rgba(0,0,0,.03); }
.dist-item:last-child { border-bottom: none; }
.chart-card { }
.chart-legend { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend-txt { margin-right: 14px; }
.chart-bars { display: flex; justify-content: space-around; align-items: flex-end; padding: 8px 0 2px; }
.chart-group { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 90px; }
.chart-label { font-size: 14px; color: var(--muted); }
.chart-col { height: 130px; width: 34px; background: rgba(0,0,0,.045); border-radius: 8px; display: flex; align-items: flex-end; overflow: hidden; }
.chart-col .bar { width: 100%; border-radius: 8px 8px 0 0; min-height: 4px; }
.chart-val { font-size: 19px; font-weight: 800; }
.chart-val.warn { color: var(--warn); }
.chart-val.ok { color: var(--teal); }
.block-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 8px; }
.block { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; transition: .15s; box-shadow: 0 8px 24px rgba(40,40,60,.05); }
.block:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(40,40,60,.1); }
.blk-line { display: flex; align-items: center; gap: 8px; }
.blk-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.blk-name { font-size: 16px; font-weight: 700; }
.blk-sub { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ===== 工作台（对齐小程序） ===== */
.profile-card { display: flex; align-items: center; gap: 14px; }
.profile-card .avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), #25a99d); color: #fff; font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.p-info { flex: 1; }
.p-name { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.badge-free { font-size: 12px; color: #b5701f; background: rgba(244,162,97,.18); border-radius: 999px; padding: 2px 10px; font-weight: 700; }
.p-id { font-size: 14px; color: var(--muted); margin-top: 4px; }
.p-arrow { font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.p-arrow:hover { color: var(--teal); }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tool { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 8px 14px; text-align: center; cursor: pointer; transition: .15s; box-shadow: 0 8px 24px rgba(40,40,60,.05); }
.tool:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(40,40,60,.1); }
.tool-icon { width: 46px; height: 46px; margin: 0 auto 8px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.ti-import { background: rgba(46,196,182,.14); }
.ti-export { background: rgba(255,122,89,.14); }
.ti-dict { background: rgba(92,107,192,.14); }
.ti-ipa { background: rgba(171,71,188,.14); }
.ti-web { background: rgba(0,0,0,.06); }
.ti-invite { background: rgba(38,166,154,.14); }
.tool-name { font-size: 14px; font-weight: 600; color: #444; }
.remind-bar { background: rgba(46,196,182,.1); border: 1px solid rgba(46,196,182,.25); border-radius: 14px; padding: 13px 16px; font-size: 15px; color: #1c8f84; margin-top: 16px; cursor: pointer; transition: .15s; }
.remind-bar:hover { background: rgba(46,196,182,.16); }
.stu2 .s-avatar { width: 46px; height: 46px; border-radius: 50%; color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.s-line1 { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s-line2 { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.tag { font-size: 12px; color: #1c8f84; background: rgba(46,196,182,.14); border-radius: 6px; padding: 2px 8px; font-weight: 600; }
.tag-c { color: #b5701f; background: rgba(244,162,97,.16); }
.s-score { font-weight: 700; color: #555; }
.bottom-add { margin-top: 18px; background: linear-gradient(120deg, #2e7d5b, #256b4d); box-shadow: 0 8px 20px rgba(46,125,91,.3); }

/* 通用弹窗（词典 / 说明） */
.modal-mask { position: fixed; inset: 0; z-index: 90; background: rgba(30,28,40,.45); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: rgba(255,255,255,.96); border-radius: 20px; padding: 22px; width: 480px; max-width: 94vw; max-height: 84vh; overflow: auto; box-shadow: 0 30px 70px rgba(40,30,60,.3); }
.modal-title { font-size: 19px; font-weight: 800; margin-bottom: 14px; }
.modal-body { font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 14px; }
.dict-result { margin-top: 14px; min-height: 60px; }
.ipa-card { border: 3px solid var(--teal); border-radius: 24px; padding: 30px 24px; text-align: center; margin: 10px 0; }
.ic-word { font-size: 40px; font-weight: 800; }
.ic-ipa { color: var(--teal); font-size: 20px; font-weight: 700; margin-top: 8px; }
.ic-m { font-size: 17px; color: #444; margin-top: 6px; }
.ic-actions { display: flex; gap: 12px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
