/* ============================================
   洋洋&波波的旅游日记
   视觉风格：海洋日落 · 液态玻璃 · 流动光学
   v3.0 — Apple Liquid Glass + 华为流动光学
   ============================================ */

/* ========== 亮色变量 ========== */
:root,
[data-theme="light"] {
  --ocean: #0066ff; --ocean-light: #4facfe; --ocean-deep: #0052cc;
  --sunset: #ff6b6b; --sunset-light: #ff9a56; --coral: #ff7e5f;
  --tropical: #00b894; --tropical-light: #00cec9; --palm: #6ab04c;
  --sand: #f5e6ca; --sand-light: #fef9e7; --cream: #fffdf7;
  --sky: #87ceeb; --lavender: #a29bfe; --rose: #fd79a8;
  --ink: #1a1a2e; --ink-soft: #4a4a68; --ink-faint: #8e8ea0;
  --bg: #eef1fe; --card: #ffffff; --line: rgba(26,26,46,0.06);
  --grad-sunset: linear-gradient(135deg, #ff6b6b 0%, #ff9a56 50%, #ffd93d 100%);
  --grad-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --grad-tropical: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
  --grad-hero: linear-gradient(120deg, #ff7e5f 0%, #feb47b 25%, #4facfe 60%, #00f2fe 100%);
  --grad-lavender: linear-gradient(135deg, #a29bfe 0%, #fd79a8 100%);
  --shadow: 0 8px 32px rgba(26,26,46,0.08), 0 2px 8px rgba(26,26,46,0.04);
  --shadow-hover: 0 24px 60px rgba(0,102,255,0.12), 0 8px 24px rgba(26,26,46,0.06);
  --shadow-card: 0 2px 12px rgba(26,26,46,0.04), 0 1px 3px rgba(26,26,46,0.03);
  --shadow-glow: 0 0 40px rgba(79,172,254,0.08);
  --nav-h: 64px; --radius: 22px; --radius-sm: 14px; --radius-lg: 34px;
  --maxw: 920px;
  --nav-bg: rgba(255,255,255,0.65);
  --blob-o: 0.25;
  /* 液态玻璃 — Apple Liquid Glass */
  --glass-bg: rgba(255,255,255,0.45);
  --glass-bg-hover: rgba(255,255,255,0.6);
  --glass-border: rgba(255,255,255,0.5);
  --glass-blur: saturate(200%) blur(30px);
  --glass-shadow: 0 8px 32px rgba(26,26,46,0.06), inset 0 1px 1px rgba(255,255,255,0.8), inset 0 -1px 1px rgba(255,255,255,0.2);
  /* 流动光学 — 华为 Flowing Light */
  --liquid-bg: rgba(255,255,255,0.35);
  --liquid-blur: saturate(220%) blur(40px);
  --liquid-border: rgba(255,255,255,0.6);
  --liquid-shadow: 0 12px 40px rgba(26,26,46,0.05), inset 0 1px 1.5px rgba(255,255,255,0.9), inset 0 -1px 1px rgba(200,220,255,0.15);
  --liquid-highlight: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-liquid: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========== 暗色变量（星空夜航）========== */
[data-theme="dark"] {
  --ocean: #4facfe; --ocean-light: #74c4ff; --ocean-deep: #2196f3;
  --sunset: #ff8a8a; --sunset-light: #ffb074; --coral: #ff9070;
  --tropical: #00d9a6; --tropical-light: #00f5d4; --palm: #7cd96e;
  --sand: #3a3a5c; --sand-light: #2a2a4a; --cream: #1e1e36;
  --sky: #5b9bd5; --lavender: #b8b0ff; --rose: #ff8fb8;
  --ink: #f0f0f8; --ink-soft: #b0b0c8; --ink-faint: #6e6e88;
  --bg: #0a0a14; --card: #141428; --line: rgba(255,255,255,0.06);
  --grad-sunset: linear-gradient(135deg, #ff6b6b 0%, #ff9a56 50%, #ffd93d 100%);
  --grad-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --grad-tropical: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
  --grad-hero: linear-gradient(120deg, #1a0a2e 0%, #2a1a4e 25%, #0a2a5e 60%, #0a1a3e 100%);
  --grad-lavender: linear-gradient(135deg, #a29bfe 0%, #fd79a8 100%);
  --shadow: 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.2);
  --shadow-hover: 0 24px 60px rgba(79,172,254,0.15), 0 8px 24px rgba(0,0,0,0.3);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.2), 0 1px 3px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(79,172,254,0.1);
  --nav-bg: rgba(10,10,20,0.65);
  --blob-o: 0.15;
  --glass-bg: rgba(20,20,40,0.45);
  --glass-bg-hover: rgba(20,20,40,0.6);
  --glass-border: rgba(255,255,255,0.08);
  --glass-blur: saturate(200%) blur(30px);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.08), inset 0 -1px 1px rgba(0,0,0,0.15);
  --liquid-bg: rgba(20,20,40,0.35);
  --liquid-blur: saturate(220%) blur(40px);
  --liquid-border: rgba(255,255,255,0.1);
  --liquid-shadow: 0 12px 40px rgba(0,0,0,0.2), inset 0 1px 1.5px rgba(255,255,255,0.06), inset 0 -1px 1px rgba(0,0,0,0.2);
  --liquid-highlight: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%, rgba(255,255,255,0.02) 100%);
}

/* ========== Reset ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', -apple-system, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.7;
  transition: background 0.5s var(--ease-out), color 0.4s; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--ocean-light); border-radius: 4px; opacity: 0.5; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { opacity: 0.8; }

/* 文字选中 */
::selection { background: rgba(79,172,254,0.25); color: var(--ink); }

/* ========== 背景装饰 ========== */
.bg-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: var(--blob-o); animation: blob-float 25s ease-in-out infinite; }
.blob-1 { width: 550px; height: 550px; background: var(--ocean-light); top: -120px; left: -120px; }
.blob-2 { width: 450px; height: 450px; background: var(--sunset); bottom: -80px; right: -100px; animation-delay: -8s; }
.blob-3 { width: 380px; height: 380px; background: var(--lavender); top: 35%; left: 45%; animation-delay: -16s; }
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(70px, -50px) scale(1.12); }
  66% { transform: translate(-50px, 70px) scale(0.88); }
}

/* ========== 阅读进度条 ========== */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000; background: transparent; }
.reading-progress-bar { height: 100%; background: var(--grad-sunset); width: 0; transition: width 0.1s; box-shadow: 0 0 12px rgba(255,107,107,0.6), 0 0 4px rgba(255,154,86,0.4); border-radius: 0 2px 2px 0; }

/* ========== 导航栏（强化毛玻璃）========== */
.navbar {
  position: sticky; top: 0; z-index: 900;
  background: var(--nav-bg);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s, border-color 0.4s;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15), 0 4px 20px rgba(26,26,46,0.03);
}
[data-theme="dark"] .navbar { box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 4px 20px rgba(0,0,0,0.2); }

.nav-inner { max-width: 1200px; margin: 0 auto; height: var(--nav-h); display: flex; align-items: center; gap: 16px; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; white-space: nowrap; flex-shrink: 0; }
.logo-icon { font-size: 24px; animation: plane-fly 3s ease-in-out infinite; filter: drop-shadow(0 2px 4px rgba(79,172,254,0.3)); }
@keyframes plane-fly { 0%, 100% { transform: translate(0, 0) rotate(-5deg); } 50% { transform: translate(3px, -4px) rotate(5deg); } }
.logo-text { background: var(--grad-ocean); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* 搜索框 — 毛玻璃 */
.search-wrap { flex: 1; max-width: 400px; position: relative; display: flex; align-items: center; }
.search-input {
  width: 100%; padding: 9px 42px 9px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 22px; font-size: 14px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--ink); transition: all 0.3s var(--ease-out); font-family: inherit;
  box-shadow: var(--glass-shadow);
}
.search-input::placeholder { color: var(--ink-faint); }
.search-input:focus {
  outline: none; border-color: var(--ocean-light);
  box-shadow: 0 0 0 4px rgba(79,172,254,0.12), var(--glass-shadow);
  background: var(--glass-bg-hover);
}
.search-btn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: none; border-radius: 50%;
  background: var(--grad-ocean); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(79,172,254,0.35);
  transition: all 0.25s var(--ease-spring);
}
.search-btn:hover { transform: translateY(-50%) scale(1.1); box-shadow: 0 4px 14px rgba(79,172,254,0.5); }
.search-btn:active { transform: translateY(-50%) scale(0.92); }

/* 导航链接 — 精致胶囊 */
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 16px; border-radius: 12px; font-size: 14px; font-weight: 500;
  color: var(--ink-soft); transition: all 0.3s var(--ease-out); position: relative;
}
.nav-links a:hover {
  color: var(--ocean);
  background: rgba(79,172,254,0.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.nav-links a.active {
  color: var(--ocean);
  background: rgba(79,172,254,0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(79,172,254,0.15);
}

/* 导航图标按钮 — 毛玻璃质感 */
.nav-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.nav-icon-btn {
  width: 40px; height: 40px; border: none; border-radius: 14px;
  background: transparent; color: var(--ink-soft); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-spring); position: relative;
}
.nav-icon-btn:hover {
  background: var(--glass-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--ocean); transform: translateY(-3px);
  box-shadow: var(--glass-shadow);
}
.nav-icon-btn:active { transform: translateY(-1px) scale(0.95); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ========== 容器 ========== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 32px 24px 80px; min-height: calc(100vh - var(--nav-h) - 100px); }

/* ========== 页面入场动画 ========== */
.page-enter { animation: pageIn 0.6s var(--ease-out); }
@keyframes pageIn { from { opacity: 0; transform: translateY(20px) scale(0.99); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ========== Hero 区（强化毛玻璃）========== */
.travel-hero {
  text-align: center; padding: 64px 24px 52px; position: relative; overflow: hidden;
  border-radius: var(--radius-lg); margin-bottom: 48px;
  background: var(--grad-hero);
  box-shadow: 0 20px 60px rgba(79,172,254,0.15), 0 8px 24px rgba(255,126,95,0.1);
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.08;
  background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px), radial-gradient(circle at 80% 30%, white 1px, transparent 1px), radial-gradient(circle at 40% 80%, white 1px, transparent 1px);
  background-size: 60px 60px;
}
/* 光泽扫过效果 */
.travel-hero::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 60%; height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
  transform: rotate(25deg); animation: hero-shine 8s ease-in-out infinite;
}
@keyframes hero-shine { 0%, 100% { left: -50%; } 50% { left: 150%; } }

.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 20px; border-radius: 24px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 14px; font-weight: 500; margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.3);
}
.hero-title { font-family: 'Noto Serif SC', serif; font-size: 42px; font-weight: 700; color: #fff; line-height: 1.3; text-shadow: 0 2px 20px rgba(0,0,0,0.15); margin-bottom: 16px; }
.hero-title .accent { background: linear-gradient(135deg, #fff 0%, #ffe66d 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { color: rgba(255,255,255,0.9); font-size: 16px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }

/* 按钮系统 — 精致升级 */
.btn-primary {
  padding: 13px 30px; border-radius: 26px; background: #fff; color: var(--ocean);
  font-weight: 600; font-size: 15px; border: none; cursor: pointer;
  transition: all 0.35s var(--ease-spring); display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.5);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(79,172,254,0.15), transparent);
  transition: left 0.5s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 4px 10px rgba(79,172,254,0.1); }
.btn-primary:hover::after { left: 100%; }
.btn-primary:active { transform: translateY(-1px) scale(0.98); }

.btn-secondary {
  padding: 13px 30px; border-radius: 26px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%);
  color: #fff; font-weight: 600; font-size: 15px;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer; transition: all 0.35s var(--ease-spring); display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); border-color: rgba(255,255,255,0.5); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.btn-secondary:active { transform: translateY(-1px) scale(0.98); }

.btn-ghost {
  padding: 13px 30px; border-radius: 26px; background: transparent; color: #fff;
  font-weight: 600; font-size: 15px;
  border: 1.5px solid rgba(255,255,255,0.25);
  cursor: pointer; transition: all 0.3s var(--ease-spring); display: inline-flex; align-items: center; gap: 6px;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); transform: translateY(-3px); }
.btn-ghost:active { transform: translateY(-1px) scale(0.98); }

.hero-stats { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 28px; font-weight: 700; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.8); }
.stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.25); }

/* ========== 页面 Hero ========== */
.page-hero { text-align: center; padding: 40px 20px 32px; margin-bottom: 32px; }
.page-hero h1 { font-family: 'Noto Serif SC', serif; font-size: 32px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.page-hero p { color: var(--ink-soft); font-size: 15px; }

/* ========== Section 头 ========== */
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-family: 'Noto Serif SC', serif; font-size: 22px; font-weight: 700; color: var(--ink); }

/* 查看全部按钮（标题栏）— 玻璃胶囊按钮 */
.section-more-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 50px;
  font-size: 14px; font-weight: 600; color: var(--ocean);
  background: var(--glass-bg); backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(79,172,254,0.25);
  box-shadow: 0 2px 12px rgba(79,172,254,0.08), inset 0 1px 0 rgba(255,255,255,0.5);
  text-decoration: none;
  transition: all 0.35s var(--ease-out);
  position: relative; overflow: hidden;
}
.section-more-btn svg { transition: transform 0.3s var(--ease-spring); }
.section-more-btn:hover {
  background: rgba(79,172,254,0.12);
  border-color: rgba(79,172,254,0.45);
  box-shadow: 0 4px 20px rgba(79,172,254,0.18), inset 0 1px 0 rgba(255,255,255,0.5);
  transform: translateX(3px);
}
.section-more-btn:hover svg { transform: translateX(3px); }
.section-more-btn:active { transform: translateX(1px) scale(0.98); }

/* 攻略专用色 */
.section-more-btn-guide {
  color: var(--tropical);
  border-color: rgba(0,184,148,0.25);
  box-shadow: 0 2px 12px rgba(0,184,148,0.08), inset 0 1px 0 rgba(255,255,255,0.5);
}
.section-more-btn-guide:hover {
  background: rgba(0,184,148,0.12);
  border-color: rgba(0,184,148,0.45);
  box-shadow: 0 4px 20px rgba(0,184,148,0.18), inset 0 1px 0 rgba(255,255,255,0.5);
}

/* 上传专用色 */
.section-more-btn-upload {
  color: var(--sunset-light);
  border-color: rgba(255,154,86,0.25);
  box-shadow: 0 2px 12px rgba(255,154,86,0.08), inset 0 1px 0 rgba(255,255,255,0.5);
}
.section-more-btn-upload:hover {
  background: rgba(255,154,86,0.12);
  border-color: rgba(255,154,86,0.45);
  box-shadow: 0 4px 20px rgba(255,154,86,0.18), inset 0 1px 0 rgba(255,255,255,0.5);
}

/* ========== 查看全部大卡片（全宽玻璃卡片）========== */
.view-all-card {
  display: block; grid-column: 1 / -1;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  margin-top: -8px;
  transition: all 0.45s var(--ease-out);
}
.view-all-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg,
    rgba(79,172,254,0.5) 0%,
    rgba(162,155,254,0.4) 30%,
    rgba(253,121,168,0.3) 60%,
    rgba(255,154,86,0.4) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 0.4s;
}
.view-all-card-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  min-height: 90px;
}
.view-all-card:hover .view-all-card-inner {
  background: var(--glass-bg-hover);
}
.view-all-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 48px rgba(79,172,254,0.15),
    0 8px 24px rgba(26,26,46,0.06),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
.view-all-card:active { transform: translateY(-1px) scale(0.995); }

/* 左侧：图标 + 信息 */
.view-all-left { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 0; }
.view-all-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, rgba(79,172,254,0.15), rgba(162,155,254,0.12));
  border: 1px solid rgba(79,172,254,0.2);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}
.view-all-card:hover .view-all-icon { transform: scale(1.1) rotate(-5deg); }
.view-all-info { flex: 1; min-width: 0; }
.view-all-title {
  font-size: 17px; font-weight: 700; color: var(--ink);
  margin-bottom: 6px; letter-spacing: 0.3px;
}

/* 预览标签 */
.view-all-preview {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.view-all-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 50px;
  font-size: 13px; color: var(--ink-soft);
  background: rgba(79,172,254,0.08);
  border: 1px solid rgba(79,172,254,0.12);
  white-space: nowrap; max-width: 200px;
  overflow: hidden; text-overflow: ellipsis;
  transition: all 0.25s var(--ease-out);
}
.view-all-card:hover .view-all-chip {
  background: rgba(79,172,254,0.14);
  border-color: rgba(79,172,254,0.22);
  color: var(--ink);
}

/* 右侧：箭头 */
.view-all-arrow {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-light));
  box-shadow: 0 4px 16px rgba(79,172,254,0.3);
  flex-shrink: 0;
  transition: all 0.35s var(--ease-out);
  position: relative; overflow: hidden;
}
.view-all-arrow svg {
  transition: transform 0.35s var(--ease-spring);
  flex-shrink: 0;
}
.view-all-card:hover .view-all-arrow {
  box-shadow: 0 6px 24px rgba(79,172,254,0.45);
  transform: translateX(4px);
}
.view-all-card:hover .view-all-arrow svg { transform: translateX(4px); }
.view-all-arrow::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s var(--ease-out);
}
.view-all-card:hover .view-all-arrow::after { left: 120%; }

/* 光泽扫过动画 */
.view-all-shine {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(
    105deg, transparent 30%,
    rgba(255,255,255,0.04) 40%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 60%, transparent 70%
  );
  background-size: 200% 200%;
  animation: shine-move 6s ease-in-out infinite;
  pointer-events: none;
  border-radius: var(--radius-lg);
}
@keyframes shine-move {
  0%, 100% { background-position: 200% 200%; }
  50% { background-position: -50% -50%; }
}

/* 攻略查看全部变体 */
.view-all-card-guide::before {
  background: linear-gradient(135deg,
    rgba(0,184,148,0.5) 0%,
    rgba(0,206,201,0.4) 40%,
    rgba(106,176,76,0.3) 70%,
    rgba(0,206,201,0.4) 100%);
}
.view-all-card-guide .view-all-icon {
  background: linear-gradient(135deg, rgba(0,184,148,0.15), rgba(0,206,201,0.12));
  border-color: rgba(0,184,148,0.2);
}
.view-all-card-guide .view-all-chip {
  background: rgba(0,184,148,0.08);
  border-color: rgba(0,184,148,0.12);
}
.view-all-card-guide:hover .view-all-chip {
  background: rgba(0,184,148,0.14);
  border-color: rgba(0,184,148,0.22);
}
.view-all-card-guide:hover {
  box-shadow:
    0 16px 48px rgba(0,184,148,0.15),
    0 8px 24px rgba(26,26,46,0.06),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
.view-all-card-guide .view-all-arrow {
  background: linear-gradient(135deg, var(--tropical), var(--tropical-light));
  box-shadow: 0 4px 16px rgba(0,184,148,0.3);
}
.view-all-card-guide:hover .view-all-arrow {
  box-shadow: 0 6px 24px rgba(0,184,148,0.45);
}

/* 规划查看全部变体（紫色系） */
.view-all-card-plan::before {
  background: linear-gradient(135deg,
    rgba(162,155,254,0.5) 0%,
    rgba(196,113,245,0.4) 35%,
    rgba(253,121,168,0.3) 70%,
    rgba(162,155,254,0.4) 100%);
}
.view-all-card-plan .view-all-icon {
  background: linear-gradient(135deg, rgba(162,155,254,0.15), rgba(196,113,245,0.12));
  border-color: rgba(162,155,254,0.2);
}
.view-all-card-plan .view-all-chip {
  background: rgba(162,155,254,0.08);
  border-color: rgba(162,155,254,0.12);
}
.view-all-card-plan:hover .view-all-chip {
  background: rgba(162,155,254,0.14);
  border-color: rgba(162,155,254,0.22);
}
.view-all-card-plan:hover {
  box-shadow:
    0 16px 48px rgba(162,155,254,0.15),
    0 8px 24px rgba(26,26,46,0.06),
    inset 0 1px 0 rgba(255,255,255,0.6);
}
.view-all-card-plan .view-all-arrow {
  background: linear-gradient(135deg, var(--lavender), var(--rose));
  box-shadow: 0 4px 16px rgba(162,155,254,0.3);
}
.view-all-card-plan:hover .view-all-arrow {
  box-shadow: 0 6px 24px rgba(162,155,254,0.45);
}

/* 规划专用 section-more-btn */
.section-more-btn-plan {
  color: var(--lavender);
  border-color: rgba(162,155,254,0.25);
  box-shadow: 0 2px 12px rgba(162,155,254,0.08), inset 0 1px 0 rgba(255,255,255,0.5);
}
.section-more-btn-plan:hover {
  background: rgba(162,155,254,0.12);
  border-color: rgba(162,155,254,0.45);
  box-shadow: 0 4px 20px rgba(162,155,254,0.18), inset 0 1px 0 rgba(255,255,255,0.5);
}

/* 规划 badge */
.plan-badge { color: var(--lavender); }

/* ========== 文章卡片网格（毛玻璃卡片）========== */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-bottom: 32px; }

.post-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: all 0.4s var(--ease-out);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  position: relative;
}
.post-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(79,172,254,0.15), transparent 40%, transparent 60%, rgba(255,107,107,0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none; z-index: 1;
}
.post-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover), var(--shadow-glow);
}
.post-card:hover::before { opacity: 1; }

.post-cover { height: 140px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.post-cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.06) 100%);
}
.post-cover .emoji { font-size: 48px; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15)); transition: transform 0.4s var(--ease-spring); z-index: 1; }
.post-card:hover .post-cover .emoji { transform: scale(1.2) rotate(8deg); }

.guide-badge {
  position: absolute; top: 10px; right: 10px;
  padding: 4px 12px; border-radius: 14px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px) saturate(180%); -webkit-backdrop-filter: blur(12px) saturate(180%);
  font-size: 12px; font-weight: 600; color: var(--ocean);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.5);
  z-index: 2;
}
.pdf-badge { color: var(--sunset); }

.post-body { padding: 18px 20px 20px; }
.post-date { font-size: 12px; color: var(--ink-faint); margin-bottom: 8px; }
.post-title { font-family: 'Noto Serif SC', serif; font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-excerpt { font-size: 13px; color: var(--ink-soft); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }

.guide-info { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; font-size: 12px; color: var(--ink-faint); }
.guide-info span {
  background: var(--bg); padding: 3px 10px; border-radius: 10px;
  border: 1px solid var(--line);
}

.pdf-file-info { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-faint); margin-bottom: 10px; padding: 8px 12px; background: rgba(255,107,107,0.06); border-radius: 10px; border: 1px solid rgba(255,107,107,0.1); }

/* 标签 — 毛玻璃胶囊 */
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 3px 12px; border-radius: 14px; font-size: 12px; font-weight: 500;
  cursor: pointer; transition: all 0.25s var(--ease-spring);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tag.c0 { background: rgba(79,172,254,0.1); color: var(--ocean); border: 1px solid rgba(79,172,254,0.15); }
.tag.c1 { background: rgba(255,107,107,0.1); color: var(--sunset); border: 1px solid rgba(255,107,107,0.15); }
.tag.c2 { background: rgba(0,184,148,0.1); color: var(--tropical); border: 1px solid rgba(0,184,148,0.15); }
.tag.c3 { background: rgba(162,155,254,0.1); color: var(--lavender); border: 1px solid rgba(162,155,254,0.15); }
.tag.c4 { background: rgba(253,121,168,0.1); color: var(--rose); border: 1px solid rgba(253,121,168,0.15); }
.tag.c5 { background: rgba(255,217,61,0.12); color: #c9a000; border: 1px solid rgba(255,217,61,0.2); }
.tag:hover { transform: scale(1.08) translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.tag .count { opacity: 0.6; font-size: 11px; }

/* ========== 时间线 ========== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 16px; top: 0; bottom: 0; width: 3px; background: var(--grad-ocean); border-radius: 2px; opacity: 0.25; }
.timeline-item { position: relative; margin-bottom: 24px; }
.timeline-dot {
  position: absolute; left: -32px; top: 16px; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1), 0 0 0 4px var(--bg);
  border: 3px solid var(--bg); z-index: 1;
  transition: transform 0.3s var(--ease-spring);
}
.timeline-item:hover .timeline-dot { transform: scale(1.15); }
.timeline-content {
  background: var(--card); border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
  cursor: pointer; transition: all 0.35s var(--ease-out);
}
.timeline-content:hover { transform: translateX(8px); box-shadow: var(--shadow-hover); }
.timeline-date { font-size: 13px; color: var(--ocean); font-weight: 600; margin-bottom: 6px; }
.timeline-weather { font-size: 12px; color: var(--ink-faint); margin-bottom: 6px; }
.timeline-mood { font-size: 12px; color: var(--ink-soft); margin-top: 8px; }
.timeline-readtime { font-size: 12px; color: var(--ink-faint); margin-top: 8px; }

/* ========== 相册 ========== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery-item { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: var(--card); box-shadow: var(--shadow-card); border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.12); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-caption { color: #fff; font-size: 13px; font-weight: 600; }
.gallery-date { color: rgba(255,255,255,0.8); font-size: 11px; margin-top: 2px; }
.gallery-loading { text-align: center; padding: 40px; color: var(--ink-faint); grid-column: 1 / -1; }

/* ========== 灯箱 ========== */
.lightbox-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox-content { max-width: 90vw; max-height: 85vh; position: relative; text-align: center; }
.lightbox-content img { max-width: 90vw; max-height: 75vh; border-radius: 14px; transition: opacity 0.2s; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox-info { margin-top: 12px; }
.lightbox-title { color: #fff; font-size: 16px; font-weight: 600; }
.lightbox-meta { color: rgba(255,255,255,0.6); font-size: 13px; margin-top: 4px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 24px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.25s var(--ease-spring);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); transform: scale(1.1); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ========== 目的地地图 ========== */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.dest-card { background: var(--card); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-card); border: 1px solid var(--line); cursor: pointer; transition: all 0.35s var(--ease-out); }
.dest-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--ocean-light); }
.dest-header { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.dest-pin { font-size: 20px; }
.dest-header h3 { font-family: 'Noto Serif SC', serif; font-size: 18px; flex: 1; color: var(--ink); }
.dest-count { font-size: 12px; color: var(--ink-faint); background: var(--bg); padding: 3px 12px; border-radius: 12px; border: 1px solid var(--line); }
.dest-posts { display: flex; flex-direction: column; gap: 8px; }
.dest-post-link { font-size: 13px; color: var(--ink-soft); padding: 8px 12px; border-radius: 10px; transition: all 0.25s var(--ease-out); }
.dest-post-link:hover { background: rgba(79,172,254,0.08); color: var(--ocean); padding-left: 16px; }

/* ========== 文章详情 ========== */
.back-link { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 20px; color: var(--ocean); font-size: 14px; font-weight: 500; transition: all 0.25s var(--ease-out); }
.back-link:hover { transform: translateX(-6px); }

.post-detail {
  background: var(--card); border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.post-detail::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-ocean);
}
.detail-type-badge { display: inline-flex; align-items: center; padding: 5px 16px; border-radius: 16px; background: var(--grad-ocean); color: #fff; font-size: 12px; font-weight: 600; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(79,172,254,0.3); }
.detail-emoji { font-size: 56px; margin-bottom: 12px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1)); }
.detail-title { font-family: 'Noto Serif SC', serif; font-size: 28px; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 16px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.like-btn { cursor: pointer; transition: transform 0.25s var(--ease-spring); user-select: none; }
.like-btn:hover, .like-btn.liked { transform: scale(1.2); color: var(--sunset); }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

.guide-detail-info { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 28px; padding: 20px; background: var(--bg); border-radius: var(--radius-sm); border-left: 4px solid var(--ocean); }
.guide-detail-info > div { display: flex; flex-direction: column; gap: 4px; }
.guide-detail-info span { font-size: 12px; color: var(--ink-faint); }
.guide-detail-info b { font-size: 14px; color: var(--ink); }

.detail-actions { display: flex; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.btn-action {
  padding: 9px 20px; border-radius: 22px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-soft); font-size: 14px;
  cursor: pointer; transition: all 0.3s var(--ease-spring); font-family: inherit;
  display: inline-flex; align-items: center; gap: 5px;
}
.btn-action:hover { border-color: var(--ocean); color: var(--ocean); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(79,172,254,0.1); }
.btn-action:active { transform: translateY(0) scale(0.97); }
.btn-action.btn-danger { color: var(--sunset); }
.btn-action.btn-danger:hover { border-color: var(--sunset); box-shadow: 0 4px 14px rgba(255,107,107,0.1); }
.btn-action.btn-sm { padding: 4px 12px; font-size: 12px; }

.post-footer-nav { display: flex; gap: 16px; margin-top: 32px; }
.nav-card { flex: 1; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--card); cursor: pointer; transition: all 0.35s var(--ease-out); border: 1px solid var(--line); }
.nav-card:hover { background: rgba(79,172,254,0.04); transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--ocean-light); }
.nav-label { font-size: 12px; color: var(--ink-faint); margin-bottom: 4px; }
.nav-title-text { font-size: 14px; color: var(--ink); font-weight: 500; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.nav-card.next { text-align: right; }

/* ========== TOC ========== */
.toc-wrap { width: 200px; flex-shrink: 0; position: sticky; top: 80px; align-self: flex-start; max-height: 400px; overflow-y: auto; }
.toc-title { font-size: 13px; font-weight: 600; color: var(--ink-soft); margin-bottom: 10px; padding-left: 8px; }
#tocList { display: flex; flex-direction: column; gap: 4px; }
#tocList a { font-size: 12px; color: var(--ink-faint); padding: 5px 10px; border-radius: 8px; transition: all 0.25s var(--ease-out); border-left: 2px solid transparent; }
#tocList a:hover { color: var(--ocean); border-left-color: var(--ocean); background: rgba(79,172,254,0.06); }

/* ========== Markdown 渲染 ========== */
.markdown { flex: 1; min-width: 0; color: var(--ink); font-size: 16px; line-height: 1.85; }
.markdown h1 { font-family: 'Noto Serif SC', serif; font-size: 24px; font-weight: 700; margin: 28px 0 16px; color: var(--ink); }
.markdown h2 { font-family: 'Noto Serif SC', serif; font-size: 20px; font-weight: 600; margin: 24px 0 12px; color: var(--ink); border-bottom: 2px solid var(--line); padding-bottom: 8px; }
.markdown h3 { font-size: 17px; font-weight: 600; margin: 20px 0 10px; color: var(--ink); }
.markdown p { margin: 12px 0; }
.markdown a { color: var(--ocean); text-decoration: underline; text-underline-offset: 2px; }
.markdown ul, .markdown ol { margin: 12px 0; padding-left: 24px; }
.markdown li { margin: 6px 0; }
.markdown blockquote {
  border-left: 4px solid var(--ocean); padding: 12px 20px; margin: 16px 0;
  background: rgba(79,172,254,0.05); border-radius: 0 12px 12px 0;
  color: var(--ink-soft); font-style: italic;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.markdown code { background: var(--bg); padding: 2px 8px; border-radius: 6px; font-size: 14px; font-family: 'Consolas', monospace; border: 1px solid var(--line); }
.markdown pre { background: var(--bg); padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); }
.markdown pre code { background: none; padding: 0; border: none; }
.markdown table { border-collapse: collapse; width: 100%; margin: 16px 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-card); }
.markdown th, .markdown td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; font-size: 14px; }
.markdown th { background: var(--grad-ocean); color: #fff; font-weight: 600; }
.markdown tr:nth-child(even) { background: var(--bg); }
.markdown img { border-radius: var(--radius-sm); margin: 16px 0; box-shadow: var(--shadow-card); }
.markdown hr { border: none; border-top: 2px solid var(--line); margin: 24px 0; }
.markdown strong { font-weight: 700; color: var(--ink); }

/* ========== 表单（毛玻璃升级）========== */
.form-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 720px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-sunset); }
.form-title { font-family: 'Noto Serif SC', serif; font-size: 26px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.form-sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }
.form-card label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin: 18px 0 8px; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; padding: 11px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; background: var(--bg); color: var(--ink); font-family: inherit;
  transition: all 0.3s var(--ease-out);
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
  outline: none; border-color: var(--ocean-light);
  box-shadow: 0 0 0 4px rgba(79,172,254,0.1);
  background: var(--card);
}
.form-card textarea { resize: vertical; min-height: 200px; line-height: 1.7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* 发布按钮 — 渐变光泽 */
.btn-publish {
  padding: 13px 30px; border-radius: 26px; border: none;
  background: var(--grad-ocean); color: #fff; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: all 0.35s var(--ease-spring); font-family: inherit;
  box-shadow: 0 4px 16px rgba(79,172,254,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  position: relative; overflow: hidden;
}
.btn-publish::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}
.btn-publish:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(79,172,254,0.45), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-publish:hover::after { left: 100%; }
.btn-publish:active { transform: translateY(-1px) scale(0.98); }

.btn-preview {
  padding: 13px 30px; border-radius: 26px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-soft); font-weight: 500; font-size: 15px;
  cursor: pointer; transition: all 0.3s var(--ease-spring); font-family: inherit;
}
.btn-preview:hover { border-color: var(--ocean); color: var(--ocean); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(79,172,254,0.1); }
.btn-preview:active { transform: translateY(0) scale(0.98); }

.btn-cancel { padding: 13px 30px; border-radius: 26px; border: none; background: transparent; color: var(--ink-faint); font-weight: 500; font-size: 15px; cursor: pointer; transition: all 0.25s; font-family: inherit; }
.btn-cancel:hover { color: var(--sunset); }

.emoji-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.emoji-opt { width: 44px; height: 44px; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 22px; cursor: pointer; transition: all 0.25s var(--ease-spring); display: flex; align-items: center; justify-content: center; }
.emoji-opt:hover { border-color: var(--ocean-light); transform: scale(1.12) translateY(-2px); box-shadow: 0 4px 12px rgba(79,172,254,0.12); }
.emoji-opt.selected { border-color: var(--ocean); background: rgba(79,172,254,0.08); transform: scale(1.05); box-shadow: 0 4px 14px rgba(79,172,254,0.15); }

.cover-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.cover-opt { width: 48px; height: 48px; border: 3px solid transparent; border-radius: 12px; cursor: pointer; transition: all 0.25s var(--ease-spring); }
.cover-opt:hover { transform: scale(1.12); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.cover-opt.selected { border-color: var(--ocean); transform: scale(1.05); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }

/* ========== 预览弹窗（毛玻璃）========== */
.preview-overlay { position: fixed; inset: 0; z-index: 1500; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; padding: 40px; }
.preview-box { background: var(--card); border-radius: var(--radius); max-width: 700px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 32px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.preview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.preview-close { border: none; background: var(--bg); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 16px; color: var(--ink-soft); transition: all 0.25s var(--ease-spring); }
.preview-close:hover { background: rgba(255,107,107,0.1); color: var(--sunset); transform: rotate(90deg) scale(1.1); }

/* ========== PDF 查看器 ========== */
.pdf-viewer-wrap { background: var(--card); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.pdf-viewer-header h1 { font-family: 'Noto Serif SC', serif; font-size: 24px; margin-bottom: 8px; }
.pdf-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.pdf-desc { color: var(--ink-soft); font-size: 14px; margin-bottom: 16px; }
.pdf-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px; background: var(--bg); border-radius: var(--radius-sm); margin-bottom: 16px; border: 1px solid var(--line); }
.pdf-page-info { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.pdf-canvas-wrap { display: flex; justify-content: center; background: var(--bg); border-radius: var(--radius-sm); padding: 20px; min-height: 400px; position: relative; overflow: auto; border: 1px solid var(--line); }
#pdfCanvas { border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.pdf-loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: var(--ink-faint); font-size: 16px; }

/* ========== 上传区（毛玻璃虚线框）========== */
.upload-zone {
  border: 2px dashed var(--line); border-radius: var(--radius);
  padding: 52px 24px; text-align: center; cursor: pointer;
  transition: all 0.35s var(--ease-out);
  background: var(--glass-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--ocean-light); border-style: solid;
  background: var(--glass-bg-hover);
  box-shadow: var(--shadow-glow);
  transform: scale(1.01);
}
.upload-icon { font-size: 52px; margin-bottom: 12px; transition: transform 0.3s var(--ease-spring); }
.upload-zone:hover .upload-icon { transform: translateY(-6px) scale(1.1); }
.upload-zone p { color: var(--ink-soft); margin: 4px 0; }
.upload-hint { font-size: 13px; color: var(--ink-faint) !important; }

.file-info { margin: 20px 0; }
.file-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: rgba(255,107,107,0.06); border-radius: var(--radius-sm); border: 1px solid rgba(255,107,107,0.12); }
.file-icon { font-size: 32px; }
.file-detail { flex: 1; }
.file-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.file-size { font-size: 12px; color: var(--ink-faint); }
.file-remove { border: none; background: transparent; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; color: var(--sunset); font-size: 16px; transition: all 0.25s var(--ease-spring); }
.file-remove:hover { background: rgba(255,107,107,0.1); transform: rotate(90deg); }

.upload-list-section { margin-top: 36px; border-top: 1px solid var(--line); padding-top: 24px; }
.upload-list-section h3 { font-size: 16px; margin-bottom: 14px; }
.upload-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg); border-radius: var(--radius-sm); margin-bottom: 8px; transition: all 0.25s var(--ease-out); border: 1px solid var(--line); }
.upload-item:hover { background: rgba(79,172,254,0.04); border-color: var(--ocean-light); transform: translateX(4px); }
.upload-item-link { display: flex; align-items: center; gap: 10px; flex: 1; }
.upload-item-title { font-size: 14px; font-weight: 500; color: var(--ink); }
.upload-item-meta { font-size: 12px; color: var(--ink-faint); }
.empty-text { color: var(--ink-faint); font-size: 14px; padding: 16px 0; }

/* 上传CTA — 玻璃态 */
.upload-cta { margin-top: 40px; }
.upload-cta-inner {
  text-align: center; padding: 52px 24px; border-radius: var(--radius-lg);
  background: var(--grad-ocean); color: #fff;
  box-shadow: 0 20px 50px rgba(79,172,254,0.2);
  position: relative; overflow: hidden;
}
.upload-cta-inner::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 60%; height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
  transform: rotate(25deg); animation: hero-shine 8s ease-in-out infinite;
}
.upload-cta-icon { font-size: 48px; margin-bottom: 12px; position: relative; z-index: 1; }
.upload-cta-inner h3 { font-size: 20px; margin-bottom: 8px; position: relative; z-index: 1; }
.upload-cta-inner p { color: rgba(255,255,255,0.9); margin-bottom: 20px; position: relative; z-index: 1; }
.upload-cta-inner .btn-primary { color: var(--ocean); position: relative; z-index: 1; }

/* ========== 关于页 ========== */
.about-wrap { max-width: 680px; margin: 0 auto; }
.about-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 48px 40px;
  text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line);
  margin-bottom: 24px; position: relative; overflow: hidden;
}
.about-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-lavender); }
.about-avatars { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; }
.about-avatar { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.about-avatar.yy { background: var(--grad-sunset); box-shadow: 0 4px 16px rgba(255,107,107,0.25); }
.about-avatar.bb { background: var(--grad-ocean); box-shadow: 0 4px 16px rgba(79,172,254,0.25); }
.about-avatar-heart { font-size: 28px; animation: heartbeat 1.5s ease-in-out infinite; filter: drop-shadow(0 2px 4px rgba(255,107,107,0.3)); }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
.about-name { font-family: 'Noto Serif SC', serif; font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.about-tagline { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.about-bio { text-align: left; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.about-bio p { margin: 10px 0; }
.about-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.about-link {
  padding: 8px 20px; border-radius: 22px; background: var(--bg); color: var(--ocean);
  font-size: 14px; font-weight: 500; transition: all 0.3s var(--ease-spring);
  border: 1px solid var(--line);
}
.about-link:hover { background: var(--ocean); color: #fff; transform: translateY(-3px); box-shadow: 0 6px 18px rgba(79,172,254,0.25); border-color: var(--ocean); }

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-stat {
  background: var(--card); border-radius: var(--radius); padding: 22px 12px;
  text-align: center; box-shadow: var(--shadow-card); border: 1px solid var(--line);
  transition: all 0.35s var(--ease-out);
}
.about-stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--ocean-light); }
.about-stat .num { font-size: 28px; font-weight: 700; color: var(--ocean); }
.about-stat .label { font-size: 13px; color: var(--ink-faint); margin-top: 4px; }

/* ========== 归档 ========== */
.archive-group { margin-bottom: 28px; }
.archive-month { font-family: 'Noto Serif SC', serif; font-size: 18px; font-weight: 700; color: var(--ocean); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.archive-list { display: flex; flex-direction: column; gap: 8px; }
.archive-item { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--card); border-radius: var(--radius-sm); border: 1px solid var(--line); transition: all 0.3s var(--ease-out); }
.archive-item:hover { transform: translateX(8px); border-color: var(--ocean-light); box-shadow: var(--shadow-card); }
.archive-date { font-size: 13px; color: var(--ink-faint); min-width: 50px; }
.archive-type { font-size: 18px; }
.archive-title { flex: 1; font-size: 14px; font-weight: 500; color: var(--ink); }
.archive-loc { font-size: 12px; color: var(--ink-faint); }

/* ========== 标签云 ========== */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 20px; }
.tag-cloud .tag { font-size: 15px; padding: 8px 20px; }

/* ========== 空状态 ========== */
.empty { text-align: center; padding: 60px 20px; color: var(--ink-faint); }
.empty .emoji { font-size: 48px; margin-bottom: 12px; }
.empty p { font-size: 15px; }

/* ========== Toast（毛玻璃）========== */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--ink); padding: 12px 28px; border-radius: 28px; font-size: 14px;
  z-index: 3000; opacity: 0; transition: all 0.4s var(--ease-spring);
  box-shadow: var(--glass-shadow); pointer-events: none;
  display: flex; align-items: center; gap: 8px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ========== 回到顶部（毛玻璃）========== */
.back-top {
  position: fixed; bottom: 30px; right: 30px; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  color: var(--ocean); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: all 0.4s var(--ease-spring); z-index: 800;
  box-shadow: var(--glass-shadow);
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 8px 24px rgba(79,172,254,0.2); color: var(--ocean-deep); }
.back-top:active { transform: translateY(-2px) scale(1.05); }

/* ========== 分页 ========== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 32px 0; }
.page-btn {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--ink-soft); cursor: pointer;
  font-size: 14px; transition: all 0.3s var(--ease-spring); font-family: inherit;
}
.page-btn:hover:not(.disabled):not(.active) {
  border-color: var(--ocean); color: var(--ocean); transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(79,172,254,0.1);
}
.page-btn.active { background: var(--grad-ocean); color: #fff; border-color: transparent; box-shadow: 0 4px 14px rgba(79,172,254,0.3); }
.page-btn.disabled { opacity: 0.4; cursor: default; }
.page-ellipsis { color: var(--ink-faint); padding: 0 4px; }

/* ========== 页脚 ========== */
.footer { text-align: center; padding: 32px 24px; color: var(--ink-faint); font-size: 13px; border-top: 1px solid var(--line); }
.footer-sub { margin-top: 4px; }
.heart { color: var(--sunset); }

/* ========== 全局过渡优化 ========== */
@media (prefers-reduced-motion: no-preference) {
  * { scroll-behavior: smooth; }
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; gap: 8px; }
  .logo-text { display: none; }
  .search-wrap { max-width: none; }
  .nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--nav-bg); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); flex-direction: column; padding: 16px; gap: 4px; box-shadow: var(--shadow); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .container { padding: 20px 16px 60px; }
  .hero-title { font-size: 30px; }
  .hero-stats { gap: 12px; }
  .stat-num { font-size: 22px; }
  .stat-divider { display: none; }
  .post-grid { grid-template-columns: 1fr; }
  .post-detail { padding: 24px 20px; }
  .detail-title { font-size: 22px; }
  .form-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .toc-wrap { display: none; }
  .post-footer-nav { flex-direction: column; }
  .nav-card.next { text-align: left; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .timeline { padding-left: 32px; }
  .timeline-dot { left: -28px; width: 28px; height: 28px; font-size: 14px; }
  .dest-grid { grid-template-columns: 1fr; }
  .guide-detail-info { grid-template-columns: 1fr; }
  .pdf-controls { flex-direction: column; align-items: stretch; }
  .travel-hero { padding: 44px 16px 36px; }
  .hero-actions { gap: 8px; }
  .btn-primary, .btn-secondary, .btn-ghost { padding: 11px 22px; font-size: 14px; }

  /* 查看全部按钮响应式 */
  .section-more-btn { padding: 6px 14px; font-size: 13px; }
  .view-all-card-inner {
    flex-direction: column; gap: 16px; padding: 20px;
    text-align: center;
  }
  .view-all-left { flex-direction: column; gap: 12px; text-align: center; }
  .view-all-preview { justify-content: center; }
  .view-all-chip { font-size: 12px; max-width: 160px; padding: 3px 10px; }
  .view-all-arrow { width: 100%; justify-content: center; }
}

/* ============================================
   v3.0 — Apple Liquid Glass + 华为流动光学
   ============================================ */

/* 液态玻璃基础类 */
.liquid-glass {
  position: relative;
  background: var(--liquid-bg);
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  border: 1px solid var(--liquid-border);
  box-shadow: var(--liquid-shadow);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s var(--ease-liquid);
}
/* 液态高光层 */
.liquid-glass::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: var(--liquid-highlight);
  pointer-events: none;
  border-radius: inherit;
}
/* 流动光学层 */
.liquid-glass::after {
  content: '';
  position: absolute; inset: -1px; z-index: 0;
  background: linear-gradient(
    130deg,
    transparent 20%,
    rgba(79,172,254,0.06) 35%,
    rgba(162,155,254,0.04) 45%,
    rgba(253,121,168,0.04) 55%,
    rgba(255,154,86,0.06) 65%,
    transparent 80%
  );
  background-size: 300% 300%;
  animation: flowing-light 12s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}
@keyframes flowing-light {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}
.liquid-glass > * { position: relative; z-index: 1; }
.liquid-glass:hover {
  background: var(--glass-bg-hover);
  box-shadow: 0 20px 50px rgba(79,172,254,0.12), var(--liquid-shadow);
  transform: translateY(-2px);
}

/* 导航栏液态玻璃升级 */
.navbar { background: var(--nav-bg); backdrop-filter: var(--liquid-blur); -webkit-backdrop-filter: var(--liquid-blur); }

/* 卡片液态玻璃升级 */
.post-card {
  background: var(--liquid-bg) !important;
  backdrop-filter: var(--liquid-blur);
  -webkit-backdrop-filter: var(--liquid-blur);
  box-shadow: var(--liquid-shadow) !important;
  border: 1px solid var(--liquid-border) !important;
}
.post-card::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: var(--liquid-highlight);
  pointer-events: none;
  border-radius: inherit;
  opacity: 0; transition: opacity 0.4s;
}
.post-card:hover::after { opacity: 1; }

/* ========== 旅行统计仪表盘 ========== */
.stats-dashboard { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }

.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px;
}
.stat-card {
  padding: 28px 20px; text-align: center;
  border-radius: var(--radius) !important;
}
.stat-card-icon { font-size: 36px; margin-bottom: 12px; }
.stat-card-num {
  font-size: 36px; font-weight: 800;
  background: var(--grad-ocean);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 4px;
}
.stat-card-label { font-size: 14px; color: var(--ink-faint); }

.stats-chart {
  padding: 28px; border-radius: var(--radius) !important;
}
.stats-chart h3 { font-size: 18px; margin-bottom: 20px; color: var(--ink); }

/* 柱状图 */
.bar-chart { display: flex; flex-direction: column; gap: 14px; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-label { font-size: 14px; font-weight: 600; color: var(--ink-soft); width: 50px; flex-shrink: 0; }
.bar-track { flex: 1; height: 28px; background: rgba(79,172,254,0.08); border-radius: 50px; overflow: hidden; position: relative; }
.bar-fill {
  height: 100%; border-radius: 50px;
  background: linear-gradient(90deg, var(--ocean), var(--ocean-light), var(--lavender));
  box-shadow: 0 2px 12px rgba(79,172,254,0.3);
  transition: width 0.8s var(--ease-out);
  position: relative; overflow: hidden;
}
.bar-fill::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: bar-shine 3s ease-in-out infinite;
}
@keyframes bar-shine { 0%, 100% { transform: translateX(-100%); } 50% { transform: translateX(100%); } }
@keyframes barGrow { from { width: 0 !important; } }
.bar-value { font-size: 13px; color: var(--ink-faint); width: 60px; flex-shrink: 0; text-align: right; }

/* 季节环形 */
.season-row { display: flex; justify-content: space-around; gap: 16px; flex-wrap: wrap; }
.season-item { text-align: center; }
.season-circle {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: var(--ink);
  background: conic-gradient(var(--ocean-light) calc(var(--pct) * 1%), rgba(79,172,254,0.1) 0);
  position: relative;
  transition: transform 0.4s var(--ease-spring);
}
.season-circle::before {
  content: ''; position: absolute; inset: 6px; border-radius: 50%;
  background: var(--card);
}
.season-circle span { position: relative; z-index: 1; }
.season-item:hover .season-circle { transform: scale(1.1); }
.season-label { font-size: 14px; color: var(--ink-soft); }

/* 目的地排行 */
.dest-rank { display: flex; flex-direction: column; gap: 10px; }
.dest-rank-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(79,172,254,0.04);
  transition: all 0.3s var(--ease-out);
}
.dest-rank-item:hover { background: rgba(79,172,254,0.1); transform: translateX(4px); }
.dest-rank-num {
  width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: var(--ink-soft);
  background: rgba(79,172,254,0.1); flex-shrink: 0;
}
.dest-rank-num.top1 { background: linear-gradient(135deg, #ffd700, #ffaa00); color: #fff; }
.dest-rank-num.top2 { background: linear-gradient(135deg, #c0c0c0, #999); color: #fff; }
.dest-rank-num.top3 { background: linear-gradient(135deg, #cd7f32, #a05a2c); color: #fff; }
.dest-rank-name { flex: 1; font-weight: 600; color: var(--ink); }
.dest-rank-count { font-size: 13px; color: var(--ink-faint); }

/* ========== 旅行日历 ========== */
.calendar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px;
}
.calendar-month {
  padding: 20px; border-radius: var(--radius) !important;
  min-height: 140px;
}
.cal-month-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.cal-month-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.cal-month-badge {
  padding: 2px 10px; border-radius: 50px; font-size: 12px; font-weight: 700;
  background: var(--grad-ocean); color: #fff;
}
.cal-month-body { display: flex; flex-direction: column; gap: 8px; }
.cal-post-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(79,172,254,0.06);
  transition: all 0.25s var(--ease-out);
  font-size: 13px;
}
.cal-post-link:hover { background: rgba(79,172,254,0.15); transform: translateX(3px); }
.cal-post-emoji { flex-shrink: 0; }
.cal-post-title { color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-empty { text-align: center; color: var(--ink-faint); padding: 12px; font-size: 18px; }

/* 季节配色 */
.calendar-month.spring .cal-month-name { color: var(--tropical); }
.calendar-month.summer .cal-month-name { color: var(--sunset); }
.calendar-month.autumn .cal-month-name { color: var(--sunset-light); }
.calendar-month.winter .cal-month-name { color: var(--ocean-light); }

/* 液态玻璃响应式 */
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-grid { grid-template-columns: repeat(2, 1fr); }
  .season-circle { width: 60px; height: 60px; font-size: 16px; }
}

/* ============================================
   登录注册界面
   海洋日落 · 液态玻璃 · 流动光学
   ============================================ */

/* 遮罩层 */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
  transition: opacity 0.6s var(--ease-liquid), visibility 0.6s var(--ease-liquid);
}
.auth-overlay.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.auth-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* 登录页专属背景气泡 */
.auth-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.auth-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: authBlobFloat 18s ease-in-out infinite;
}
.ab-1 { width: 420px; height: 420px; background: radial-gradient(circle, var(--ocean-light), transparent 70%); top: -100px; left: -80px; }
.ab-2 { width: 380px; height: 380px; background: radial-gradient(circle, var(--sunset-light), transparent 70%); bottom: -80px; right: -60px; animation-delay: -6s; }
.ab-3 { width: 300px; height: 300px; background: radial-gradient(circle, var(--lavender), transparent 70%); top: 30%; right: 10%; animation-delay: -3s; opacity: 0.2; }
.ab-4 { width: 260px; height: 260px; background: radial-gradient(circle, var(--rose), transparent 70%); bottom: 20%; left: 15%; animation-delay: -9s; opacity: 0.2; }

@keyframes authBlobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

/* 登录卡片 */
.auth-card {
  position: relative;
  z-index: 1;
  width: 420px;
  max-width: calc(100vw - 40px);
  padding: 44px 40px 36px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow), var(--shadow-hover);
  animation: authCardEnter 0.8s var(--ease-spring);
}

@keyframes authCardEnter {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 卡片高光 */
.auth-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--liquid-highlight);
  pointer-events: none;
  opacity: 0.5;
}

/* 品牌区 */
.auth-brand {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}
.auth-logo {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 12px;
  animation: authLogoFloat 3s ease-in-out infinite;
}
@keyframes authLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.auth-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  font-weight: 700;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.auth-subtitle {
  font-size: 14px;
  color: var(--ink-soft);
  transition: opacity 0.3s;
}

/* 表单 */
.auth-form {
  position: relative;
}

/* Tab 切换 */
.auth-tabs {
  display: flex;
  position: relative;
  margin-bottom: 28px;
  padding: 4px;
  background: rgba(128,128,160,0.08);
  border-radius: var(--radius-sm);
  gap: 4px;
}
.auth-tab {
  flex: 1;
  padding: 10px 0;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 10px;
  transition: color 0.3s;
  position: relative;
  z-index: 1;
  font-family: inherit;
}
.auth-tab.active {
  color: var(--ink);
}
.auth-tab-indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: calc(50% - 6px);
  background: var(--card);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(26,26,46,0.08);
  transition: transform 0.4s var(--ease-spring);
  left: 4px;
}
.auth-tab:nth-child(2).active ~ .auth-tab-indicator {
  transform: translateX(calc(100% + 4px));
}

/* 输入字段 */
.auth-field {
  margin-bottom: 18px;
}
.auth-field:last-of-type {
  margin-bottom: 0;
}
.auth-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 8px;
  padding-left: 2px;
}
.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-input-icon {
  position: absolute;
  left: 14px;
  color: var(--ink-faint);
  pointer-events: none;
  transition: color 0.3s;
}
.auth-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.5);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: all 0.3s var(--ease-out);
  outline: none;
}
[data-theme="dark"] .auth-input {
  background: rgba(255,255,255,0.05);
}
.auth-input::placeholder {
  color: var(--ink-faint);
}
.auth-input:focus {
  border-color: var(--ocean-light);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(79,172,254,0.12);
}
.auth-input:focus + .auth-input-icon,
.auth-input-wrap:focus-within .auth-input-icon {
  color: var(--ocean-light);
}

/* 邀请码字段 — 默认隐藏 */
.auth-invite-field {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.4s var(--ease-liquid), opacity 0.3s, margin 0.4s;
}
.auth-invite-field.show {
  max-height: 100px;
  opacity: 1;
  margin-bottom: 18px;
}

/* 错误提示 */
.auth-error {
  font-size: 13px;
  color: var(--sunset);
  background: rgba(255,107,107,0.08);
  padding: 0 14px;
  border-radius: 10px;
  margin-bottom: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s;
  line-height: 40px;
}
.auth-error.show {
  max-height: 50px;
  opacity: 1;
  margin-bottom: 16px;
  padding: 0 14px;
  line-height: 40px;
}

/* 提交按钮 */
.auth-submit {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--grad-ocean);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 4px;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 4px 16px rgba(79,172,254,0.3);
  margin-top: 4px;
}
.auth-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,172,254,0.4);
}
.auth-submit:active:not(:disabled) {
  transform: translateY(0);
}
.auth-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.auth-submit.loading {
  background: var(--ink-faint);
}

/* 切换文字 */
.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-soft);
}
.auth-switch-link {
  color: var(--ocean-light);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  margin-left: 4px;
  transition: color 0.2s;
}
.auth-switch-link:hover {
  color: var(--ocean-deep);
  text-decoration: underline;
}

/* 底部 */
.auth-footer {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  color: var(--ink-faint);
}

/* ========== 导航栏用户菜单 ========== */
.user-menu {
  position: relative;
  margin-right: 4px;
}
.user-avatar-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: transform 0.2s;
}
.user-avatar-btn:hover {
  transform: scale(1.08);
}
.user-avatar-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-ocean);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(79,172,254,0.3);
}
.user-dropdown {
  position: absolute;
  top: 48px;
  right: 0;
  width: 220px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease-out);
  z-index: 100;
  overflow: hidden;
}
.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.user-dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}
.user-dropdown-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-ocean);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
}
.user-dropdown-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.user-dropdown-sub {
  font-size: 12px;
  color: var(--ink-faint);
}
.user-dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 0;
}
.user-dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.user-dropdown-item:hover {
  background: rgba(128,128,160,0.06);
  color: var(--sunset);
}

/* 移动端适配 */
@media (max-width: 480px) {
  .auth-card {
    padding: 32px 24px 28px;
  }
  .auth-title {
    font-size: 20px;
  }
  .auth-input {
    padding: 12px 14px 12px 40px;
    font-size: 14px;
  }
  .auth-input-icon {
    left: 12px;
    width: 16px;
    height: 16px;
  }
}