/* ============================================================
   官世强个人网站 · 全站样式
   设计语言：现代极简 + 柔和渐变 + 轻拟物 + 适度趣味
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  /* 品牌色 */
  --brand: #7C5CFC;
  --brand-deep: #6A35F5;
  --brand-blue: #4F86FF;
  --brand-purple: #8B3DF7;
  --gradient-brand: linear-gradient(100deg, #3F8BFF 0%, #6E5CF8 55%, #9333EA 100%);
  --gradient-soft: linear-gradient(135deg, #EEF2FF 0%, #FFFFFF 50%, #FCEAF6 100%);

  /* 文字 */
  --ink: #14151F;
  --ink-2: #2B2D3A;
  --muted: #7A7E8F;
  --muted-2: #9A9EAE;

  /* 面与线 */
  --surface: #FFFFFF;
  --line: #E9ECF5;
  --line-2: #E3E7F2;
  --card-shadow: 0 14px 40px rgba(60, 70, 120, 0.08);
  --card-shadow-hover: 0 22px 55px rgba(60, 70, 120, 0.15);

  /* 页脚 */
  --footer-bg: #0E1524;
  --footer-ink: #E8EAF2;
  --footer-muted: #8A93A8;

  /* 形状 */
  --r-pill: 999px;
  --r-card: 28px;
  --r-card-sm: 20px;
  --r-img: 18px;

  /* 布局 */
  --container: 1240px;
  --gutter: clamp(18px, 4vw, 48px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #FFFFFF;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 全站页面背景（柔和渐变 + 装饰光斑） ---------- */
.page-bg {
  position: relative;
  isolation: isolate;
}
.page-bg::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1100px;
  z-index: -2;
  background:
    radial-gradient(620px 460px at 86% 6%, rgba(168, 148, 255, 0.34), transparent 68%),
    radial-gradient(560px 440px at 6% 2%, rgba(138, 170, 255, 0.30), transparent 66%),
    radial-gradient(700px 520px at 50% -8%, rgba(214, 196, 252, 0.42), transparent 70%),
    linear-gradient(180deg, #F3F5FF 0%, #FBFCFF 42%, #FFFFFF 100%);
}
.page-bg::after {
  content: "";
  position: absolute;
  top: 240px; right: -140px;
  width: 460px; height: 460px;
  z-index: -1;
  background: radial-gradient(circle, rgba(252, 214, 242, 0.55), transparent 68%);
  pointer-events: none;
}

/* 首页首屏专属：蓝紫粉渐变 + 底部波浪 */
.hero-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 900px;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(700px 500px at 82% 4%, rgba(172, 150, 255, 0.45), transparent 66%),
    radial-gradient(600px 480px at 10% 0%, rgba(140, 175, 255, 0.40), transparent 66%),
    radial-gradient(420px 380px at 96% 42%, rgba(252, 200, 238, 0.5), transparent 70%),
    linear-gradient(160deg, #E9EEFF 0%, #F6F3FF 46%, #FDF2FA 78%, #FFFFFF 100%);
}
.hero-bg .wave {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 标题手绘下划线 ---------- */
.u-mark {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.u-mark::after {
  content: "";
  position: absolute;
  left: 4px; right: 6px; bottom: -6px;
  height: 10px;
  z-index: -1;
  background: var(--gradient-brand);
  border-radius: 999px;
  opacity: 0.85;
  transform: skewX(-12deg);
}
.u-line {
  width: 56px; height: 8px;
  border-radius: 999px;
  background: var(--gradient-brand);
  margin-top: 12px;
}

/* 渐变文字 */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 38px;
  border-radius: var(--r-pill);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-dark {
  background: #11131C;
  color: #fff;
  box-shadow: 0 12px 28px rgba(17, 19, 28, 0.28);
}
.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(17, 19, 28, 0.34);
}
.btn-dark:active { transform: translateY(-1px); }
.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--card-shadow); }
.btn-brand {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(118, 84, 248, 0.32);
}
.btn-brand:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(118, 84, 248, 0.42); }

/* 小标签胶囊 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}
.tag-purple { background: #EFEBFF; color: var(--brand-deep); }
.tag-line {
  background: #fff;
  border: 1px solid var(--line);
  color: #5C6178;
  box-shadow: 0 4px 12px rgba(60, 70, 120, 0.05);
}
.tag svg { width: 17px; height: 17px; }

/* ============================================================
   导航栏：半透明白色胶囊 + 毛玻璃 + 吸附
   ============================================================ */
.nav {
  position: sticky;
  top: 18px;
  z-index: 100;
  padding-top: 18px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 34px rgba(70, 80, 150, 0.14);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
}
.nav-link {
  position: relative;
  padding: 10px 24px;
  border-radius: var(--r-pill);
  font-size: 17px;
  font-weight: 500;
  color: #3A3D4D;
  transition: color 0.22s var(--ease), background 0.22s var(--ease);
  white-space: nowrap;
}
.nav-link:hover { color: var(--brand-deep); background: rgba(124, 92, 252, 0.08); }
.nav-link.active {
  color: var(--brand-deep);
  font-weight: 700;
  background: rgba(124, 92, 252, 0.12);
}
/* 文章页设计图里 active 是下划线式，统一用胶囊高亮（与关于我页一致） */

/* 移动端汉堡按钮 */
.nav-toggle {
  display: none;
  width: 52px; height: 52px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 30px rgba(70, 80, 150, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  position: relative;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), top 0.28s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   首页 Hero
   ============================================================ */
.hero {
  padding: clamp(40px, 7vh, 90px) 0 70px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(30px, 4vw, 60px);
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  margin-bottom: 22px;
}
.wave-emoji { font-size: 1.15em; animation: wave-hand 2.6s ease-in-out infinite; transform-origin: 70% 70%; display: inline-block; }
@keyframes wave-hand {
  0%, 60%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(16deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(10deg); }
  50% { transform: rotate(-4deg); }
}
.hero-title {
  font-size: clamp(46px, 6.2vw, 82px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
}
.hero-title .line2 { display: block; margin-top: 4px; }
.hero-sub {
  margin-top: 30px;
  font-size: clamp(18px, 1.7vw, 23px);
  color: var(--muted);
  font-weight: 500;
}
.hero-cta { margin-top: 42px; }

.hero-figure {
  position: relative;
  transform: rotate(-2.5deg);
  transition: transform 0.5s var(--ease);
  animation: hero-float 6s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}
.hero-figure:hover { transform: rotate(0deg) scale(1.02); }
.hero-figure img {
  width: 100%;
  filter: drop-shadow(0 30px 50px rgba(80, 70, 160, 0.28));
}

/* ============================================================
   首页大模块容器（我的文章 / 我的视频）
   ============================================================ */
.section { padding: clamp(26px, 4vh, 50px) 0; }
.panel {
  background: linear-gradient(160deg, rgba(255,255,255,0.96) 0%, rgba(247,249,255,0.96) 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--card-shadow);
  padding: clamp(26px, 3.4vw, 46px);
}
.panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.panel-title {
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.panel-more {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, gap 0.2s;
  display: inline-flex;
  gap: 4px;
  white-space: nowrap;
}
.panel-more:hover { color: var(--brand-deep); gap: 9px; }

/* ---------- 卡片栅格 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}

/* ---------- 文章卡片 ---------- */
.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.article-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--card-shadow-hover);
}
.article-card .ac-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #EEF1F8;
}
.article-card .ac-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.article-card:hover .ac-img img { transform: scale(1.06); }
.article-card .ac-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.article-card h3 {
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 800;
  line-height: 1.35;
}
.article-card p {
  margin-top: auto;
  font-size: 16px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-card p .arr { transition: transform 0.25s var(--ease); }
.article-card:hover p .arr { transform: translateX(5px); }

/* ---------- 视频卡片（首页 4:3 封面） ---------- */
.video-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.video-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--card-shadow-hover);
}
.vc-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1A1D2B;
}
.vc-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.video-card:hover .vc-cover img { transform: scale(1.06); }
.vc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,20,0.18) 0%, rgba(8,10,20,0.42) 100%);
  transition: background 0.3s;
}
.video-card:hover .vc-overlay { background: linear-gradient(180deg, rgba(8,10,20,0.10), rgba(8,10,20,0.30)); }
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(0,0,0,0.3);
  transition: transform 0.3s var(--ease), background 0.3s;
}
.play-btn svg { width: 26px; height: 26px; margin-left: 4px; }
.video-card:hover .play-btn { transform: translate(-50%,-50%) scale(1.12); background: #fff; }
.video-card .vc-body {
  padding: 20px 22px 22px;
}
.video-card h3 {
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 800;
  line-height: 1.35;
}

/* ============================================================
   我的工具 模块
   ============================================================ */
.tool-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, rgba(240,243,255,0.95) 0%, rgba(250,246,255,0.95) 60%, rgba(252,242,250,0.9) 100%);
}
.tool-grid {
  display: grid;
  grid-template-columns: 0.62fr 1.42fr 0.9fr;
  align-items: center;
  gap: clamp(20px, 2.6vw, 44px);
}
.tool-heading .panel-title { display: block; }
.tool-heading .tool-lead {
  margin-top: 16px;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--muted);
  font-weight: 500;
}
.tool-info .tool-tag { margin-bottom: 18px; }
.tool-info h3 {
  font-size: clamp(25px, 2.4vw, 35px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.tool-info > p {
  margin-top: 14px;
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--muted);
}
.tool-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.tool-feats .tag svg { color: var(--brand); }
.tool-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-visual img {
  width: 100%;
  max-width: 350px;
}
.tool-cta {
  position: absolute;
  right: clamp(40px, 4.6vw, 72px);
  top: 45%;
}
/* 工具面板内 CTA 在视觉区右下方（设计图布局），小屏移入正常流 */

/* ============================================================
   页脚
   ============================================================ */
.footer {
  position: relative;
  margin-top: clamp(50px, 8vh, 110px);
  background:
    radial-gradient(700px 360px at 8% 100%, rgba(64, 92, 220, 0.4), transparent 70%),
    radial-gradient(700px 360px at 95% 100%, rgba(124, 60, 230, 0.38), transparent 70%),
    linear-gradient(180deg, #121A2C 0%, #0C1220 100%);
  color: var(--footer-ink);
  overflow: hidden;
}
.footer-wave {
  display: block;
  width: 100%;
  height: auto;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 30px;
  padding: clamp(44px, 6vh, 78px) 0 clamp(30px, 4vh, 50px);
}
.footer-brand .fb-name {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: 1px;
}
.footer-brand .fb-sub {
  margin-top: 8px;
  color: var(--footer-muted);
  font-size: 17px;
}
.footer-nav {
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.12);
  border-right: 1px solid rgba(255,255,255,0.12);
  padding: 14px 0;
}
.footer-nav .fn-title {
  color: var(--footer-muted);
  font-size: 16px;
  margin-bottom: 16px;
}
.footer-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px clamp(20px, 2.4vw, 38px);
}
.footer-nav a {
  font-size: 17px;
  color: var(--footer-ink);
  transition: color 0.2s;
}
.footer-nav a:hover { color: #B7A6FF; }
.footer-social { text-align: center; }
.footer-social .fs-title {
  color: var(--footer-muted);
  font-size: 16px;
  margin-bottom: 16px;
}
.social-row {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 1.8vw, 26px);
}
.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--footer-muted);
  transition: color 0.2s;
}
.social-item:hover { color: #fff; }
.social-ic {
  width: 58px; height: 58px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.social-item:hover .social-ic { transform: translateY(-4px); }
.social-ic svg { width: 30px; height: 30px; }
.ic-xhs { background: #F32E52; border-color: #F32E52; }
.ic-zhihu { background: #1772F6; border-color: #1772F6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0 30px;
  text-align: center;
  color: var(--footer-muted);
  font-size: 15px;
}
.footer-bottom a { color: #B7A6FF; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .dot { margin: 0 12px; opacity: 0.6; }

/* ============================================================
   联系我弹窗（公众号二维码）
   ============================================================ */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14, 17, 30, 0.5);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}
.modal-mask.show { display: flex; opacity: 1; }
.modal {
  position: relative;
  width: min(400px, 100%);
  background: #fff;
  border-radius: 26px;
  padding: 38px 34px 34px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(20, 20, 50, 0.35);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s var(--ease);
}
.modal-mask.show .modal { transform: translateY(0) scale(1); }
.modal h3 { font-size: 24px; font-weight: 800; }
.modal p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.qr-box {
  margin: 26px auto 8px;
  width: 240px; height: 240px;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg,#f3f4f8 0 12px,#fafbfe 12px 24px);
  display: grid;
  place-items: center;
}
.qr-box img { width: 100%; height: 100%; object-fit: cover; }
.qr-placeholder { color: var(--muted-2); font-size: 14px; padding: 20px; text-align: center; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: #F1F3F9; color: var(--ink); }
.modal-close svg { width: 18px; height: 18px; }

/* ============================================================
   内页通用页头
   ============================================================ */
.page-hero {
  padding: clamp(44px, 7vh, 90px) 0 clamp(30px, 4vh, 56px);
}
.page-hero.center { text-align: center; }
.ph-title {
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.12;
}
.ph-sub {
  margin-top: 22px;
  font-size: clamp(18px, 1.9vw, 25px);
  color: var(--muted);
  font-weight: 500;
}
.ph-deco { position: relative; }

/* ============================================================
   关于我 · 首屏
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(30px, 4.6vw, 70px);
  align-items: center;
}
.about-title {
  font-size: clamp(36px, 4.6vw, 62px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 34px;
}
.about-text p {
  color: #555A6B;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.95;
  margin-bottom: 22px;
}
/* 轮播 */
.carousel {
  position: relative;
}
.carousel-stage {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 60px rgba(60, 70, 130, 0.22);
  background: #E9EDF6;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-dots {
  position: absolute;
  left: 50%; bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: rgba(20, 24, 40, 0.42);
  backdrop-filter: blur(8px);
}
.carousel-dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: width 0.3s var(--ease), background 0.3s;
  padding: 0;
}
.carousel-dots button.active { background: #fff; width: 26px; border-radius: 999px; }
.carousel-caption {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

/* ============================================================
   关于我 · 时间线
   ============================================================ */
.timeline-section { padding: clamp(40px, 6vh, 80px) 0; text-align: center; }
.tl-heading { margin-bottom: 60px; }
.tl-heading h2 {
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 900;
  letter-spacing: -1px;
}
.tl-heading p {
  margin-top: 20px;
  color: #555A6B;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.8;
}
.timeline {
  position: relative;
  max-width: 1060px;
  margin-inline: auto;
}
.timeline-axis {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 0;
  border-left: 2px dashed #C7CCDE;
  transform: translateX(-50%);
}
.tl-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 92px 1fr;
  align-items: center;
  min-height: 120px;
  margin-bottom: 14px;
}
.tl-year {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  background: #fff;
  border: 3px solid var(--yc, var(--brand));
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(60,70,120,0.15);
}
/* 年份节点跨多行时只在首个内容行显示 —— 用变体类控制 */
.tl-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(60,70,120,0.1);
  transition: transform 0.28s var(--ease), box-shadow 0.28s;
  border-bottom: 5px solid var(--yc, var(--brand));
}
.tl-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 18px 40px rgba(60,70,120,0.18); }
.tl-card.left { grid-column: 1; justify-self: stretch; margin-right: 26px; }
.tl-card.right { grid-column: 3; justify-self: stretch; margin-left: 26px; }
.tl-card .tl-date { color: var(--muted); font-weight: 600; white-space: nowrap; }
.tl-card .tl-sep { width: 1px; align-self: stretch; background: var(--line); }
/* 节点连接线（卡片到轴） */
.tl-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px; height: 2px;
  background: var(--yc, var(--brand));
  transform: translateY(-50%);
}
.tl-card.left::after { right: -26px; }
.tl-card.right::after { left: -26px; }
.tl-card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--yc, var(--brand));
  transform: translateY(-50%);
  z-index: 3;
}
.tl-card.left::before { right: -33px; }
.tl-card.right::before { left: -33px; }

/* 侧标题标签（工作履历 / 人生体验） */
.tl-col-head {
  position: absolute;
  top: -52px;
  font-size: 22px;
  font-weight: 800;
  padding: 9px 26px;
  border-radius: 10px;
  transform: rotate(-4deg);
  box-shadow: 0 8px 0 rgba(0,0,0,0.12);
}
.tl-col-head.work { left: 2%; background: #E7E0FF; color: #5B3FD8; border: 2px solid #5B3FD8; }
.tl-col-head.life { right: 2%; background: #D9F7E3; color: #12A05A; border: 2px solid #12A05A; transform: rotate(4deg); }

/* 小放射线装饰 */
.spark { position: absolute; width: 22px; height: 22px; pointer-events: none; }

/* ============================================================
   关于我 · 最近在做什么
   ============================================================ */
.doing-section { padding: clamp(30px, 5vh, 66px) 0; }
.doing-head { margin-bottom: 40px; }
.doing-head h2 {
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 900;
  letter-spacing: -1px;
}
.doing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
}
.doing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(60,70,120,0.09);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.doing-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-hover); }
.doing-card .dc-img { aspect-ratio: 16 / 10; overflow: hidden; }
.doing-card .dc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.doing-card:hover .dc-img img { transform: scale(1.05); }
.doing-card .dc-body {
  display: flex;
  gap: 18px;
  padding: 22px 24px 26px;
  align-items: flex-start;
}
.dc-ic {
  flex-shrink: 0;
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
}
.dc-ic svg { width: 30px; height: 30px; }
.dc-ic.blue { background: #E3F0FF; color: #2F7DFF; }
.dc-ic.pink { background: #FDE4EC; color: #F0386B; }
.dc-ic.green { background: #DCF8E6; color: #16B364; }
.dc-body h3 { font-size: 23px; font-weight: 800; margin-bottom: 6px; }
.dc-body p { color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ============================================================
   文章列表页
   ============================================================ */
.articles-head { position: relative; }
.articles-head .pencil-deco {
  position: absolute;
  right: -10px; top: -30px;
  width: clamp(120px, 14vw, 210px);
  opacity: 0.95;
  pointer-events: none;
}
.article-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.al-item {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px clamp(22px, 3vw, 38px);
  transition: transform 0.28s var(--ease), box-shadow 0.28s;
}
.al-item:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.al-date { color: var(--muted); font-size: 15px; font-weight: 600; }
.al-item h3 { margin: 8px 0 8px; font-size: clamp(19px, 1.9vw, 26px); font-weight: 800; line-height: 1.4; }
.al-item p { color: var(--muted); font-size: 16px; }
.al-thumb {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.al-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.al-item:hover .al-thumb img { transform: scale(1.07); }

.load-more-wrap { text-align: center; margin-top: 36px; }
.load-more {
  padding: 17px 60px;
  border-radius: var(--r-pill);
  background: #EFEBFF;
  color: var(--brand-deep);
  font-size: 17px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.load-more:hover { transform: translateY(-3px); background: #E4DEFF; box-shadow: 0 12px 28px rgba(118,84,248,0.25); }
.load-more:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
.load-more .ld-ar { transition: transform 0.3s; }
.load-more:hover .ld-ar { transform: translateY(3px); }
.load-more.spinning .ld-ar { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   视频页
   ============================================================ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
}
.filter-tab {
  padding: 12px 30px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 16px;
  font-weight: 600;
  color: #555A6B;
  transition: all 0.25s var(--ease);
}
.filter-tab:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-2px); }
.filter-tab.active {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(118,84,248,0.3);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 1.8vw, 26px);
}
.vg-item {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #171A26;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  border: 1px solid rgba(255,255,255,0.05);
}
.vg-item:hover { transform: translateY(-7px); box-shadow: 0 20px 44px rgba(30,30,60,0.3); }
.vg-cover {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
}
.vg-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease); }
.vg-item:hover .vg-cover img { transform: scale(1.06); }
.vg-mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,8,16,0.28) 0%, rgba(6,8,16,0.12) 40%, rgba(6,8,16,0.55) 100%);
  transition: background 0.3s;
}
.vg-item:hover .vg-mask { background: linear-gradient(180deg, rgba(6,8,16,0.15), rgba(6,8,16,0.05) 45%, rgba(6,8,16,0.35)); }
.vg-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.vg-play svg { width: 20px; height: 20px; margin-left: 3px; }
.vg-item:hover .vg-play { transform: translate(-50%,-50%) scale(1.15); }
.vg-meta {
  position: absolute;
  left: 12px; right: 12px; bottom: 11px;
}
.vg-meta .vg-date { color: rgba(255,255,255,0.82); font-size: 12.5px; font-weight: 600; }
.vg-title {
  padding: 13px 14px 15px;
  color: #F2F3F8;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  background: #141828;
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 90px 20px;
  color: var(--muted);
  font-size: 18px;
}
.empty-state svg { width: 64px; height: 64px; margin: 0 auto 18px; opacity: 0.5; }

/* ============================================================
   产品页
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(20px, 2.6vw, 36px);
}
.product-card {
  position: relative;
  border-radius: var(--r-card);
  padding: clamp(30px, 3.6vw, 52px);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.product-card.ready {
  background: linear-gradient(130deg, #EEF2FF 0%, #F6F1FF 55%, #FDF0F8 100%);
  box-shadow: var(--card-shadow);
}
.product-card.ready:hover { transform: translateY(-7px); box-shadow: var(--card-shadow-hover); }
.product-card.soon {
  background: #F6F8FC;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 320px;
}
.product-card.soon p { color: var(--muted); font-size: 18px; }
.product-card h3 {
  margin: 20px 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
}
.product-card .pc-lead { color: var(--muted); font-size: 17px; margin-bottom: 30px; }
.product-card .btn { margin-top: 6px; }

/* ============================================================
   离职评估工具页
   ============================================================ */
.dimission-wrap { max-width: 860px; margin-inline: auto; }
#resultWrap { scroll-margin-top: 96px; }
.quiz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--card-shadow);
  padding: clamp(28px, 4vw, 50px);
}
.quiz-progress { margin-bottom: 34px; }
.qp-top {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 10px;
}
.qp-bar { height: 9px; border-radius: 99px; background: #EDF0F8; overflow: hidden; }
.qp-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--gradient-brand);
  width: 20%;
  transition: width 0.4s var(--ease);
}
.dim-head { text-align: center; margin-bottom: 30px; }
.dim-head .dim-no {
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  color: var(--brand-deep);
  background: #EFEBFF;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.dim-head h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; }
.dim-head .dim-desc { color: var(--muted); font-size: 15px; margin-top: 8px; }

.q-item { padding: 22px 0; border-bottom: 1px dashed var(--line); }
.q-item:last-of-type { border-bottom: none; }
.q-title {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.6;
}
.q-title .qn { color: var(--brand-deep); margin-right: 8px; }
.q-options { display: flex; flex-direction: column; gap: 10px; }
.q-opt {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 15px;
  font-size: 16px;
  text-align: left;
  transition: all 0.2s var(--ease);
  background: #FCFDFF;
}
.q-opt:hover { border-color: #B9A8FB; background: #F7F4FF; }
.q-opt .opt-key {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #EEF1F8;
  font-weight: 800;
  font-size: 14px;
  color: #555A6B;
  transition: all 0.2s;
}
.q-opt.selected { border-color: var(--brand); background: #F4F0FF; }
.q-opt.selected .opt-key { background: var(--gradient-brand); color: #fff; }

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
}
.quiz-actions .btn { padding: 15px 34px; font-size: 16px; }
.btn-prev { background: #F1F3F9; color: #555A6B; }
.btn-prev:hover { background: #E6EAF4; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

.quiz-toast {
  position: fixed;
  left: 50%; top: 30px;
  transform: translateX(-50%) translateY(-20px);
  background: #1C2030;
  color: #fff;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  z-index: 300;
  opacity: 0;
  transition: all 0.3s var(--ease);
  box-shadow: 0 14px 40px rgba(0,0,0,0.3);
  pointer-events: none;
}
.quiz-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 结果页 ---------- */
.result-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--card-shadow);
  padding: clamp(28px, 4.4vw, 56px);
}
.result-title { text-align: center; margin-bottom: 8px; }
.result-title h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 900; }
.result-title .rt-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 9px 26px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: var(--gradient-brand);
}
/* 指标 */
.metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.6vw, 34px);
  margin: 40px 0;
}
.metric-box {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 22px;
  text-align: center;
  background: linear-gradient(170deg,#FAFBFF,#FFFFFF);
}
.metric-box .mb-name { font-size: 16px; color: var(--muted); font-weight: 600; }
.metric-gauge { margin: 14px auto 6px; width: 190px; height: 120px; }
.metric-level { font-size: 16px; font-weight: 800; }
.lv-low { color: #16B364; }
.lv-mid { color: #F59E0B; }
.lv-high { color: #EF4444; }

/* 九宫格 */
.grid9-wrap { margin: 44px 0; text-align: center; }
.grid9-wrap h3 { font-size: 22px; font-weight: 800; margin-bottom: 22px; }
.grid9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 520px;
  margin-inline: auto;
}
.g9-cell {
  aspect-ratio: 1.4 / 1;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: clamp(12px,1.5vw,15px);
  font-weight: 700;
  color: #6B7085;
  background: #FAFBFE;
  padding: 6px;
  text-align: center;
  transition: all 0.3s;
}
.g9-cell.hit {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(118,84,248,0.4);
}
.g9-axis-label { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* 建议文案 */
.advice-box {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(24px,3vw,38px);
  background: linear-gradient(170deg,#F8F6FF,#FFFFFF);
  margin: 36px 0;
}
.advice-box h3 { font-size: 21px; font-weight: 800; margin-bottom: 16px; color: var(--brand-deep); }
.advice-box p { color: #4A4F60; font-size: 16px; line-height: 1.95; margin-bottom: 14px; }
.advice-box p:last-child { margin-bottom: 0; }

/* 五维得分 */
.dims-wrap { margin: 38px 0; }
.dims-wrap h3 { font-size: 21px; font-weight: 800; margin-bottom: 22px; text-align: center; }
.dim-bar-row { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; }
.dim-bar-row .db-name { width: 110px; flex-shrink: 0; font-size: 15px; font-weight: 600; text-align: right; }
.dim-bar-track { flex: 1; height: 13px; background: #EEF1F8; border-radius: 99px; overflow: hidden; }
.dim-bar-fill { display:block; height: 100%; border-radius: 99px; background: var(--gradient-brand); width: 0; transition: width 0.8s var(--ease); }
.dim-bar-row .db-score { width: 64px; flex-shrink: 0; font-size: 14px; color: var(--muted); font-weight: 700; }

.disclaimer {
  margin-top: 30px;
  padding: 18px 22px;
  border-radius: 16px;
  background: #FFF8EC;
  border: 1px solid #FBE3B5;
  color: #9A6B1E;
  font-size: 14px;
  line-height: 1.8;
}
.result-actions { text-align: center; margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   响应式适配
   ============================================================ */

/* ---- 平板 ≤1024 ---- */
@media (max-width: 1024px) {
  .hero-grid { gap: 30px; }
  .tool-grid { grid-template-columns: 0.9fr 1.3fr; }
  .tool-visual { grid-column: 1 / -1; }
  .tool-visual img { max-width: 300px; }
  .tool-cta { position: static; margin-top: 10px; justify-self: center; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { text-align: center; grid-column: 1 / -1; }
  .footer-nav { border: none; }
}

/* ---- 导航折叠 ≤860 ---- */
@media (max-width: 860px) {
  .nav { top: 12px; padding-top: 12px; }
  .nav-inner { justify-content: flex-end; position: relative; }
  .nav-toggle { display: flex; }
  .nav-pill {
    position: absolute;
    top: 64px; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    min-width: 210px;
    border-radius: 24px;
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  }
  .nav.open .nav-pill { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .nav-link { text-align: center; padding: 12px; }

  /* hero 堆叠 */
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-kicker { justify-content: center; }
  .hero-figure { max-width: 440px; margin-inline: auto; }
  .hero-figure { animation: none; }

  /* 关于我首屏堆叠 */
  .about-grid { grid-template-columns: 1fr; }
  .about-text { order: 2; }
  .carousel { order: 1; max-width: 560px; margin-inline: auto; width: 100%; }

  /* 文章列表卡片：图移到上方 */
  .al-item { grid-template-columns: 1fr; gap: 16px; }
  .al-thumb { order: -1; aspect-ratio: 16/9; }

  /* 产品卡 */
  .product-grid { grid-template-columns: 1fr; }

  /* 工具 */
  .tool-grid { grid-template-columns: 1fr; text-align: left; }
  .tool-feats { justify-content: flex-start; }

  /* 结果指标 */
  .metrics-row { grid-template-columns: 1fr; }
}

/* ---- 手机 ≤640 ---- */
@media (max-width: 640px) {
  /* 首页3卡 → 单列（避免 2+1 失衡） */
  .card-grid { grid-template-columns: 1fr; }
  .doing-grid { grid-template-columns: 1fr; }

  /* 视频网格：竖版2列 */
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vg-title { font-size: 13px; padding: 10px; }
  .vg-play { width: 44px; height: 44px; }
  .vg-play svg { width: 16px; }

  .panel-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .panel { padding: 22px 18px; }

  /* 页脚 */
  .footer-inner { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .footer-nav ul { gap: 12px 22px; }

  /* 时间线 → 单侧 */
  .timeline-axis { left: 22px; transform: none; }
  .tl-col-head { display: none; }
  .tl-row {
    grid-template-columns: 44px 1fr;
    min-height: 0;
    gap: 14px;
    margin-bottom: 12px;
  }
  .tl-year {
    grid-column: 1;
    width: 44px; height: 44px;
    font-size: 12px;
  }
  .tl-card.left, .tl-card.right {
    grid-column: 2;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px;
  }
  .tl-card .tl-sep { display: none; }
  .tl-card::after { width: 14px; left: -14px !important; right: auto !important; }
  .tl-card::before { left: -22px !important; right: auto !important; }
  .tl-card .tl-date { font-size: 13px; }

  /* 问卷 */
  .quiz-actions .btn { padding: 14px 24px; flex: 1; justify-content: center; }
  .q-opt { padding: 12px 14px; font-size: 15px; }

  .dim-bar-row .db-name { width: 78px; font-size: 13px; }
  .dim-bar-row .db-score { width: 52px; font-size: 13px; }
  .result-actions .btn { flex: 1; justify-content: center; }
}

/* ---- 小手机 ≤380 ---- */
@media (max-width: 380px) {
  .video-grid { grid-template-columns: 1fr; max-width: 280px; margin-inline: auto; }
  .btn { padding-inline: 28px; }
}

/* ============================================================
   减少动效偏好（无障碍）
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero-figure { animation: none; }
  .wave-emoji { animation: none; }
}

/* ---------- 滚动揭示 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: 0.08s; }
[data-reveal].d2 { transition-delay: 0.16s; }
[data-reveal].d3 { transition-delay: 0.24s; }
