/* ==========================================================================
   🌸 机场节点博客 - 少女心专属定制样式 (jichangjd.blog)
   Design Concept: Soft Morandi, Creamy Pastel, Macaron Glow & Bullet Journal Style
   ========================================================================== */

:root {
  --primary-pink: #ff75a0;
  --soft-blush: #fecfef;
  --dreamy-purple: #a18cd1;
  --lavender-mist: #e0c3fc;
  --creamy-beige: #faf7f5;
  --accent-candy: #ff6b81;
  --card-radius: 20px;
  --tag-radius: 12px;
  --soft-shadow: 0 10px 30px rgba(240, 180, 205, 0.18), 0 2px 8px rgba(180, 190, 230, 0.12);
  --hover-shadow: 0 16px 36px rgba(240, 170, 200, 0.28), 0 4px 14px rgba(161, 140, 209, 0.2);
}

/* 🎀 全局平滑过渡与排版细节 */
html, body {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  letter-spacing: 0.02em;
}

/* 🍧 精致萌系滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(254, 207, 239, 0.15);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #a1c4fd 100%);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ff75a0 0%, #a18cd1 100%);
}

/* ✨ 顶部导航栏 - 梦幻毛玻璃与微光 */
.navbar {
  backdrop-filter: blur(14px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  transition: all 0.35s ease-in-out !important;
  box-shadow: 0 4px 20px rgba(240, 180, 205, 0.15) !important;
}

.navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.25rem;
  background: linear-gradient(120deg, #ff75a0, #a18cd1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 2px 10px rgba(255, 117, 160, 0.15);
}

.navbar .navbar-brand::before {
  content: "✨";
  font-size: 1.1rem;
  -webkit-text-fill-color: initial;
}

.navbar-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}

.navbar-nav .nav-item .nav-link {
  font-weight: 500;
  border-radius: 18px;
  padding: 5px 9px !important;
  margin: 0 2px !important;
  font-size: 0.88rem !important;
  white-space: nowrap !important;
  transition: all 0.25s ease;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.navbar-nav .nav-item .nav-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1.5px);
  color: #ff75a0 !important;
}

/* 🍰 主面板（Board）奶油手账圆角卡片化 */
#board {
  border-radius: var(--card-radius) !important;
  box-shadow: var(--soft-shadow) !important;
  border: 1px solid rgba(255, 220, 235, 0.6) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  margin-top: -3.5rem !important;
  overflow: visible !important; /* 关键修复：允许顶部头像完整外露悬浮，不被切掉半截！ */
}

/* 🌷 文章卡片列表美化 */
.index-card {
  border-radius: 16px !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  border: 1px solid rgba(254, 207, 239, 0.35) !important;
  background: #ffffff !important;
  margin-bottom: 1.8rem !important;
  padding: 1.2rem !important;
  box-shadow: 0 6px 18px rgba(240, 200, 220, 0.12) !important;
}

.index-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--hover-shadow) !important;
  border-color: rgba(255, 117, 160, 0.5) !important;
}

.index-card .index-img {
  border-radius: 12px !important;
  overflow: hidden;
}

.index-card .index-img img {
  border-radius: 12px !important;
  transition: transform 0.5s ease;
}

.index-card:hover .index-img img {
  transform: scale(1.04);
}

.index-header {
  color: #333;
  font-weight: 600;
  transition: color 0.25s ease;
}

.index-header:hover {
  color: var(--primary-pink) !important;
}

/* 🎀 标签与分类胶囊样式（Candy Pills） */
.post-meta .badge,
.tag-badge,
.index-btm .post-meta a {
  border-radius: 20px !important;
  padding: 4px 10px !important;
  font-size: 0.82rem !important;
  font-weight: 500;
  background: rgba(254, 207, 239, 0.3) !important;
  color: #9254de !important;
  border: 1px solid rgba(240, 180, 220, 0.4) !important;
  transition: all 0.25s ease;
}

.post-meta a:hover,
.tag-badge:hover {
  background: linear-gradient(135deg, #ff9a9e, #fecfef) !important;
  color: #ffffff !important;
  transform: scale(1.05);
  text-decoration: none !important;
}

/* 📝 文章正文排版（手账风格与细腻视觉） */
.markdown-body {
  font-size: 1.02rem;
  line-height: 1.82;
  color: #3d3b40;
}

/* 标题小仙女专属点缀 */
.markdown-body h2 {
  font-weight: 700;
  border-bottom: 2px dashed rgba(255, 160, 195, 0.4) !important;
  padding-bottom: 0.55rem;
  margin-top: 2.2rem;
  margin-bottom: 1.2rem;
  color: #4a3e4d;
  display: flex;
  align-items: center;
  position: relative;
}

.markdown-body h2::before {
  content: "🌸";
  font-size: 1.15rem;
  margin-right: 8px;
}

.markdown-body h3 {
  font-weight: 600;
  margin-top: 1.6rem;
  color: #5d4e6d;
  display: flex;
  align-items: center;
}

.markdown-body h3::before {
  content: "✨";
  font-size: 1rem;
  margin-right: 6px;
}

/* 💌 软萌手账 Memo 引用块 (Blockquote) */
.markdown-body blockquote {
  background: linear-gradient(135deg, rgba(255, 245, 248, 0.85) 0%, rgba(245, 243, 255, 0.85) 100%) !important;
  border-left: 5px solid #ff75a0 !important;
  border-radius: 12px;
  padding: 14px 20px !important;
  margin: 1.5rem 0 !important;
  box-shadow: 0 4px 15px rgba(255, 180, 205, 0.12);
  color: #554452;
  position: relative;
}

.markdown-body blockquote::after {
  content: "📌 贴心手账记事";
  position: absolute;
  top: -10px;
  right: 18px;
  background: #ff75a0;
  color: #fff;
  font-size: 0.72rem;
  padding: 1px 9px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(255, 117, 160, 0.35);
  font-weight: 500;
}

/* 📊 梦幻马卡龙数据表格 (Table) */
.markdown-body table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(230, 195, 215, 0.16) !important;
  margin: 1.8rem 0 !important;
  border: 1px solid rgba(245, 210, 225, 0.6) !important;
}

.markdown-body table th {
  background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%) !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 12px 14px;
  border: none !important;
  text-align: center;
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  white-space: normal !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

.markdown-body table td {
  padding: 11px 13px;
  border-top: 1px solid rgba(250, 225, 235, 0.6) !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  font-size: 0.92rem;
  color: #4b4453;
  transition: background 0.2s;
  white-space: normal !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  line-height: 1.55 !important;
}

.markdown-body table tr:nth-child(even) td {
  background-color: rgba(255, 248, 252, 0.65) !important;
}

.markdown-body table tr:hover td {
  background-color: rgba(254, 207, 239, 0.3) !important;
}

/* 🏷️ 表格内的优惠码与特别标签 */
.markdown-body code {
  background-color: rgba(255, 117, 160, 0.1) !important;
  color: #d81b60 !important;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 88%;
  font-weight: 600;
  border: 1px dashed rgba(255, 117, 160, 0.35);
}

/* 💡 自定义小贴士与警告框 (Girl's Callout) */
.note {
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(230, 200, 220, 0.15) !important;
  border-left-width: 5px !important;
}
.note-primary {
  border-left-color: #ff75a0 !important;
  background-color: #fff6f9 !important;
}
.note-success {
  border-left-color: #48bb78 !important;
  background-color: #f2fcf5 !important;
}
.note-warning {
  border-left-color: #f6ad55 !important;
  background-color: #fffaf0 !important;
}
.note-danger {
  border-left-color: #f56565 !important;
  background-color: #fff5f5 !important;
}

/* 🎀 按钮 (Buttons) 梦幻渐变 */
.btn {
  border-radius: 24px !important;
  font-weight: 600;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: linear-gradient(135deg, #ff75a0 0%, #a18cd1 100%) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(255, 117, 160, 0.35) !important;
  color: #fff !important;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 22px rgba(255, 117, 160, 0.5) !important;
}

/* 🌟 关于博主页头像与卡片精致美化 (About Page) */
.about-avatar {
  width: 9.5rem !important;
  height: 9.5rem !important;
  margin: -4.75rem auto 1.2rem !important;
  position: relative !important;
  z-index: 50 !important;
  border-radius: 50% !important;
  box-shadow: 0 10px 30px rgba(255, 117, 160, 0.45), 0 0 0 5px rgba(255, 255, 255, 0.95) !important;
  border: none !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

.about-avatar img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center 25% !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.about-avatar:hover img {
  transform: scale(1.06) !important;
}

.about-name {
  font-weight: 700;
  background: linear-gradient(120deg, #ff75a0, #a18cd1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 1rem;
}

.about-intro {
  color: #718096;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* 🌸 页脚 Footer 治愈落款 */
footer {
  background: transparent !important;
  margin-top: 2.5rem;
}

footer .footer-content {
  font-size: 0.88rem;
  color: #8c8296;
}

footer a {
  color: #ff75a0 !important;
  font-weight: 500;
  transition: color 0.25s;
}

footer a:hover {
  color: #a18cd1 !important;
  text-decoration: underline;
}

/* 🌙 暗色模式优化（保持梦幻与柔和，深蓝夜幕紫调，不沉闷） */
[data-user-color-scheme='dark'] #board {
  background: rgba(30, 26, 42, 0.92) !important;
  border: 1px solid rgba(161, 140, 209, 0.25) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
}

[data-user-color-scheme='dark'] .index-card {
  background: #241f32 !important;
  border-color: rgba(161, 140, 209, 0.2) !important;
}

[data-user-color-scheme='dark'] .index-header {
  color: #e6e1ee !important;
}

[data-user-color-scheme='dark'] .markdown-body {
  color: #d5cee0;
}

[data-user-color-scheme='dark'] .markdown-body h2 {
  color: #f3e8ff;
  border-bottom-color: rgba(161, 140, 209, 0.3) !important;
}

[data-user-color-scheme='dark'] .markdown-body h3 {
  color: #eeddff;
}

[data-user-color-scheme='dark'] .markdown-body blockquote {
  background: rgba(45, 36, 60, 0.7) !important;
  color: #e5dbf0;
}

[data-user-color-scheme='dark'] .markdown-body table th {
  background: linear-gradient(135deg, #59437a 0%, #834f78 100%) !important;
}

[data-user-color-scheme='dark'] .markdown-body table td {
  border-top-color: rgba(90, 70, 110, 0.4) !important;
  color: #d6cee0;
}

[data-user-color-scheme='dark'] .markdown-body table tr:nth-child(even) td {
  background-color: rgba(40, 32, 54, 0.5) !important;
}

[data-user-color-scheme='dark'] .post-meta .badge,
[data-user-color-scheme='dark'] .tag-badge,
[data-user-color-scheme='dark'] .index-btm .post-meta a {
  background: rgba(161, 140, 209, 0.25) !important;
  color: #fecfef !important;
  border-color: rgba(255, 117, 160, 0.4) !important;
}

[data-user-color-scheme='dark'] .post-meta .post-meta-item,
[data-user-color-scheme='dark'] .post-meta .post-meta-item i,
[data-user-color-scheme='dark'] .post-meta .post-meta-item time {
  color: #c4b5d4 !important;
}

[data-user-color-scheme='dark'] .about-avatar {
  box-shadow: 0 10px 30px rgba(255, 117, 160, 0.45), 0 0 0 5px rgba(161, 140, 209, 0.6) !important;
}

/* 💻 桌面端让主面板开阔，兼顾宽表与舒适阅读视觉 (双端自适应) */
@media (min-width: 992px) {
  #board .col-12.col-md-10 {
    flex: 0 0 94% !important;
    max-width: 94% !important;
  }
}

/* 📊 智能自适应数据表格系统 (支持内容自动优雅换行) */
.markdown-body table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(230, 195, 215, 0.16) !important;
  margin: 1.5rem 0 !important;
  border: 1px solid rgba(245, 210, 225, 0.6) !important;
  table-layout: auto !important;
}

/* 单元格全局自动换行支持：保证任何长文本、中英文均可自动折行，且数字与单位不被生硬截断 */
.markdown-body table th,
.markdown-body table td {
  white-space: normal !important;
  word-wrap: break-word !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  line-height: 1.55 !important;
  vertical-align: middle !important;
}

/* 📱 移动端与平板 (< 992px)：支持内容自动换行，并允许超宽表轻量自适应滚动 */
@media (max-width: 991px) {
  .markdown-body table {
    display: block !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 12px !important;
  }

  .markdown-body table::-webkit-scrollbar {
    height: 5px !important;
  }

  .markdown-body table::-webkit-scrollbar-track {
    background: rgba(254, 207, 239, 0.15) !important;
    border-radius: 10px !important;
  }

  .markdown-body table::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #ff75a0, #a18cd1) !important;
    border-radius: 10px !important;
  }

  .markdown-body table th,
  .markdown-body table td {
    padding: 10px 10px !important;
    font-size: 0.85rem !important;
    min-width: 70px;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .markdown-body table th:first-child,
  .markdown-body table td:first-child {
    min-width: 105px !important;
  }
}

/* 💻 桌面端 (>= 992px)：开阔展示，单元格自动根据内容优雅自动换行 */
@media (min-width: 992px) {
  .markdown-body table {
    display: table !important;
    table-layout: auto !important;
  }

  .markdown-body table th,
  .markdown-body table td {
    padding: 12px 14px !important;
    font-size: 0.9rem !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
}

.markdown-body table td strong {
  font-weight: 600;
}

/* 📱 移动端表格横向滑动贴心提示条 */
.table-scroll-hint {
  display: none;
}

@media (max-width: 768px) {
  .table-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 240, 246, 0.85), rgba(240, 235, 255, 0.85));
    border: 1px dashed rgba(255, 117, 160, 0.55);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: #d81b60;
    margin: 12px auto 6px auto;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(255, 117, 160, 0.12);
  }
}

[data-user-color-scheme='dark'] .table-scroll-hint {
  background: linear-gradient(135deg, rgba(50, 36, 62, 0.85), rgba(40, 32, 55, 0.85));
  border-color: rgba(161, 140, 209, 0.5);
  color: #fca8c3;
}

/* 🎀 首页快速直达导航条 */
.quick-nav-bar {
  background: linear-gradient(135deg, rgba(255, 245, 250, 0.95) 0%, rgba(245, 240, 255, 0.95) 100%);
  border: 1px solid rgba(254, 207, 239, 0.7);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 2.2rem;
  box-shadow: 0 6px 22px rgba(240, 180, 210, 0.16);
}

.quick-nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ff75a0;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.quick-nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.quick-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  color: #5d4e6d !important;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 20px;
  border: 1px solid rgba(255, 160, 195, 0.4);
  box-shadow: 0 2px 8px rgba(230, 180, 205, 0.16);
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.quick-pill:hover {
  background: linear-gradient(135deg, #ff75a0 0%, #a18cd1 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 117, 160, 0.4);
}

[data-user-color-scheme='dark'] .quick-nav-bar {
  background: rgba(36, 30, 48, 0.88);
  border-color: rgba(161, 140, 209, 0.35);
}

[data-user-color-scheme='dark'] .quick-pill {
  background: rgba(50, 42, 68, 0.88);
  color: #e2dcee !important;
  border-color: rgba(161, 140, 209, 0.4);
}

/* ==========================================================================
   🌸 首页 Hero Banner 与 Landing 主标题样式 (聚焦“机场节点”流量词)
   ========================================================================== */

/* 顶部全景 Banner 中的大标题区块 */
.hero-traffic-container {
  margin-bottom: 1.2rem;
  animation: fadeInDown 0.8s ease-out;
}

.hero-traffic-pill-wrap {
  margin-bottom: 0.6rem;
}

.hero-traffic-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 4px 18px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-traffic-h1 {
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin: 0.3rem 0;
  background: linear-gradient(135deg, #ffffff 20%, #ffe4ec 60%, #ff8da8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 16px rgba(255, 105, 150, 0.45)) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
}

.hero-traffic-sub {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.96);
  font-weight: 500;
  margin: 0.5rem 0 1rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-traffic-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 0.8rem;
}

.hero-feature-chip {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.hero-feature-chip:hover {
  background: rgba(255, 117, 160, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.banner-slogan-wrap {
  margin-top: 0.8rem;
  opacity: 0.95;
}

/* 首页内容卡片（Board 内）顶部大标题区块 */
.landing-header-block {
  background: linear-gradient(135deg, rgba(255, 245, 248, 0.85) 0%, rgba(246, 240, 255, 0.85) 100%);
  border: 1px solid rgba(255, 205, 225, 0.65);
  border-radius: 22px;
  padding: 2.2rem 1.8rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(255, 180, 210, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.landing-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  color: #ff5388;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 160, 195, 0.4);
  box-shadow: 0 2px 8px rgba(255, 117, 160, 0.15);
  margin-bottom: 0.8rem;
}

.landing-main-h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #382d46;
  line-height: 1.35;
  margin: 0.5rem 0 0.8rem 0;
  letter-spacing: 0.02em;
}

.landing-main-h1 .keyword-highlight {
  display: inline-block;
  background: linear-gradient(120deg, #ff4d80 0%, #ff75a0 50%, #9c68de 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  text-shadow: 0 4px 18px rgba(255, 117, 160, 0.25);
  position: relative;
  padding: 0 4px;
}

.landing-intro-lead {
  font-size: 1.05rem;
  color: #6d5b7a;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 1.5rem auto;
}

.landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 780px;
  margin: 0 auto;
}

.landing-stat-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 215, 230, 0.75);
  border-radius: 16px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  box-shadow: 0 4px 12px rgba(230, 180, 205, 0.12);
  transition: all 0.25s ease;
}

.landing-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 117, 160, 0.22);
  border-color: rgba(255, 117, 160, 0.5);
}

.stat-number {
  font-size: 1.55rem;
  font-weight: 800;
  background: linear-gradient(120deg, #ff5388, #9c68de);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.stat-name {
  font-size: 0.82rem;
  color: #7b6c89;
  font-weight: 600;
}

/* 深色模式适配 */
[data-user-color-scheme='dark'] .landing-header-block {
  background: linear-gradient(135deg, rgba(42, 32, 56, 0.92) 0%, rgba(30, 26, 45, 0.92) 100%);
  border-color: rgba(161, 140, 209, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

[data-user-color-scheme='dark'] .landing-badge-tag {
  background: rgba(55, 45, 75, 0.9);
  color: #fca8c3;
  border-color: rgba(161, 140, 209, 0.4);
}

[data-user-color-scheme='dark'] .landing-main-h1 {
  color: #f1edfb;
}

[data-user-color-scheme='dark'] .landing-intro-lead {
  color: #d1c7e2;
}

[data-user-color-scheme='dark'] .landing-stat-card {
  background: rgba(45, 38, 62, 0.9);
  border-color: rgba(161, 140, 209, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

[data-user-color-scheme='dark'] .stat-name {
  color: #b5a8cb;
}

/* ==========================================================================
   📱 移动端与桌面端深度易读性调优 (看得轻松、阅读舒适)
   ========================================================================== */

/* 📱 移动设备体验优化 (< 768px) */
@media (max-width: 768px) {
  /* 解决手机端顶部垂直居中下移导致特性标签被卡片遮挡的问题 */
  .header-inner {
    height: 500px !important;
    min-height: 500px !important;
    max-height: none !important;
  }

  #banner {
    min-height: 500px !important;
    height: 100% !important;
  }

  #banner .mask.flex-center {
    align-items: flex-start !important;
    padding-top: 68px !important; /* 紧贴移动导航栏下方，保证博客引流药丸完全可见 */
  }

  .banner-text {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 10px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .hero-traffic-pill-wrap {
    margin-bottom: 0.4rem !important;
  }

  .hero-traffic-pill {
    font-size: 0.78rem !important;
    padding: 3px 12px !important;
    letter-spacing: 0.02em !important;
  }

  .hero-traffic-h1 {
    font-size: 2.25rem !important;
    margin: 0.2rem 0 !important;
    line-height: 1.15 !important;
  }

  .hero-traffic-sub {
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    margin: 0.35rem 0 0.7rem 0 !important;
    padding: 0 4px !important;
  }

  .hero-traffic-features {
    gap: 6px !important;
    margin-top: 0.4rem !important;
  }

  .hero-feature-chip {
    font-size: 0.76rem !important;
    padding: 3px 9px !important;
  }

  .hero-blog-entry-wrap {
    margin-top: 0.7rem !important;
  }

  .hero-blog-pill {
    font-size: 0.82rem !important;
    padding: 6px 14px !important;
  }

  .banner-slogan-wrap {
    font-size: 0.85rem !important;
    margin-top: 0.5rem !important;
  }

  /* 主面板（Board）手机端微调，提供更大可视净宽 */
  #board {
    margin-top: -1.5rem !important;
    border-radius: 16px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    overflow: visible !important;
  }

  .landing-header-block {
    padding: 1.25rem 0.85rem !important;
    margin-bottom: 1.2rem !important;
    border-radius: 16px !important;
  }

  .landing-badge-tag {
    font-size: 0.8rem !important;
    padding: 3px 12px !important;
    margin-bottom: 0.5rem !important;
  }

  .landing-main-h1 {
    font-size: 1.45rem !important;
    line-height: 1.35 !important;
    margin: 0.3rem 0 0.5rem 0 !important;
  }

  .landing-intro-lead {
    font-size: 0.88rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1.1rem !important;
  }

  .landing-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .landing-stat-card {
    padding: 10px 6px !important;
  }

  .stat-number {
    font-size: 1.35rem !important;
  }

  .stat-name {
    font-size: 0.74rem !important;
  }

  /* 快速直达导航条在手机端的紧凑防折行 */
  .quick-nav-bar {
    padding: 12px 8px !important;
    margin: 1.2rem 0 !important;
    border-radius: 14px !important;
  }

  .quick-nav-title {
    font-size: 0.88rem !important;
    margin-bottom: 8px !important;
  }

  .quick-nav-pills {
    gap: 5px !important;
  }

  .quick-pill {
    padding: 5px 9px !important;
    font-size: 0.78rem !important;
  }

  /* 正文排版手机端易读性 */
  .markdown-body {
    font-size: 0.94rem !important;
    line-height: 1.75 !important;
  }

  .markdown-body h2 {
    font-size: 1.32rem !important;
    line-height: 1.38 !important;
    margin-top: 1.6rem !important;
    margin-bottom: 0.7rem !important;
  }

  .markdown-body h3 {
    font-size: 1.15rem !important;
    line-height: 1.38 !important;
    margin-top: 1.2rem !important;
  }

  .markdown-body p,
  .markdown-body li {
    font-size: 0.92rem !important;
    line-height: 1.72 !important;
  }

  .markdown-body blockquote {
    padding: 10px 12px 10px 14px !important;
    margin: 1rem 0 !important;
    font-size: 0.9rem !important;
  }

  .badge-note {
    font-size: 0.72rem !important;
    padding: 2px 8px !important;
  }
}

/* 💻 桌面端与大屏舒适排版 (>= 992px) */
@media (min-width: 992px) {
  .post-content {
    max-width: 1200px;
    margin: 0 auto;
  }

  .markdown-body {
    font-size: 1.02rem;
    line-height: 1.85;
  }

  .markdown-body p {
    margin-bottom: 1.2rem;
  }

  .markdown-body h2 {
    font-size: 1.72rem;
    margin-top: 2.2rem;
    margin-bottom: 1.1rem;
  }

  .markdown-body h3 {
    font-size: 1.35rem;
    margin-top: 1.6rem;
    margin-bottom: 0.85rem;
  }
}

/* 🖥️ 超宽屏 (>= 1600px) 视觉居中防过宽漂移 */
@media (min-width: 1600px) {
  #board {
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ==========================================================================
   🌸 顶部 Sticky 快捷往返控制条 (上下方便来回)
   ========================================================================== */
.sticky-top-subbar {
  position: fixed;
  top: 64px; /* 紧贴桌面 64px 导航栏下方 */
  left: 0;
  right: 0;
  width: 100%;
  height: 44px;
  z-index: 1025;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid rgba(255, 180, 210, 0.4);
  box-shadow: 0 4px 16px rgba(240, 180, 205, 0.16);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
}

.sticky-top-subbar.is-active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-bar-container {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-pill-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #433352;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
}

.sticky-pill-title i {
  color: #ff75a0;
  margin-right: 2px;
}

.scroll-percent-badge {
  background: linear-gradient(135deg, #ff75a0 0%, #a18cd1 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(255, 117, 160, 0.3);
}

.sticky-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-btn {
  background: #ffffff;
  border: 1px solid rgba(255, 180, 210, 0.6);
  color: #5d4e6d !important;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(230, 180, 205, 0.15);
  transition: all 0.22s ease;
  text-decoration: none !important;
  line-height: 1.3;
}

.sticky-btn:hover {
  background: linear-gradient(135deg, #ff75a0 0%, #a18cd1 100%);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(255, 117, 160, 0.35);
}

.sticky-btn:active {
  transform: translateY(0);
}

.btn-to-top {
  border-color: rgba(255, 117, 160, 0.7);
  color: #ff5388 !important;
}

.btn-to-bottom {
  border-color: rgba(161, 140, 209, 0.7);
  color: #8b68c8 !important;
}

.sticky-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: rgba(254, 207, 239, 0.2);
}

.sticky-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff75a0 0%, #fbc2eb 40%, #a18cd1 80%, #38ef7d 100%);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(255, 117, 160, 0.6);
  transition: width 0.1s linear;
}

/* 深色模式适配 */
[data-user-color-scheme='dark'] .sticky-top-subbar {
  background: rgba(30, 25, 42, 0.92);
  border-bottom-color: rgba(161, 140, 209, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

[data-user-color-scheme='dark'] .sticky-pill-title {
  color: #ede5f7;
}

[data-user-color-scheme='dark'] .sticky-btn {
  background: rgba(48, 40, 65, 0.95);
  border-color: rgba(161, 140, 209, 0.45);
  color: #ded5ed !important;
}

[data-user-color-scheme='dark'] .sticky-btn:hover {
  background: linear-gradient(135deg, #ff75a0 0%, #a18cd1 100%);
  color: #ffffff !important;
}

/* 手机端调优 */
@media (max-width: 768px) {
  .sticky-top-subbar {
    top: 58px;
    height: 40px;
  }

  .sticky-bar-container {
    padding: 0 10px;
  }

  .sticky-pill-title {
    max-width: 130px;
    font-size: 0.78rem;
  }

  .scroll-percent-badge {
    font-size: 0.68rem;
    padding: 1px 6px;
  }

  .sticky-bar-actions {
    gap: 5px;
  }

  .sticky-btn {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 14px;
  }
}





/* 🌸 博客专栏页面精致卡片与 SEO 首页引导横幅 */
.blog-seo-funnel-card {
  background: linear-gradient(135deg, rgba(255, 240, 245, 0.95), rgba(243, 235, 255, 0.95)) !important;
  border: 1.5px dashed rgba(255, 117, 160, 0.45) !important;
  border-radius: 20px !important;
  padding: 1.5rem 1.8rem !important;
  box-shadow: 0 8px 24px rgba(255, 117, 160, 0.12) !important;
  position: relative;
  overflow: hidden;
}

[data-user-color-scheme='dark'] .blog-seo-funnel-card {
  background: linear-gradient(135deg, rgba(42, 33, 56, 0.95), rgba(35, 28, 48, 0.95)) !important;
  border: 1.5px dashed rgba(255, 117, 160, 0.35) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

[data-user-color-scheme='dark'] .blog-seo-funnel-card h3 {
  color: #f1e9f7 !important;
}

[data-user-color-scheme='dark'] .blog-seo-funnel-card p {
  color: #d1c4e0 !important;
}

.blog-card {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(255, 215, 230, 0.5) !important;
  border-radius: 18px !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.blog-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(255, 117, 160, 0.2) !important;
  border-color: rgba(255, 117, 160, 0.8) !important;
}

[data-user-color-scheme='dark'] .blog-card {
  background: rgba(36, 30, 48, 0.92) !important;
  border: 1px solid rgba(161, 140, 209, 0.2) !important;
}

[data-user-color-scheme='dark'] .blog-card:hover {
  border-color: rgba(255, 117, 160, 0.6) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4) !important;
}

[data-user-color-scheme='dark'] .blog-card .blog-post-title-link {
  color: #f6f0fc !important;
}

[data-user-color-scheme='dark'] .blog-card .card-text {
  color: #c9bed8 !important;
}

.blog-stat-pill {
  background: linear-gradient(135deg, rgba(255, 117, 160, 0.12), rgba(161, 140, 209, 0.12));
  border: 1px solid rgba(255, 117, 160, 0.25);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: #7b4369;
}

[data-user-color-scheme='dark'] .blog-stat-pill {
  color: #f1b3cc;
}


/* 🌸 Hero Header 与导航条中的“博客专核”入口美化 */
.hero-blog-entry-wrap {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
}

.hero-blog-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 117, 160, 0.95), rgba(161, 140, 209, 0.95)) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.96rem !important;
  padding: 8px 22px !important;
  border-radius: 25px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 6px 20px rgba(255, 117, 160, 0.45) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.hero-blog-pill:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 10px 25px rgba(255, 117, 160, 0.6) !important;
  color: #ffffff !important;
}

.hero-blog-badge {
  background: #ffffff;
  color: #ff5e91;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
}

.quick-pill-highlight {
  background: linear-gradient(135deg, #ff75a0, #f78ca0) !important;
  color: #ffffff !important;
  border-color: #ff75a0 !important;
  box-shadow: 0 4px 12px rgba(255, 117, 160, 0.35) !important;
}

.quick-pill-highlight i {
  color: #ffffff !important;
}
	.btn-to-blog {
  background: linear-gradient(135deg, rgba(255, 117, 160, 0.2), rgba(161, 140, 209, 0.2)) !important;
  color: #ff5e91 !important;
  border: 1px solid rgba(255, 117, 160, 0.4) !important;
}

/* 🌸 SEO 核心导航卡片交互增强 */
.seo-matrix-card {
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.seo-matrix-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 24px rgba(255, 117, 160, 0.25) !important;
  border-color: #ff75a0 !important;
  background: linear-gradient(135deg, #ffffff, #fffafc) !important;
}
