/* 
 * About Page Styles - 关于页面样式
 * Version: 5.0 (完全重构优化版)
 * 
 * 优化内容：
 * - 去除所有重复的CSS定义
 * - 合并同类样式
 * - 统一使用CSS变量
 * - 优化选择器层级
 * - 整合响应式和深色模式
 */

/* ============================================
   1. CSS变量定义
   ============================================ */
/* 将关于页局部变量从 :root 改为 .about-page 作用域，避免覆盖全站全局变量 */
.about-page {
  /* 主题色彩 */
  --about-main-color: var(--color-primary);
  --mbti-accent: #88619a;
  --trait-color: var(--color-primary);
  --trait-color-rgb: 1, 102, 204;

  /* 基础色彩 */
  --color-background: #ffffff;
  --color-background-light: #f9fafb;
  --color-border: #e5e7eb;
  --color-text: #0f172a;
  --color-text-secondary: #4b5563;

  /* 间距 */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 50%;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.05);

  /* 统一卡片样式 */
  --card-radius: var(--radius-lg);
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --card-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.12);
  --card-border: 1px solid var(--color-border);
  --card-padding: var(--spacing-lg);
  --card-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* 统一的轻微放大效果 */
  --card-hover-scale: 1.01;
  --card-hover-translate: -3px;
}

/* 深色模式变量 - 已合并优化 */
/* 深色模式：直接继承全局 tokens，无需重复声明 */

/* === Purpose 基础样式（已合并到后面统一块） === */
.about-page .purpose-text .purpose-paragraphs p:first-of-type {
  margin-top: 0 !important;
  padding-top: 4px;
}
.about-page .purpose-card::before,
.about-page .purpose-card::after {
  display: none !important;
}

/* ============================================
   图片改为正方形 + 圆角
   ============================================ */
.about-page .purpose-card .purpose-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.about-page .purpose-card .purpose-image-wrapper {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1/1;
  border-radius: 24px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
  display: flex;
}
.about-page .purpose-card .purpose-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
@media (max-width: 720px) {
  .about-page .purpose-card .purpose-image-wrapper {
    max-width: 300px;
    border-radius: 22px;
  }
}
@media (max-width: 560px) {
  .about-page .purpose-card .purpose-image-wrapper {
    max-width: 260px;
    border-radius: 20px;
  }
}

/* ============================================
   2. 基础重置
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ============================================
   3. 页面容器
   ============================================ */
.about-page {
  max-width: 1280px;
  margin: 0 auto 24px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* ============================================
   4. Hero 区域
   ============================================ */
.about-page .about-hero {
  position: relative;
  /* 固定高度：450px，不再使用上下 padding 以实现 4 行垂直精确贴合 */
  height: 450px;
  min-height: 450px;
  padding: 0;
  background: url("../../../static/images/banner/about.webp") center / cover
    no-repeat;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--spacing-xl);
  overflow: hidden;
}

[data-theme="dark"] .about-page .about-hero {
  /* 深色模式加半透明遮罩以保持可读性 */
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)),
    url("../../../static/images/banner/about.webp") center / cover no-repeat;
}

.about-page .hero-container {
  position: relative;
  z-index: 1;
  /* 与其他页面保持一致的左右留白 */
  padding: 0 26px;
  max-width: 1280px;
  margin: 0 auto;
  height: 100%; /* 让内部 hero-inner 的 4x6 网格基于容器高度 */
}

.about-page .hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(
    4,
    minmax(0, 1fr)
  ); /* 使用 minmax 防止内容撑开行高导致整体高度超出 */
  gap: 20px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0; /* 水平留白靠 .hero-container */
  height: 100%;
  min-height: 0;
  align-content: stretch;
  align-items: stretch;
  overflow: hidden; /* 防止内部块偶发性外溢（如缩放动画瞬间） */
}

/* ============================================
   Hero 24 格精确定位（6列 x 4 行）
   说明：
   - 头像旋转区域：格 1,2,7,8,13,14 => 行1-3 / 列1-2
   - 标题：格 6 => 行1 / 列6
   - 社交链接：格 20,21 => 行4 / 列2-3
   - 兴趣爱好：格 21,22 (调整后 21/22 用列3-4) => 行4 / 列3-4
   - 统计卡片：格 23,24 => 行4 / 列5-6
*/
.about-page .hero-block {
  position: relative;
}
.about-page .hero-avatar-block {
  grid-column: 1 / 3;
  grid-row: 1 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0; /* 避免 flex 子项撑开网格轨道 */
}
.about-page .hero-title-block {
  grid-column: 5 / 7; /* 跨第5-6列 */
  grid-row: 1 / 2;
  display: flex;
  align-items: center; /* 垂直居中 */
  justify-content: center; /* 水平居中 */
  text-align: center;
}
/* 社交链接：格子 19/20 (Row4 Col1-2) */
.about-page .hero-social-block {
  grid-column: 1 / 3; /* 从原 2/4 左移一列 */
  grid-row: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center; /* 相对行垂直居中 */
}
/* 兴趣爱好：格子 21/22 (Row4 Col3-4) 保持位置，仅改为完全居中 */
.about-page .hero-hobbies-block {
  grid-column: 3 / 5; /* 不变 */
  grid-row: 4 / 5;
  display: flex;
  align-items: center; /* 垂直居中 */
  justify-content: center; /* 水平居中 */
  align-self: center;
}
/* 统计卡片：已在下方 about-stats-card 规则中跨行 3/5，这里移除旧单行占位避免混淆 */

/* 调整标题内部间距 */
.about-page .hero-title-block .page-title {
  margin: 0;
}

/* 统一头像容器尺寸，使用变量便于全局调整 */
:root {
  --about-avatar-size: 200px;
  --about-avatar-size-sm: 170px;
  --about-avatar-inner: 160px; /* 环内实际头像 */
  --about-avatar-inner-sm: 136px;
}
@media (max-width: 768px) {
  .about-page .hero-inner {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, auto);
  }
  /* 小屏重新堆叠：头像(1-3), 标题(1 / 4-7), 统计(4-7), 社交+爱好合并换行 */
  .about-page .hero-avatar-block {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
  }
  .about-page .hero-title-block {
    grid-column: 4 / 7;
    grid-row: 1 / 2;
    text-align: left;
    justify-content: flex-start;
  }
  .hero-stats-block {
    grid-column: 4 / 7;
    grid-row: 2 / 4;
  }
  .hero-social-block {
    grid-column: 1 / 7;
    grid-row: 4 / 5;
  }
  .hero-hobbies-block {
    grid-column: 1 / 7;
    grid-row: 5 / 6;
  }
}

/* ============================================
   Hero Grid 布局 - 6列4行 (24格子)
   ============================================ */

/* (旧) .hero-content 已移除，布局改用 .hero-title-block 等语义类 */

.about-page .page-title {
  margin: 0;
  padding: 0;
}

/* 从误嵌套中还原的 decade 标签布局（保持原意） */
.about-page .decade-bar-progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 改为 flex-start，让文字顶部对齐 */
  margin-bottom: 0;
  position: relative; /* 使用 relative 定位 */
  top: -18px; /* 向上偏移，紧贴进度条 */
  margin-top: 0;
}

/* 页面标题：在跨列区域内部居中 */
.about-page .about-hero .page-title {
  position: static;
  margin: 0;
  font-size: 2rem;
  font-weight: 500;
  color: #ffffff;
  font-family: "KuaiKanShiJieTi", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  width: 100%;
}

/* 标题中的图标样式 */
.about-page .about-hero .page-title i {
  font-size: 2rem;
}

/* 深色模式 */
[data-theme="dark"] .about-page .about-hero .page-title {
  color: var(--about-main-color);
}

/* 旧 .hero-content 顶部间距逻辑删除，标题块自行控制间距 */

/* 当启用动态光标时，使用变量控制光标横向位置（随字数移动） */
.about-page .typewriter.has-dynamic-caret {
  position: relative;
}
.about-page .typewriter.has-dynamic-caret::after {
  right: auto; /* 关闭固定靠右 */
  left: var(--tw-caret-x, 0px); /* 使用 JS 动态设置的内容宽度 */
  top: 50%;
  transform: translate(-1px, -50%); /* 轻微左移使其贴近末尾字形 */
}

/* 小屏下标题字号保持一致 */
@media (max-width: 768px) {
  .about-page .about-hero .page-title {
    font-size: 1.75rem;
  }
}

/* ============================================
   Hero 头像区域 - 格子 7/8 和 13/14 (第2-3行，第1-2列)
   ============================================ */
.about-page .about-avatar-section {
  grid-column: 1 / 3;
  grid-row: 2 / 4;
  position: relative;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 头像容器主规则（去重合并） */
.about-page .hero-avatar-wrap {
  position: relative;
  width: var(--about-avatar-size);
  height: var(--about-avatar-size);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.3s ease;
}

@media (max-width: 640px) {
  .about-page .hero-avatar-wrap {
    width: var(--about-avatar-size-sm);
    height: var(--about-avatar-size-sm);
  }
  .about-page .avatar-inner {
    width: var(--about-avatar-inner-sm);
    height: var(--about-avatar-inner-sm);
  }
  .about-page .avatar-ring {
    width: var(--about-avatar-size-sm);
    height: var(--about-avatar-size-sm);
  }
}

.about-page .hero-avatar-wrap:hover {
  filter: brightness(1.05);
}

/* 内部实际头像尺寸缩小，产生与文字环的留白 */
.about-page .avatar-inner {
  position: relative;
  width: var(--about-avatar-inner);
  height: var(--about-avatar-inner);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-page .hero-avatar {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1; /* 位于旋转文字环之上 */
}

.about-page .online-dot {
  position: absolute;
  bottom: 18px;
  right: 22px;
  width: 20px;
  height: 20px;
  background: #22c55e;
  border: 3px solid #ffffff;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2; /* 高于头像和文字环 */
}

.about-page .online-dot.offline {
  background: #94a3b8;
}

/* 环绕文字SVG（重置为中心定位并统一慢速旋转） */
/* 统一：环绕文字绝对居中 + 慢速旋转；动画内仅旋转，不复写 translate */
/* 圆环尺寸与外容器一致，头像缩小产生留白 */
.about-page .avatar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--about-avatar-size);
  height: var(--about-avatar-size);
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  pointer-events: none;
  animation: avatarRingSpin 40s linear infinite;
  animation-play-state: running;
  z-index: 0;
  transition: transform 0.3s ease, filter 0.3s ease; /* 添加过渡效果 */
}

/* 悬浮时放大并暂停旋转 */
.about-page .hero-avatar-wrap:hover .avatar-ring {
  animation-play-state: paused; /* 暂停旋转 */
  transform: translate(-50%, -50%) scale(1.05); /* 放大 5% */
  transition: transform 0.3s ease; /* 平滑过渡 */
}

.about-page .ring-text {
  fill: #ffffff; /* 白色文字 */
  font-size: 10px;
  font-weight: 600; /* 稍微加粗 */
  letter-spacing: 0.5px;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8)); /* 多层阴影，确保清晰可见 */
}

/* 旧 ring-rotate 动画弃用，改用 avatarRingSpin (仅负责旋转) */
@keyframes ring-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Hero 快速信息容器 - 包含社交链接和兴趣爱好 */
.about-page .hero-quickfacts {
  /* 该容器不再需要定位,内部元素各自占据grid位置 */
  display: contents; /* 让子元素直接参与grid布局 */
}

/* 社交链接 - 格子 19-20 (第4行,第1-2列) 底部对齐 */
.about-page .about-hero-social {
  grid-column: 1 / 3;
  grid-row: 4 / 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 10px;
}

.about-page .about-hero-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: var(--about-main-color);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.about-page .about-hero-social a:hover {
  transform: translateY(-2px) scale(1.1);
  background: var(--about-main-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(var(--about-main-color-rgb), 0.4);
}

/* 兴趣爱好标签 - 格子 21-22 (第4行,第3-4列) */
.about-page .hero-hobbies {
  grid-column: 3 / 5;
  grid-row: 4 / 5;
  display: flex;
  align-items: flex-end;
  padding-bottom: 10px;
}

/* 已移除旅行足迹 Travel 区块相关样式 (travel-box, travel-content-card, countries-grid-content 等) */

/* ============================================
/* 滚动关键词 */
.about-page .rolling-keywords {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  font-size: 0.9rem;
  color: var(--color-text-light);
  background: var(--color-background-light);
  padding: var(--spacing-sm) 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.about-page .rolling-label {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.about-page .rolling-dynamic {
  color: var(--about-main-color);
  font-weight: 600;
  min-width: 80px;
  text-align: center;
}

/* ============================================
  统计卡片 - 格子 17-18-23-24 (跨第3-4行，第5-6列 vertical span)
  原位置: 单行 (23-24)
  新需求: 跨两行，提高视觉权重，并保持内容靠下但留出内边距
  ============================================ */
/* 统计卡片 - 横向紧凑磨砂设计 */
.about-page .about-stats-card {
  grid-column: 5 / 7;
  /* 跨第三与第四行 */
  grid-row: 3 / 5;
  position: relative;
  width: auto;
  max-width: 100%;
  min-height: 0 !important;
  /* 保持原单行视觉高度：不随跨行自动拉伸 */
  height: max-content !important;
  flex-shrink: 0;
  align-self: end; /* 在跨行区域内贴底，避免填满两行 */
  margin-bottom: 12px; /* 底部留白调小：原 20px -> 12px，更紧凑 */
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  padding: 10px 16px 12px !important; /* 降低整体高度：原 12/16/14 -> 10/16/12 */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* 内容整体向底部贴近 */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.about-page .about-stats-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(var(--about-main-color-rgb), 0.3) !important;
}

/* 统计项容器 - 横向排列 */
.about-page .about-stats-card .stats-summary {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: stretch;
  min-height: 0 !important;
  height: auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 单个统计项 - 圆形数字+下方标签 */
.about-page .about-stats-card .summary-item {
  flex: 1;
  min-width: 0 !important;
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 10px !important;
  margin: 0 !important;
  background: transparent !important;
  border: none;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  gap: 8px;
}

.about-page .about-stats-card .summary-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--about-main-color-rgb), 0.05);
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-page .about-stats-card .summary-item:hover::before {
  opacity: 1;
}

.about-page .about-stats-card .summary-item:hover {
  transform: translateY(-2px) !important;
  background: transparent !important;
}

/* 图标样式 - 圆形背景,内部显示数字 */
.about-page .about-stats-card .summary-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(var(--about-main-color-rgb), 0.15) 0%,
    rgba(var(--about-main-color-rgb), 0.08) 100%
  );
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* 数字显示在圆形内 */
.about-page .about-stats-card .summary-icon .summary-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--about-main-color);
  line-height: 1;
}

/* 标签样式 - 图标+文字 */
.about-page .about-stats-card .summary-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1 !important;
  text-align: center;
}

.about-page .about-stats-card .summary-label i {
  font-size: 0.7rem;
  color: var(--about-main-color);
}

/* Hover 效果 */
.about-page .about-stats-card .summary-item:hover .summary-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(var(--about-main-color-rgb), 0.3);
}

.about-page .about-stats-card .summary-item:hover .summary-value {
  color: var(--about-main-color);
  transform: scale(1.05);
}

/* 加载状态 */
.about-page .about-stats-card .summary-value.u-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
  color: transparent;
  border-radius: 6px;
  min-width: 40px;
  height: 24px;
  display: inline-block;
}

/* 深色模式 */
[data-theme="dark"] .about-page .about-stats-card {
  background: rgba(15, 23, 42, 0.7) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .about-page .about-stats-card:hover {
  border-color: rgba(var(--about-main-color-rgb), 0.4) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .about-page .about-stats-card .summary-item {
  background: transparent !important;
}

[data-theme="dark"] .about-page .about-stats-card .summary-item:hover {
  background: transparent !important;
}

/* 深色模式 - 社交链接 */
[data-theme="dark"] .about-page .about-hero-social a {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .about-page .about-hero-social a:hover {
  background: var(--about-main-color);
  border-color: var(--about-main-color);
}

/* 深色模式 - 头像边框 */
[data-theme="dark"] .about-page .hero-avatar {
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .about-page .about-stats-card .summary-item::before {
  background: rgba(var(--about-main-color-rgb), 0.1);
}

[data-theme="dark"] .about-page .about-stats-card .summary-icon {
  background: linear-gradient(
    135deg,
    rgba(var(--about-main-color-rgb), 0.25) 0%,
    rgba(var(--about-main-color-rgb), 0.15) 100%
  );
}

[data-theme="dark"] .about-page .about-stats-card .summary-label {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .about-page .about-stats-card .summary-value {
  color: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .about-page .about-stats-card .summary-value.u-loading {
  background: linear-gradient(90deg, #3a3a3a 25%, #4a4a4a 50%, #3a3a3a 75%);
  background-size: 200% 100%;
}

@keyframes loading-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.about-page .data-source {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.about-page .error-info {
  margin-top: var(--spacing-xs);
  font-size: 0.7rem;
  color: #dc3545;
  opacity: 0.8;
}

.about-page .data-source i {
  font-size: 0.875rem;
}

/* ============================================
   8. 内容区域
   ============================================ */
.about-page .about-section {
  padding: 0 20px 10px;
  display: flex;
  flex-direction: column;
}

.about-page .content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: 20px;
}

.about-page .content-row.split-3-2 {
  grid-template-columns: 3fr 2fr;
}

/* 为包含wishlist、hobbies和purpose的content-row创建特殊布局 */
.about-page .content-row:has(.about-wishlist-row),
.about-page .content-row:has(.about-hobbies-row),
.about-page .content-row:has(.purpose-box),
.about-page .content-row.plans-layout,
.about-page .content-row.purpose-row {
  display: block; /* 使用block布局替代grid */
  grid-template-columns: unset;
}

/* 组合人格卡片容器：左右排列（保持原子卡片样式不变） */
.about-page .content-box.personality-box {
  padding: 0;
}
.about-page .combined-personality-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  padding: var(--card-padding);
  align-items: stretch; /* 两侧等高 */
}
.about-page .content-row .content-box.personality-box {
  /* 在两列网格中占满整行，使其宽度与外层框架一致 */
  grid-column: 1 / -1;
  width: 100%;
}
.about-page .combined-personality-card .combined-left,
.about-page .combined-personality-card .combined-right {
  display: flex; /* 让内层卡片可拉伸等高 */
}

/* 响应式：窄屏下纵向堆叠 */
@media (max-width: 768px) {
  .about-page .combined-personality-card {
    grid-template-columns: 1fr;
  }
}

/* 在组合容器内，去掉内层卡片的外框（背景/边框/阴影/悬停放大），保留内容排版 */
.about-page .content-box.personality-box .mbti-card,
.about-page .content-box.personality-box .traits-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0; /* 由外层容器控制统一内边距 */
  height: 100%;
}
.about-page .content-box.personality-box .mbti-card:hover,
.about-page .content-box.personality-box .traits-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

/* 向后兼容，为不支持:has()的浏览器 */
@supports not selector(:has(*)) {
  .about-page .content-row.plans-layout,
  .about-page .content-row.purpose-row,
  .about-page .content-row:has(.purpose-box) {
    display: block;
    grid-template-columns: unset;
  }
}

.about-page .content-box {
  background: var(--color-background);
  border: var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: var(--card-transition);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--card-shadow);
}

.about-page .content-box:hover {
  transform: scale(var(--card-hover-scale));
  box-shadow: var(--card-shadow-hover);
  border-color: var(--about-main-color);
}

/* 仅卡片独立悬浮放大：容器不联动 */
.about-page .game-box:hover,
.about-page .music-box:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.about-page .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--about-main-color);
  margin: 0;
  padding: 10px 18px 10px 16px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--about-main-color) 10%, #fff 90%) 0%,
    #fff 100%
  );
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  border-bottom: 2px solid var(--about-main-color) !important;
  position: relative;
}

[data-theme="dark"] .about-page .section-title {
  background: var(--color-background-light);
  color: var(--color-text);
}

.about-page .section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 16px;
  right: 18px;
  height: 2px;
  background: var(--about-main-color);
  border-radius: 1px;
}

.about-page .section-content {
  padding: var(--spacing-lg);
}

/* ============================================
   9. MBTI 卡片
   ============================================ */
.about-page .mbti-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--card-padding);
  position: relative;
  overflow: hidden;
  background: var(--color-background);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: var(--card-transition);
}

.about-page .mbti-card:hover {
  transform: scale(var(--card-hover-scale));
  box-shadow: var(--card-shadow-hover);
  border-color: var(--mbti-accent);
}

.about-page .mbti-left {
  flex: 1;
  z-index: 1;
}

.about-page .mbti-chip {
  display: inline-block;
  padding: 4px 12px;
  background: var(--mbti-accent);
  color: var(--color-text-inverse);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
}

.about-page .mbti-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--mbti-accent);
  margin: 0 0 var(--spacing-xs);
}

[data-theme="dark"] .about-page .mbti-title {
  color: var(--mbti-accent);
}

.about-page .mbti-code {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--mbti-accent);
  margin: 0 0 var(--spacing-md);
  letter-spacing: 0.05em;
}

.about-page .mbti-tip {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin: 0;
}

.about-page .mbti-tip a {
  color: var(--mbti-accent);
  text-decoration: none;
}

.about-page .mbti-tip a:hover {
  text-decoration: underline;
}

.about-page .mbti-right {
  width: 180px;
}

.about-page .mbti-figure {
  width: 100%;
  height: 100%;
}

.about-page .mbti-figure img {
  width: 100%;
  height: auto;
  animation: gentle-sway 4s ease-in-out infinite;
  transition: transform 0.3s ease;
  transform-origin: center bottom;
}

.about-page .mbti-figure img:hover {
  transform: scale(1.1);
  animation-play-state: paused;
}

@keyframes gentle-sway {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

/* ============================================
   9.5 右侧双卡（上方两张卡片 + 旋转第三行）
   ============================================ */
.about-page .about-right-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.about-page .about-duo-cards {
  display: grid;
  grid-template-columns: 6.5fr 3.5fr; /* Hero 第一行按 6.5 : 3.5 */
  gap: var(--spacing-lg);
}

/* 让 Hero 下第一行双卡占据整行（跨越内容栅格的所有列） */
/* 精简结构后：直接让 hero 双卡容器跨整行 */
.about-page .content-row > .about-duo-cards--hero {
  grid-column: 1 / -1;
  width: 100%;
}

/* 保证容器本身铺满可用宽度 */
.about-page .about-duo-cards {
  width: 100%;
}

/* 行文本基础样式 */
.about-page .about-card .line {
  line-height: 1.6;
  color: var(--color-text);
}

.about-page .about-card .line-1 {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.about-page .about-card .line-2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2px 0 4px;
}

.about-page .about-card .line-3 {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
}

/* 旋转视图容器样式 */
.about-page .about-card--rotating .line-3 {
  /* 使用主色做轻微强调 */
  color: var(--about-main-color);
  font-weight: 600;
}

.about-page .about-card--rotating .rotate-viewport {
  position: relative;
  overflow: hidden;
  height: 1.6em; /* 将在脚本中以首项高度覆盖，先给个保底值 */
}

.about-page .about-card--rotating .rotate-list {
  display: flex;
  flex-direction: column;
  will-change: transform;
  transform: translateY(0);
}

.about-page .about-card--rotating .rotate-item {
  line-height: 1.6;
  height: 1.6em; /* 与 viewport 初始高度一致；脚本会按实际高度适配 */
  color: var(--about-main-color);
}

/* Hero 第一行：对齐“我叫”和昵称，减少抖动 */
.about-page .about-duo-cards--hero .about-card--left .line-2 {
  display: inline-flex;
  align-items: baseline; /* 文本基线对齐，避免上下不齐 */
  gap: 0.3em; /* “我叫”与昵称留出些许间距 */
  line-height: 1.4;
  min-height: 1.4em; /* 保底高度，避免打字过程轻微抖动 */
}
.about-page .about-duo-cards--hero .about-card--left .typewriter {
  min-width: 8ch; /* 预留宽度，减少字数变化导致的跳动 */
  margin-left: 0.1em; /* 与“我叫”保持自然间距 */
}
.about-page .about-duo-cards--hero .typewriter::after {
  top: auto;
  bottom: 0.05em; /* 更贴近基线显示光标 */
  transform: none;
  height: 1em; /* 与行高一致，防止拉高行盒 */
}

/* 旋转词视图：强制单行省略，彻底消除高度波动 */
.about-page .about-card--rotating .rotate-item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero 第一行左卡 bio：字体更小、双色、双行收敛，稳定高度 */
.about-page .about-duo-cards--hero .about-card--left .intro-bio {
  font-size: 0.92rem; /* 略小一号 */
  line-height: 1.6;
  color: var(--color-text-light);
  margin: 6px 0 0;
  text-align: left; /* 覆盖全局的居中对齐，左对齐显示 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2; /* 标准属性，供新浏览器参考 */
  overflow: hidden;
}

/* 悬停时卡片高亮已由基础卡片提供，这里仅在旋转时平滑过渡 */
.about-page .about-card--rotating .rotate-list.is-animating {
  transition: transform 480ms cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ============================================
   9.6 Hero 双卡片（样式重构，保留动态效果）
   ============================================ */
/* 统一卡片外观，仅作用于 Hero 第一行双卡，避免影响其他 about-card 用法 */
.about-page .about-duo-cards--hero .about-card {
  background: var(--color-background);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: var(--card-padding);
  transition: var(--card-transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.about-page .about-duo-cards--hero .about-card:hover {
  transform: scale(var(--card-hover-scale));
  box-shadow: var(--card-shadow-hover);
  border-color: var(--about-main-color);
}

/* 左侧卡片：改为静态背景图片（移除全部动画与伪元素网格） */
.about-page .about-duo-cards--hero .about-card--left {
  position: relative;
  overflow: hidden;
  /* 叠加暗化渐变，提升前景文字可读性 */
  background: linear-gradient(
      160deg,
      rgba(8, 12, 18, 0.85) 0%,
      rgba(8, 12, 18, 0.78) 35%,
      rgba(8, 12, 18, 0.55) 65%,
      rgba(8, 12, 18, 0.4) 100%
    ),
    #0b0f17 url("/wp-content/themes/westlife/static/images/about/aboutme.jpg")
      center/cover no-repeat;
  background-blend-mode: multiply, normal;
}
/* 窄屏下微调焦点：向下与稍右偏移，避免主体被裁 */
@media (max-width: 680px) {
  .about-page .about-duo-cards--hero .about-card--left {
    background-position: 40% 50%;
  }
}
/* 前景遮罩：提升对比度与文字可读性 */
.about-page .about-duo-cards--hero .about-card--intro {
  position: relative;
  /* 已按需求移除 background: transparent; */
  --intro-overlay-from: rgba(0, 0, 0, 0.55);
  --intro-overlay-to: rgba(0, 0, 0, 0.4);
  --intro-overlay-border: rgba(255, 255, 255, 0.12);
  --intro-text-color: #fff;
}
.about-page .about-duo-cards--hero .about-card--intro::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
  backdrop-filter: blur(4px) saturate(1.1);
  -webkit-backdrop-filter: blur(4px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 18px -6px rgba(0, 0, 0, 0.5);
  z-index: 0;
  pointer-events: none;
}
.about-page .about-duo-cards--hero .about-card--intro > * {
  position: relative;
  z-index: 1;
}
.about-page .about-duo-cards--hero .about-card--intro .intro-line {
  color: var(--intro-text-color);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}
.about-page .about-duo-cards--hero .about-card--intro .intro-line.name span {
  /* “我叫” 与动态名字分色：intro-label 固定白，名字由 JS 动态轮换颜色 */
  color: var(--intro-text-color);
}
.about-page .about-duo-cards--hero .about-card--intro .intro-line.bio {
  line-height: 1.55;
}
/* 低透明度支持不足（无 backdrop-filter）降级策略 */
@supports not (
  (
    backdrop-filter: blur(4px),
  )
) {
  .about-page .about-duo-cards--hero .about-card--intro::before {
    background: rgba(0, 0, 0, 0.55);
  }
}
/* 深色模式稍加深遮罩，防止彩色径向高亮仍然干扰文字 */
[data-theme="dark"]
  .about-page
  .about-duo-cards--hero
  .about-card--intro::before {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.42));
}
/* 移动端字体再提升可读性：稍增字距 / 放大基线 */
@media (max-width: 640px) {
  .about-page .about-duo-cards--hero .about-card--intro .intro-line {
    letter-spacing: 0.2px;
  }
  .about-page .about-duo-cards--hero .about-card--intro .intro-line.bio {
    font-size: 0.95rem;
  }
}
/* 左卡文案排版仍按基础变量渲染（不强制白色） */
.about-page .about-duo-cards--hero .about-card--left .line-1 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.about-page .about-duo-cards--hero .about-card--left .line-2 {
  color: var(--color-text);
}
.about-page .about-duo-cards--hero .about-card--left .line-3 {
  margin-top: 4px;
}
/* 新精简别名：intro-line */
.about-page .about-duo-cards--hero .about-card--intro .intro-line.greet {
  font-size: 0.95rem;
  margin: 0 0 4px;
}
.about-page .about-duo-cards--hero .about-card--intro .intro-line.name {
  margin: 0;
  color: var(--color-text);
}
.about-page
  .about-duo-cards--hero
  .about-card--intro
  .intro-line.name
  .intro-label {
  color: #ffffff;
  font-weight: 500;
  margin-right: 2px;
}
/* 打字机初始颜色（JS 切换时会覆盖 inline style） */
.about-page
  .about-duo-cards--hero
  .about-card--intro
  .intro-line.name
  .typewriter {
  color: var(--about-main-color);
  transition: color 0.4s ease;
}
.about-page .about-duo-cards--hero .about-card--intro .intro-line.bio {
  margin: 4px 0 0;
}
/* 链接风格使用默认主题色 */
.about-page .about-duo-cards--hero .about-card--left a {
  color: var(--about-main-color);
}
.about-page .about-duo-cards--hero .about-card--left a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* 深色模式：降低动态背景的强度以避免过曝（同时作用于两层） */
[data-theme="dark"]
  .about-page
  .about-duo-cards--hero
  .about-card--left::before,
[data-theme="dark"]
  .about-page
  .about-duo-cards--hero
  .about-card--left::after {
  opacity: 0.55;
  filter: blur(42px) saturate(0.9);
}

/* 减少动态偏好：停用动画但保留背景层 */
@media (prefers-reduced-motion: reduce) {
  .about-page .about-duo-cards--hero .about-card--left::before,
  .about-page .about-duo-cards--hero .about-card--left::after {
    animation: none !important;
  }
}

/* 移除自我否定的覆盖（此前先定义动态背景又强制 content:none）以保留动态背景效果 */
/* 原覆盖块已删除：如需纯静态背景，可在上方保留基础样式并删除动态背景伪元素定义 */

/* 去重：typewriter 渐变样式仅保留文件前部首次定义的版本（此处重复定义已删除） */

/* 右卡（轮播）标题与副标题视觉层次 */
.about-page .about-duo-cards--hero .about-card--rotating .line-1 {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
}
.about-page .about-duo-cards--hero .about-card--rotating .line-2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--about-main-color);
  margin: 2px 0 6px;
}
.about-page .about-duo-cards--hero .about-card--rotating .line-3 {
  margin-top: 6px;
}
/* 新精简别名：rotate-line */
.about-page .about-duo-cards--hero .about-card--rotating .rotate-line.heading {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
  margin: 0 0 2px;
}
.about-page
  .about-duo-cards--hero
  .about-card--rotating
  .rotate-line.subheading {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--about-main-color);
  margin: 2px 0 6px;
}
.about-page .about-duo-cards--hero .about-card--rotating .rotate-line.carousel {
  margin-top: 6px;
}

/* 深色模式下保持层次 */
[data-theme="dark"] .about-page .about-duo-cards--hero .about-card {
  background: var(--color-background);
  box-shadow: var(--card-shadow);
}

/* 响应式：窄屏下卡片内边距收紧 */
@media (max-width: 768px) {
  .about-page .about-duo-cards--hero .about-card {
    padding: calc(var(--card-padding) - 6px);
  }
}

/* 响应式：窄屏下两卡纵向堆叠 */
@media (max-width: 768px) {
  .about-page .about-duo-cards {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  .about-page .about-card .line-2 {
    font-size: 1.15rem;
  }
  .about-page .about-card .line-3 {
    font-size: 1rem;
  }
}

/* ============================================
   10. 人格特征进度条
   ============================================ */
.about-page .traits-chip {
  display: inline-block;
  background: none;
  color: var(--about-main-color);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0;
  letter-spacing: 0.02em;
  position: absolute;
  top: 260px;
  right: 15px;
  z-index: 2;
}

.about-page .traits-card {
  position: relative;
  padding: var(--card-padding);
  background: var(--color-background);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: var(--card-transition);
  /* 允许悬浮提示框显示在卡片外 */
  overflow: visible;
}

.about-page .traits-card:hover {
  transform: scale(var(--card-hover-scale));
  box-shadow: var(--card-shadow-hover);
  border-color: var(--about-main-color);
}

.about-page .traits-list {
  display: flex;
  flex-direction: column;
}

.about-page .trait-item {
  position: relative;
  padding: 0.2em 0 0.6em 0;
  transition: box-shadow 0.18s;
}

.about-page .trait-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 2.2rem;
}

.about-page .trait-meta {
  flex-shrink: 0;
  min-width: 4rem;
  font-size: 1.02em;
  font-weight: 600;
  color: var(--trait-color);
  letter-spacing: 0.02em;
}

.about-page .trait-bar-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5em;
  min-height: 1.7em;
  justify-content: center;
}

.about-page .trait-label,
.about-page .trait-label-right {
  min-width: 2.2em;
  color: #888;
  font-size: 0.78em;
  line-height: 1.2;
  flex-shrink: 0;
  width: 80px;
}

.about-page .trait-label {
  text-align: right;
}

.about-page .trait-label-right {
  text-align: left;

  /* 十年进度条：移动端将起止时间放到进度条下方，避免重叠 */
  .decade-bar-progress-wrap {
    display: flex;
    flex-direction: column;
  }
  .decade-progress.bar-full,
  .decade-progress.minimal {
    order: 1;
    margin-bottom: 0; /* 下方的起止时间用自身 margin 控制间距 */
  }
  .decade-bar-progress-labels {
    order: 2;
    position: relative; /* 使用 relative 定位 */
    top: -18px; /* 向上偏移，紧贴进度条 */
    left: 0;
    margin-top: 0;
    padding: 0 4px;
    pointer-events: auto;
  }
}

.about-page .trait-bar {
  width: 250px;
  height: 0.78rem;
  background: rgba(var(--trait-color-rgb), 0.2);
  border-radius: 0.6rem;
  position: relative;
  overflow: visible;
  transition: box-shadow 0.18s;
  flex-shrink: 0;
}

.about-page .trait-bar-fill {
  height: 100%;
  border-radius: 0.6rem;
  position: relative;
  background: var(--trait-color);
  transition: width 0.6s cubic-bezier(0.4, 1, 0.4, 1);
}

.about-page .trait-value {
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.98);
  font-size: 9px;
  font-weight: 600;
  /* 使用固定像素，尺寸与进度条高度匹配 */
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(60, 72, 88, 0.15);
  z-index: 3;
  color: var(--trait-color);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  border: 2px solid var(--trait-color);
  /* 确保文字与边框有足够空隙 */
  text-align: center;
  letter-spacing: -0.3px;
}

[data-theme="dark"] .about-page .trait-value {
  background: rgba(24, 24, 27, 0.98);
}

.about-page .trait-dot {
  display: none;
}

.about-page .trait-desc-tooltip {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 100%;
  margin-bottom: 4px;
  transform: translateX(-50%);
  background: var(--color-background);
  color: var(--color-text-secondary);
  box-shadow: 0 8px 32px rgba(60, 72, 88, 0.2);
  border-radius: 0.8em;
  padding: 0.8em 1.2em;
  font-size: 0.9em;
  white-space: pre-line;
  z-index: 1000;
  line-height: 1.5;
  width: 280px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--color-border);
}

.about-page .trait-desc-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.6em;
  transform: translateX(-50%);
  width: 1.1em;
  height: 0.7em;
  overflow: hidden;
  z-index: 11;
  pointer-events: none;
  border-left: 0.55em solid transparent;
  border-right: 0.55em solid transparent;
  border-top: 0.7em solid var(--color-background);
}

/* 特征条交互效果 */
.about-page .trait-item:hover .trait-bar,
.about-page .trait-item:focus-within .trait-bar {
  box-shadow: 0 2px 8px rgba(var(--trait-color-rgb), 0.3);
}

.about-page .trait-item:hover .trait-bar-fill,
.about-page .trait-item:focus-within .trait-bar-fill {
  background: linear-gradient(
    90deg,
    var(--trait-color) 80%,
    rgba(var(--trait-color-rgb), 0.6) 100%
  );
}

.about-page .trait-item:hover .trait-value,
.about-page .trait-item:focus-within .trait-value {
  font-weight: 700;
}

/* 悬浮提示框显示效果 */
.about-page .trait-item:hover .trait-desc-tooltip,
.about-page .trait-item:focus-within .trait-desc-tooltip {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* 第一个特征条的提示框向下显示 */
.about-page .trait-item:nth-child(2) .trait-desc-tooltip {
  bottom: auto !important;
  top: 100% !important;
  margin-top: -2px !important;
  margin-bottom: 0 !important;
}

/* 第一个特征条的提示框箭头调整为向上 */
.about-page .trait-item:nth-child(2) .trait-desc-tooltip::after {
  bottom: auto !important;
  top: -0.6em !important;
  border-top: none !important;
  border-bottom: 0.7em solid var(--color-background) !important;
}

/* ============================================
   11. 座右铭
   ============================================ */
.about-page .motto-box .section-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.about-page .motto {
  font-size: 1.25rem;
  font-style: italic;
  color: #334155;
  margin: 0;
  text-align: center;
  line-height: 1.8;
}

[data-theme="dark"] .about-page .motto {
  color: var(--color-text);
}

/* ============================================
   12. 为什么建站 - 现代化重设计
   ============================================ */
.about-page .content-box.purpose-box {
  width: 100% !important;
  max-width: none !important;
  grid-column: 1 / -1; /* 占据整行 */
  margin-bottom: var(--spacing-xl);
  /* 移除边框和悬浮效果，避免与内部卡片重叠 */
  background: none;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.about-page .content-box.purpose-box:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.about-page .content-row .content-box.purpose-box {
  width: 100% !important;
}

.about-page .purpose-card {
  --pc-accent: var(--about-main-color, #0d6efd);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px; /* 左文右图 */
  gap: 1.75rem;
  padding: 1.5rem 1.4rem 1.7rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}
.about-page .purpose-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #222;
  letter-spacing: 0.5px;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
/* 高亮块简单化 */
.about-page .purpose-highlight {
  background: rgba(var(--about-main-color-rgb, 13, 110, 253), 0.06);
  border: 1px solid rgba(var(--about-main-color-rgb, 13, 110, 253), 0.25);
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
}
.about-page .highlight-emoji {
  font-size: 1.15rem;
  line-height: 1;
}
.about-page .highlight-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pc-accent);
  letter-spacing: 0.02em;
}
.about-page .purpose-subtitle {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #666;
  margin: 0 0 0.75rem;
  font-weight: 500;
}
.about-page .purpose-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
}
.about-page .purpose-paragraphs p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #555;
}
.about-page .purpose-closing {
  font-weight: 600;
  color: #222;
  position: relative;
  padding-left: 0.6rem;
  font-size: 0.8rem;
}
.about-page .purpose-closing::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--pc-accent);
  border-radius: 2px;
}

/* 图片侧简化 */
.about-page .purpose-image {
  display: flex;
  align-items: center;
}
.about-page .purpose-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/4.4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.about-page .purpose-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-page .purpose-card:hover .purpose-image-wrapper img {
  transform: scale(1.03);
}
.about-page .purpose-image-overlay {
  display: none;
}

/* 响应式：<=920px 堆叠 */
@media (max-width: 920px) {
  .about-page .purpose-card {
    grid-template-columns: 1fr;
  }
  .about-page .purpose-image-wrapper {
    aspect-ratio: 16/8.5;
    max-height: 240px;
  }
}
@media (max-width: 560px) {
  .about-page .purpose-card {
    padding: 1.05rem 0.9rem 1.2rem;
    border-radius: 12px;
    gap: 1.1rem;
  }
  .about-page .purpose-title {
    font-size: 1.02rem;
  }
  .about-page .purpose-paragraphs p {
    font-size: 0.75rem;
  }
  .about-page .purpose-subtitle {
    font-size: 0.74rem;
  }
}
/* 深色模式：保持极简 */
[data-theme="dark"] .about-page .purpose-card {
  background: #1c1f23;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .about-page .purpose-chip {
  background: rgba(255, 255, 255, 0.08);
  color: #aaa;
}
[data-theme="dark"] .about-page .purpose-title {
  color: #f1f3f5;
}
[data-theme="dark"] .about-page .purpose-subtitle,
[data-theme="dark"] .about-page .purpose-paragraphs p {
  color: #b5bcc4;
}
[data-theme="dark"] .about-page .purpose-closing {
  color: #dbe1e6;
}
[data-theme="dark"] .about-page .purpose-highlight {
  background: rgba(var(--about-main-color-rgb, 13, 110, 253), 0.14);
}
.about-page .purpose-content {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-width: 0;
}

/* 结构排版与层次 */
.about-page .purpose-header {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.about-page .purpose-chip {
  --chip-bg: linear-gradient(
    120deg,
    var(--purpose-accent) 0%,
    color-mix(in srgb, var(--purpose-accent) 85%, #ffffff) 100%
  );
  background: var(--chip-bg);
  color: #fff;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  position: relative;
  line-height: 1.1;
  box-shadow: 0 2px 6px -1px rgba(var(--purpose-accent-rgb), 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin: 0;
}
.about-page .purpose-chip i {
  font-size: 0.75rem;
}
.about-page .purpose-highlight {
  --hl-bg: linear-gradient(
    135deg,
    rgba(var(--purpose-accent-rgb), 0.12) 0%,
    rgba(var(--purpose-accent-rgb), 0.04) 100%
  );
  background: var(--hl-bg);
  border: 1px solid rgba(var(--purpose-accent-rgb), 0.25);
  padding: 0.85rem 1.05rem 0.85rem 0.95rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  margin: 0;
}
.about-page .highlight-emoji {
  font-size: 1.45rem;
  line-height: 1;
}
.about-page .highlight-text {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--purpose-accent);
  letter-spacing: 0.01em;
  flex: 1;
}
.purpose-subtitle {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin: 0.2rem 0 -0.1rem;
  font-style: normal;
}
.about-page .purpose-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.about-page .purpose-paragraphs p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
.about-page .purpose-paragraphs p:last-child {
  margin: 0;
}
.about-page .purpose-closing {
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding-left: 0.9rem;
}

.about-page .purpose-closing::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--about-main-color);
  border-radius: 2px;
}

.purpose-image {
  position: relative;
  display: flex;
  align-items: center;
}
.purpose-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/4.6;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px -4px rgba(var(--purpose-accent-rgb), 0.28),
    0 2px 6px rgba(var(--purpose-accent-rgb), 0.25);
}
.purpose-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 1.1s cubic-bezier(0.16, 0.84, 0.44, 1), filter 0.6s ease;
}
.purpose-card:hover .purpose-image-wrapper img {
  transform: scale(1.06) translateY(-4px);
  filter: saturate(1.15) contrast(1.05);
}
.purpose-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(var(--purpose-accent-rgb), 0.28) 0%,
    rgba(var(--purpose-accent-rgb), 0.06) 55%,
    rgba(var(--purpose-accent-rgb), 0.18) 100%
  );
  mix-blend-mode: overlay;
  opacity: 0.55;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.purpose-card:hover .purpose-image-overlay {
  opacity: 0.7;
}

/* 旧深色复杂背景已移除，使用新极简深色块 */
[data-theme="dark"] .purpose-paragraphs p {
  color: #cdd2d9;
}
[data-theme="dark"] .purpose-subtitle {
  color: #b7bcc3;
}
[data-theme="dark"] .purpose-closing {
  color: #e5e9ef;
}
@media (max-width: 920px) {
  .purpose-card {
    grid-template-columns: 1fr;
  }
  .purpose-card .purpose-image-wrapper {
    aspect-ratio: 16/8.5;
    max-height: 280px;
  }
  .purpose-card .purpose-content {
    order: 2;
  }
  .purpose-card .purpose-image {
    order: 1;
  }
}
@media (max-width: 560px) {
  .purpose-card {
    padding: 1.25rem 1.05rem 1.6rem;
    border-radius: 18px;
  }
  .purpose-card .purpose-title {
    font-size: clamp(1.4rem, 1.05rem + 3vw, 1.95rem);
  }
  .purpose-card .purpose-chip {
    font-size: 0.63rem;
    padding: 4px 8px;
  }
  .purpose-card .purpose-highlight {
    flex-direction: row;
    align-items: flex-start;
  }
  .purpose-card .purpose-paragraphs p {
    font-size: 0.88rem;
  }
}

/* ============================================
   13. 技能与工具卡片 - 现代化重设计
   ============================================ */

/* 技能工具区域布局 */
.skills-tools-section {
  margin: var(--spacing-xl) 0;
}

/* 愿望清单布局 - 左右两列 */
.about-wishlist-row {
  display: flex;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  flex-wrap: nowrap; /* 强制不换行 */
}

.about-wishlist-row .wishlist-card {
  flex: 1 1 50%;
  min-width: 0; /* 允许缩小到任意尺寸 */
  max-width: none; /* 移除最大宽度限制 */
}

/* 兴趣爱好布局 - 单独一行全宽 */
.about-hobbies-row {
  display: flex;
  width: 100%;
  margin-bottom: var(--spacing-xl);
}

.about-hobbies-row .hobbies-card {
  width: 100%;
  max-width: none;
}

/* 传统布局保留 */
.about-flex-row {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
/* 现代化卡片基础样式 */
.about-card {
  flex: 1 1 320px;
  background: var(--color-background);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  transition: var(--card-transition);
  box-shadow: var(--card-shadow);
}

/* 为特定的wishlist卡片覆盖通用样式 */
.about-wishlist-row .about-card {
  min-width: 0;
  max-width: none;
  flex: 1 1 50%;
}

.about-page .about-card:hover {
  transform: scale(var(--card-hover-scale));
  box-shadow: var(--card-shadow-hover);
  border-color: var(--about-main-color);
}

/* 卡片装饰效果 */
.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  /* 简化顶部装饰，避免花哨效果 */
  background: none;
  opacity: 0;
  transition: none;
}

.about-page .about-card:hover::before {
  opacity: 0;
}
/* 卡片标题样式 */
.about-card-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--color-border);
  position: relative;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.about-card-label i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--about-main-color), #60a5fa);
  color: var(--color-text-inverse);
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(var(--trait-color-rgb, 1, 102, 204), 0.2);
}
/* 愿望清单样式重设计 */
.about-wishlist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs); /* 缩小项目间距 */
}

.about-wishlist-list li {
  display: flex;
  align-items: center;
  padding: var(--spacing-xs) var(--spacing-sm); /* 缩小内边距 */
  background: var(--color-background-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); /* 使用更小的圆角 */
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.about-wishlist-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--about-main-color), #60a5fa);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.about-wishlist-list li:hover {
  transform: scale(1.01);
  background: var(--color-background-light);
  border-color: var(--about-main-color);
  box-shadow: var(--card-shadow-hover);
}

.about-wishlist-list li:hover::before {
  transform: scaleY(1);
}

.about-wishlist-list li .wish-icon {
  font-size: 1.2rem; /* 缩小图标 */
  margin-right: var(--spacing-xs); /* 缩小右边距 */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; /* 缩小宽度 */
  height: 32px; /* 缩小高度 */
  border-radius: 50%;
  background: var(--color-background);
  border: 2px solid var(--color-border);
  transition: all 0.3s ease;
}

.about-wishlist-list li:hover .wish-icon {
  background: #fff;
  border-color: var(--about-main-color);
  transform: scale(1.05);
}

.about-wishlist-list li .wish-content {
  flex: 1;
  font-size: 0.85rem; /* 缩小文字 */
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3; /* 缩小行高 */
}

.about-wishlist-list li .wish-status {
  font-size: 0.7rem; /* 缩小状态标签文字 */
  padding: 1px 6px; /* 缩小内边距 */
  border-radius: 10px; /* 缩小圆角 */
  font-weight: 500;
  opacity: 0.9;
  transition: all 0.3s ease;
  /* 默认样式（未完成） */
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

/* 状态样式 - 未完成（默认黄色） */
.about-wishlist-list li .wish-status.pending {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fde68a;
}

/* 状态样式 - 进行中（蓝色） */
.about-wishlist-list li .wish-status.in-progress {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #93c5fd;
}

/* 状态样式 - 已完成（绿色） */
.about-wishlist-list li .wish-status.completed {
  background: #d1fae5;
  color: #059669;
  border: 1px solid #6ee7b7;
}

/* 深色模式下的状态样式 */
[data-theme="dark"] .about-wishlist-list li .wish-status.pending {
  background: rgba(217, 119, 6, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

[data-theme="dark"] .about-wishlist-list li .wish-status.in-progress {
  background: rgba(29, 78, 216, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(29, 78, 216, 0.3);
}

[data-theme="dark"] .about-wishlist-list li .wish-status.completed {
  background: rgba(5, 150, 105, 0.15);
  color: #34d399;
  border: 1px solid rgba(5, 150, 105, 0.3);
}

/* 状态标签悬停效果 */
.about-wishlist-list li:hover .wish-status {
  opacity: 1;
  transform: scale(1.05);
}

/* 状态标签小图标（可选增强） */
.about-wishlist-list li .wish-status::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
  transition: all 0.3s ease;
}

.about-wishlist-list li .wish-status.pending::before {
  background: #d97706;
}

.about-wishlist-list li .wish-status.in-progress::before {
  background: #1d4ed8;
  animation: statusPulse 2s ease-in-out infinite;
}

.about-wishlist-list li .wish-status.completed::before {
  background: #059669;
}

/* 进行中状态的脉冲动画 */
@keyframes statusPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

/* 已完成状态样式（移除右上角对号） */

/* 兴趣爱好现代化设计 */
.about-hobbies-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--spacing-md);
  animation: none; /* 移除自动滚动，改为静态网格 */
}

.about-hobbies-list li {
  display: flex;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
  min-height: 50px;
}

.about-hobbies-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.about-hobbies-list li:hover::before {
  left: 100%;
}

.about-hobbies-list li:hover {
  transform: scale(1.02);
  background: var(--color-background);
  color: var(--color-text);
  border-color: var(--about-main-color);
  box-shadow: var(--card-shadow-hover);
}

.about-hobbies-list li .hobby-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: var(--spacing-xs);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.about-hobbies-list li:hover .hobby-icon {
  background: rgba(59, 130, 246, 0.08) !important;
  transform: scale(1.05);
}
/* ============================================
   统一深色模式卡片样式
   ============================================ */
[data-theme="dark"] .content-box,
[data-theme="dark"] .mbti-card,
[data-theme="dark"] .traits-card,
[data-theme="dark"] .purpose-card,
[data-theme="dark"] .about-card {
  background: var(--color-background-light);
  border-color: var(--color-border);
}

[data-theme="dark"] .content-box:hover,
[data-theme="dark"] .mbti-card:hover,
[data-theme="dark"] .traits-card:hover,
[data-theme="dark"] .purpose-card:hover,
[data-theme="dark"] .about-card:hover {
  border-color: var(--about-main-color);
  background: var(--color-background-elevated);
}

/* 深色模式下，MBTI 卡片悬浮边框应使用人格色，而不是关于页主色 */
[data-theme="dark"] .mbti-card:hover {
  border-color: var(--mbti-accent) !important;
}

[data-theme="dark"] .about-card-label {
  color: var(--color-text);
}

[data-theme="dark"] .about-wishlist-list li {
  background: var(--color-background-light);
  border-color: var(--color-border);
}

[data-theme="dark"] .about-wishlist-list li:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: #3b82f6;
}

[data-theme="dark"] .about-wishlist-list li .wish-content {
  color: var(--color-text);
}

[data-theme="dark"] .about-hobbies-list li {
  background: var(--color-background-light);
  border-color: var(--color-border);
  color: var(--color-text);
}

[data-theme="dark"] .about-hobbies-list li:hover {
  background: var(--color-background-elevated);
  color: var(--color-text);
}

/* 额外的动画效果 */
@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wishItemSlide {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hobbyItemFloat {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statusGlow {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(var(--about-main-color), 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(var(--about-main-color), 0.6);
  }
}

/* 状态标签动画 */
.wish-status.in-progress {
  animation: statusGlow 2s ease-in-out infinite;
}

/* 卡片悬停时内容微动画 */
.about-page .about-card:hover .about-card-label i {
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* 改善可访问性 */
.about-card:focus-within {
  outline: 2px solid var(--about-main-color);
  outline-offset: 2px;
}

.about-wishlist-list li:focus,
.about-hobbies-list li:focus {
  outline: 2px solid var(--about-main-color);
  outline-offset: 2px;
}

/* 触摸设备优化 */
@media (hover: none) {
  .about-card:hover,
  .about-wishlist-list li:hover,
  .about-hobbies-list li:hover {
    transform: none;
  }

  .about-card:active {
    transform: scale(0.98);
  }
}

/* 响应式设计 */
@media (max-width: 900px) {
  .about-flex-row {
    flex-direction: column;
    gap: 20px;
  }
  .about-card {
    max-width: 100%;
    min-width: 0;

    width: 100%;
  }
}

@media (max-width: 768px) {
  .about-card {
    padding: var(--spacing-md);
  }

  .about-hobbies-list {
    gap: var(--spacing-xs);
  }

  .about-hobbies-list li {
    min-width: 100px;
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .about-wishlist-list li .wish-content {
    font-size: 0.9rem;
  }
}

@media (max-width: 700px) {
  .about-card {
    padding: 18px 10px 14px 10px;
    min-width: 0;
  }
  .about-wishlist-list li,

/* --- Hero 第一行双卡：文字尺寸与占用优化 --- */
.about-duo-cards--hero .about-card--left .line {
    margin: 0.15rem 0;
  }
  .about-duo-cards--hero .about-card--left .line.line-1 {
    font-size: 0.95rem;
    opacity: 0.9;
  }
  .about-duo-cards--hero .about-card--left .line.line-2 {
    font-size: 1rem;
  }
  .about-duo-cards--hero .about-card--left .typewriter {
    min-width: 6ch;
  }
  .about-duo-cards--hero .about-card--left .intro-bio {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted, rgba(0, 0, 0, 0.6));
    margin-top: 0.25rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2; /* 桌面端最多 2 行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  @media (max-width: 768px) {
    .about-duo-cards--hero .about-card--left .intro-bio {
      line-clamp: 3;
      -webkit-line-clamp: 3;
    }
  }
  .about-hobbies-list li {
    font-size: 0.85rem;
    min-width: 90px;
    padding: 6px 10px 6px 8px;
  }
  .about-hobbies-list {
    gap: 10px;
  }
}

/* ============================================
   14. 游戏和音乐卡片
   ============================================ */
.game-box,
.music-box {
  grid-column: 1 / -1;
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
  margin-bottom: 20px;
}

.game-box .section-title {
  display: none;
}

.game-box .section-content {
  padding: 0;
}

.game-grid {
  display: grid;
  /* 桌面端保持两列并列显示两个游戏卡片；移动端媒体查询中已降级为单列 */
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.game-card,
.music-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--card-shadow);
  transition: var(--card-transition);
  /* 预留透明边框，避免悬浮时新增边框导致的布局抖动或上移感 */
  border: var(--card-border);
  border-color: transparent;
  transform-origin: center;
}

.game-card {
  height: 280px;
  cursor: pointer;
}

.game-card:hover,
.music-card:hover {
  transform: scale(var(--card-hover-scale));
  box-shadow: var(--card-shadow-hover);
  /* 仅变更边框颜色，不新增边框，避免位移 */
  border-color: var(--about-main-color);
}

.music-card {
  height: 200px;
}

.music-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
}

.game-mask,
.music-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.game-mask {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.6) 70%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.music-mask {
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

[data-theme="dark"] .game-mask {
  background: linear-gradient(
    180deg,
    rgba(24, 24, 27, 0.95) 0%,
    rgba(24, 24, 27, 0.85) 100%
  );
}

[data-theme="dark"] .music-mask {
  background: linear-gradient(
    45deg,
    rgba(24, 24, 27, 0.7) 0%,
    rgba(24, 24, 27, 0.4) 50%,
    rgba(24, 24, 27, 0.7) 100%
  );
}

.game-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--spacing-lg);
  color: var(--color-text-inverse);
}

.game-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-inverse);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.game-logo i {
  color: #fbbf24;
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.game-info {
  margin-top: auto;
}

.game-meta {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.game-meta span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.game-meta span:first-child {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fbbf24;
}

.game-position {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.game-champions {
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
}

.champion-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.8);
  object-fit: cover;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.champion-avatar:hover {
  transform: scale(1.1);
  border-color: #fbbf24;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

/* PUBG卡片特殊样式 */
.game-card--pubg .game-logo i,
.game-card--pubg .game-meta span:first-child {
  color: #ff6b35;
}

/* 音乐卡片 */
.music-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  color: var(--color-text-inverse);
}

.music-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.music-content,
.music-info {
  flex: 1;
}

.music-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xs);
}

.music-row:last-child {
  margin-bottom: 0;
}

.music-row .label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  min-width: 50px;
  font-size: 0.9rem;
}

.music-row .value {
  color: var(--color-text-inverse);
  font-size: 0.95rem;
}

/* 音乐卡片：在较窄屏幕防止内容被裁切 */
@media (max-width: 880px) {
  .music-inner {
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md)
      var(--spacing-md);
  }
  .music-avatar {
    width: 68px;
    height: 68px;
  }
  .music-row .label {
    min-width: 44px;
    font-size: 0.85rem;
  }
  .music-row .value {
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .music-inner {
    flex-wrap: wrap; /* 允许换行 */
    align-items: flex-start;
  }
  .music-avatar {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    margin-bottom: 6px;
  }
  .music-content,
  .music-info {
    flex: 1 1 100%; /* 头像下方独占整行 */
    min-width: 0;
  }
  .music-row {
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .music-row .label {
    min-width: auto;
    font-size: 0.78rem;
    opacity: 0.9;
  }
  .music-row .value {
    font-size: 0.8rem;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .music-card {
    height: auto; /* 允许随内容伸展 */
    min-height: 160px;
  }
  .music-inner {
    padding: 14px 14px 16px;
    gap: 0.75rem;
  }
  .music-avatar {
    width: 58px;
    height: 58px;
  }
  .music-row .value {
    font-size: 0.78rem;
  }
}

/* ============================================
   15. 十年之约进度条
   ============================================ */
.decade-section,
.decade-bar,
.about-bottom-bar {
  margin-bottom: 0;
  text-align: center;
  width: 100%;
  position: relative;
  background: none;
}

.decade-bar-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.04rem;
  margin-bottom: 12px; /* 与进度条之间增加间距 */
}

.decade-bar-title {
  font-size: 1.12rem;
  color: #334155;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 20px;
  min-height: 32px;
}
.decade-bar-title i {
  font-size: 1.25em;
  color: var(--about-main-color);
  margin-right: 4px;
  margin-left: 2px;
}

.decade-bar-meta-right {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 20px;
}
.decade-bar-meta-right .decade-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.92rem;
  color: var(--about-main-color);
  background: #fff;
  font-weight: 500;
  border: 1.5px solid var(--about-main-color);
  border-radius: 16px;
  padding: 3px 14px 3px 10px;
  box-shadow: none;
  text-decoration: none !important;
  transition: background 0.16s, color 0.16s, border 0.16s;
  cursor: pointer;
}
.decade-bar-meta-right .decade-link i {
  font-size: 1.08em;
  margin-left: 4px;
  color: var(--about-main-color);
  opacity: 0.92;
  transition: color 0.16s;
}
.decade-bar-meta-right .decade-link:hover {
  color: var(--color-text-inverse);
  background: var(--about-main-color);
  border-color: var(--about-main-color);
  text-decoration: none !important;
}
.decade-bar-meta-right .decade-link:hover i {
  color: var(--color-text-inverse);
}
.decade-bar-meta-right .decade-days,
.decade-days {
  color: #334155;
  font-weight: 600;
}

.decade-bar-row {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin-bottom: 0;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.decade-bar-progress-wrap {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  padding-top: 8px; /* 与标题行之间增加上间距 */
}

/* 进度条下方标签（起止时间） */
.decade-bar-progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 改为 flex-start，让文字顶部对齐 */
  width: 100%;
  position: relative; /* 使用 relative 定位 */
  left: 0;
  top: -18px; /* 向上偏移，紧贴进度条 */
  margin-top: 0;
  pointer-events: none;
  z-index: 3;
  padding: 0 12px;
  font-size: 0.83rem;
  line-height: 1.2;
  min-height: 18px;
}

.decade-date.start,
.decade-date.end {
  font-size: 0.8rem;
  color: var(--color-text-light);
  min-width: 44px;
  text-align: center;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: static;
  line-height: 1.1;
  letter-spacing: 0.01em;
  opacity: 0.92;
}

.decade-days-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--about-main-color);
  margin: 0 6px;
  letter-spacing: 0.01em;
  background: none;
  border-radius: 0.5em;
  box-shadow: none;
  pointer-events: auto;
}
.decade-days-label .days-left {
  font-size: 1.12em;
  font-weight: 800;
  color: var(--about-main-color);
}

/* 进度条本体 */
.decade-progress.bar-full,
.decade-progress.minimal {
  width: 100%;
  height: 36px;
  background: var(--color-border);
  border-radius: 0;
  position: relative;
  overflow: hidden;
  min-width: 120px;
  display: flex;
  align-items: center;
  box-shadow: none;
  margin-bottom: 32px;
}

.decade-fill {
  height: 100%;
  background: var(--about-main-color);
  border-radius: 0;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 0;
  animation: decade-bar-grow 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.decade-fill.full {
  background: linear-gradient(90deg, #22c55e 30%, #16a34a 70%, #22c55e 100%);
  background-size: 200% 100%;
  animation: decade-bar-green-move 2.2s linear infinite;
}

@keyframes decade-bar-grow {
  from {
    width: 0;
  }
  to {
    width: var(--decade-bar-width, 0%);
  }
}
@keyframes decade-bar-green-move {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.decade-percent-inside {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-text-inverse);
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* 进度条内右侧剩余天数 */
.decade-days-label.inside-bar {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--about-main-color);
  background: rgba(255, 255, 255, 0.13);
  border-radius: 0.5em;
  padding: 2px 10px 2px 12px;
  z-index: 2;
  box-shadow: none;
  pointer-events: auto;
  white-space: nowrap;
  transition: background 0.2s;
  opacity: 0.98;
}
.decade-days-label.inside-bar .days-left {
  font-size: 1.13em;
  font-weight: 800;
  color: var(--about-main-color);
}
@media (max-width: 600px) {
  .decade-bar-progress-labels {
    position: static; /* 覆盖此前 top 偏移，确保在条下方 */
    top: auto;
    font-size: 0.72rem;
    padding: 0 2px;
    min-height: 14px;
    margin-top: 6px;
  }
  .decade-date.start,
  .decade-date.end {
    font-size: 0.62rem;
    min-width: 28px;
  }
  .decade-days-label {
    font-size: 0.82rem;
    min-width: 40px;
    margin: 0 1px;
  }
  .decade-progress.bar-full,
  .decade-progress.minimal {
    margin-bottom: 0; /* 由 labels 控制与下方间距 */
  }
  .decade-days-label.inside-bar {
    font-size: 0.84rem;
    right: 2px;
    padding: 1px 3px 1px 4px;
  }
}
@media (max-width: 400px) {
  .decade-bar-progress-labels {
    position: static;
    top: auto;
    font-size: 0.6rem;
    padding: 0;
    min-height: 10px;
    margin-top: 4px;
  }
  .decade-date.start,
  .decade-date.end {
    font-size: 0.5rem;
    min-width: 18px;
  }
  .decade-days-label.inside-bar {
    font-size: 0.7rem;
    right: 0;
    padding: 0 1px 0 1px;
  }
}
.decade-percent-inside.full {
  text-shadow: 0 1px 6px rgba(34, 197, 94, 0.18);
}

/* 响应式优化 */
@media (max-width: 600px) {
  .decade-bar-progress-labels {
    margin-bottom: 4px;
  }
  .decade-date.start,
  .decade-date.end {
    font-size: 0.68rem;
    min-width: 36px;
  }
  .decade-days-label {
    font-size: 0.88rem;
    min-width: 60px;
    margin: 0 4px;
  }
}

/* ============================================
   16. 响应式设计
   ============================================ */
@keyframes decade-bar-grow {
  from {
    width: 0;
  }
  to {
    width: var(--decade-bar-width, 0%);
  }
}

@media (max-width: 1200px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .about-stats-card {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .about-stats-card {
    width: 100%;
    padding: 16px;
  }

  .about-stats-card .stats-summary {
    gap: 12px;
  }

  .about-stats-card .summary-item {
    padding: 12px 8px;
  }

  .about-stats-card .summary-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 6px;
  }

  .about-stats-card .summary-icon i {
    font-size: 1rem;
  }

  .about-stats-card .summary-label {
    font-size: 0.7rem;
  }

  .about-stats-card .summary-value {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .about-stats-card .stats-summary {
    flex-direction: column;
    gap: 8px;
  }

  .about-stats-card .summary-item {
    flex-direction: row;
    padding: 12px 16px;
    justify-content: flex-start;
  }

  .about-stats-card .summary-icon {
    margin-bottom: 0;
    margin-right: 12px;
  }

  .about-stats-card .summary-content {
    flex-direction: row;
    justify-content: space-between;
    flex: 1;
    gap: 8px;
  }

  .about-stats-card .summary-label,
  .about-stats-card .summary-value {
    text-align: left;
  }
}

@media (max-width: 1024px) {
  .content-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trait-row {
    gap: 0.8rem;
  }

  .trait-meta {
    min-width: 3.5rem;
    font-size: 0.95em;
  }

  .trait-label,
  .trait-label-right {
    width: 70px;
  }

  .trait-bar {
    width: 180px;
  }
}

@media (max-width: 768px) {
  .about-page {
    margin: 12px;
    border-radius: 0;
  }

  .about-hero {
    padding: var(--spacing-lg) 0;
  }

  .about-section {
    padding: 0 16px 32px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .game-card {
    height: 240px;
  }

  .game-content {
    padding: 20px;
  }

  .game-logo {
    font-size: 1.3rem;
  }

  .game-logo i {
    font-size: 1.5rem;
  }

  .champion-avatar {
    width: 36px;
    height: 36px;
  }

  .music-card {
    height: 160px;
  }

  .music-inner {
    padding: 20px;
    gap: 16px;
    flex-direction: column;
    text-align: center;
  }

  .music-avatar {
    width: 60px;
    height: 60px;
  }

  .music-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .music-row .label {
    min-width: auto;
    font-size: 0.8rem;
  }

  .music-row .value {
    font-size: 0.85rem;
  }

  /* Hero 统计卡片：移动端占满宽度（全局样式已统一基础 padding/圆角） */
  .about-stats-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  /* 人格特征：条目在小屏更自适应 */
  .traits-card {
    padding: 16px;
  }
  .trait-row {
    gap: 0.5rem;
  }
  .trait-bar-wrap {
    flex: 1 1 auto;
    min-width: 0; /* 允许子项收缩，避免溢出 */
    justify-content: space-between;
  }
  .trait-bar {
    flex: 1 1 auto;
    width: auto; /* 由可用空间决定宽度 */
    min-width: 120px; /* 过窄时给一个下限 */
  }
  .trait-label,
  .trait-label-right {
    width: auto; /* 不强制固定宽度 */
    min-width: 44px; /* 仍保留最小可读宽度 */
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .about-hero .page-title {
    font-size: 1.75rem;
  }

  .hero-text {
    font-size: 0.875rem;
  }

  .hero-inner {
    padding: 0 16px;
  }

  .section-title {
    font-size: 1rem;
    padding: 16px 20px;
  }

  .section-content {
    padding: 16px 20px;
  }

  .traits-chip {
    top: 2px;
    right: 10px;
    font-size: 0.7rem;
  }

  .trait-row {
    gap: 0.6rem;
  }

  .trait-meta {
    min-width: 3rem;
    font-size: 0.9em;
  }

  .trait-label,
  .trait-label-right {
    min-width: 1.8em;
    font-size: 0.9em;
    width: 60px;
  }

  .trait-bar {
    width: 150px;
  }

  .trait-value {
    font-size: 8px;
    width: 22px;
    height: 22px;
    min-width: 22px;
    right: -13px;
    letter-spacing: -0.2px;
  }

  .trait-desc-tooltip {
    max-width: 200px;
    font-size: 0.9em;
  }
}

/* 额外的小屏覆盖：使特征条在极窄屏幕也能铺满容器 */
@media (max-width: 480px) {
  .about-stats-card {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .trait-bar-wrap {
    gap: 0.5rem;
  }
  .trait-bar {
    flex: 1 1 auto;
    width: auto; /* 覆盖此前固定的150px */
    min-width: 100px;
  }
  .trait-label,
  .trait-label-right {
    min-width: 40px;
  }
}

/* ============================================
   17. 深色模式补充（仅必要的覆盖）
   ============================================ */
[data-theme="dark"] .highlight-card {
  background: var(--color-background);
  border-color: var(--color-border);
}

[data-theme="dark"] .highlight-title {
  color: var(--color-text);
}

[data-theme="dark"] .highlight-list li {
  color: var(--color-text-light);
  border-bottom-color: var(--color-border);
}

[data-theme="dark"] .decade-title {
  color: var(--color-text);
}

[data-theme="dark"] .decade-percent {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

[data-theme="dark"] .decade-legend {
  color: var(--color-text-light);
}

[data-theme="dark"] .remain {
  color: var(--color-text);
}

/* ============================================
   18. 愿望清单和兴趣爱好响应式补充
   ============================================ */
@media (max-width: 900px) {
  .about-wishlist-row {
    flex-wrap: wrap; /* 在中等屏幕允许换行 */
  }

  .about-wishlist-row .wishlist-card {
    min-width: 280px; /* 设置最小宽度避免过小 */
  }
}

@media (max-width: 768px) {
  .about-wishlist-row {
    flex-direction: column;
    gap: var(--spacing-md);
    flex-wrap: nowrap; /* 垂直布局时不需要换行 */
  }

  .about-wishlist-row .wishlist-card {
    flex: 1 1 100%;
    min-width: unset;
  }

  .about-hobbies-list {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-sm);
  }

  .about-hobbies-list li {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.85rem;
    min-height: 45px;
  }

  .about-hobbies-list li .hobby-icon {
    width: 24px;
    height: 24px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .about-hobbies-list {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .about-hobbies-list li {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.8rem;
    min-height: 40px;
  }

  .about-hobbies-list li .hobby-icon {
    width: 20px;
    height: 20px;
    font-size: 0.9rem;
    margin-right: 6px;
  }
}

.purpose-paragraphs p:empty::before {
  display: none !important;
}
.purpose-paragraphs p.purpose-closing::before {
  display: none !important;
}
@supports not (selector(:has(*))) {
  .purpose-paragraphs p:empty::before {
    display: none !important;
  }
}
@media (max-width: 680px) {
  .purpose-paragraphs p:not(.purpose-closing)::before {
    left: -0.9rem;
    top: 0.85em;
  }
}

/* === Rebuild Override: Purpose paragraphs green dot (final unified) === */
.purpose-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.purpose-paragraphs p {
  position: relative;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}
:root,
.about-page {
  --purpose-line-dot-color: var(--about-main-color);
}
.purpose-paragraphs p:not(.purpose-closing)::before {
  content: "";
  position: absolute;
  left: -0.95rem;
  top: 0.9em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purpose-line-dot-color);
  opacity: 0;
  transform: translateY(-50%) scale(0.55);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.purpose-paragraphs p:hover:not(.purpose-closing)::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.purpose-paragraphs p:empty::before,
.purpose-paragraphs p.purpose-closing::before {
  display: none !important;
}
@supports not (selector(:has(*))) {
  .purpose-paragraphs p:empty::before {
    display: none !important;
  }
}
@media (max-width: 680px) {
  .purpose-paragraphs p:not(.purpose-closing)::before {
    left: -0.8rem;
  }
}

/* =============== FINAL OVERRIDE: Purpose heading inline subtitle (moved here) =============== */
.purpose-card .purpose-header {
  gap: 0.75rem;
  align-items: flex-start;
}
.purpose-card .purpose-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  column-gap: 1rem;
}
.purpose-card .purpose-heading .purpose-title {
  margin: 0;
  background: none !important;
  background-clip: initial;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: currentColor;
  padding: 0;
  box-shadow: none;
}
.purpose-card .purpose-heading .purpose-title-prefix {
  color: #f5b400 !important;
  font-size: 1.1em;
  margin-right: 0.35em;
  background: none;
  box-shadow: none;
  width: auto;
  height: auto;
  border-radius: 0;
}
.purpose-card .purpose-heading .purpose-subtitle-inline {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--about-main-color, #444);
  line-height: 1.4;
  position: relative;
}
[data-theme="dark"] .purpose-card .purpose-heading .purpose-subtitle-inline {
  color: #ddd;
  opacity: 0.85;
}
/* 隐藏旧块形式副标题 */
.purpose-card .purpose-text .purpose-subtitle {
  display: none !important;
}
/* 去掉原彩色左边框 */
.purpose-card .purpose-title {
  border-left: none !important;
  padding-left: 0 !important;
}
@media (max-width: 640px) {
  .purpose-card .purpose-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .purpose-card .purpose-heading .purpose-subtitle-inline {
    margin-top: 0.25rem;
  }
}
.purpose-card .purpose-text {
  margin-top: 0.75rem;
}
/* =============== END FINAL OVERRIDE: Purpose heading inline subtitle =============== */

/* =============== Override: Purpose heading separator & closing cleanup =============== */
.purpose-card .purpose-heading .purpose-separator {
  font-size: 1rem;
  color: var(--about-main-color, #666);
  opacity: 0.6;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
[data-theme="dark"] .purpose-card .purpose-heading .purpose-separator {
  color: #bbb;
  opacity: 0.5;
}
/* 标题与副标题基线对齐 */
.purpose-card .purpose-heading {
  align-items: baseline;
}
.purpose-card .purpose-heading .purpose-title {
  display: inline-flex;
  align-items: baseline;
}
.purpose-card .purpose-heading .purpose-subtitle-inline {
  align-self: baseline;
}
/* 去掉 closing 行侧边色块（如果之前通过伪元素或边框实现，此处强制清除） */
.purpose-paragraphs p.purpose-closing {
  position: relative;
  padding-left: 0;
  border-left: none !important;
}
.purpose-paragraphs p.purpose-closing::before {
  display: none !important;
}
.purpose-paragraphs p.purpose-closing i {
  margin-right: 0.4em;
  color: #f5b400;
}
/* =============== END Override: Purpose heading separator & closing cleanup =============== */
/* === Enhancement: Solid vertical bar for closing line === */
.purpose-paragraphs p.purpose-closing {
  padding-left: 14px;
}
.purpose-paragraphs p.purpose-closing::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  background: var(--about-main-color, #4298b4);
  border-radius: 0;
  box-shadow: none;
  opacity: 0.9;
}
[data-theme="dark"] .purpose-paragraphs p.purpose-closing::after {
  background: rgba(var(--about-main-color-rgb), 0.85);
  opacity: 1;
}
/* =============== Star prefix subtle animation (after chip removal) =============== */
@keyframes starPulseRotate {
  0% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }
  40% {
    transform: scale(1.08) rotate(7deg);
    filter: brightness(1.18);
  }
  60% {
    transform: scale(1.08) rotate(-7deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }
}
.purpose-card .purpose-title-prefix {
  animation: starPulseRotate 5s ease-in-out infinite;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.purpose-card .purpose-title-prefix:hover {
  transform: scale(1.18) rotate(12deg);
  filter: brightness(1.25);
}
@media (prefers-reduced-motion: reduce) {
  .purpose-card .purpose-title-prefix {
    animation: none;
  }
}
/* =============== END Star prefix subtle animation =============== */

/* ========== FINAL OVERRIDE: Halo target style for title prefix + White card title background ========== */
/* 1. Disable old star animation when using halo modifier */
.purpose-card .purpose-title-prefix.purpose-title-prefix--halo {
  animation: none !important;
}

/* 2. Base sizing & layout */
.purpose-card .purpose-title-prefix--halo {
  position: relative;
  /* 改用相对尺寸，随标题字体缩放，避免固定 px 导致基线错位 */
  width: 1.35em;
  height: 1.35em;
  font-size: 0; /* 隐藏原内容 */
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.45rem;
  vertical-align: middle;
  top: 0.05em; /* 轻微向下校正，抵消环线光晕视觉居中偏上 */
}

/* 3. Core dot */
.purpose-card .purpose-title-prefix--halo::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.38em; /* 与整体缩放相匹配 */
  height: 0.38em;
  border-radius: 50%;
  background: var(--about-main-color, #4298b4);
  box-shadow: 0 0 0 0.18em rgba(var(--about-main-color-rgb), 0.25),
    0 0 0 0.36em rgba(var(--about-main-color-rgb), 0.12);
  z-index: 2;
}

/* 4. Inner ring */
.purpose-card .purpose-title-prefix--halo::after {
  content: "";
  position: absolute;
  width: 0.95em;
  height: 0.95em;
  border-radius: 50%;
  border: 0.12em solid rgba(var(--about-main-color-rgb), 0.45);
  z-index: 1;
  box-shadow: 0 0 0 0.05em rgba(255, 255, 255, 0.5);
  animation: haloSpin 8s linear infinite;
}

/* 5. Expanding breathing halos (two layers for depth) */
.purpose-card .purpose-title-prefix--halo .halo-pulse,
.purpose-card .purpose-title-prefix--halo .halo-pulse2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--about-main-color-rgb), 0.42) 0%,
    rgba(var(--about-main-color-rgb), 0.2) 38%,
    rgba(var(--about-main-color-rgb), 0) 70%
  );
  opacity: 0;
  animation: haloBreath 3.2s ease-in-out infinite;
  mix-blend-mode: plus-lighter;
  transform-origin: 50% 50%;
}
.purpose-card .purpose-title-prefix--halo .halo-pulse2 {
  animation-delay: 1.8s; /* stagger */
}

@keyframes haloBreath {
  0% {
    transform: scale(0.55);
    opacity: 0;
  }
  10% {
    opacity: 0.75;
  }
  45% {
    opacity: 0.3;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
@keyframes haloSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 6. Hover emphasis */
.purpose-card .purpose-title-prefix--halo:hover::before {
  box-shadow: 0 0 0 2px rgba(var(--about-main-color-rgb), 0.4),
    0 0 0 6px rgba(var(--about-main-color-rgb), 0.22),
    0 0 0 10px rgba(var(--about-main-color-rgb), 0.1);
}
.purpose-card .purpose-title-prefix--halo:hover .halo-pulse,
.purpose-card .purpose-title-prefix--halo:hover .halo-pulse2 {
  animation-duration: 3s;
  filter: brightness(1.05);
}

/* 7. Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .purpose-card .purpose-title-prefix--halo::after,
  .purpose-card .purpose-title-prefix--halo .halo-pulse,
  .purpose-card .purpose-title-prefix--halo .halo-pulse2 {
    animation: none;
  }
  .purpose-card .purpose-title-prefix--halo {
    font-size: 0; /* keep hidden star */
  }
}

/* 8. Restore white background card style around the title (content width) */
.purpose-card .purpose-heading .purpose-title {
  position: relative;
  background: #ffffff !important;
  padding: 6px 14px 8px 10px !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px -6px rgba(var(--about-main-color-rgb), 0.35),
    0 2px 4px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  gap: 4px;
}
.purpose-card .purpose-heading .purpose-title::after {
  /* subtle sheen */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0) 65%
  );
  pointer-events: none;
  mix-blend-mode: overlay;
  border-radius: inherit;
}

/* dark mode card */
[data-theme="dark"] .purpose-card .purpose-heading .purpose-title {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(6px) saturate(160%);
  -webkit-backdrop-filter: blur(6px) saturate(160%);
  box-shadow: 0 4px 16px -6px rgba(var(--about-main-color-rgb), 0.55),
    0 2px 5px rgba(0, 0, 0, 0.55);
}
[data-theme="dark"] .purpose-card .purpose-heading .purpose-title::after {
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0) 70%
  );
}

/* spacing adjustments */
.purpose-card .purpose-heading {
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
}

/* subtitle color readability over white */
.purpose-card .purpose-heading .purpose-subtitle-inline {
  color: var(--color-text-secondary, #555);
}
[data-theme="dark"] .purpose-card .purpose-heading .purpose-subtitle-inline {
  color: #d8d8d8;
}

/* Ensure old gradient / transparent text styles are reset */
.purpose-card .purpose-heading .purpose-title,
.purpose-card .purpose-heading .purpose-title * {
  -webkit-text-fill-color: currentColor;
}

/* 9. Optional subtle entrance for halo (non-essential) */
@keyframes haloAppear {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.purpose-card .purpose-title-prefix--halo {
  animation: haloAppear 0.45s ease-out;
}

/* 10. Utility: allow injecting extra halo layers dynamically if needed */
.purpose-title-prefix--halo[data-extra="2"] .halo-pulse2 {
  animation-delay: 0.9s;
}

/* END FINAL OVERRIDE */

/* === Consolidated FINAL ALIGN + INLINE STRUCTURE (purpose heading) === */
/* 统一：一个 place，避免多段 override 互相覆盖导致错位 */
.purpose-card .purpose-heading {
  --purpose-title-lh: 1.22; /* 行高变量方便统一调节 */
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
}
.purpose-card .purpose-heading .purpose-title {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  line-height: var(--purpose-title-lh);
  padding: 6px 14px 8px 10px !important; /* 与白底卡片保持一致 */
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.purpose-card .purpose-heading .purpose-title > .purpose-title-prefix--halo {
  position: relative;
  top: 0.05em; /* 同步与前面定义保持 */
  flex: 0 0 auto;
}
.purpose-card .purpose-heading .purpose-title .purpose-title-text-main {
  font-weight: 600;
  line-height: var(--purpose-title-lh);
}
.purpose-card .purpose-heading .purpose-title .purpose-inline-sep {
  opacity: 0.55;
  margin: 0 0.15rem;
  line-height: var(--purpose-title-lh);
}
.purpose-card .purpose-heading .purpose-subtitle-inline {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--about-main-color, #555);
  line-height: var(--purpose-title-lh);
  display: inline-block;
  white-space: nowrap;
  margin: 0;
  padding: 0;
}
.purpose-card .purpose-heading .purpose-separator {
  font-size: 1rem;
  line-height: var(--purpose-title-lh);
  align-self: center;
  opacity: 0.55;
}
@media (max-width: 820px) {
  .purpose-card .purpose-heading {
    flex-wrap: wrap;
  }
  .purpose-card .purpose-heading .purpose-title {
    white-space: normal;
    flex-wrap: wrap;
  }
  .purpose-card .purpose-heading .purpose-subtitle-inline {
    white-space: normal;
    margin-top: 4px;
  }
}
@media (max-width: 520px) {
  .purpose-card .purpose-heading .purpose-title {
    padding: 6px 12px 8px 9px !important;
  }
}
[data-theme="dark"] .purpose-card .purpose-heading .purpose-subtitle-inline {
  color: #d8d8d8;
}
/* 兼容：若存在旧选择器 residual baseline 强制 */
.purpose-card .purpose-heading .purpose-title,
.purpose-card .purpose-heading .purpose-subtitle-inline,
.purpose-card .purpose-heading .purpose-inline-sep {
  vertical-align: baseline;
}
/* === END Consolidated FINAL ALIGN === */

/* ==== AVATAR RING ROTATION (Consolidated) ==== */
@keyframes avatarRingSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-page .avatar-ring {
    animation: none !important;
  }
}
/* ========================================= */

/* === HERO HOBBIES TAGS (迁移后新样式) === */
.hero-hobbies {
  margin-top: 1rem;
}
.hero-hobby-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
  align-items: center;
}
.hero-hobby-chip {
  --chip-bg: var(--hobby-color, #60a5fa);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35em 0.75em 0.38em 0.55em;
  font-size: 0.78rem;
  line-height: 1.15;
  font-weight: 500;
  background: linear-gradient(
    135deg,
    rgba(var(--about-main-color-rgb), 0.08),
    rgba(var(--about-main-color-rgb), 0.02)
  );
  border: 1px solid rgba(var(--about-main-color-rgb), 0.25);
  border-radius: 999px;
  color: var(--color-text, #1a1f29);
  backdrop-filter: blur(2px) saturate(140%);
  -webkit-backdrop-filter: blur(2px) saturate(140%);
  box-shadow: 0 2px 5px -2px rgba(var(--about-main-color-rgb), 0.25),
    0 1px 2px rgba(0, 0, 0, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  cursor: default;
  user-select: none;
}
.hero-hobby-chip .chip-emoji {
  font-size: 0.95em;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}
.hero-hobby-chip .chip-text {
  white-space: nowrap;
}
.hero-hobby-chip:hover {
  background: linear-gradient(
    135deg,
    rgba(var(--about-main-color-rgb), 0.16),
    rgba(var(--about-main-color-rgb), 0.04)
  );
  box-shadow: 0 3px 10px -4px rgba(var(--about-main-color-rgb), 0.45),
    0 2px 4px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .hero-hobby-chip:hover {
    transform: none;
  }
}
[data-theme="dark"] .hero-hobby-chip {
  color: #e7e9ed;
  border-color: rgba(var(--about-main-color-rgb), 0.45);
  background: linear-gradient(
    140deg,
    rgba(var(--about-main-color-rgb), 0.22),
    rgba(var(--about-main-color-rgb), 0.08)
  );
  box-shadow: 0 2px 6px -3px rgba(var(--about-main-color-rgb), 0.6),
    0 1px 2px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .hero-hobby-chip:hover {
  background: linear-gradient(
    140deg,
    rgba(var(--about-main-color-rgb), 0.35),
    rgba(var(--about-main-color-rgb), 0.12)
  );
  box-shadow: 0 4px 14px -5px rgba(var(--about-main-color-rgb), 0.75),
    0 2px 6px rgba(0, 0, 0, 0.55);
}
.hero-hobbies.is-collapsible {
  position: relative;
  max-height: 124px;
  overflow: hidden;
}
.hero-hobbies.is-collapsible::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
}
[data-theme="dark"] .hero-hobbies.is-collapsible::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #0f1419);
}
/* === END HERO HOBBIES TAGS === */
/* ============================================
   About 页面深色模式补充适配
   ============================================ */

/* 页面主容器 */
[data-theme="dark"] .about-page {
  --color-background: #0f172a;
  --color-background-light: #1e293b;
  --color-border: #334155;
  --color-text: #f1f5f9;
  --color-text-secondary: #cbd5e1;
}

/* About Section */
[data-theme="dark"] .about-section {
  background: #0f172a;
}

/* About Container */
[data-theme="dark"] .about-container {
  background: transparent;
}

/* Purpose Card */
[data-theme="dark"] .about-page .purpose-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .about-page .purpose-card:hover {
  background: #293548;
  border-color: #475569;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .about-page .purpose-title {
  color: #f1f5f9;
}

[data-theme="dark"] .about-page .purpose-text {
  color: #cbd5e1;
}

[data-theme="dark"] .about-page .purpose-text p {
  color: #cbd5e1;
}

/* Wishlist Cards */
[data-theme="dark"] .about-page .wishlist-card {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .about-page .wishlist-card:hover {
  background: #293548;
  border-color: #475569;
}

[data-theme="dark"] .about-page .about-card-label {
  color: #f1f5f9;
}

[data-theme="dark"] .about-page .about-wishlist-list li {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  border-color: #334155;
}

[data-theme="dark"] .about-page .about-wishlist-list li:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #475569;
}

/* Game Cards */
[data-theme="dark"] .about-page .game-card {
  border-color: #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .about-page .game-card:hover {
  border-color: #475569;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .about-page .game-card::before {
  background: rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .about-page .game-card:hover::before {
  background: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .about-page .game-card .game-title {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .about-page .game-card .game-info {
  color: #e2e8f0;
}

/* Music Card */
[data-theme="dark"] .about-page .music-card {
  border-color: #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .about-page .music-card:hover {
  border-color: #475569;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .about-page .music-card::before {
  background: rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .about-page .music-card:hover::before {
  background: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .about-page .music-card .music-title {
  color: #ffffff;
}

[data-theme="dark"] .about-page .music-card .music-artist {
  color: #e2e8f0;
}

[data-theme="dark"] .about-page .music-quote {
  color: #cbd5e1;
}

/* Decade Section - 移除特殊背景色，统一使用页面背景 */
[data-theme="dark"] .about-page .decade-section {
  /* background: #1e293b; */ /* 注释掉，使用和上面一样的背景 */
  /* border-color: #334155; */
}

[data-theme="dark"] .about-page .decade-bar-progress-labels {
  color: #cbd5e1;
}

[data-theme="dark"] .about-page .decade-bar-label {
  color: #f1f5f9;
}

/* About Cards */
[data-theme="dark"] .about-page .about-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .about-page .about-card:hover {
  background: #293548;
  border-color: #475569;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* MBTI Cards */
[data-theme="dark"] .about-page .mbti-card {
  background: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .about-page .mbti-card:hover {
  background: #293548;
}

[data-theme="dark"] .about-page .mbti-letter {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
  border-color: #475569;
}

[data-theme="dark"] .about-page .mbti-label {
  color: #cbd5e1;
}

/* Traits */
[data-theme="dark"] .about-page .trait-label {
  color: #cbd5e1;
}

[data-theme="dark"] .about-page .trait-bar {
  background: #334155;
}

[data-theme="dark"] .about-page .trait-fill {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

/* Rotating Cards */
[data-theme="dark"] .about-page .about-card--rotating {
  background: #1e293b;
  border-color: #334155;
}

/* Timeline */
[data-theme="dark"] .about-page .timeline-item {
  border-color: #334155;
}

[data-theme="dark"] .about-page .timeline-item::before {
  background: #475569;
}

[data-theme="dark"] .about-page .timeline-year {
  color: #f1f5f9;
}

[data-theme="dark"] .about-page .timeline-content {
  color: #cbd5e1;
}

/* Hobbies Chips */
[data-theme="dark"] .about-page .hero-hobby-chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}

[data-theme="dark"] .about-page .hero-hobby-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Ring Text */
[data-theme="dark"] .about-page .ring-text {
  fill: #f1f5f9;
}

/* 移动端 Hero 简化 - 只显示背景图和标题 */
@media (max-width: 768px) {
  /* 简化 Hero 区域 */
  .about-hero {
    min-height: 180px !important;
    padding: 20px 0 !important;
  }

  /* 隐藏所有 hero-block，只显示标题 */
  .about-hero .hero-block {
    display: none !important;
  }

  /* 只显示标题区块 */
  .about-hero .hero-title-block {
    display: flex !important;
    justify-content: center;
    align-items: center;
    grid-column: 1 / -1 !important; /* 占满整行 */
  }

  /* 标题居中显示 */
  .about-hero .page-title,
  .about-hero h1 {
    text-align: center;
    margin: 0 auto;
    padding: 0 16px;
    font-size: 1.5rem;
  }

  /* Hero 内容区简化 */
  .about-hero .hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 0 16px;
  }

  /* 保持背景图显示 */
  .about-hero.hero-bg-animated {
    background-size: cover;
    background-position: center;
  }
}

/* 移动端 Hero 标题完美居中（增强版 - 垂直+水平） */
@media (max-width: 768px) {
  /* Hero 最外层 - Flexbox 垂直水平居中 */
  .about-hero,
  .vm-hero,
  .feeds-hero,
  .links-hero,
  .archive-hero,
  .posts-list-hero,
  .theme-info-hero {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Hero 容器层 - 继续居中传递 */
  .hero-container,
  .vm-hero-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
  }

  /* Hero 内层 - 确保居中 */
  .hero-inner,
  .vm-hero-inner,
  .hero-grid {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
  }

  /* Hero 内容区 - 最终居中层 */
  .hero-content,
  .vm-hero-content,
  .about-hero-content,
  .hero-title,
  .hero-title-block {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
  }

  /* 标题本身 - 完美居中 */
  .page-title,
  .vm-page-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
  }
}
