/* style.css — 简洁学习风 */
:root {
  --bg: #f5f7fb;
  --bg-grad: linear-gradient(180deg, #eef2fb 0%, #f5f7fb 280px);
  --surface: #ffffff;
  --text: #1f2328;
  --muted: #6b7280;
  --border: #e8eaee;
  --accent: #2f6bff;
  --accent-2: #5b8cff;
  --accent-soft: #e8f0ff;
  --accent-grad: linear-gradient(135deg, #2f6bff 0%, #5b8cff 100%);
  --l1: #fde68a;
  --l2: #fcd34d;
  --l3: #fbbf24;
  --l4: #f59e0b;
  --l5: #16a34a;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.05);
  --shadow: 0 2px 6px rgba(16,24,40,.05), 0 10px 28px rgba(16,24,40,.05);
  --shadow-lg: 0 12px 32px rgba(16,24,40,.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
}

/* ===== 夜间模式（跟随 [data-theme="dark"]） ===== */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1420;
  --bg-grad: linear-gradient(180deg, #131a2a 0%, #0f1420 280px);
  --surface: #1a2233;
  --text: #e6e9f0;
  --muted: #93a0b5;
  --border: #2a3346;
  --accent: #5b8cff;
  --accent-2: #7aa2ff;
  --accent-soft: #1c2740;
  --accent-grad: linear-gradient(135deg, #3b6fe0 0%, #5b8cff 100%);
  --l1: #fde68a; --l2: #fcd34d; --l3: #fbbf24; --l4: #f59e0b; --l5: #16a34a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow: 0 2px 6px rgba(0,0,0,.35), 0 10px 28px rgba(0,0,0,.35);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.5);
}
:root[data-theme="dark"] ::selection { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .auth-btn.danger { background: #3a1d1d; color: #ff9b9b; border-color: #5c2a2a; }
:root[data-theme="dark"] .auth-btn.danger:hover { background: #4a2424; }
:root[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #3a4458; }
:root[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: #48546c; }

/* 主题切换按钮 */
.theme-toggle {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer; font-size: 16px; line-height: 1;
  transition: all .16s ease;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }

* { box-sizing: border-box; }

::selection { background: var(--accent-soft); color: #1d4ed8; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.back {
  font-size: 14px; color: var(--muted); font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  transition: all .16s ease;
}
.back:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); text-decoration: none; transform: translateX(-1px); }

html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d6dae3; border-radius: 999px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #c1c7d4; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-grad);
  background-attachment: fixed;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: var(--shadow-sm);
}
.brand { font-weight: 700; font-size: 17px; letter-spacing: -.2px; }
.stats { font-size: 13px; color: var(--muted); }
.ann-bar {
  display: flex; align-items: center; gap: 10px;
  margin: 0 auto; max-width: 960px; padding: 9px 18px;
  background: var(--accent-grad, #2f6bff); color: #fff;
  border-radius: 0 0 14px 14px; font-size: 13px; line-height: 1.5;
  box-shadow: var(--shadow-sm);
}
.ann-bar[hidden] { display: none; }
.ann-ico { font-size: 15px; flex: 0 0 auto; }
.ann-text { flex: 1; min-width: 0; }
.ann-more { opacity: .85; font-size: 12px; }
.ann-close {
  flex: 0 0 auto; width: 22px; height: 22px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.25); color: #fff; font-size: 12px; line-height: 1;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.ann-close:hover { background: rgba(255,255,255,.4); }
.maint-bar {
  margin: 0 auto; max-width: 960px; padding: 8px 18px;
  background: var(--warning-bg, #fff3cd); color: #7a5b00;
  border-bottom: 1px solid var(--warning-border, #ffd97a);
  text-align: center; font-size: 13px; line-height: 1.5;
}
.maint-bar[hidden] { display: none; }

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}

/* hero */
.hero { padding: 18px 0 4px; }
.hero h1 {
  font-size: 34px;
  margin: 16px 0 6px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #1f2328 0%, #2f6bff 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero .subtitle { color: var(--muted); margin: 0 0 24px; font-size: 15px; }

/* progress */
.progress-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.progress-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.progress-row .label { font-size: 14px; color: var(--muted); min-width: 64px; }
.bar {
  flex: 1;
  height: 10px;
  background: #eef0f4;
  border-radius: 999px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: var(--accent-grad);
  width: 0%;
  border-radius: 999px;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}
.pct { font-size: 13px; color: var(--muted); min-width: 46px; text-align: right; font-variant-numeric: tabular-nums; }

.block-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: .3px;
}

/* 首页练习模式选择 */
.mode-picker {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.mode-picker-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.mode-chip {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  background: var(--bg);
  transition: transform .15s, border-color .15s, background .15s, box-shadow .15s;
}
.mode-chip:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.mode-chip.active {
  border-color: transparent;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
}
.mode-chip .mc-name { font-size: 15px; font-weight: 600; color: var(--text); }
.mode-chip.active .mc-name { color: var(--accent); }
.mode-chip.has-due { border-color: #e0533d; box-shadow: var(--shadow-sm); }
.mode-chip.has-due .mc-meta { color: #e0533d; }
.mode-chip.has-due .mc-meta::before { content: '● '; }
.mode-chip .mc-desc { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.mode-chip .mc-meta { font-size: 11px; color: var(--accent); margin-top: 6px; font-weight: 600; }
.start-btn {
  margin-top: 16px;
  width: 100%;
  border: none;
  background: var(--accent-grad);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 16px rgba(47,107,255,.28);
  transition: transform .15s, box-shadow .15s;
}
.start-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(47,107,255,.34); }
.start-btn:active { transform: translateY(0); }

/* 练习范围（全部 / 只练未掌握） */
.drill-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.drill-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 18px;
  cursor: pointer;
  background: var(--surface);
  font-size: 13px;
  color: var(--text);
  transition: transform .15s, border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.drill-chip:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.drill-chip.active {
  border-color: transparent;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(47,107,255,.26);
}
.due-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.due-note b { color: var(--accent); font-size: 14px; }

/* 顺序 / 乱序 */
.order-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.order-chips {
  display: flex;
  gap: 8px;
}
.order-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 18px;
  cursor: pointer;
  background: var(--surface);
  font-size: 13px;
  color: var(--text);
  transition: transform .15s, border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.order-chip:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.order-chip.active {
  border-color: transparent;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(47,107,255,.26);
}

/* 学习页当前模式标签 */
.mode-label {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}
.levels {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.level-group + .level-group { margin-top: 12px; }
.level-sub {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: .3px;
}
.level-row { display: flex; gap: 8px; flex-wrap: wrap; }
.level-chip {
  flex: 1;
  min-width: 84px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, border-color .15s;
}
.level-chip:hover { transform: translateY(-1px); border-color: var(--accent); }
.level-chip .name { font-weight: 600; font-size: 13px; }
.level-chip .count { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* letter nav */
.letter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.letter-nav button {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  min-width: 38px;
  height: 38px;
  width: auto;
  padding: 0 8px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}
.letter-nav button.active {
  background: var(--accent-grad);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(47,107,255,.26);
}
.letter-nav button:hover:not(.active) { background: var(--accent-soft); border-color: var(--accent); transform: translateY(-1px); }

/* filters */
.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.filters input,
.filters select,
.filters .ghost {
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.filters input { flex: 1; min-width: 180px; }
.filters select { cursor: pointer; }
.filters input:focus, .filters select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.filters .ghost {
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
}
.filters .ghost:hover { color: #dc2626; border-color: #dc2626; }

/* word list */
.word-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.word-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s, box-shadow .16s;
  position: relative;
  text-decoration: none;
  color: var(--text);
  display: block;
  box-shadow: var(--shadow-sm);
}
.word-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.word-card .name {
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 3px;
  letter-spacing: -.2px;
  color: var(--text);
}
.word-card .phonetic {
  font-size: 12px;
  color: var(--muted);
  font-family: "Lucida Sans Unicode", "Arial Unicode MS", serif;
  margin-bottom: 6px;
}
.word-card .meaning {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.word-card .level-dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  box-shadow: 0 0 0 3px rgba(255,255,255,.85);
}
.word-card[data-level="1"] .level-dot { background: var(--l1); }
.word-card[data-level="2"] .level-dot { background: var(--l2); }
.word-card[data-level="3"] .level-dot { background: var(--l3); }
.word-card[data-level="4"] .level-dot { background: var(--l4); }
.word-card[data-level="5"] .level-dot { background: var(--l5); }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 40px;
  font-size: 14px;
}

/* 列表按需加载：触发按钮 + 加载更多 */
.list-cue {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}
.list-cue p { margin: 0 0 16px; font-size: 15px; }
.list-cue b { color: var(--text); }
.load-more {
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.load-more:hover { border-color: var(--accent); background: var(--accent-soft); }

/* learn page */
.learn-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
}

.flashcard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.flashcard::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent-grad);
}
.flashcard .word-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}
.flashcard .w {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -1px;
}
.flashcard .speak {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
}
.flashcard .speak:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.flashcard .ph {
  font-size: 15px;
  color: var(--muted);
  font-family: "Lucida Sans Unicode", "Arial Unicode MS", sans-serif;
  margin-bottom: 12px;
  letter-spacing: .3px;
}
.flashcard .pos {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.flashcard .mn {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.flashcard .trick {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  font-size: 14px;
  color: #b45309;
  font-style: italic;
}
.flashcard .trick:empty { display: none; }

.learn-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--muted);
}
.queue-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 16px;
  flex-wrap: wrap;
}
.queue-bar-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
}
.queue-modes {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--accent-soft);
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, .07);
}
.qmode {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.qmode .q-ico { font-size: 14px; line-height: 1; }
.qmode:hover { color: var(--text); }
.qmode:active { transform: scale(.96); }
.qmode.on { color: var(--accent); }
:root[data-theme="dark"] .qmode.on { color: var(--accent-2); }
/* 滑动高亮块：由 JS 测量当前选中项位置，平滑移动 + 描边光晕 */
.qmode-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  z-index: 0;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-sm), 0 0 0 2px rgba(47, 107, 255, .35), 0 4px 14px rgba(47, 107, 255, .30);
  transition: transform .26s cubic-bezier(.4, 0, .2, 1), width .26s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
  opacity: 0;
  pointer-events: none;
}
.qmode-thumb.no-anim { transition: none !important; }
:root[data-theme="dark"] .qmode-thumb {
  background: #243049;
  box-shadow: var(--shadow-sm), 0 0 0 2px rgba(91, 140, 255, .45), 0 4px 16px rgba(91, 140, 255, .35);
}

/* 模式切换 */
.mode-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.mode-tabs button {
  flex: 1;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 9px 0;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}
.mode-tabs button.active {
  background: var(--accent-grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(47,107,255,.26);
}
.mode-tabs button:hover:not(.active) { background: var(--accent-soft); border-color: var(--accent); transform: translateY(-1px); }

/* 答题输入 */
.answer-input {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 16px 0 8px;
  flex-wrap: wrap;
}
.answer-input input {
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  width: 240px;
  text-align: center;
  transition: border-color .15s, box-shadow .15s;
}
.answer-input input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.answer-input .speak.big {
  width: auto;
  height: auto;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
}
.check-result {
  font-size: 15px;
  font-weight: 600;
  min-height: 22px;
  margin-bottom: 8px;
}
.check-result.ok { color: var(--l5); }
.check-result.bad { color: #dc2626; }

.quiz-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 8px;
}
.quiz-opts .opt {
  text-align: left;
  padding: 14px 16px;
  line-height: 1.5;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .12s, border-color .15s, color .15s, box-shadow .15s;
}
.quiz-opts .opt:disabled { cursor: default; }
.quiz-opts .opt.ok { background: #dcfce7 !important; border-color: var(--l5) !important; color: #15803d !important; }
.quiz-opts .opt.bad { background: #fee2e2 !important; border-color: #dc2626 !important; color: #dc2626 !important; }
.quiz-opts .opt:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); transform: translateX(2px); box-shadow: var(--shadow); }

.learn-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  justify-content: center;
}
.actions button {
  flex: 1;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  min-width: 0;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.actions button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow); }
.rbtn {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.rbtn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow); }
.rbtn.primary { background: var(--l5); color: #fff; border-color: var(--l5); }
.rbtn.primary:hover { background: #15803d; color: #fff; border-color: #15803d; transform: translateY(-1px); }
.rbtn.warn { color: #dc2626; border-color: #fca5a5; background: #fef2f2; }
.rbtn.warn:hover { color: #dc2626; border-color: #dc2626; background: #fee2e2; transform: translateY(-1px); }
.flashcard #rateWrap, .rateWrap {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

/* 巧记面板 */
.trick-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-top: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.trick-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}
.trick-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px 10px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}
.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  font-family: inherit;
}
.trick-body .trick-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed var(--border);
  font-size: 14px;
}
.trick-body .trick-item:first-child { border-top: none; }
.trick-body .tk {
  color: var(--muted);
  min-width: 84px;
  flex-shrink: 0;
}
.trick-body .tv { color: #b45309; }
.trick-empty { color: var(--muted); font-size: 13px; padding: 4px 0; }

/* 巧记：练习时先隐藏，选/答完答案后再显示（用户偏好，localStorage 持久化） */
.trick-hint { display: none; font-size: 13px; color: var(--muted); padding: 8px 2px 0; }
.trick-panel.trick-hidden .trick-body { display: none; }
.trick-panel.trick-hidden .trick-hint { display: block; }

/* 巧记开关：滑动式 switch（替代原 .active 文字按钮） */
.trick-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  user-select: none;
  color: var(--muted);
}
.trick-switch .ts-label { white-space: nowrap; }
.trick-switch input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.trick-switch .ts-track {
  position: relative;
  width: 38px; height: 22px;
  background: var(--border);
  border-radius: 999px;
  transition: background .2s ease;
  flex-shrink: 0;
}
.trick-switch .ts-knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
  transition: transform .2s ease;
}
.trick-switch input:checked ~ .ts-track { background: var(--primary, #4f46e5); }
.trick-switch input:checked ~ .ts-track .ts-knob { transform: translateX(16px); }
.trick-switch input:focus-visible ~ .ts-track { outline: 2px solid var(--primary, #4f46e5); outline-offset: 2px; }

/* 巧记编辑弹窗 */
dialog {
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 520px;
  width: 92%;
  box-shadow: var(--shadow-lg);
}
dialog::backdrop { background: rgba(0,0,0,.35); }
.trick-form { padding: 24px; }
.trick-form h3 { margin: 0 0 16px; font-size: 17px; }
.trick-form .tf {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.trick-form .tf span { font-size: 13px; color: var(--muted); }
.trick-form .tf input {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.trick-form .tf input:focus { border-color: var(--accent); }
.dlg-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.dlg-actions button {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.dlg-actions .ghost { color: var(--muted); }
.dlg-actions .primary { background: var(--accent-grad); color: white; border-color: transparent; }
.dlg-actions .primary:hover { background: var(--accent-grad); color: white; box-shadow: 0 6px 16px rgba(47,107,255,.3); }

@media (max-width: 640px) {
  .container, .learn-wrap { padding: 16px; }
  .hero h1 { font-size: 22px; }
  .flashcard { padding: 36px 20px; }
  .flashcard .w { font-size: 32px; }
  .word-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* ===== 登录 / 注册（云端同步） ===== */
#auth-mount {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.auth-user { font-size: 13px; color: var(--muted); }
.auth-btn {
  font-size: 13px;
  font-family: inherit;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.auth-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow); }
.auth-btn.primary { background: var(--accent-grad); color: #fff; border-color: transparent; }
.auth-btn.primary:hover { background: var(--accent-grad); color: #fff; border-color: transparent; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(47,107,255,.3); }

.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.auth-box {
  background: var(--surface);
  border-radius: 14px;
  padding: 22px 24px;
  width: 320px;
  max-width: 90vw;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}
.auth-box h3 { margin: 0 0 14px; font-size: 17px; }
.auth-box input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  margin: 6px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.auth-box input:focus { border-color: var(--accent); }
.auth-box .row { display: flex; gap: 8px; margin-top: 12px; }
.auth-box .row .auth-btn { flex: 1; }
.auth-msg { font-size: 12px; margin-top: 8px; min-height: 14px; }
.auth-msg.err { color: #dc2626; }
.auth-msg.ok { color: var(--l5); }

/* ===== AI 学习报告 / 巧记状态 ===== */
.report-dlg { padding: 24px; }
.report-dlg h3 { margin: 0 0 16px; font-size: 17px; }
.report-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; flex-wrap: wrap; }
.report-actions button {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  padding: 9px 20px;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.report-actions .ghost { color: var(--muted); }
.report-actions .primary { background: var(--accent-grad); color: #fff; border-color: transparent; }
.report-actions .primary:hover { background: var(--accent-grad); color: #fff; box-shadow: 0 6px 16px rgba(47,107,255,.3); }
.report-body { margin-top: 14px; max-height: 60vh; overflow: auto; font-size: 14px; line-height: 1.7; color: var(--text); }
.report-text { white-space: pre-wrap; }
.report-cache-hint { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--border, #e5e7eb); color: var(--muted); font-size: 12px; line-height: 1.5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.refresh-btn { margin-left: auto; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--accent-grad, #2f6bff); color: #fff; font-size: 13px; cursor: pointer; }
.refresh-btn:hover { box-shadow: 0 4px 12px rgba(47,107,255,.3); }
.rp-block { margin-top: 16px; }
.rp-block:first-child { margin-top: 0; }
.rp-h { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.plan-list { list-style: none; padding: 0; margin: 6px 0 0; }
.plan-list li { margin-bottom: 8px; }
.plan-list a {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.plan-list a:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-1px); }
.plan-list .reason { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.trick-status { font-size: 12px; margin-top: 10px; min-height: 14px; line-height: 1.5; }
.trick-status.err { color: #dc2626; }
.trick-status.ok { color: var(--l5); }
.trick-status.loading { color: var(--accent); }
/* 后台 AI 配置表单 */
.ai-cfg-form { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 6px; }
.ai-cfg-form .ai-fld { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); flex: 1 1 220px; min-width: 200px; }
.ai-cfg-form .ai-fld select,
.ai-cfg-form .ai-fld input { padding: 9px 11px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; background: var(--bg); color: var(--text); }
.ai-cfg-form .ai-fld input:focus,
.ai-cfg-form .ai-fld select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(79,70,229,.15); }
.ai-cfg-form .auth-msg { flex-basis: 100%; margin-top: 2px; }
/* 人机验证（Cloudflare Turnstile）排版优化 */
.cf-wrap {
  margin: 12px 0 4px;
  padding: 0;
  overflow: hidden;              /* 无边框：只保留 Turnstile 自带卡片，防止 iframe 溢出边界 */
}
.cf-wrap .cf-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.cf-wrap .cf-label .cf-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.cf-wrap .cf-label .cf-sub {
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
}
/* Turnstile 自带卡片 UI，这里让它干净内嵌：强制填满卡片宽度并居中，消除“凸出/左对齐留白” */
.cf-box {
  width: 100%;
  min-height: 4px;
  box-sizing: border-box;
}
.cf-box:empty::before {
  content: "安全验证组件加载中…";
  font-size: 12px;
  color: var(--muted);
}
.cf-box iframe {
  display: block;
  width: 100% !important;        /* 覆盖 Cloudflare 默认 ~300px 固定宽度，填满容器 */
  max-width: 100%;
  height: auto;
  margin: 0 auto;                /* 居中，避免悬空左对齐 */
  border-radius: 6px;
}
.auth-forgot { margin-top: 8px; font-size: 13px; text-align: right; }
.auth-forgot a { color: var(--accent); text-decoration: none; }
.auth-forgot a:hover { text-decoration: underline; }

/* ===== 站长后台 ===== */
.admin-wrap { max-width: 1000px; margin: 0 auto; padding: 24px 20px 60px; }
.gate { display: flex; justify-content: center; padding: 60px 0; }
.gate-box { text-align: center; color: var(--muted); }
.gate-box p { margin: 10px 0; }
.admin-tabs { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-tab {
  font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, background .15s, border-color .15s, color .15s;
}
.admin-tab:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.admin-tab.active { background: var(--accent-grad); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(47,107,255,.26); }
.admin-tab-body { animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 18px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-num { font-size: 30px; font-weight: 800; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-variant-numeric: tabular-nums; }
.card-label { font-size: 13px; color: var(--muted); margin-top: 8px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.panel h3 { margin: 0 0 14px; font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.panel h3::before { content: ""; width: 4px; height: 15px; border-radius: 999px; background: var(--accent-grad); display: inline-block; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.panel-head h3 { margin: 0; }
.pager { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.pager .auth-btn:disabled { opacity: .4; cursor: not-allowed; }

/* 图表 */
.chart { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.bar-name { width: 42px; flex-shrink: 0; color: var(--muted); }
.bar-track { flex: 1; background: var(--border); border-radius: 6px; height: 16px; overflow: hidden; }
.bar-fill2 { height: 100%; background: linear-gradient(90deg, var(--accent), #60a5fa); border-radius: 6px; }
.bar-val { width: 56px; text-align: right; color: var(--muted); flex-shrink: 0; }
.bar-col-wrap { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding-top: 6px; }
.bar-col { flex: 1; background: var(--border); border-radius: 4px 4px 0 0; height: 100%; display: flex; align-items: flex-end; }
.bar-col-fill { width: 100%; background: linear-gradient(180deg, #60a5fa, var(--accent)); border-radius: 4px 4px 0 0; min-height: 2px; }

/* 表格 */
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.admin-table th, .admin-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.admin-table th { color: var(--muted); font-weight: 600; background: #f7f8fb; }
.admin-table tbody tr { transition: background .12s; }
.admin-table tbody tr:hover { background: var(--accent-soft); }
.admin-table .row-actions .auth-btn { margin: 0; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--border); color: var(--muted); font-size: 12px; }
.badge.ok { background: #dcfce7; color: #15803d; }
.badge.member { background: linear-gradient(135deg, #f6d488, #e0a93b); color: #5b3b00; font-weight: 600; }

/* 内容管理 */
.word-search { width: 100%; box-sizing: border-box; padding: 11px 14px; margin-bottom: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
.word-search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.word-picks { display: flex; flex-wrap: wrap; gap: 8px; max-height: 240px; overflow-y: auto; margin-bottom: 16px; }
.word-pick { font-family: inherit; font-size: 13px; cursor: pointer; padding: 7px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); transition: transform .12s, border-color .15s, color .15s, box-shadow .15s; }
.word-pick:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow); }
.word-pick .wm { color: var(--muted); font-size: 11px; margin-left: 4px; }
.word-editor { border-top: 1px dashed var(--border); padding-top: 16px; }
.ed-title { font-size: 15px; margin-bottom: 12px; }
.ed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ed-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.ed-grid label.full { grid-column: 1 / -1; }
.ed-grid input { padding: 10px 13px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
.ed-grid input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.word-editor .dlg-actions { margin-top: 14px; }
.word-editor .ghost { color: var(--muted); }
.word-editor .primary { background: var(--accent-grad); color: white; border-color: transparent; }
.word-editor .primary:hover { background: var(--accent-grad); color: white; box-shadow: 0 6px 16px rgba(47,107,255,.3); }

@media (max-width: 640px) {
  .ed-grid { grid-template-columns: 1fr; }
  .admin-table th, .admin-table td { padding: 8px; font-size: 12px; }
}

/* ===== 后台增强（v2） ===== */
.toast-wrap { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 10000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; background: var(--text); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.22); animation: toastIn .2s ease; max-width: 90vw; }
.toast.ok { background: #16a34a; }
.toast.err { background: #dc2626; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.skeleton { background: linear-gradient(90deg, #ededed 25%, #f6f6f6 37%, #ededed 63%); background-size: 400% 100%; animation: sk 1.3s infinite; border-radius: 8px; }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.skel-card { height: 76px; }

.active-chart { display: flex; align-items: flex-end; gap: 3px; height: 150px; padding-top: 10px; overflow-x: auto; }
.active-day { flex: 1 0 auto; width: 14px; display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 100%; }
.active-day .b { width: 46%; border-radius: 3px 3px 0 0; min-height: 2px; }
.active-day .b.wau { background: #bfdbfe; }
.active-day .b.dau { background: var(--accent); }
.legend { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; }
.legend .lg { width: 12px; height: 12px; border-radius: 3px; display: inline-block; margin-left: 8px; }
.legend .lg.dau { background: var(--accent); margin-right: 4px; }
.legend .lg.wau { background: #bfdbfe; }

.struggle-list { display: flex; flex-direction: column; gap: 4px; }
.struggle-item { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.struggle-item:last-child { border-bottom: none; }
.struggle-item .w { font-weight: 600; min-width: 100px; }
.struggle-item .cnt { color: var(--muted); }

.modal-box { width: 460px; max-width: 92vw; max-height: 86vh; overflow-y: auto; }
.modal-box h3 { margin: 0 0 14px; font-size: 17px; }
.modal-box h4 { font-size: 14px; color: var(--muted); margin: 14px 0 6px; }
.kv { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.kv:last-of-type { border-bottom: none; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; }

.chk { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.chk input { width: auto; }

@media (max-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .active-day { width: 9px; }
  .panel-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ===== 打卡 streak + 错词本快捷入口 ===== */
.streak-badge {
  display: none;            /* 登录后由 JS 设为 inline-flex */
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #b45309;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  color: var(--text);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.qc-icon { font-size: 26px; line-height: 1; }
.qc-text { font-size: 15px; font-weight: 600; }
.qc-text b { color: var(--accent); font-variant-numeric: tabular-nums; }

/* ===== 英美音切换 ===== */
.accent-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  box-shadow: var(--shadow-sm);
  flex: 0 0 auto;
}
.accent-toggle button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s;
}
.accent-toggle button.active {
  background: var(--accent-grad, linear-gradient(135deg, #2f6bff, #5b8bff));
  color: #fff;
  box-shadow: 0 2px 8px rgba(47,107,255,.35);
}

/* ===== 例句 ===== */
.ex {
  margin-top: 8px;
  padding: 7px 11px;
  border-left: 3px solid var(--accent);
  background: rgba(47,107,255,.06);
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
  border-radius: 6px;
}

/* ===== 首页点读按钮 ===== */
.speak-mini {
  border: none;
  background: rgba(47,107,255,.1);
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 6px;
  vertical-align: middle;
  transition: background .15s, transform .15s;
}
.speak-mini:hover { background: rgba(47,107,255,.2); transform: scale(1.08); }
.speak-mini:active { transform: scale(.94); }

/* ===== 排版优化 ===== */
.topbar { gap: 12px; }
.word-card { transition: transform .18s, box-shadow .18s, border-color .18s; }
.word-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.word-card .name { display: flex; align-items: center; }
.word-card .meaning { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* 注册验证码提示 */
.auth-hint { font-size: 13px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.auth-hint b { color: var(--text); }

@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; gap: 8px; }
  .accent-toggle { order: 5; }
  .word-card .meaning { font-size: 12px; }
  .word-card .ex { font-size: 12px; }
}

/* ===== 后台扩展（v3，2026-08-02） ===== */
.muted { color: var(--muted); font-size: 13px; }
.sub-h { font-size: 13px; color: var(--muted); margin: 10px 0 6px; font-weight: 600; }

/* 排行榜 */
.leaders { display: flex; gap: 18px; flex-wrap: wrap; }
.lb-col { flex: 1 1 220px; min-width: 200px; }
.lb-col h4 { margin: 0 0 8px; font-size: 14px; }
.lb-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--border); }
.lb-rank { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.lb-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-val { font-weight: 700; color: var(--accent); }

/* 学习时段热力图 */
.heat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.heat-cell { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 6px 2px; text-align: center; font-size: 10px; color: var(--muted); }
.heat-cell.h1 { background: rgba(47,107,255,.18); }
.heat-cell.h2 { background: rgba(47,107,255,.38); color: #fff; }
.heat-cell.h3 { background: rgba(47,107,255,.62); color: #fff; }

/* 巧记审核卡片 */
.trick-list { display: flex; flex-direction: column; gap: 10px; }
.trick-card { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--surface); }
.tc-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tc-check { display: inline-flex; align-items: center; cursor: pointer; }
.tc-check input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--accent); }
.tc-meta { color: var(--muted); font-size: 12px; margin-left: auto; }
.tc-body { margin: 6px 0 8px; font-size: 13px; line-height: 1.5; }
.tc-actions { display: flex; gap: 8px; }
.tc-ai { margin-top: 8px; padding: 8px 10px; border-radius: var(--radius-sm, 8px); background: #eef2ff; color: #3730a3; font-size: 13px; line-height: 1.5; border: 1px solid #c7d2fe; }
.tc-ai.loading { background: var(--surface); color: var(--muted); border-color: var(--border); }
.tc-ai-err { color: #b91c1c; }

/* 巧记批量审核工具条 */
.trick-batch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; margin-bottom: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); position: sticky; top: 0; z-index: 5; }
.trick-batch .tb-selall { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; user-select: none; }
.trick-batch .tb-selall input { width: 16px; height: 16px; cursor: pointer; accent-color: var(--accent); }
.trick-batch .tb-count { color: var(--muted); font-size: 13px; }
.trick-batch .auth-btn { padding: 6px 12px; }
.trick-batch .tb-sep { display: inline-block; width: 1px; height: 18px; background: var(--border); margin: 0 6px; vertical-align: middle; }
.trick-batch .tb-count { font-size: 12px; color: var(--muted); }

/* 公告 */
.ann-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.ann-form input, .ann-form textarea { flex: 1 1 200px; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; background: var(--bg); color: var(--text); }
.ann-form textarea { flex-basis: 100%; }
.ann-list { display: flex; flex-direction: column; gap: 10px; }
.ann-card { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--surface); }
.ac-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ac-meta { color: var(--muted); font-size: 12px; margin-left: auto; }
.ac-body { margin: 6px 0 8px; font-size: 13px; line-height: 1.5; white-space: pre-wrap; }

/* 功能开关 */
.flag-list { display: flex; flex-direction: column; gap: 14px; }
.flag-group { display: flex; flex-direction: column; gap: 8px; }
.flag-group-title { font-size: 13px; font-weight: 600; color: var(--text); padding: 2px 2px; border-left: 3px solid var(--accent); padding-left: 8px; }
.flag-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.flag-row small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.flag-toggle { width: 42px; height: 24px; }

/* 用户筛选下拉与危险按钮 */
.auth-btn.danger { background: #fff0f0; color: #d23b3b; border-color: #f3c2c2; }
.auth-btn.danger:hover { background: #ffe2e2; }
.auth-btn.ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.auth-btn.ghost:hover { background: var(--surface); }
/* 用户设置面板 */
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.set-k { color: var(--muted); }
.set-actions { display: flex; gap: 8px; margin-top: 10px; }
.set-actions .auth-btn { flex: 1; }
.set-hr { border: none; border-top: 1px solid var(--border); margin: 14px 0; }
.set-2fa { margin-top: 4px; }
.set-2fa-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.set-2fa-loading { color: var(--muted); font-size: 13px; padding: 8px 0; }
.set-note { font-size: 13px; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.set-note.err { color: #dc2626; }
.mfa-qr { display: flex; justify-content: center; background: #fff; border-radius: 10px; padding: 10px; margin: 4px 0 12px; }
.mfa-qr svg { width: 180px; height: 180px; display: block; }
.mfa-secret { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface); border: 1px dashed var(--border); border-radius: 8px; padding: 8px 10px; font-size: 13px; word-break: break-all; text-align: center; letter-spacing: .04em; margin-bottom: 12px; user-select: all; }
#userFilter, #trickFilter { padding: 7px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; background: var(--bg); color: var(--text); }
.ph-controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tb-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; user-select: none; color: var(--text); }
.tb-inline input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--accent); }
.tb-inline select { padding: 6px 8px; border: 1px solid var(--border); border-radius: var(--radius-sm); font: inherit; background: var(--bg); color: var(--text); }

/* ===== 标记体系（学习页 · 太简单 / 重难词 / 已掌握） ===== */
.flag-bar {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border);
}
.flag-btn {
  font: inherit; font-size: 13px; cursor: pointer;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  transition: all .14s ease;
}
.flag-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); color: var(--text); }
.flag-btn.on.easy { background: #ecfdf3; border-color: #abefc6; color: #067647; }
.flag-btn.on.hard { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.flag-btn.on.mastered { background: #eef2ff; border-color: #c7d2fe; color: #4338ca; }
/* 清除标记：默认弱显，有标记时才高亮可点 */
.flag-btn.clear { color: var(--muted); border-style: dashed; }
.flag-btn.clear.on { color: #b42318; border-color: #fda29b; background: #fef3f2; }
.flag-btn.clear:not(.on) { opacity: .5; cursor: not-allowed; }
/* 空队列提示 */
.empty-state { text-align: center; padding: 40px 16px; color: var(--muted); line-height: 1.8; }
.empty-state .link-btn { display: inline-block; margin-top: 10px; }

/* ===== 每词记忆历史曲线 ===== */
.curve-form { padding: 22px; min-width: 300px; }
.curve-form h3 { margin: 0 0 14px; font-size: 16px; }
.curve-svg {
  width: 100%; max-width: 360px; height: auto; display: block; margin: 0 auto;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px;
}
.curve-stats { text-align: center; margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.curve-stats b { color: var(--text); }
.empty { text-align: center; color: var(--muted); font-size: 13px; padding: 18px 8px; }

/* ===== 词书进度（按单元） ===== */
.unit-block { margin: 18px 0; }
.unit-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.unit-row {
  display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 12px;
  padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer; transition: all .14s ease;
}
.unit-row:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.unit-row .u-name { font-weight: 600; font-size: 14px; }
.unit-row .u-meta { font-size: 12px; color: var(--muted); white-space: nowrap; }
.unit-bars { display: flex; flex-direction: column; gap: 5px; min-width: 120px; }
.ubar { height: 9px; border-radius: 999px; min-width: 3px; transition: width .3s ease; }
.ubar.blue { background: var(--accent); }
.ubar.green { background: var(--l5); }

/* ===== 每日名言 / 排序行 ===== */
.quote {
  font-size: 14px; color: var(--muted); font-style: italic;
  margin: 10px auto 0; max-width: 640px; text-align: center; line-height: 1.6;
}
.sort-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.sort-row .block-label { white-space: nowrap; }

/* ===== 图标通用（用户提供的 SVG，自带配色） ===== */
.bh-icon { width: 18px; height: 18px; object-fit: contain; vertical-align: -3px; }
.qc-ico { width: 24px; height: 24px; object-fit: contain; }
.chip-ico { width: 14px; height: 14px; object-fit: contain; vertical-align: -2px; margin-right: 3px; }
.btn-icon { width: 18px; height: 18px; object-fit: contain; vertical-align: -3px; margin-right: 4px; }
.mode-ico { width: 16px; height: 16px; object-fit: contain; vertical-align: -2px; }
.mc-icon { width: 28px; height: 28px; object-fit: contain; margin-bottom: 6px; }
.mode-chip { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ===== 重难词本：用户可开关 ===== */
.quick-card.toggle-card { cursor: default; }
.quick-card.toggle-card:hover { transform: none; box-shadow: var(--shadow); border-color: var(--border); }
.quick-card.toggle-card .qc-text { flex: 1; }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; cursor: pointer; inset: 0; background: #cbd2dc; border-radius: 999px; transition: background .2s; }
.switch .slider:before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider:before { transform: translateX(18px); }

/* ===== 标记选项总开关（首页） ===== */
.marks-toggle-row { display: flex; align-items: center; gap: 10px; margin: 2px 0 14px; padding: 0 2px; }
.marks-toggle-label { font-size: 14px; color: var(--muted); }

/* ===== 词书进度：可折叠（默认折叠） ===== */
.block-head { display: flex; align-items: center; gap: 8px; }
.collapsible-head { cursor: pointer; user-select: none; padding: 4px 0; }
.collapsible-head:focus { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.collapse-caret { margin-left: auto; font-size: 14px; color: var(--muted); transition: transform .2s ease; }
.collapse-caret.collapsed { transform: rotate(-90deg); }
.unit-collapsible.collapsed { display: none; }
.unit-legend { font-size: 12px; color: var(--muted); margin: 6px 0 8px; }
/* 修正单元行类（renderUnitProgress 输出 unit-name / unit-meta） */
.unit-row .unit-name { font-weight: 600; font-size: 14px; }
.unit-row .unit-meta { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ===== 学习页：模式图标 + 显示释义后的自测说明 ===== */
.rate-prompt { font-size: 13px; color: var(--muted); text-align: center; line-height: 1.4; }
.rate-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   移动端优化（2026-08-06）— 仅 max-width:640px / 380px 生效
   目标：触摸友好、无横向滚动、关键操作拇指可达
   ========================================================= */
@media (max-width: 640px) {
  /* 通用：更紧凑留白，给内容更多空间；底部留白避免内容被遮挡 */
  .container, .learn-wrap { padding: 14px 14px 96px; }
  .topbar { padding: 10px 14px; gap: 8px; }
  .brand { font-size: 15px; }

  /* 首页：英雄区收紧 */
  .hero { padding: 6px 0 0; }
  .hero h1 { font-size: 23px; margin: 8px 0 4px; }
  .hero .subtitle { font-size: 13px; margin-bottom: 14px; }

  /* 快捷入口：两列、命中区更大 */
  .quick { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .quick-card { padding: 13px 14px; gap: 10px; }
  .qc-icon { font-size: 22px; }
  .qc-text { font-size: 14px; }

  /* 进度块 */
  .progress-block { padding: 16px; }
  .levels { flex-wrap: wrap; gap: 6px; }

  /* 单元行：名称+进度在窄屏纵向排布，避免挤压 */
  .unit-row { grid-template-columns: 1fr auto; gap: 6px 10px; padding: 10px 12px; }
  .unit-row .unit-bars { grid-column: 1 / -1; min-width: 0; }
  .unit-row .unit-meta { font-size: 11px; }

  /* 练习模式：网格 3 列（5 个→3+2），窄屏隐藏描述只留图标+名称 */
  .mode-picker-chips { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mode-chip { padding: 10px 6px; }
  .mode-chip .mc-desc, .mode-chip .mc-meta { display: none; }

  /* 顺序 / 范围 chips：整行均分、更大命中区 */
  .order-chips { gap: 8px; }
  .order-chip, .drill-chip { flex: 1 1 auto; min-width: 0; justify-content: center; padding: 12px 10px; font-size: 14px; }
  .start-btn { width: 100%; padding: 15px; font-size: 16px; margin-top: 6px; }
  .drill-row { flex-wrap: wrap; gap: 8px; }
  .drill-row .block-label { width: 100%; }

  /* 字母导航：横向滚动，避免挤成一团换行 */
  .letter-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .letter-nav button { flex: 0 0 auto; }

  /* 筛选区：纵向堆叠、全宽 */
  .filters { flex-direction: column; align-items: stretch; gap: 10px; }
  .filters #search { width: 100%; min-width: 0; font-size: 16px; padding: 12px 14px; }
  .filters #filter { width: 100%; font-size: 15px; padding: 11px 12px; }
  .sort-row { flex-wrap: wrap; gap: 8px; }
  .sort-row .order-chips { width: 100%; }
  .filters .ghost { width: 100%; padding: 11px; }

  /* 单词表：更紧凑 */
  .word-list { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .word-card { padding: 12px 13px; }
  .word-card .name { font-size: 15px; }

  /* ===== 学习页 ===== */
  .learn-wrap { padding: 12px 12px 110px; }
  .learn-meta { flex-wrap: wrap; gap: 4px 10px; font-size: 12px; }
  .flashcard { padding: 28px 16px; min-height: 180px; }
  .flashcard .w { font-size: 30px; }
  .flashcard .ph { font-size: 14px; }
  .flashcard .mn { font-size: 16px; }

  /* 模式切换：横向滚动，五个模式一屏可达 */
  .mode-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .mode-tabs::-webkit-scrollbar { display: none; }
  .mode-tabs button { flex: 0 0 auto; padding: 9px 14px; }

  /* 答题输入：全宽，避免溢出 */
  .answer-input { width: 100%; }
  .answer-input input { width: 100%; max-width: 340px; }

  /* 选择题：更大命中区 */
  .quiz-opts .opt { padding: 15px 16px; font-size: 15px; }

  /* 主操作（显示答案/下一个）：更大、拇指友好 */
  .actions { gap: 10px; margin-top: 18px; }
  .actions button { padding: 14px 12px; font-size: 15px; }

  /* 评级按钮：2×2 网格 */
  .rateWrap, .rate-row { flex-wrap: wrap; gap: 10px; }
  .rateWrap .rbtn, .rate-row .rbtn { flex: 1 1 45%; padding: 14px 10px; font-size: 15px; }

  /* 标记按钮：整行均分 */
  .flag-bar { gap: 8px; }
  .flag-btn { flex: 1 1 auto; padding: 10px 6px; font-size: 13px; }

  /* 巧记面板 */
  .trick-panel { padding: 16px; }

  /* 后台：面板更紧凑（表格已可横向滚动） */
  .admin-wrap { padding: 16px 12px 60px; }
  .panel { padding: 16px; }
  .admin-tab { padding: 8px 14px; font-size: 13px; }
}

/* 超小屏（≤380px）进一步收紧 */
@media (max-width: 380px) {
  .hero h1 { font-size: 21px; }
  .flashcard .w { font-size: 26px; }
  .quick { grid-template-columns: 1fr; }
  .word-list { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .rateWrap .rbtn, .rate-row .rbtn { flex: 1 1 100%; }
  .mode-picker-chips { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 错词本列表视图（2026-08-07） ===== */
.wrong-list { max-width: 720px; margin: 0 auto; }
.wrong-list .wl-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 14px; }
.wrong-list .wl-title { font-size: 16px; font-weight: 600; }
.wrong-list .wl-start { padding: 10px 18px; font-size: 14px; border: none; border-radius: 10px; background: var(--accent); color: #fff; cursor: pointer; }
.wrong-list .wl-start:active { transform: translateY(1px); }
.wrong-list .wl-modes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.wrong-list .wl-items { display: flex; flex-direction: column; gap: 10px; }
.wrong-list .wl-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.wrong-list .wl-main { flex: 1; min-width: 0; }
.wrong-list .wl-word { font-weight: 600; font-size: 15px; }
.wrong-list .wl-pos { font-size: 12px; color: var(--muted); margin-left: 6px; }
.wrong-list .wl-mean { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrong-list .wl-meta { font-size: 12px; color: var(--muted); white-space: nowrap; }
.wrong-list .wl-acts { display: flex; gap: 8px; flex: 0 0 auto; }
.wrong-list .wl-fix, .wrong-list .wl-curve { padding: 8px 13px; border-radius: 8px; border: 1px solid var(--accent); background: var(--accent); color: #fff; cursor: pointer; font-size: 13px; }
.wrong-list .wl-curve { background: var(--surface); color: var(--text); border-color: var(--border); }

/* 折叠：默认收起释义，点词展开 */
.wrong-list .wl-item.collapsed .wl-mean { display: none; }
.wrong-list .wl-item:not(.collapsed) .wl-mean { white-space: normal; }
.wrong-list .wl-arrow { display: inline-block; width: 1em; margin-right: 2px; color: var(--muted); transition: transform .15s ease; }
.wrong-list .wl-item:not(.collapsed) .wl-arrow { transform: rotate(90deg); }
.wrong-list .wl-word { cursor: pointer; user-select: none; }

/* 分页 */
.wrong-list .wl-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.wrong-list .wl-prev, .wrong-list .wl-next { padding: 9px 18px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-size: 14px; }
.wrong-list .wl-prev:not([disabled]):active, .wrong-list .wl-next:not([disabled]):active { transform: translateY(1px); }
.wrong-list .wl-prev[disabled], .wrong-list .wl-next[disabled] { opacity: .4; cursor: not-allowed; }
.wrong-list .wl-page { font-size: 13px; color: var(--muted); }
.wrong-list .wl-fix:active, .wrong-list .wl-curve:active { transform: translateY(1px); }

@media (max-width: 640px) {
  .wrong-list .wl-item { flex-wrap: wrap; }
  .wrong-list .wl-meta { width: 100%; order: 3; }
  .wrong-list .wl-acts { width: 100%; order: 4; }
  .wrong-list .wl-fix, .wrong-list .wl-curve { flex: 1; }
}

/* SEO 简介区块（首页可抓取内容） */
.seo-about { margin: 28px 0 8px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.seo-about h2 { margin: 0 0 12px; font-size: 18px; color: var(--text); }
.seo-about p { margin: 0 0 10px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.seo-about p strong { color: var(--text); }
.seo-about ul { margin: 0 0 10px; padding-left: 20px; }
.seo-about li { font-size: 14px; line-height: 1.8; color: var(--muted); margin-bottom: 6px; }
.seo-about li strong { color: var(--text); }
@media (max-width: 640px) { .seo-about { padding: 16px; } .seo-about h2 { font-size: 16px; } }

