/* ============================================================
   玻璃博客 · Liquid Glass Design System
   核心：半透明玻璃层 + 背景模糊 + 高光边缘 + 折射质感
   ============================================================ */

:root {
  /* 色彩 */
  --bg-deep: #141033;
  --text-primary: #f4f2ff;
  --text-secondary: rgba(244, 242, 255, 0.72);
  --text-tertiary: rgba(244, 242, 255, 0.5);
  --accent: #8b7cff;
  --accent-soft: #b9a8ff;
  --accent-2: #5ce0e6;
  --danger: #ff6b8a;

  /* 玻璃材质 */
  --glass-bg: rgba(255, 255, 255, 0.09);
  --glass-bg-strong: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-border-light: rgba(255, 255, 255, 0.28);
  --glass-blur: blur(24px) saturate(160%);
  --glass-shadow: 0 18px 50px rgba(8, 4, 40, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);

  /* 尺寸 */
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --maxw: 1160px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---------- 背景光斑 ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 15% 10%, #2a1d6b 0%, transparent 60%),
    radial-gradient(1000px 900px at 85% 20%, #123f5e 0%, transparent 55%),
    linear-gradient(160deg, #1a1445 0%, #141033 45%, #0d0a26 100%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: float 22s ease-in-out infinite;
}
.blob-1 { width: 44vw; height: 44vw; background: #7b5cff; top: -10%; left: -8%; }
.blob-2 { width: 38vw; height: 38vw; background: #2fd6e0; top: 20%; right: -10%; animation-delay: -6s; }
.blob-3 { width: 34vw; height: 34vw; background: #ff5fa2; bottom: -12%; left: 25%; animation-delay: -12s; }
.blob-4 { width: 30vw; height: 30vw; background: #5a8bff; top: 55%; right: 20%; animation-delay: -18s; opacity: 0.4; }
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(6%, 8%) scale(1.12); }
  66% { transform: translate(-5%, 4%) scale(0.94); }
}

/* ---------- 通用玻璃材质 ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.glass-subtle {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 20px 0;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 20px;
  border-radius: 100px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.3px;
}
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 9px;
  background: linear-gradient(135deg, #b9a8ff, #5ce0e6);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.7), 0 4px 12px rgba(139,124,255,0.5);
  position: relative;
  transform: rotate(-12deg);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px 3px auto 3px;
  height: 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.55);
  filter: blur(1px);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn, .admin-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-primary);
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.icon-btn { width: 40px; height: 40px; padding: 0; }
.admin-entry { height: 40px; padding: 0 16px; font-size: 14px; border-color: rgba(139,124,255,0.4); }
.icon-btn:hover, .admin-entry:hover { transform: translateY(-2px); background: rgba(255,255,255,0.14); }
.icon-btn:focus-visible, .admin-entry:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }

/* 搜索面板 */
.search-panel {
  margin: 12px auto 0;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  animation: dropIn 0.25s ease;
}
.search-panel[hidden] { display: none; }
.search-panel input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
}
.search-panel input::placeholder { color: var(--text-tertiary); }
.search-panel kbd {
  font-size: 11px;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--glass-border);
  color: var(--text-tertiary);
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 主内容 ---------- */
.app-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 20px 60px;
  min-height: calc(100dvh - 160px);
}

/* ---------- Hero ---------- */
.hero { padding: 40px 0 44px; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--accent-soft);
  margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.08;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -2px;
  background: linear-gradient(120deg, #ffffff 0%, #d8d2ff 45%, #8be8ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { font-size: 17px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* ---------- 筛选栏 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 8px 0 30px;
}
.chip {
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 14px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.chip:hover { color: var(--text-primary); transform: translateY(-2px); }
.chip.active {
  color: #1a1030;
  font-weight: 600;
  background: linear-gradient(135deg, #c9bcff, #8be8ef);
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(139,124,255,0.4);
}
.post-count { margin-left: auto; font-size: 13px; color: var(--text-tertiary); }

/* ---------- 文章网格 ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.post-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(8,4,40,0.5), inset 0 1px 0 rgba(255,255,255,0.3); }
.post-card:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
/* 光泽扫过效果 */
.post-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.16) 45%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.post-card:hover::after { transform: translateX(100%); }

.card-cover {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.card-cover .cover-art {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}
.post-card:hover .cover-art { transform: scale(1.06); }
.cover-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35), transparent 55%);
}
.pin-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: #1a1030;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}
.draft-badge {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 11px;
  background: rgba(20,16,51,0.6);
  color: var(--accent-soft);
  backdrop-filter: blur(8px);
}
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-tertiary); }
.card-category {
  padding: 3px 10px;
  border-radius: 100px;
  color: var(--accent-soft);
  background: rgba(139,124,255,0.16);
  font-weight: 500;
}
.card-title { font-size: 19px; font-weight: 600; margin: 0; line-height: 1.35; }
.card-excerpt { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tag { font-size: 11px; color: var(--text-tertiary); padding: 3px 9px; border-radius: 100px; border: 1px solid var(--glass-border); }
.card-stats { display: flex; gap: 14px; font-size: 12px; color: var(--text-tertiary); margin-top: 4px; }
.stat { display: inline-flex; align-items: center; gap: 5px; }

/* 封面渐变主题 */
.cover-1 { background: linear-gradient(135deg, #6d5bff, #b06bff 50%, #ff6bb5); }
.cover-2 { background: linear-gradient(135deg, #16a6b6, #4fd0c0 50%, #a8e6a3); }
.cover-3 { background: linear-gradient(135deg, #ff7b5c, #ffb35c 50%, #ffe06b); }
.cover-4 { background: linear-gradient(135deg, #3b5bdb, #5b8bff 50%, #7bd5ff); }
.cover-5 { background: linear-gradient(135deg, #b04aff, #e05ce0 50%, #ff8ac4); }
.cover-6 { background: linear-gradient(135deg, #0f9b8e, #2fd6a8 50%, #8ef0c8); }
.cover-art .blob-deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
}
.bd-1 { width: 120px; height: 120px; background: rgba(255,255,255,0.5); top: -30px; right: 20px; }
.bd-2 { width: 80px; height: 80px; background: rgba(255,255,255,0.3); bottom: -20px; left: 30px; }

/* 空状态 */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  border-radius: var(--radius-lg);
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.8; }
.empty-state h3 { margin: 0 0 8px; font-size: 20px; }
.empty-state p { margin: 0; color: var(--text-secondary); }

/* ---------- 文章详情 ---------- */
.article-view { max-width: 860px; margin: 0 auto; }
.article-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-secondary); text-decoration: none;
  font-size: 14px; padding: 8px 0; margin-bottom: 20px;
  cursor: pointer; background: none; border: none; font-family: inherit;
}
.article-back:hover { color: var(--text-primary); }
.article-panel { border-radius: var(--radius-lg); overflow: hidden; }
.article-cover { height: 300px; position: relative; }
.article-content-wrap { padding: 40px 46px 48px; }
.article-title { font-size: clamp(28px, 4vw, 42px); line-height: 1.2; margin: 0 0 18px; font-weight: 700; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 13px; color: var(--text-tertiary); padding-bottom: 24px; border-bottom: 1px solid var(--glass-border); }
.article-body { font-size: 16px; line-height: 1.9; color: rgba(244,242,255,0.9); margin-top: 28px; }
.article-body h2 { font-size: 24px; margin: 32px 0 12px; color: #fff; }
.article-body h3 { font-size: 19px; margin: 24px 0 10px; color: #fff; }
.article-body p { margin: 0 0 18px; }
.article-body blockquote {
  margin: 20px 0; padding: 14px 20px;
  border-left: 3px solid var(--accent);
  background: rgba(139,124,255,0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-secondary);
}
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin: 6px 0; }
.article-body code { padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,0.1); font-size: 14px; }
.article-body a { color: var(--accent-2); }
.article-tags { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 后台 ---------- */
.admin-wrap { max-width: 1040px; margin: 0 auto; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.admin-header h1 { font-size: 30px; margin: 0; font-weight: 700; }
.admin-header .sub { color: var(--text-secondary); font-size: 14px; margin-top: 4px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { padding: 20px 22px; border-radius: var(--radius-md); }
.stat-card .num { font-size: 30px; font-weight: 700; background: linear-gradient(135deg,#fff,#a9e8ef); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-card .label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

.admin-table { border-radius: var(--radius-md); overflow: hidden; }
.table-head, .table-row {
  display: grid;
  grid-template-columns: 1fr 120px 90px 80px 150px;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
}
.table-head { font-size: 12px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--glass-border); }
.table-row { border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 14px; transition: background 0.2s; }
.table-row:last-child { border-bottom: none; }
.table-row:hover { background: rgba(255,255,255,0.05); }
.table-title { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.table-title .mini-pin { color: var(--accent-2); font-size: 12px; margin-left: 6px; }
.status-pill { font-size: 11px; padding: 3px 10px; border-radius: 100px; display: inline-block; }
.status-published { color: #7ff0c0; background: rgba(92,224,182,0.14); }
.status-draft { color: #ffc98a; background: rgba(255,180,100,0.14); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.mini-btn {
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px; cursor: pointer; color: var(--text-secondary);
  background: rgba(255,255,255,0.07); border: 1px solid var(--glass-border);
  transition: all 0.2s;
}
.mini-btn:hover { background: rgba(255,255,255,0.16); color: #fff; transform: translateY(-1px); }
.mini-btn.danger:hover { background: rgba(255,107,138,0.2); color: var(--danger); }
.mini-btn.active { color: var(--accent-2); background: rgba(92,224,230,0.14); }

/* ---------- 编辑器 ---------- */
.editor-wrap { max-width: 880px; margin: 0 auto; }
.editor-form { padding: 32px 34px; border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.input, .textarea, .select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); background: rgba(255,255,255,0.1); }
.input::placeholder, .textarea::placeholder { color: var(--text-tertiary); }
.textarea { resize: vertical; min-height: 220px; line-height: 1.7; }
.select option { background: #241c4d; color: #fff; }
.cover-picker { display: flex; gap: 10px; flex-wrap: wrap; }
.cover-option { width: 54px; height: 40px; border-radius: 10px; cursor: pointer; border: 2px solid transparent; transition: transform 0.2s; }
.cover-option:hover { transform: scale(1.08); }
.cover-option.selected { border-color: #fff; box-shadow: 0 0 0 2px var(--accent); }
.toggle-row { display: flex; align-items: center; gap: 14px; }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider { position: absolute; inset: 0; border-radius: 100px; background: rgba(255,255,255,0.16); cursor: pointer; transition: 0.3s; }
.switch .slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: 0.3s; }
.switch input:checked + .slider { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.editor-actions { display: flex; gap: 12px; justify-content: flex-end; padding-top: 8px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 100px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: inherit; border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.btn-primary {
  color: #1a1030; font-weight: 600;
  background: linear-gradient(135deg, #c9bcff, #8be8ef);
  box-shadow: 0 8px 24px rgba(139,124,255,0.4), inset 0 1px 0 rgba(255,255,255,0.7);
}
.btn-primary:hover { box-shadow: 0 12px 30px rgba(139,124,255,0.55); }
.btn-glass { color: var(--text-primary); background: rgba(255,255,255,0.1); border-color: var(--glass-border); }
.btn-glass:hover { background: rgba(255,255,255,0.16); }
.btn-danger { color: #fff; background: rgba(255,107,138,0.85); box-shadow: 0 8px 20px rgba(255,107,138,0.3); }
.btn-block { width: 100%; }

/* ---------- 模态框 ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(8,5,30,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.2s ease;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  position: relative;
  width: 100%; max-width: 420px;
  padding: 34px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  animation: modalIn 0.3s cubic-bezier(0.2,0.8,0.2,1);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; font-size: 22px; line-height: 1; }
.modal-title { margin: 0 0 8px; font-size: 22px; }
.modal-subtitle { margin: 0 0 24px; color: var(--text-secondary); font-size: 14px; }
.qr-wrap { display: flex; justify-content: center; margin-bottom: 18px; }
.qr-frame {
  position: relative; width: 180px; height: 180px; padding: 14px;
  border-radius: 20px; background: #fff;
}
.qr-code { width: 100%; height: 100%; background: #fff; }
.qr-corner { position: absolute; width: 22px; height: 22px; border: 3px solid var(--accent); border-radius: 4px; }
.qr-corner.tl { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.qr-corner.tr { top: 6px; right: 6px; border-left: none; border-bottom: none; }
.qr-corner.bl { bottom: 6px; left: 6px; border-right: none; border-top: none; }
.qr-corner.br { bottom: 6px; right: 6px; border-left: none; border-top: none; }
.hint-text { font-size: 12px; color: var(--text-tertiary); margin: 0 0 16px; }
.demo-note { font-size: 11px; color: var(--text-tertiary); margin: 16px 0 0; line-height: 1.5; }
.confirm-actions { display: flex; gap: 12px; }
.confirm-actions .btn { flex: 1; }

/* ---------- Toast ---------- */
.toast-stack { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  padding: 13px 20px; border-radius: var(--radius-sm); font-size: 14px;
  min-width: 220px;
  animation: toastIn 0.3s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.toast.out { animation: toastOut 0.3s ease forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }

/* ---------- 页脚 ---------- */
.footer {
  max-width: var(--maxw); margin: 0 auto 20px;
  padding: 18px 24px; border-radius: var(--radius-md);
  display: flex; justify-content: center; gap: 10px;
  font-size: 13px; color: var(--text-tertiary);
}

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  .app-shell { padding: 24px 14px 40px; }
  .hero { padding: 24px 0 32px; }
  .article-content-wrap { padding: 26px 20px 32px; }
  .article-cover { height: 200px; }
  .form-row { grid-template-columns: 1fr; }
  .editor-form { padding: 24px 18px; }
  .table-head, .table-row { grid-template-columns: 1fr 80px 90px; }
  .table-head span:nth-child(3), .table-row .col-views,
  .table-head span:nth-child(4), .table-row .col-status { display: none; }
  .post-count { margin-left: 0; width: 100%; }
  .footer { margin: 0 14px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
