/* ========== 知涯问答 样式 ========== */
:root {
  --primary: #3f51b5;
  --primary-dark: #303f9f;
  --primary-light: #e8eaf6;
  --accent: #00acc1;
  --accent-light: #e0f7fa;
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #2b3452;
  --text-2: #5c6690;
  --text-3: #9aa3c0;
  --border: #e4e8f3;
  --green: #2e9e5b;
  --green-bg: #e5f6ec;
  --gold: #d4a017;
  --gold-bg: #fdf6e3;
  --red: #d64545;
  --shadow: 0 1px 2px rgba(43, 52, 82, .05), 0 6px 20px -8px rgba(63, 81, 181, .12);
  --shadow-hover: 0 2px 4px rgba(43, 52, 82, .06), 0 14px 32px -10px rgba(63, 81, 181, .22);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 15px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; font-size: inherit; }

.container { width: 1080px; max-width: 94vw; margin: 0 auto; flex: 1; padding: 24px 0 40px; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  width: 1080px; max-width: 94vw; margin: 0 auto;
  display: flex; align-items: center; gap: 22px; height: 60px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo { width: 34px; height: 34px; }
.brand-name {
  font-size: 1.25rem; font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-slogan { font-size: .78rem; color: var(--text-3); border-left: 1px solid var(--border); padding-left: 10px; }

.search-box {
  flex: 1; max-width: 340px; display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 16px; color: var(--text-3); transition: .2s;
}
.search-box:focus-within { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-light); }
.search-box input { border: none; outline: none; background: none; flex: 1; font-size: .9rem; color: var(--text); }
.icon { width: 16px; height: 16px; flex-shrink: 0; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 7px 14px; border-radius: 9px; color: var(--text-2);
  font-size: .92rem; font-weight: 500; transition: .15s;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-links a.active { color: var(--primary); background: var(--primary-light); }
.nav-links .ask-btn {
  display: flex; align-items: center; gap: 5px;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff; font-weight: 600; margin-left: 6px;
  box-shadow: 0 4px 12px -4px rgba(63, 81, 181, .5);
}
.nav-links .ask-btn:hover { color: #fff; filter: brightness(1.08); background: linear-gradient(120deg, var(--primary), var(--accent)); }

.user-area { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.user-chip { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 4px 6px; border-radius: 10px; }
.user-chip:hover { background: var(--primary-light); }
.user-points { font-size: .8rem; color: var(--gold); font-weight: 700; }
.btn-link { background: none; border: none; color: var(--text-3); font-size: .86rem; padding: 6px 4px; }
.btn-link:hover { color: var(--red); }

/* ---------- 头像（首字渐变） ---------- */
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .95rem; flex-shrink: 0;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,.15);
}
.avatar.lg { width: 56px; height: 56px; font-size: 1.5rem; }
.avatar.sm { width: 26px; height: 26px; font-size: .75rem; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 22px; border-radius: 10px; border: none;
  font-size: .92rem; font-weight: 600; transition: .18s;
}
.btn-primary { background: linear-gradient(120deg, var(--primary), var(--accent)); color: #fff; box-shadow: 0 4px 14px -4px rgba(63, 81, 181, .5); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-ghost { background: #fff; border: 1px solid var(--border); color: var(--text-2); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline { background: none; border: 1.5px solid var(--primary); color: var(--primary); padding: 6px 16px; font-size: .85rem; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-gold { background: linear-gradient(120deg, #e8b425, #d4a017); color: #fff; padding: 6px 16px; font-size: .85rem; box-shadow: 0 4px 12px -4px rgba(212,160,23,.5); }
.btn-gold:hover { filter: brightness(1.07); }

/* ---------- 卡片 ---------- */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(228, 232, 243, .7); }

/* ---------- 首页统计条 ---------- */
.stats-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card {
  position: relative; overflow: hidden;
  padding: 20px 24px; display: flex; align-items: center; gap: 16px;
}
.stat-card::after {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 110px; height: 110px; border-radius: 50%; opacity: .09;
  background: currentColor;
}
.stat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.stat-icon svg { width: 24px; height: 24px; }
.stat-num { font-size: 1.7rem; font-weight: 800; line-height: 1.2; }
.stat-label { font-size: .84rem; color: var(--text-3); }
.stat-card.c1 { color: var(--primary); } .stat-card.c1 .stat-icon { background: linear-gradient(135deg, #3f51b5, #5c6bc0); }
.stat-card.c2 { color: var(--accent); } .stat-card.c2 .stat-icon { background: linear-gradient(135deg, #00acc1, #26c6da); }
.stat-card.c3 { color: #7e57c2; } .stat-card.c3 .stat-icon { background: linear-gradient(135deg, #7e57c2, #9575cd); }

/* ---------- 工具行：Tab + 标签云 ---------- */
.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs { display: flex; background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 4px; gap: 2px; }
.tabs button {
  border: none; background: none; padding: 7px 20px; border-radius: 8px;
  font-size: .9rem; color: var(--text-2); font-weight: 500; transition: .15s;
}
.tabs button:hover { color: var(--primary); }
.tabs button.active {
  background: linear-gradient(120deg, var(--primary), var(--accent)); color: #fff;
  box-shadow: 0 3px 8px -2px rgba(63, 81, 181, .45);
}
.tag-cloud { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-chip {
  font-size: .8rem; padding: 4px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); color: var(--text-2);
  transition: .15s; cursor: pointer;
}
.tag-chip:hover { border-color: var(--accent); color: var(--accent); }
.tag-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.tag-chip .cnt { opacity: .65; font-size: .72rem; margin-left: 3px; }

/* ---------- 问题列表 ---------- */
.q-list { display: flex; flex-direction: column; gap: 14px; }
.q-item { display: flex; gap: 0; overflow: hidden; transition: .2s; }
.q-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.q-stats {
  flex-shrink: 0; width: 128px; padding: 18px 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(160deg, #f7f8fd, #eef1fa);
  border-right: 1px dashed var(--border);
}
.stat-box { text-align: center; width: 84px; padding: 4px 0; border-radius: 8px; }
.stat-box .n { font-size: 1.05rem; font-weight: 800; color: var(--text); line-height: 1.25; }
.stat-box .t { font-size: .72rem; color: var(--text-3); }
.stat-box.voted-true .n { color: var(--primary); }
.stat-box.answered .n { color: var(--accent); }
.stat-box.solved { background: var(--green-bg); }
.stat-box.solved .n, .stat-box.solved .t { color: var(--green); }
.q-body { flex: 1; padding: 16px 22px; min-width: 0; }
.q-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.q-title { font-size: 1.08rem; font-weight: 700; color: var(--text); }
.q-title:hover { color: var(--primary); }
.badge-solved {
  flex-shrink: 0; font-size: .72rem; font-weight: 600;
  color: var(--green); background: var(--green-bg);
  border: 1px solid #bfe6cd; padding: 1px 10px; border-radius: 999px;
}
.q-excerpt {
  font-size: .86rem; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 9px; word-break: break-all;
}
.q-meta { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--text-3); flex-wrap: wrap; }
.q-tags { display: flex; gap: 6px; }
.q-tag { font-size: .72rem; background: var(--primary-light); color: var(--primary); border-radius: 6px; padding: 1px 8px; cursor: pointer; }
.q-tag:hover { background: var(--primary); color: #fff; }
.q-author { display: flex; align-items: center; gap: 6px; margin-left: auto; color: var(--text-2); }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 26px; }
.pagination button {
  min-width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border);
  background: #fff; color: var(--text-2); font-size: .88rem; transition: .15s;
}
.pagination button:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.pagination button.cur { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
.page-info { font-size: .82rem; color: var(--text-3); margin-left: 8px; }

/* ---------- 详情页 ---------- */
.detail-grid { display: flex; gap: 20px; align-items: flex-start; }
.detail-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.detail-side { width: 240px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 80px; }
.side-card { padding: 18px; }
.side-card h4 { font-size: .92rem; margin-bottom: 10px; color: var(--text); }
.side-card p { font-size: .8rem; color: var(--text-2); line-height: 1.7; }
.side-points { display: flex; flex-direction: column; gap: 8px; font-size: .8rem; }
.side-points .row { display: flex; justify-content: space-between; color: var(--text-2); }
.side-points .row b { color: var(--primary); }

.q-detail-card { padding: 26px 28px; }
.q-detail-head { display: flex; gap: 18px; }
.vote-col { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; width: 56px; }
.vote-btn {
  width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--border); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-3); transition: .18s; gap: 0;
}
.vote-btn svg { width: 20px; height: 20px; }
.vote-btn:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 14px -6px rgba(63,81,181,.4); }
.vote-btn.voted { background: linear-gradient(135deg, var(--primary), var(--accent)); border-color: transparent; color: #fff; box-shadow: 0 6px 16px -6px rgba(63,81,181,.55); }
.vote-num { font-weight: 800; font-size: 1.05rem; color: var(--text); }
.vote-label { font-size: .72rem; color: var(--text-3); }
.q-detail-title { font-size: 1.4rem; font-weight: 800; line-height: 1.4; margin-bottom: 10px; display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.q-detail-title .badge-solved { font-size: .8rem; margin-top: 4px; }

/* Markdown 渲染内容 */
.md { font-size: .92rem; line-height: 1.8; color: var(--text); word-break: break-word; }
.md h1, .md h2, .md h3 { margin: 18px 0 10px; line-height: 1.4; color: var(--text); }
.md h1 { font-size: 1.3rem; } .md h2 { font-size: 1.18rem; } .md h3 { font-size: 1.05rem; }
.md p { margin: 10px 0; }
.md ul, .md ol { margin: 10px 0 10px 24px; }
.md li { margin: 4px 0; }
.md code {
  background: var(--primary-light); color: var(--primary-dark);
  padding: 1px 7px; border-radius: 6px; font-size: .85em;
  font-family: Consolas, "Courier New", monospace;
}
.md pre {
  background: #232946; color: #d6def5; padding: 16px 18px; border-radius: 10px;
  overflow-x: auto; margin: 12px 0; font-size: .84rem; line-height: 1.6;
}
.md pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.md blockquote {
  border-left: 4px solid var(--accent); background: var(--accent-light);
  padding: 10px 16px; margin: 12px 0; border-radius: 0 8px 8px 0; color: var(--text-2);
}
.md strong { color: var(--text); font-weight: 700; }

/* ---------- 回答卡片 ---------- */
.answers-header { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 2px; }
.answers-header h3 { font-size: 1.12rem; }
.answers-header span { font-size: .82rem; color: var(--text-3); }
.answer-card { padding: 20px 24px; display: flex; gap: 18px; position: relative; }
.answer-card.accepted {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, var(--gold-bg), #fff 60%);
  box-shadow: 0 8px 26px -10px rgba(212, 160, 23, .35);
}
.accept-ribbon {
  position: absolute; top: -1px; right: 22px;
  background: linear-gradient(120deg, #e8b425, var(--gold)); color: #fff;
  font-size: .76rem; font-weight: 700; padding: 3px 14px 5px;
  border-radius: 0 0 9px 9px; display: flex; align-items: center; gap: 4px;
  box-shadow: 0 4px 10px -3px rgba(212,160,23,.5);
}
.answer-body { flex: 1; min-width: 0; }
.answer-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .82rem; color: var(--text-3); }
.answer-meta .who { display: flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 600; }
.answer-actions { margin-top: 14px; display: flex; gap: 10px; align-items: center; }

/* ---------- 编辑器 ---------- */
.editor-card { padding: 22px 24px; }
.editor-card h3 { font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.editor-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.editor-split .pane-label { font-size: .76rem; color: var(--text-3); margin-bottom: 6px; display: flex; justify-content: space-between; }
textarea.md-input {
  width: 100%; min-height: 220px; resize: vertical;
  border: 1px solid var(--border); border-radius: 10px; padding: 13px 15px;
  font-size: .9rem; line-height: 1.7; outline: none; transition: .2s;
  background: #fbfcfe; font-family: Consolas, "PingFang SC", monospace;
}
textarea.md-input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-light); }
.md-preview {
  border: 1px dashed var(--border); border-radius: 10px; padding: 13px 15px;
  min-height: 220px; max-height: 420px; overflow-y: auto; background: #fbfcfe;
}
.editor-foot { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.hint { font-size: .8rem; color: var(--text-3); }
.hint b { color: var(--gold); }

/* ---------- 表单页 ---------- */
.form-card { max-width: 460px; margin: 40px auto; padding: 36px 38px; }
.form-card.wide { max-width: 860px; }
.form-title { font-size: 1.35rem; font-weight: 800; text-align: center; margin-bottom: 4px; }
.form-sub { text-align: center; font-size: .85rem; color: var(--text-3); margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--text-2); margin-bottom: 7px; }
.field input[type=text], .field input[type=email], .field input[type=password] {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
  outline: none; font-size: .92rem; transition: .2s; background: #fbfcfe;
}
.field input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-light); }
.form-foot { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.form-switch { text-align: center; font-size: .84rem; color: var(--text-3); }
.form-err { color: var(--red); font-size: .82rem; min-height: 1.2em; text-align: center; }

/* ---------- 积分榜 ---------- */
.lb-top { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.lb-card { padding: 26px 20px 22px; text-align: center; position: relative; overflow: hidden; }
.lb-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; }
.lb-card.rank-1::before { background: linear-gradient(90deg, #f7d54d, #d4a017); }
.lb-card.rank-2::before { background: linear-gradient(90deg, #cfd8dc, #90a4ae); }
.lb-card.rank-3::before { background: linear-gradient(90deg, #ffab91, #bf6a3a); }
.lb-medal {
  width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: #fff;
}
.rank-1 .lb-medal { background: linear-gradient(135deg, #f7d54d, #d4a017); box-shadow: 0 6px 16px -4px rgba(212,160,23,.6); }
.rank-2 .lb-medal { background: linear-gradient(135deg, #cfd8dc, #78909c); }
.rank-3 .lb-medal { background: linear-gradient(135deg, #ffab91, #bf6a3a); }
.lb-card .avatar { margin: 0 auto 8px; }
.lb-name { font-weight: 700; font-size: 1.05rem; }
.lb-points { font-size: 1.5rem; font-weight: 800; margin: 4px 0 2px; }
.rank-1 .lb-points { color: var(--gold); } .rank-2 .lb-points { color: #78909c; } .rank-3 .lb-points { color: #bf6a3a; }
.lb-sub { font-size: .76rem; color: var(--text-3); }
.lb-list { padding: 8px 0; }
.lb-row { display: flex; align-items: center; gap: 14px; padding: 13px 24px; border-bottom: 1px solid var(--border); }
.lb-row:last-child { border-bottom: none; }
.lb-rank { width: 28px; text-align: center; font-weight: 800; color: var(--text-3); font-style: italic; }
.lb-row .name { font-weight: 600; flex: 1; }
.lb-row .mini { font-size: .78rem; color: var(--text-3); }
.lb-row .pts { font-weight: 800; color: var(--primary); }

/* ---------- 个人中心 ---------- */
.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 20px; align-items: flex-start; }
.profile-card { padding: 28px 24px; text-align: center; }
.profile-card .avatar { margin: 0 auto 12px; }
.profile-name { font-size: 1.2rem; font-weight: 800; }
.profile-email { font-size: .8rem; color: var(--text-3); margin-bottom: 16px; }
.profile-points {
  margin: 14px 0; padding: 16px; border-radius: 12px;
  background: linear-gradient(135deg, #fff8e6, #fdf0d0);
  border: 1px solid #f0dfae;
}
.profile-points .n { font-size: 2rem; font-weight: 800; color: var(--gold); }
.profile-points .t { font-size: .78rem; color: var(--text-2); }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.profile-stats .cell { background: var(--bg); border-radius: 10px; padding: 10px 4px; }
.profile-stats .n { font-weight: 800; font-size: 1.1rem; color: var(--primary); }
.profile-stats .t { font-size: .72rem; color: var(--text-3); }
.panel { padding: 20px 24px; margin-bottom: 18px; }
.panel h3 { font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.log-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: .85rem; }
.log-row:last-child { border-bottom: none; }
.log-delta { font-weight: 800; width: 52px; text-align: right; flex-shrink: 0; }
.log-delta.plus { color: var(--green); }
.log-delta.minus { color: var(--red); }
.log-reason { flex: 1; color: var(--text-2); }
.log-time { color: var(--text-3); font-size: .76rem; flex-shrink: 0; }
.mine-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: .88rem; }
.mine-row:last-child { border-bottom: none; }
.mine-row .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mine-row .mini { font-size: .76rem; color: var(--text-3); flex-shrink: 0; }
.accepted-mark { color: var(--gold); font-weight: 700; font-size: .78rem; flex-shrink: 0; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--text-3); }
.empty svg { width: 64px; height: 64px; opacity: .35; margin-bottom: 12px; }
.empty p { font-size: .9rem; }

/* ---------- Toast ---------- */
#toast-wrap { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 999; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  padding: 11px 24px; border-radius: 11px; font-size: .88rem; font-weight: 500;
  background: #fff; box-shadow: 0 10px 34px -8px rgba(43,52,82,.3);
  border: 1px solid var(--border); animation: toastIn .3s cubic-bezier(.2,.9,.3,1.2);
  display: flex; align-items: center; gap: 8px; max-width: 70vw;
}
.toast.success { border-color: #bfe6cd; background: var(--green-bg); color: var(--green); }
.toast.error { border-color: #f0c8c8; background: #fdecec; color: var(--red); }
.toast.out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-14px) scale(.94); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.96); } }

/* ---------- 其它 ---------- */
.footer { text-align: center; padding: 22px; color: var(--text-3); font-size: .78rem; border-top: 1px solid var(--border); background: #fff; }
.loading { text-align: center; padding: 60px; color: var(--text-3); font-size: .9rem; }
.section-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.section-head h2 { font-size: 1.3rem; font-weight: 800; }
.section-head span { font-size: .83rem; color: var(--text-3); }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; }
