:root {
  --bg: #f5f1e8;
  --surface: #fffdf7;
  --ink: #2b2620;
  --muted: #6b5f52;
  --accent: #9e2b25;
  --accent-dark: #7f211c;
  --border: #e5dccb;
  --soft: #faf6ec;
  --green: #2e7d32;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(60, 45, 20, .06), 0 4px 16px rgba(60, 45, 20, .05);
}

/* ===== 主题皮肤 ===== */
[data-theme="dark"] {
  --bg: #17181b;
  --surface: #202127;
  --ink: #e8e6e1;
  --muted: #9a988f;
  --accent: #d8877f;
  --accent-dark: #e3a19b;
  --border: #3a3a40;
  --soft: #292a30;
  --shadow: 0 1px 3px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25);
}
[data-theme="green"] {
  --bg: #e8efe3;
  --surface: #f8fbf5;
  --ink: #2a3329;
  --muted: #6b7a68;
  --accent: #4a7c3f;
  --accent-dark: #3a6632;
  --border: #d5e0cd;
  --soft: #eff5ea;
  --shadow: 0 1px 3px rgba(40,60,35,.06), 0 4px 16px rgba(40,60,35,.05);
}
[data-theme="pink"] {
  --bg: #fbeef1;
  --surface: #fff8fa;
  --ink: #3a2b2f;
  --muted: #9a7d85;
  --accent: #c05a73;
  --accent-dark: #a04a61;
  --border: #f0d6dc;
  --soft: #fcf2f5;
  --shadow: 0 1px 3px rgba(90,40,50,.06), 0 4px 16px rgba(90,40,50,.05);
}

.theme-list { display: flex; gap: 10px; flex-wrap: wrap; }
.theme-swatch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); color: var(--ink); font-size: 14px; cursor: pointer; font-family: inherit; }
.theme-swatch .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.theme-swatch.active { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.theme-default .dot { background: #9e2b25; }
.theme-dark .dot { background: #17181b; }
.theme-green .dot { background: #4a7c3f; }
.theme-pink .dot { background: #c05a73; }

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

h1, h2, h3 {
  font-family: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  font-weight: 600;
  line-height: 1.4;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

.container { width: 100%; max-width: 960px; margin: 0 auto; padding: 24px 20px 48px; }
.container.narrow { max-width: 720px; }
.container.center { text-align: center; }

/* ===== 顶栏 ===== */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow);
}
.header-inner { display: flex; align-items: center; gap: 20px; padding: 12px 20px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-logo {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; display: block;
}
.brand-name { font-size: 24px; font-weight: 700; line-height: 1; }

.nav { display: flex; gap: 4px; }
.nav a {
  color: var(--ink); padding: 6px 12px; border-radius: 6px; font-size: 17px;
}
.nav a:hover { background: var(--soft); color: var(--accent); }
.nav a.active { color: var(--accent); font-weight: 600; }

.search-mini { display: flex; flex: 1; max-width: 320px; margin-left: auto; }
.search-mini input {
  flex: 1; border: 1px solid var(--border); border-right: none;
  border-radius: 6px 0 0 6px; padding: 7px 12px; background: var(--surface); font-size: 14px;
}
.search-mini input:focus { outline: none; border-color: var(--accent); }
.search-mini button {
  border: 1px solid var(--accent); background: var(--accent); color: #fff;
  border-radius: 0 6px 6px 0; padding: 0 14px; cursor: pointer; font-size: 14px;
}
.search-mini button:hover { background: var(--accent-dark); }

.auth { display: flex; align-items: center; gap: 8px; }

.user-menu { position: relative; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.user-menu:hover { background: var(--soft); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.nick { font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dropdown {
  display: none; position: absolute; top: 100%; right: 0; min-width: 140px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow);
  padding: 6px; z-index: 60;
}
/* 头像与下拉菜单之间的隐形桥，避免鼠标移过去时菜单消失 */
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.user-menu:hover .dropdown,
.dropdown:hover { display: block; }
.dropdown a, .dropdown button {
  display: block; width: 100%; text-align: left; padding: 8px 10px; border: none; background: none;
  color: var(--ink); font-size: 14px; cursor: pointer; border-radius: 6px;
}
.dropdown a:hover, .dropdown button:hover { background: var(--soft); color: var(--accent); }

/* ===== 按钮 ===== */
.btn {
  display: inline-block; padding: 8px 18px; border-radius: 8px; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; text-align: center; line-height: 1.5;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); color: #fff; }
.btn.ghost { background: var(--surface); border-color: var(--border); color: var(--ink); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.link { background: none; border: none; padding: 0; cursor: pointer; font-size: 14px; font-family: inherit; line-height: inherit; color: var(--accent); }
.link.danger { color: #b3261e; }
.report-btn { background: none; border: none; padding: 0; cursor: pointer; font-size: 13px; color: var(--muted); font-family: inherit; }
.report-btn:hover { color: #b3261e; text-decoration: underline; }
.report-btn:disabled { color: var(--muted); opacity: 0.6; cursor: default; text-decoration: none; }
.link:hover { text-decoration: underline; }

.inline { display: inline; }

/* ===== 页面头部 ===== */
.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.page-head h1 { margin: 0; font-size: 26px; }
.page-head .btn { margin-left: auto; }

.empty { text-align: center; color: var(--muted); padding: 60px 20px; font-size: 16px; }

/* ===== 帖子列表 ===== */
.post-list { display: flex; flex-direction: column; gap: 14px; }
.post-card {
  display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
  color: var(--ink); transition: transform .08s ease, box-shadow .08s ease;
}
.post-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(60, 45, 20, .10); color: var(--ink); }
.post-card-body { flex: 1; min-width: 0; }
.post-card-title { margin: 0 0 6px; font-size: 19px; }
.post-card-excerpt { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.post-card-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); }
.post-card-meta .author { color: var(--ink); }
.top-comment { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-comment-label { color: var(--accent); margin-right: 6px; }
.top-comment-author { color: var(--ink); }
.auth-notice { margin: 6px 0 0; font-size: 13px; color: var(--accent); }
.post-card-thumb {
  width: 96px; height: 96px; object-fit: cover; border-radius: 8px; flex-shrink: 0;
  background: var(--soft); align-self: center;
}

.badge-featured { background: #f7e6cf; border: 1px solid #e4c18f; color: #9a6b1f; border-radius: 4px; padding: 1px 8px; font-size: 12px; vertical-align: middle; margin-right: 6px; white-space: nowrap; }
.post-card-tags { margin: 0 0 8px; }
.post-detail-tags { margin: 0 0 14px; }
.tag { display: inline-block; background: var(--soft); border: 1px solid var(--border); border-radius: 20px; padding: 2px 11px; font-size: 12px; color: var(--muted); margin: 0 6px 6px 0; }
a.tag:hover { border-color: var(--accent); color: var(--accent); }
.meta-stat { color: var(--muted); display: inline-flex; align-items: center; gap: 3px; }
.ico { width: 14px; height: 14px; }

.like-btn { border: none; background: none; padding: 0; cursor: pointer; font-size: 13px; color: var(--muted); font-family: inherit; display: inline-flex; align-items: center; gap: 3px; }
.like-btn:hover { color: #e04545; }
.like-btn.liked { color: #e04545; font-weight: 500; }
.post-bottom-actions { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; gap: 12px; align-items: center; }
.share-btn { border: 1px solid var(--border); background: var(--surface); border-radius: 20px; padding: 7px 16px; cursor: pointer; font-size: 14px; color: var(--ink); font-family: inherit; }
.share-btn:hover { border-color: var(--accent); color: var(--accent); }
.share-btn:disabled { opacity: 0.6; cursor: default; }
.fav-btn { border: 1px solid var(--border); background: var(--surface); border-radius: 20px; padding: 7px 16px; cursor: pointer; font-size: 14px; color: var(--ink); font-family: inherit; }
.fav-btn:hover { border-color: #d8a941; color: #b8860b; }
.fav-btn.favorited { color: #b8860b; border-color: #e8d5a8; background: #fdf8ec; }
.space-folder { font-size: 16px; margin: 18px 0 10px; }
.space-main { padding: 24px 24px 48px; }
.space-layout { display: flex; align-items: flex-start; }
.space-sidebar { width: 200px; flex-shrink: 0; padding-right: 24px; border-right: 1px solid var(--border); }
.space-name { font-size: 22px; margin: 0 0 4px; }
.space-bio { margin: 8px 0 0; font-size: 13px; color: var(--muted); white-space: pre-wrap; word-break: break-word; }
.space-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sidebar-toggle { background: none; border: none; cursor: pointer; color: var(--muted); font-size: 13px; font-family: inherit; padding: 2px 4px; }
.sidebar-toggle:hover { color: var(--accent); }
.sidebar-toggle .ico { width: 18px; height: 18px; }
.sidebar-toggle-open { display: none; margin-bottom: 12px; }
.space-layout.collapsed .space-sidebar { display: none; }
.space-layout.collapsed .sidebar-toggle-open { display: inline-block; }
.space-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.space-nav-item { display: block; padding: 9px 14px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.space-nav-item:hover { background: var(--soft); color: var(--accent); }
.space-nav-item.active { background: var(--soft); color: var(--accent); font-weight: 600; }
.space-content { flex: 1; min-width: 0; padding-left: 24px; }
@media (max-width: 720px) {
  .space-layout { flex-direction: column; }
  .space-sidebar { width: 100%; padding-right: 0; border-right: none; }
  .space-content { padding-left: 0; }
  .space-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
}
.post-bottom-actions .like-btn { border: 1px solid var(--border); background: var(--surface); border-radius: 20px; padding: 7px 16px; font-size: 14px; color: var(--ink); }
.post-bottom-actions .like-btn:hover { border-color: #e04545; color: #e04545; }
.post-bottom-actions .like-btn.liked { color: #e04545; border-color: #f0b9b9; background: #fdf3f3; }

.comments { margin-top: 28px; }
.comments h2 { font-size: 20px; }
.comment { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 12px; }
.comment-thread { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 12px; }
.comment-main { padding-bottom: 4px; }
.comment-reply { border-top: 1px solid var(--soft); margin-top: 8px; padding-top: 8px; }
.comment-deleted { color: var(--muted); font-size: 13px; padding: 4px 0; }
.comment-head { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.comment-head .author { color: var(--ink); }
.comment-actions { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.reply-to { color: var(--muted); }

.sort-tabs { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.sort-label { font-size: 14px; color: var(--muted); }
.sort-tab { padding: 5px 14px; border: 1px solid var(--border); border-radius: 20px; font-size: 14px; color: var(--ink); }
.sort-tab:hover { border-color: var(--accent); color: var(--accent); }
.sort-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; }
.page {
  min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 14px;
}
.page:hover { border-color: var(--accent); color: var(--accent); }
.page.current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== 帖子详情 ===== */
.post-detail { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.post-detail h1 { margin: 0 0 12px; font-size: 26px; }
.post-meta { display: flex; gap: 16px; align-items: center; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 18px; }
.post-meta .author { color: var(--ink); }
a.author { color: var(--ink); }
a.author:hover { color: var(--accent); text-decoration: none; }
.space-section { margin-bottom: 28px; }
.space-section h2 { font-size: 18px; margin: 0 0 12px; }
.post-meta .actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.content { font-size: 16px; line-height: 1.9; word-break: break-word; }
.content a { color: var(--accent); text-decoration: underline; }

.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 18px; }
.image-grid img { width: 100%; border-radius: 8px; cursor: pointer; }
.essay-image { width: 100%; border-radius: 8px; margin-bottom: 14px; }
.essay-breadcrumb { display: block; margin-bottom: 14px; font-size: 14px; }
.essay-card { flex-direction: column; align-items: stretch; }
.essay-thumb { width: 100%; max-height: 220px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; }
.image-grid.small { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }

.img-check { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); cursor: pointer; }
.img-check img { width: 100%; border-radius: 8px; }

.back { display: inline-block; margin-top: 20px; font-size: 14px; }

/* ===== 书目 ===== */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.book-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); color: var(--ink); display: flex; gap: 14px; align-items: center;
  transition: transform .08s ease, box-shadow .08s ease;
}
.book-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(60,45,20,.10); color: var(--ink); }
.book-cover { width: 60px; height: 84px; object-fit: cover; border-radius: 6px; flex-shrink: 0; box-shadow: 0 1px 4px rgba(0,0,0,.12); background: var(--soft); }
.book-card-body { flex: 1; min-width: 0; }
.book-title { margin: 0 0 6px; font-size: 20px; }
.book-author { margin: 0 0 4px; color: var(--ink); font-size: 15px; }
.book-publisher { margin: 0 0 4px; color: var(--muted); font-size: 14px; }
.book-meta { margin: 0; color: var(--muted); font-size: 13px; }
.book-detail-main { display: flex; gap: 20px; align-items: flex-start; }
.book-detail-main .book-info { width: auto; flex: 1; min-width: 0; }
.book-recommendation { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.book-recommendation h3 { font-size: 16px; margin: 0 0 8px; }
.book-cover-large { width: 140px; height: 196px; object-fit: cover; border-radius: 8px; flex-shrink: 0; box-shadow: var(--shadow); background: var(--soft); }
.cover-preview { display: flex; align-items: center; gap: 12px; margin: 4px 0; }
.cover-preview img { width: 70px; height: 98px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); background: var(--soft); }
.cover-preview label { font-size: 13px; color: var(--muted); cursor: pointer; }

.book-detail { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.book-detail-head { display: flex; align-items: baseline; gap: 16px; }
.book-detail-head h1 { margin: 0 0 16px; font-size: 26px; }
.book-detail-head .actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.book-info { width: 100%; border-collapse: collapse; font-size: 15px; }
.book-info th, .book-info td { padding: 8px 10px; border-bottom: 1px solid var(--border); text-align: left; }
.book-info th { width: 90px; color: var(--muted); font-weight: normal; white-space: nowrap; }

/* ===== 书评 ===== */
.reviews { margin-top: 28px; }
.reviews h2 { font-size: 20px; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; }
.review-head { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.review-head .author { color: var(--ink); }
.review-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.muted { color: var(--muted); }

/* ===== 表单 ===== */
.form { display: flex; flex-direction: column; gap: 6px; }
.form label { font-size: 14px; color: var(--ink); margin-top: 10px; }
.form input[type="text"], .form input[type="password"], .form input[type="email"], .form input[type="search"], .form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px;
  font-size: 15px; font-family: inherit; background: var(--surface); color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(158, 43, 37, .08); }
.form textarea { resize: vertical; }
.form input[type="file"] { font-size: 14px; }
.form button[type="submit"] { margin-top: 18px; align-self: flex-start; }

.req { color: var(--accent); }
.field-error { color: #b3261e; font-size: 13px; margin: 2px 0 0; }
.form-error { color: #b3261e; font-size: 14px; min-height: 20px; margin: 6px 0 0; }
.alert { background: #fdf0ef; border: 1px solid #f3c5c0; color: #7f211c; border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; font-size: 14px; }
.alert.success { background: #eef7ee; border-color: #bfe3c0; color: #2e7d32; }

.input-row { display: flex; gap: 8px; align-items: stretch; }
.input-row input { flex: 1 1 auto; min-width: 0; width: auto; }
.input-row .btn { flex-shrink: 0; white-space: nowrap; }
.code-hint { flex-basis: 100%; font-size: 12px; }

/* ===== 登录/注册卡片（独立页布局） ===== */
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin: 0;
  background: var(--bg);
}
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 6px; }
.auth-brand .brand-logo { width: 46px; height: 46px; }
.auth-brand .brand-name { font-size: 24px; }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 28px 30px; box-shadow: var(--shadow); }
.auth-card h1 { margin: 0 0 16px; text-align: center; font-size: 24px; }
.auth-card .form button[type="submit"] { align-self: stretch; width: 100%; padding: 12px; font-size: 16px; }
.tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.tab-btn {
  flex: 1; background: none; border: none; padding: 10px; font-size: 15px; cursor: pointer;
  color: var(--muted); border-bottom: 2px solid transparent; font-family: inherit;
}
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.auth-links { text-align: center; font-size: 14px; margin-top: 16px; color: var(--muted); }

/* ===== 搜索 ===== */
.search-big { display: flex; gap: 8px; margin-bottom: 28px; }
.search-big input {
  flex: 1; border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px; font-size: 16px; background: var(--surface);
}
.search-big input:focus { outline: none; border-color: var(--accent); }
.search-section { margin-bottom: 28px; }
.search-section h2 { font-size: 18px; margin: 0 0 12px; }
.search-section .post-card { margin-bottom: 10px; }

/* ===== 后台 ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; text-align: center; box-shadow: var(--shadow);
}
.stat .num { display: block; font-size: 28px; font-weight: 700; color: var(--accent); }
.stat .label { font-size: 13px; color: var(--muted); }
.admin-nav { display: flex; gap: 6px; margin: 8px 0 20px; border-bottom: 1px solid var(--border); }
.admin-nav-item { padding: 6px 14px; font-size: 15px; color: var(--ink); border-bottom: 2px solid transparent; }
.admin-nav-item:hover { color: var(--accent); }
.admin-nav-item.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.data-table th, .data-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
.data-table thead th { background: var(--soft); font-weight: 600; }

/* ===== 卡片 ===== */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; box-shadow: var(--shadow); }
.card h2 { margin: 0 0 12px; font-size: 18px; }

/* ===== 错误页 ===== */
.error-code { font-size: 72px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 8px; }

/* ===== 页脚 ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 18px 20px; text-align: center; color: var(--muted); font-size: 13px; }
.site-footer p { margin: 0; }

/* ===== 响应式 ===== */
@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .search-mini { order: 3; max-width: none; flex-basis: 100%; margin-left: 0; }
  .post-card-thumb { width: 72px; height: 72px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .auth-card { margin: 20px auto; padding: 22px 18px; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}
