:root {
  /* 颜色：整体深色背景 + 高对比黑白文字 */
  --color-bg: #00041a;
  --color-bg-elevated: #050922;
  --color-bg-soft: #0b1028;
  --color-border-subtle: #262938;
  --color-text: #f5f5f7;
  --color-text-muted: #9fa2b2;
  --color-accent: #ffffff;
  --color-accent-soft: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 18px 60px rgba(0, 0, 0, 0.65);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-full: 999px;
  --container-max-width: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  /* 所有页面统一使用同一深色背景 */
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

main {
  padding-top: 72px; /* 为固定导航预留空间 */
}

/* 公共容器与版心 */
.section {
  padding-inline: 20px;
}

.section--padded {
  padding-block: 64px;
}

.section--no-padding-top {
  padding-inline: 0;
  padding-bottom: 48px;
}

.section--border-top {
  border-top: 1px solid var(--color-border-subtle);
}

.section__inner {
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.section__title {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 带分类按钮的标题行布局 */
.section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section__header .section__title {
  margin: 0;
}

.section__text {
  margin: 0 0 16px;
  line-height: 1.7;
  font-size: 15px;
}

.section__text--muted {
  color: var(--color-text-muted);
}

/* 顶部导航 */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(22px);
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 0.96),
    rgba(5, 6, 8, 0.88),
    rgba(5, 6, 8, 0.85),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header__inner {
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo img {
  height: 32px;
  width: auto;
  border-radius: 999px;
}

.site-header__nav {
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 14px;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav-links a:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a[aria-current="page"] {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.12);
}

/* Hero 区域（首页） */
.hero {
  position: relative;
  padding-block: 32px 40px;
  padding-inline: 0;
  min-height: auto;
}

/* 让首页首图与下方文字左右边缘对齐，并放大高度 */
.hero--home {
  /* 只展示原图本身，不叠加任何底色或渐变 */
  background-image: url("page0.png");
  background-size: contain; /* 确保整张图完整显示 */
  background-position: top center;
  background-repeat: no-repeat;
  max-width: var(--container-max-width);
  margin-inline: auto;
  min-height: 70vh; /* 放大首页首图的可视高度 */
}

.hero__overlay {
  max-width: var(--container-max-width);
  width: 100%;
  text-align: left;
}

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero__subtitle {
  margin: 0 0 28px;
  max-width: 460px;
  line-height: 1.8;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.hero__scroll {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(5, 6, 8, 0.7);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero__scroll-arrow {
  font-size: 14px;
}

/* 浮动在首页底图右下角的 Scroll 按钮 */
.hero__scroll--floating {
  position: absolute;
  right: 64px;
  bottom: 120px; /* 往上一些，叠加在首图上 */
}

/* About 页面布局：文字在左，照片在右 */
.about-page {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-end; /* 底部对齐 */
}

.about-page__left {
  flex: 1;
  max-width: 50%; /* 进一步缩短文字段落宽度 */
}

.about-page__text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-page__right {
  flex-shrink: 0;
  width: 200px; /* 缩小照片 */
  margin-left: auto; /* 照片往右移，右边缘与容器右边缘对齐（与导航栏内容区域右边缘对齐） */
}

.about-page__photo {
  width: 100%;
  height: auto;
  display: block; /* 去掉所有图片效果 */
}

/* 首页 slogan 区域（单独一块，避免遮挡背景图片文字） */
.section--slogan {
  padding-top: 32px;
}

/* Tag / 标签 */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 18px;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  color: var(--color-text-muted);
}

/* 按钮 */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: none;
  background: #ffffff;
  color: #000000;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.button--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

/* 卡片布局（项目 / 作品） */
.cards {
  display: grid;
  gap: 18px;
}

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

.card {
  padding: 18px 18px 20px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, #24293a, var(--color-bg-soft));
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
}

.card--placeholder {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03),
    rgba(9, 11, 17, 0.95)
  );
}

.card__title {
  margin: 0 0 8px;
  font-size: 18px;
}

.card__text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.card__meta {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

.card__link {
  display: inline-flex;
  margin-top: 10px;
  font-size: 13px;
  color: #ffffff;
}

/* 首页随记预览 */
.list--notes-preview {
  display: grid;
  gap: 14px;
  margin-bottom: 12px;
}

.note-preview {
  padding: 14px 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(16, 18, 24, 0.9);
  border: 1px solid var(--color-border-subtle);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.note-preview[data-note-category][style*="display: none"] {
  display: none !important;
}

.note-preview__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.note-preview__link:hover {
  text-decoration: none;
}

.note-preview:has(.note-preview__link):hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.note-preview--placeholder {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(16, 18, 24, 0.6);
}

.note-preview__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.note-preview__tag {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.note-preview__title {
  margin: 0 0 4px;
  font-size: 15px;
}

.note-preview__excerpt {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Notes 页面列表 */
.notes-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.note-item {
  padding: 18px 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(16, 18, 24, 0.92);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
}

.note-item--placeholder {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(16, 18, 24, 0.7);
}

.note-item[data-note-category][style*="display: none"] {
  display: none !important;
}

.note-item__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.note-item__link:hover {
  text-decoration: none;
}

.note-item:has(.note-item__link):hover {
  transform: translateX(4px);
}

.note-item__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.note-item__date {
  font-size: 12px;
  color: var(--color-text-muted);
}

.note-item__title {
  margin: 0;
  font-size: 17px;
}

.note-item__body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

/* 随记空状态提示 */
.notes-empty-message {
  text-align: center;
  color: var(--color-text-muted);
  padding: 40px 20px;
  font-size: 14px;
  margin: 0;
}

/* 时间线（About 页面） */
.timeline {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline__item {
  position: relative;
  padding: 0 0 20px 18px;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.06);
}

.timeline__date {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.timeline__title {
  margin: 0 0 4px;
  font-size: 15px;
}

.timeline__text {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.timeline__text--role {
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
}

.timeline__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.timeline__list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.timeline__list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--color-text-muted);
  font-size: 8px;
}

/* 社交平台列表 */
.social-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-list__item {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(22, 24, 35, 0.9);
  border: 1px solid var(--color-border-subtle);
}

.social-list__name {
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.social-list__desc {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* 社交平台卡片式展示 */
.social-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.social-card {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.social-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.social-card--button {
  border-style: dashed;
}

/* 微信二维码弹层 */
.qr-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
}

.qr-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.qr-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.qr-overlay__content {
  position: relative;
  padding: 16px 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--color-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
  max-width: 320px;
  width: 90%;
}

.qr-overlay__content img {
  width: 100%;
  height: auto;
}

.qr-overlay__close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 20px;
  cursor: pointer;
}

/* 项目提示弹窗 */
.project-tip-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
}

.project-tip-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.project-tip-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.project-tip-overlay__content {
  position: relative;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  background: var(--color-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.project-tip-overlay__text {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.5;
}

.project-tip-overlay__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease;
}

.project-tip-overlay__close:hover {
  color: var(--color-text);
}

/* 随记分类标签行 */
.note-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

/* 分类标签可点击状态 */
.tag.tag--clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag.tag--clickable:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.tag.tag--active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-text);
}

/* LIFE 模块卡片 */
.life-cards {
  margin-top: 16px;
}

/* LIFE 照片横向滚动容器 */
.life-photos-container {
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}

.life-photos-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.life-photos-scroll::-webkit-scrollbar {
  height: 6px;
}

.life-photos-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.life-photos-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.life-photos-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.life-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

.life-photo-item {
  flex-shrink: 0;
  width: calc(25% - 9px); /* 一行4张，减去gap */
  min-width: 200px;
  height: 200px;
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius-md);
  background: rgba(22, 24, 35, 0.5);
  border: 1px solid var(--color-border-subtle);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.life-photo-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.life-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.life-photo-item:hover img {
  transform: scale(1.05);
}

/* 图片查看器弹窗 */
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-viewer[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.image-viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.image-viewer__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.image-viewer__image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.image-viewer__close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.image-viewer__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 960px) {
  .life-photo-item {
    width: calc(33.333% - 8px); /* 手机端一行3张 */
    min-width: 160px;
    height: 160px;
  }
}

@media (max-width: 640px) {
  .life-photo-item {
    width: calc(50% - 6px); /* 小屏幕一行2张 */
    min-width: 140px;
    height: 140px;
  }
}

/* 首页 About Me + 音乐播放器布局 */
.about-home {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}

.about-home__left {
  flex: 1;
}

.about-home__right {
  flex-shrink: 0;
  width: 280px;
}

.music-player {
  padding: 16px 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-soft);
  font-size: 14px;
}

.music-player__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 500;
}


.music-player__button {
  margin-bottom: 8px;
}

.music-player__track {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* 页脚 */
.site-footer {
  padding: 32px 20px 28px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--color-bg);
}

.site-footer__inner {
  max-width: var(--container-max-width);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.site-footer__tagline {
  margin: 0;
}

.site-footer__copy {
  margin: 0;
}

/* 项目板块样式 */
.project-section {
  margin-top: 48px;
}

.project-section:first-of-type {
  margin-top: 0;
}

/* 项目封面容器：横向滚动，一行4个 */
.project-covers-scroll-container {
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.project-covers-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.project-covers-scroll::-webkit-scrollbar {
  height: 6px;
}

.project-covers-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.project-covers-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.project-covers-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.project-cover-wrapper {
  flex-shrink: 0;
  width: calc(25% - 18px); /* 一行4个，减去gap */
  min-width: 200px;
}

.project-cover-wrapper--placeholder {
  /* 占位样式，暂时为空 */
}

/* 项目预览区域 */
.project-preview {
  margin-top: 0;
}

/* 项目封面图片 */
.project-cover {
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.project-cover:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.project-cover__image {
  width: 100%; /* 在容器内占满 */
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.project-expand-btn,
.project-collapse-btn {
  margin-top: 12px;
}

/* 项目完整内容区域 */
.project-full {
  margin-top: 20px;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.project-full--hidden {
  display: none;
}

/* 动效设计：GIF卡片网格 */
.project-gifs {
  margin-top: 0;
}

.project-gif-card {
  padding: 0;
  overflow: hidden;
}

.project-gif {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* IP设计：图片垂直排列，无间隔 */
.project-section--ip {
  margin-top: 0; /* 在并排布局中不需要额外间距 */
}

.project-ip-images {
  display: flex;
  flex-direction: column;
  gap: 0; /* 无间隔 */
}

.project-ip-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 响应式调整 */
@media (min-width: 720px) {
  .hero__overlay {
    padding-inline: 24px;
  }

  .cards--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .hero {
    padding-inline: 40px;
  }

  .site-header__inner {
    padding-inline: 24px;
  }

  .cards--grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 手机端：About Me 布局改为纵向 */
@media (max-width: 719px) {
  .about-home {
    flex-direction: column;
  }

  .about-home__right {
    width: 100%;
    max-width: 100%;
  }

  .about-page {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-page__left {
    max-width: 100%;
  }

  .about-page__right {
    width: 100%;
    max-width: 100%;
  }

  /* 手机端：项目封面仍保持横向滚动 */
  .project-cover-wrapper {
    min-width: 180px;
  }
}


