/* ============================================================
   Flower's Garden · 春日花园主题
   配色：奶油白 #fdf6ef / 暖玫瑰 #e8b4b8 / 鼠尾草绿 #a8bfa0
   ============================================================ */

:root {
  --cream: #fdf6ef;
  --cream-deep: #f7ebe0;
  --rose: #e8b4b8;
  --rose-deep: #d6959b;
  --rose-soft: #f6dee0;
  --sage: #a8bfa0;
  --sage-deep: #7d9a74;
  --sage-soft: #e4ecdf;
  --ink: #4a3f3a;
  --ink-soft: #8a7d75;
  --line: #ecdfd4;
  --card: #ffffff;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 2px 10px rgba(122, 96, 80, 0.07);
  --shadow-hover: 0 6px 22px rgba(122, 96, 80, 0.13);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* 纸张质感底纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(232, 180, 184, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  z-index: 0;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

h1, h2, h3, .hero-title, .page-title, .stat-num {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
}

a {
  color: var(--sage-deep);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover { color: var(--rose-deep); }

/* ---------- 页面淡入 ---------- */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.main-content, .admin-content {
  animation: pageIn 0.55s ease both;
}

/* ---------- 藤蔓装饰 ---------- */
.vine-decor {
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
}
.vine-top { top: 76px; }
.vine-bottom { bottom: 8px; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 246, 239, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo-flower { width: 30px; height: 30px; transition: transform 0.5s ease; }
.site-logo:hover .logo-flower { transform: rotate(25deg); }
.site-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.site-nav { display: flex; gap: 6px; }
.site-nav a {
  position: relative;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.25s, background 0.25s;
}
.site-nav a:hover { color: var(--ink); background: var(--rose-soft); }
.site-nav a.active {
  color: var(--ink);
  background: var(--rose-soft);
  font-weight: 600;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--rose);
  transition: width 0.3s ease, left 0.3s ease;
}
.site-nav a:hover::after, .site-nav a.active::after { width: 42%; left: 29%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- flash 消息 ---------- */
.flash-wrap { margin-top: 18px; }
.flash {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin-bottom: 10px;
  animation: pageIn 0.4s ease both;
}
.flash-success {
  background: var(--sage-soft);
  border: 1px solid var(--sage);
  color: var(--sage-deep);
}
.flash-error {
  background: var(--rose-soft);
  border: 1px solid var(--rose);
  color: #a3565e;
}
.flash-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
  line-height: 1;
}
.flash-close:hover { opacity: 1; }

/* ---------- 主体 ---------- */
.main-content { padding: 40px 0 90px; min-height: 60vh; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 56px 0 30px; }
.hero-eyebrow {
  color: var(--sage-deep);
  letter-spacing: 4px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: 1px;
  line-height: 1.25;
}
.hero-name { color: var(--rose-deep); position: relative; }
.hero-name::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: var(--sage-soft);
  z-index: -1;
  border-radius: 4px;
}
.hero-tagline {
  color: var(--ink-soft);
  margin-top: 14px;
  font-size: 1.05rem;
}
.hero-bloom { width: 220px; margin-top: 24px; opacity: 0.9; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover { box-shadow: var(--shadow-hover); }

.section { margin-top: 44px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-title {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: "";
  width: 6px; height: 20px;
  border-radius: 3px;
  background: linear-gradient(var(--rose), var(--sage));
}
.section-more { font-size: 0.9rem; }

/* ---------- 简介卡片 ---------- */
.intro-card { display: flex; gap: 20px; align-items: center; }
.intro-avatar {
  flex-shrink: 0;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--cream-deep);
  border: 2px solid var(--rose-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-avatar svg { width: 46px; height: 46px; }
.intro-title { font-size: 1.2rem; margin-bottom: 6px; }
.intro-text p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- 文章卡片 ---------- */
.post-list { display: flex; flex-direction: column; gap: 16px; }
.post-card { padding: 0; overflow: hidden; }
.post-card-link {
  display: block;
  padding: 24px 26px;
  color: inherit;
}
.post-card-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
  transition: color 0.25s;
}
.post-card-link:hover .post-card-title { color: var(--rose-deep); }
.post-card-excerpt {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-meta {
  color: var(--sage-deep);
  font-size: 0.85rem;
}
.meta-dot { margin: 0 6px; color: var(--line); }

/* ---------- 空状态 ---------- */
.empty-state {
  text-align: center;
  color: var(--ink-soft);
  padding: 44px 26px;
}
.empty-state svg { margin-bottom: 12px; opacity: 0.8; }

/* ---------- 友链 ---------- */
.friend-hint { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 12px; }
.friend-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.friend-list a {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.92rem;
  transition: all 0.25s;
}
.friend-list a:hover {
  border-color: var(--rose);
  background: var(--rose-soft);
  transform: translateY(-2px);
}

/* ---------- 首页统计 ---------- */
.stats-strip { display: flex; gap: 16px; flex-wrap: wrap; }
.stat-item {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: 20px 12px;
}
.stat-num { font-size: 1.9rem; color: var(--rose-deep); display: block; }
.stat-label { color: var(--ink-soft); font-size: 0.88rem; }
.visitor-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 40px;
  font-style: italic;
}

/* ---------- 页面头 ---------- */
.page-head { padding-top: 20px; margin-bottom: 26px; }
.page-title { font-size: 2rem; }
.page-sub { color: var(--ink-soft); margin-top: 6px; }

/* ---------- 文章详情 ---------- */
.post-full { padding: 34px; }
.post-full-title { font-size: 1.9rem; line-height: 1.4; }
.post-full-meta { color: var(--ink-soft); margin-top: 10px; font-size: 0.9rem; }
.post-body { margin-top: 24px; }
.post-body p { margin-bottom: 1.1em; }
.post-body h2, .post-body h3 { margin: 1.4em 0 0.6em; }
.post-body img { max-width: 100%; border-radius: var(--radius); }
.post-body blockquote {
  border-left: 3px solid var(--rose);
  background: var(--cream-deep);
  padding: 10px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
  margin: 1em 0;
}
.post-body pre {
  background: #3d3630;
  color: #f3eae2;
  padding: 16px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.88rem;
}
.post-body code { font-family: "SFMono-Regular", Consolas, monospace; }
.post-body ul, .post-body ol { padding-left: 1.4em; margin-bottom: 1.1em; }
.post-body a { border-bottom: 1px dashed var(--rose); }
.post-body a:hover { border-bottom-style: solid; }

/* ---------- 评论区 ---------- */
.comment-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.comment-item { padding: 18px 22px; }
.comment-item.comment-admin {
  border-color: var(--sage);
  background: linear-gradient(180deg, #ffffff, var(--sage-soft));
}
.comment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.comment-author { font-weight: 600; font-size: 0.97rem; }
.badge-admin {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  font-size: 0.72rem;
  padding: 1px 9px;
  border-radius: 999px;
  margin-right: 6px;
  vertical-align: 2px;
}
.comment-time { color: var(--ink-soft); font-size: 0.82rem; }
.comment-body { color: var(--ink); font-size: 0.95rem; word-break: break-word; }
.comment-body p { margin-bottom: 0.5em; }
.comment-body p:last-child { margin-bottom: 0; }

/* ---------- 表单 ---------- */
.comment-form { padding: 26px; }
.comment-form-title { font-size: 1.1rem; margin-bottom: 16px; }
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-row input[type="text"],
.form-row input[type="password"],
.form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px var(--sage-soft);
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 96px; }
.form-hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }
.form-error {
  color: #a3565e;
  font-size: 0.9rem;
  background: var(--rose-soft);
  border-radius: var(--radius);
  padding: 8px 14px;
  margin-bottom: 12px;
}
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.form-row-inline { display: flex; align-items: center; }
.checkbox-label { display: flex !important; align-items: center; gap: 9px; cursor: pointer; }
.checkbox-label input { width: 17px; height: 17px; accent-color: var(--sage-deep); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.93rem;
  cursor: pointer;
  transition: all 0.25s ease;
  background: var(--cream-deep);
  color: var(--ink);
}
.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff;
  box-shadow: 0 3px 10px rgba(214, 149, 155, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(214, 149, 155, 0.45);
  color: #fff;
}
.btn-primary:disabled { opacity: 0.6; cursor: wait; transform: none; }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sage); background: var(--sage-soft); }
.btn-small { padding: 5px 14px; font-size: 0.85rem; }
.btn-danger { background: #c96a6a; color: #fff; }
.btn-danger:hover { background: #b55555; color: #fff; }
.btn-block { width: 100%; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--cream-deep);
  padding: 60px 0 34px;
  text-align: center;
}
.footer-line { color: var(--ink-soft); font-size: 0.92rem; }
.footer-meta { margin-top: 6px; font-size: 0.85rem; }
.heart { color: var(--rose-deep); }

/* ---------- 回到顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--sage-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.35s ease;
  z-index: 60;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--sage-soft); color: var(--ink); }

/* ============================================================
   后台
   ============================================================ */
.admin-body { background: var(--cream); }

.admin-shell { display: flex; min-height: 100vh; }

.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 22px 14px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}
.admin-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: all 0.22s;
}
.admin-nav a:hover { background: var(--cream-deep); color: var(--ink); }
.admin-nav a.active {
  background: linear-gradient(135deg, var(--rose-soft), var(--sage-soft));
  color: var(--ink);
  font-weight: 600;
}
.admin-sidebar-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.admin-view-site { display: block; font-size: 0.88rem; padding: 4px 10px; margin-bottom: 10px; }
.admin-logout {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: #a3565e;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.22s;
}
.admin-logout:hover { background: var(--rose-soft); border-color: var(--rose); }

.admin-main { flex: 1; min-width: 0; }
.admin-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: rgba(253, 246, 239, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.admin-topbar-title { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.admin-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.admin-nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }
.admin-flash-wrap { padding: 0 28px; }
.admin-content { padding: 28px; max-width: 1100px; }

/* 统计卡片 */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.stat-box { padding: 18px 20px; }
.stat-box-label { display: block; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 4px; }
.stat-box-num { font-family: var(--serif); font-size: 1.8rem; color: var(--sage-deep); }

.card-title { font-size: 1.15rem; margin-bottom: 16px; }
.chart-card, .table-card { margin-bottom: 22px; }

/* 纯 CSS 柱状图 */
.chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 190px;
  padding: 8px 4px 0;
}
.chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-width: 0;
}
.chart-bars {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}
.chart-bar {
  width: 20px;
  border-radius: 5px 5px 0 0;
  position: relative;
  min-height: 3px;
  transition: filter 0.2s;
}
.chart-bar:hover { filter: brightness(1.08); }
.chart-bar-pv { background: linear-gradient(180deg, var(--rose), var(--rose-deep)); }
.chart-bar-uv { background: linear-gradient(180deg, var(--sage), var(--sage-deep)); }
.chart-val {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.chart-date {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.chart-legend {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.legend-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}
.legend-pv { background: var(--rose); }
.legend-uv { background: var(--sage); }

/* 表格 */
.table-scroll { overflow-x: auto; }
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th {
  text-align: left;
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.82rem;
  padding: 10px 12px;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.admin-table tbody tr { transition: background 0.2s; }
.admin-table tbody tr:hover { background: var(--cream); }
.cell-time { white-space: nowrap; color: var(--ink-soft); font-size: 0.84rem; }
.cell-ua, .cell-ref, .cell-content, .cell-path {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-soft);
}
.cell-title a { font-weight: 600; color: var(--ink); }
.cell-title a:hover { color: var(--rose-deep); }
.cell-actions { white-space: nowrap; }
.cell-actions form { display: inline; }
.cell-actions .btn { margin-right: 6px; }
.cell-num, .cell-ip { white-space: nowrap; }
.empty-hint { color: var(--ink-soft); padding: 18px 0; }

.badge {
  display: inline-block;
  font-size: 0.76rem;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-published { background: var(--sage-soft); color: var(--sage-deep); }
.badge-draft { background: var(--cream-deep); color: var(--ink-soft); }
.badge-guestbook { background: var(--rose-soft); color: #a3565e; }

.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.filter-label { color: var(--ink-soft); font-size: 0.9rem; }
.filter-chip {
  padding: 5px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.88rem;
  color: var(--ink-soft);
  transition: all 0.22s;
}
.filter-chip:hover { border-color: var(--rose); color: var(--ink); }
.filter-chip.active {
  background: linear-gradient(135deg, var(--rose-soft), var(--sage-soft));
  border-color: var(--rose);
  color: var(--ink);
  font-weight: 600;
}

.edit-card { max-width: 820px; }
.edit-form textarea { line-height: 1.7; }

/* ---------- 登录页 ---------- */
.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(circle at 15% 20%, var(--rose-soft), transparent 45%),
    radial-gradient(circle at 85% 80%, var(--sage-soft), transparent 45%),
    var(--cream);
}
.login-card {
  width: 100%;
  max-width: 380px;
  text-align: center;
  padding: 40px 34px 30px;
}
.login-bloom { margin-bottom: 10px; }
.login-title { font-size: 1.35rem; }
.login-sub { color: var(--ink-soft); font-size: 0.9rem; margin: 6px 0 22px; }
.login-form { text-align: left; }
.login-form .flash { margin-bottom: 14px; }
.login-back { margin-top: 18px; font-size: 0.88rem; }

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 62px;
    left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    gap: 4px;
    box-shadow: var(--shadow-hover);
    display: none;
  }
  .site-nav.open { display: flex; }
  .intro-card { flex-direction: column; text-align: center; }
  .post-full { padding: 24px; }
  .vine-top { display: none; }

  /* 后台移动端 */
  .admin-sidebar {
    position: fixed;
    z-index: 70;
    left: 0; top: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-hover);
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-nav-toggle { display: block; }
  .admin-content { padding: 18px 16px; }
  .admin-topbar { padding: 12px 16px; }
  .chart-bar { width: 14px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
