/* ==========================================================================
   王晓艾 · 个人简历暗夜星云全息玻璃态样式系统
   适配桌面端（Web）与移动端（Mobile First 响应式 + 底部悬浮 Dock）
   ========================================================================== */

:root {
  color-scheme: dark;

  /* 深空梅紫色彩体系：与 3D 项目配图及 3D 小狗舞台光影高度一致 */
  --bg: #080612;
  --bg-elevated: #110c22;
  --surface: rgba(23, 17, 43, 0.72);
  --surface-strong: rgba(29, 21, 54, 0.88);
  --surface-hover: rgba(38, 28, 69, 0.85);

  --ink: #f8f6ff;
  --ink-soft: #d2cbe6;
  --muted: #988eb8;

  --purple: #b894ff;
  --purple-bright: #d7c2ff;
  --purple-deep: #7b4dff;
  --coral: #ff7f62;
  --coral-soft: #ffa68e;
  --mint: #38e2ad;
  --amber: #f7ba63;

  --border: rgba(203, 181, 255, 0.14);
  --border-strong: rgba(203, 181, 255, 0.28);
  --glow-purple: rgba(155, 107, 255, 0.28);
  --glow-coral: rgba(255, 127, 98, 0.24);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;

  --mono: "JetBrains Mono", "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

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

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  /* 移动端底部预留空间，避免悬浮 Dock 遮挡页脚 */
  padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
}

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

button {
  font: inherit;
  color: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--purple-bright);
  outline-offset: 4px;
}

::selection {
  background: rgba(184, 148, 255, 0.34);
  color: #fff;
}

h1, h2, h3, p, figure, dl, dd, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

.wrap {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 99;
  left: 14px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--purple-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.skip:focus {
  transform: none;
}

/* ---------- 顶部阅读进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  height: 2.5px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--purple-deep), var(--purple-bright), var(--coral), var(--mint));
  box-shadow: 0 0 12px rgba(184, 148, 255, 0.65);
  pointer-events: none;
}

/* ---------- 全局星云氛围背景 ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
  opacity: 0.45;
  will-change: transform;
}

.orb-1 {
  width: min(76vw, 680px);
  height: min(76vw, 680px);
  top: -18%;
  left: -14%;
  background: radial-gradient(circle, rgba(132, 76, 255, 0.56) 0%, rgba(72, 34, 145, 0.16) 52%, transparent 72%);
  animation: orbDriftA 18s ease-in-out infinite alternate;
}

.orb-2 {
  width: min(70vw, 620px);
  height: min(70vw, 620px);
  top: 18%;
  right: -18%;
  background: radial-gradient(circle, rgba(255, 118, 86, 0.36) 0%, rgba(164, 62, 132, 0.18) 48%, transparent 72%);
  animation: orbDriftB 22s ease-in-out infinite alternate;
}

.orb-3 {
  width: min(64vw, 560px);
  height: min(64vw, 560px);
  bottom: -22%;
  left: 28%;
  background: radial-gradient(circle, rgba(56, 226, 173, 0.18) 0%, rgba(123, 77, 255, 0.22) 48%, transparent 74%);
  animation: orbDriftA 25s ease-in-out infinite alternate-reverse;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(215, 194, 255, 0.18) 1px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 22%, #000 10%, transparent 88%);
  opacity: 0.55;
}

.ambient-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, transparent 45%, rgba(6, 4, 14, 0.72) 100%);
}

@keyframes orbDriftA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(4%, 6%, 0) scale(1.08); }
}

@keyframes orbDriftB {
  0% { transform: translate3d(0, 0, 0) scale(1.04); }
  100% { transform: translate3d(-5%, -4%, 0) scale(0.95); }
}

/* ---------- 悬浮玻璃顶栏 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 10px;
  transition: padding 0.3s var(--ease-out);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 6px 10px 6px 12px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(15, 11, 29, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 10px 34px rgba(3, 1, 10, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.header.is-scrolled .topbar {
  background: rgba(12, 9, 24, 0.86);
  border-color: rgba(203, 181, 255, 0.22);
  box-shadow: 0 14px 40px rgba(2, 0, 10, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(140deg, #241945, #140e29);
  border: 1px solid rgba(203, 181, 255, 0.3);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.28);
}

.mark-ring {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.6px solid var(--purple-bright);
}

.mark-core {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 8px var(--coral);
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.brand-text strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text small {
  display: none;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(184, 148, 255, 0.14);
  border: 1px solid rgba(184, 148, 255, 0.22);
  color: var(--purple-bright);
  font: 600 10px/1.2 var(--mono);
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.desktop-nav a {
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.desktop-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(145, 94, 255, 0.34), rgba(255, 127, 98, 0.2));
  box-shadow: inset 0 0 0 1px rgba(215, 194, 255, 0.26);
}

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

.icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}

.icon-pill:hover {
  color: #fff;
  border-color: var(--border-strong);
  background: rgba(184, 148, 255, 0.12);
}

.icon-pill .copy-label {
  display: none;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #8e5cff, #ff7e5f);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(154, 96, 255, 0.34);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 10px 26px rgba(255, 127, 98, 0.34);
}

/* ---------- 通用追光玻璃卡片基类 ---------- */
.spotlight {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(196, 166, 255, 0.16),
    rgba(255, 127, 98, 0.06) 42%,
    transparent 70%
  );
  transition: opacity 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .spotlight:hover::before {
    opacity: 1;
  }
  .spotlight:hover {
    border-color: rgba(215, 194, 255, 0.34);
    box-shadow: 0 18px 48px rgba(4, 2, 14, 0.52), 0 0 0 1px rgba(184, 148, 255, 0.1);
  }
}

.spotlight > * {
  position: relative;
  z-index: 1;
}

/* ---------- 滚动显现动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.46s var(--ease-out) var(--delay, 0ms), transform 0.46s var(--ease-out) var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- HERO 首屏 ---------- */
.hero {
  padding-block: 18px 36px;
  display: grid;
  gap: 20px;
  align-items: center;
}

.hero-identity,
.hero-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 226, 173, 0.25);
  background: rgba(18, 28, 36, 0.65);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 0 24px rgba(56, 226, 173, 0.1);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(56, 226, 173, 0.7);
  animation: pulseRing 2.2s ease-out infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(56, 226, 173, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(56, 226, 173, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 226, 173, 0); }
}

.status-sep {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.18);
}

.status-code {
  color: var(--mint);
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.06em;
}

.hero-name {
  margin-top: 16px;
  font-size: clamp(54px, 14vw, 96px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.gradient-name {
  background: linear-gradient(125deg, #ffffff 18%, #e4d6ff 58%, #ffb49e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-dot {
  color: var(--coral);
  text-shadow: 0 0 28px rgba(255, 127, 98, 0.75);
}

.role-row {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.role {
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.focus-ticker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 13px;
  border-radius: 10px;
  background: rgba(19, 14, 38, 0.85);
  border: 1px solid rgba(184, 148, 255, 0.24);
  font: 500 13px/1.4 var(--mono);
  color: var(--purple-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  width: fit-content;
}

.ticker-prefix {
  color: var(--coral);
  font-weight: 700;
}

.ticker-text {
  transition: opacity 0.28s ease, transform 0.28s var(--ease-out);
}

.ticker-text.is-switching {
  opacity: 0;
  transform: translateY(-4px);
}

.ticker-cursor {
  width: 2px;
  height: 14px;
  border-radius: 2px;
  background: var(--coral);
  animation: blinkCursor 1s steps(2, start) infinite;
}

@keyframes blinkCursor {
  to { opacity: 0; }
}

.lead {
  margin-top: 2px;
  max-width: 34em;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.82;
}

.actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.button:active {
  transform: scale(0.98);
}

.button.primary {
  background: linear-gradient(135deg, #8a56ff 0%, #c15dff 52%, #ff7f62 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(145, 92, 255, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.button.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease-out);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255, 127, 98, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.button.primary:hover::after {
  transform: translateX(130%);
}

.button.secondary {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.button.secondary:hover {
  transform: translateY(-2px);
  background: rgba(184, 148, 255, 0.14);
  border-color: rgba(215, 194, 255, 0.45);
}

.hero-metrics {
  margin-top: 26px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-metrics .metric-card:last-child {
  grid-column: 1 / -1;
}

.metric-card {
  padding: 13px 15px;
  border-radius: 15px;
}

.metric-card dt {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.metric-card dd {
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-card dd strong {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.metric-card dd span {
  font-size: 11px;
  color: var(--purple-bright);
  opacity: 0.85;
}

/* ---------- 3D 全息交互舞台 ---------- */
.stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: clamp(305px, 79vw, 420px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(203, 181, 255, 0.24);
  background:
    radial-gradient(ellipse 68% 58% at 50% 48%, rgba(128, 86, 218, 0.42) 0%, rgba(45, 27, 84, 0.48) 46%, transparent 78%),
    radial-gradient(circle at 82% 20%, rgba(255, 127, 98, 0.22), transparent 46%),
    linear-gradient(155deg, #1b1334 0%, #100b21 62%, #0a0717 100%);
  box-shadow:
    0 24px 64px rgba(3, 1, 14, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: border-color 0.4s ease, background 0.5s ease;
}

.stage[data-theme="cyber"] {
  background:
    radial-gradient(ellipse 68% 58% at 50% 48%, rgba(56, 200, 232, 0.34) 0%, rgba(36, 26, 78, 0.52) 48%, transparent 78%),
    radial-gradient(circle at 80% 24%, rgba(236, 72, 153, 0.24), transparent 46%),
    linear-gradient(155deg, #101933 0%, #0b0e24 62%, #070815 100%);
  border-color: rgba(112, 232, 255, 0.3);
}

.stage[data-theme="studio"] {
  background:
    radial-gradient(ellipse 68% 58% at 50% 48%, rgba(246, 178, 122, 0.32) 0%, rgba(65, 42, 76, 0.46) 48%, transparent 78%),
    radial-gradient(circle at 22% 24%, rgba(196, 166, 255, 0.22), transparent 46%),
    linear-gradient(155deg, #25192f 0%, #160f22 62%, #0c0816 100%);
  border-color: rgba(255, 198, 152, 0.28);
}

.stage-aura {
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 120deg at 50% 50%, transparent 0deg, rgba(184, 148, 255, 0.12) 70deg, transparent 140deg, rgba(255, 127, 98, 0.12) 240deg, transparent 320deg);
  animation: stageSpin 26s linear infinite;
  pointer-events: none;
}

@keyframes stageSpin {
  to { transform: rotate(360deg); }
}

.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(203, 181, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 181, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, transparent 15%, #000 88%);
  pointer-events: none;
}

/* 全息光波微扫线 */
.stage-scan {
  position: absolute;
  inset-inline: 0;
  height: 110px;
  top: -110px;
  background: linear-gradient(180deg, transparent, rgba(196, 166, 255, 0.09), transparent);
  animation: holoScan 6.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes holoScan {
  0%, 15% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  75% { opacity: 0.7; }
  100% { transform: translateY(640px); opacity: 0; }
}

/* 四角精密取景框 */
.stage-corners i {
  position: absolute;
  z-index: 2;
  width: 14px;
  height: 14px;
  pointer-events: none;
  border-color: rgba(215, 194, 255, 0.42);
  border-style: solid;
}
.stage-corners i:nth-child(1) { top: 14px; left: 14px; border-width: 1.5px 0 0 1.5px; border-radius: 4px 0 0 0; }
.stage-corners i:nth-child(2) { top: 14px; right: 14px; border-width: 1.5px 1.5px 0 0; border-radius: 0 4px 0 0; }
.stage-corners i:nth-child(3) { bottom: 14px; left: 14px; border-width: 0 0 1.5px 1.5px; border-radius: 0 0 0 4px; }
.stage-corners i:nth-child(4) { bottom: 14px; right: 14px; border-width: 0 1.5px 1.5px 0; border-radius: 0 0 4px 0; }

.stage-top {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(14, 10, 29, 0.65);
  border: 1px solid rgba(203, 181, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--purple-bright);
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-desktop {
  display: none;
}

.badge-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 8px var(--coral);
}

.stage-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: auto;
  flex-shrink: 0;
}

.stage-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  min-width: 32px;
  padding: 0 8px;
  border-radius: 9px;
  border: 1px solid rgba(203, 181, 255, 0.26);
  background: rgba(16, 11, 32, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #f3ecff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
}

.stage-btn:hover {
  background: rgba(139, 92, 246, 0.28);
  border-color: rgba(215, 194, 255, 0.55);
}

.stage-btn:active {
  transform: scale(0.94);
}

.stage-art {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.stage-art canvas,
.poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stage-art canvas {
  display: block;
  cursor: grab;
  /* 移动端允许纵向正常滚动网页，横向滑动旋转 3D 模型 */
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.stage-art canvas:active {
  cursor: grabbing;
}

.poster {
  object-fit: contain;
  padding: 36px 20px 26px;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.55));
  transition: opacity 0.45s ease;
}

.stage.ready .poster {
  opacity: 0;
  pointer-events: none;
}

.stage.ready canvas {
  opacity: 1;
}

/* ---------- 通用章节头部 ---------- */
.section {
  padding-block: 58px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.section-head-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-head p:not(.eyebrow),
.section-desc {
  max-width: 34em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral-soft);
  font: 700 11px/1.2 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--purple), var(--coral));
}

h2 {
  margin-top: 8px;
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

h2 span {
  color: var(--coral);
  margin-inline-start: 2px;
}

/* ---------- 精选项目区 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.22s var(--ease-out);
}

.filter-btn em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.filter-btn:hover {
  border-color: var(--border-strong);
  color: #fff;
}

.filter-btn.is-active {
  background: linear-gradient(135deg, rgba(145, 94, 255, 0.34), rgba(255, 127, 98, 0.24));
  border-color: rgba(215, 194, 255, 0.42);
  color: #fff;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.22);
}

.filter-btn.is-active em {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
}

.project-card.is-filtered-out {
  display: none;
}

.project-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #231333;
}

.project-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out), filter 0.45s ease;
}

.project-card:hover .project-image {
  transform: scale(1.045);
}

.media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 6, 19, 0.36) 0%, transparent 32%, rgba(18, 12, 34, 0.94) 100%);
  pointer-events: none;
}

.media-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.project-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(11, 8, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #f3ecff;
  font: 600 11px/1.2 var(--mono);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

.zoom-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(11, 8, 22, 0.68);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.zoom-btn:hover {
  background: rgba(145, 94, 255, 0.45);
  border-color: rgba(215, 194, 255, 0.55);
  transform: scale(1.06);
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 20px;
  margin-top: -18px;
}

.project-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-icon,
.skill-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.icon-purple {
  background: linear-gradient(145deg, rgba(145, 94, 255, 0.28), rgba(145, 94, 255, 0.08));
  color: var(--purple-bright);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.icon-coral {
  background: linear-gradient(145deg, rgba(255, 127, 98, 0.28), rgba(255, 127, 98, 0.08));
  color: var(--coral-soft);
  box-shadow: 0 8px 20px rgba(255, 127, 98, 0.18);
}

.icon-mint {
  background: linear-gradient(145deg, rgba(56, 226, 173, 0.24), rgba(56, 226, 173, 0.06));
  color: var(--mint);
  box-shadow: 0 8px 20px rgba(56, 226, 173, 0.15);
}

.icon-amber {
  background: linear-gradient(145deg, rgba(247, 186, 99, 0.24), rgba(247, 186, 99, 0.06));
  color: var(--amber);
  box-shadow: 0 8px 20px rgba(247, 186, 99, 0.15);
}

.project-head h3 {
  font-size: 21px;
  font-weight: 850;
  color: #fff;
  line-height: 1.25;
}

.project-sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--purple-bright);
  opacity: 0.9;
}

.project-summary {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.72;
}

.project-checks {
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.project-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid rgba(203, 181, 255, 0.1);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.project-checks li:hover {
  background: rgba(184, 148, 255, 0.075);
  border-color: rgba(203, 181, 255, 0.24);
}

.check-mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(56, 226, 173, 0.14);
  border: 1px solid rgba(56, 226, 173, 0.35);
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
}

.project-checks strong {
  display: block;
  font-size: 13px;
  font-weight: 750;
  color: #fff;
  margin-bottom: 2px;
}

.project-checks span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.62;
}

/* ---------- 工作经历与时间轴 ---------- */
.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.timeline-rail {
  position: relative;
  display: flex;
  justify-content: center;
}

.timeline-rail::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: -24px;
  width: 2px;
  background: linear-gradient(180deg, rgba(184, 148, 255, 0.45), rgba(184, 148, 255, 0.08));
}

.timeline-item:last-child .timeline-rail::before {
  background: linear-gradient(180deg, rgba(184, 148, 255, 0.35), transparent);
  bottom: 0;
}

.timeline-node {
  position: relative;
  margin-top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--purple);
  box-shadow: 0 0 14px rgba(184, 148, 255, 0.55);
}

.timeline-item.is-current .timeline-node {
  border-color: var(--mint);
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(56, 226, 173, 0.18), 0 0 18px rgba(56, 226, 173, 0.65);
}

.timeline-card {
  padding: 20px;
  border-radius: var(--radius-md);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.timeline-meta time {
  color: var(--purple-bright);
  font: 600 12px/1.3 var(--mono);
  letter-spacing: 0.04em;
}

.current-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(56, 226, 173, 0.14);
  border: 1px solid rgba(56, 226, 173, 0.32);
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
}

.current-tag i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.timeline-card h3 {
  margin-top: 10px;
  font-size: 19px;
  font-weight: 850;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-card small {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(184, 148, 255, 0.16);
  border: 1px solid rgba(184, 148, 255, 0.28);
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 700;
}

.timeline-card p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.education {
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
}

.edu-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.edu-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(145, 94, 255, 0.24), rgba(255, 127, 98, 0.16));
  border: 1px solid rgba(215, 194, 255, 0.24);
  color: var(--purple-bright);
}

.education h3 {
  margin-top: 5px;
  font-size: 18px;
  font-weight: 850;
}

.edu-major {
  margin-top: 3px;
  font-size: 13px;
  color: var(--ink-soft);
}

.edu-time {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--purple-bright);
  font: 600 12px/1.2 var(--mono);
}

/* ---------- QA 质量保障流水线与技能矩阵 ---------- */
.qa-pipeline {
  margin-bottom: 24px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(24, 17, 46, 0.8), rgba(16, 12, 32, 0.85));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pipe-step {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(203, 181, 255, 0.1);
}

.pipe-step span {
  font: 700 11px/1 var(--mono);
  color: var(--coral-soft);
}

.pipe-step strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.pipe-step.is-final {
  border-color: rgba(56, 226, 173, 0.3);
  background: rgba(56, 226, 173, 0.08);
}

.pipe-step.is-final span,
.pipe-step.is-final strong {
  color: var(--mint);
}

.pipe-arrow {
  display: none;
}

.skill-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.skill-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: var(--radius-md);
}

.skill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skill-index {
  font: 700 12px/1 var(--mono);
  color: rgba(215, 194, 255, 0.34);
  letter-spacing: 0.1em;
}

.skill-card h3 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.skill-card p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.tags li {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(184, 148, 255, 0.1);
  border: 1px solid rgba(184, 148, 255, 0.22);
  color: var(--purple-bright);
  font: 600 12px/1.25 var(--mono);
  transition: transform 0.2s var(--ease-out), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tags li:hover {
  transform: translateY(-2px);
  background: rgba(184, 148, 255, 0.22);
  border-color: rgba(255, 146, 114, 0.45);
  color: #fff;
}

/* ---------- 联系页脚大卡片 ---------- */
.footer {
  padding-block: 24px 36px;
}

.contact-card {
  position: relative;
  padding: 28px 20px 22px;
  border-radius: var(--radius-xl);
  border-color: rgba(203, 181, 255, 0.24);
  background:
    radial-gradient(ellipse 65% 80% at 88% 12%, rgba(255, 127, 98, 0.2), transparent 62%),
    radial-gradient(ellipse 65% 80% at 10% 90%, rgba(139, 92, 246, 0.26), transparent 62%),
    rgba(19, 14, 38, 0.86);
}

.contact-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-sub {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.email-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(8, 6, 18, 0.65);
  border: 1px solid rgba(203, 181, 255, 0.2);
}

.email-tag {
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 127, 98, 0.16);
  color: var(--coral-soft);
  font: 700 10px/1.2 var(--mono);
  letter-spacing: 0.08em;
}

.email-address {
  font: 600 14px/1.3 var(--mono);
  color: #fff;
  word-break: break-all;
}

.email-address:hover {
  color: var(--purple-bright);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.footer-end {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(203, 181, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.back-top:hover {
  color: var(--coral-soft);
  transform: translateY(-2px);
}

/* ---------- 移动端悬浮底部 Dock ---------- */
.mobile-dock {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(calc(100% - 24px), 420px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 6px;
  border-radius: 20px;
  border: 1px solid rgba(203, 181, 255, 0.24);
  background: rgba(14, 10, 29, 0.84);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mobile-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 4px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.25s var(--ease-out);
}

.mobile-dock a.is-active {
  color: #fff;
  background: linear-gradient(140deg, rgba(145, 94, 255, 0.36), rgba(255, 127, 98, 0.24));
  box-shadow: inset 0 0 0 1px rgba(215, 194, 255, 0.28);
}

/* ---------- 高清图片灯箱 Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 12, 0.84);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(215, 194, 255, 0.28);
  background: #140f27;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.78);
  animation: popIn 0.26s var(--ease-out);
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.lightbox-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 127, 98, 0.24);
  border-color: rgba(255, 127, 98, 0.5);
}

.lightbox-dialog img {
  display: block;
  width: 100%;
  max-height: 76dvh;
  object-fit: contain;
  background: #0b0718;
}

/* ---------- 全局悬浮 Toast ---------- */
.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(14px);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(56, 226, 173, 0.38);
  background: rgba(14, 24, 30, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #ecfff8;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.25s var(--ease-out);
  pointer-events: none;
}

.toast.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

/* ==========================================================================
   平板与桌面响应式断点（Mobile First 逐级增强）
   ========================================================================== */

@media (min-width: 600px) {
  .wrap {
    width: min(100% - 48px, 1200px);
  }

  .brand-text small,
  .icon-pill .copy-label,
  .badge-desktop {
    display: inline;
  }

  .badge-mobile {
    display: none;
  }

  .stage-btn {
    min-height: 34px;
    min-width: 34px;
    padding: 0 10px;
    gap: 6px;
  }

  .filter-bar {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 13px;
    gap: 6px;
  }

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

  .hero-metrics .metric-card:last-child {
    grid-column: auto;
  }

  .actions {
    width: auto;
  }

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

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

  .contact-card {
    padding: 36px 32px 26px;
  }
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .mobile-dock {
    display: none;
  }

  .desktop-nav {
    display: flex;
  }

  .toast {
    bottom: 28px;
  }

  .section {
    padding-block: 76px;
  }

  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
  }

  .section-head-right {
    align-items: flex-end;
    text-align: right;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .project-body {
    padding: 18px 24px 24px;
  }

  .timeline-card {
    padding: 24px 26px;
  }

  .education {
    padding: 24px 28px;
  }

  .contact-main {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .contact-panel {
    min-width: 340px;
  }
}

@media (min-width: 980px) {
  .header {
    padding-top: 14px;
  }

  .topbar {
    min-height: 64px;
    padding: 8px 12px 8px 16px;
  }

  .hero {
    min-height: min(calc(100dvh - 96px), 780px);
    padding-block: 36px 56px;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    grid-template-rows: auto auto;
    grid-template-areas:
      "identity stage"
      "detail stage";
    align-content: center;
    gap: 18px clamp(30px, 4.5vw, 64px);
  }

  .hero-identity {
    grid-area: identity;
    align-self: end;
  }

  .hero-detail {
    grid-area: detail;
    align-self: start;
  }

  .role-row {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .stage {
    grid-area: stage;
    height: clamp(470px, 46vw, 570px);
  }

  /* 桌面端展示单行流动 QA 流水线 */
  .qa-pipeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 20px;
  }

  .pipe-step {
    flex: 1;
    justify-content: center;
    white-space: nowrap;
  }

  .pipe-arrow {
    display: block;
    width: 18px;
    height: 1.5px;
    flex-shrink: 0;
    background: linear-gradient(90deg, rgba(184, 148, 255, 0.25), rgba(255, 127, 98, 0.75));
    position: relative;
  }

  .pipe-arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid var(--coral-soft);
    border-right: 1.5px solid var(--coral-soft);
    transform: rotate(45deg);
  }

  .contact-card {
    padding: 46px 46px 28px;
  }
}

@media (min-width: 1160px) {
  .skill-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ---------- 无障碍减少动效兼容 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ambient-orb,
  .stage-aura,
  .stage-scan,
  .status-dot,
  .ticker-cursor {
    animation: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}
