/* ============================================================
   Design Spec Injection — neon-cyber（路线 B）
   来源：E:\UI知识库\design-specs\design-spec-bong-portfolio.md
        + design-spec-blog-8765777-xyz.md（霓虹发光手法）
   风格：近黑四档灰阶 · 紫粉青三色霓虹 · 超大圆角 · 圆体展示字 · 发光交互
   约束：本文件优先级高于 style.css / spec-linear-app.css，只替换视觉层，不动结构。
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Zen+Maru+Gothic:wght@400;500;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* ---- L1 令牌（赛博霓虹） ---- */
  --bg: #070707;
  --bg-card: #0f0f14;
  --bg-elevated: #141414;
  --bg-active: #1a1a20;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(42, 240, 234, 0.42);
  --text: #f5f0ff;
  --text-dim: #c9c4d6;
  --text-mute: #9ca3af;

  --neon-pink: #ff3d8b;
  --neon-pink-soft: #ff9ffc;
  --neon-cyan: #2af0ea;
  --neon-purple: #a855f7;
  --neon-violet: #c084fc;
  --neon-yellow: #ffe14d;

  --accent: #ff3d8b;
  --accent-2: #a855f7;
  --accent-dim: rgba(255, 61, 139, 0.12);
  --accent-glow: rgba(255, 61, 139, 0.38);
  --accent-soft: #ff9ffc;
  --lime: #2af0ea;
  --amber: #ffe14d;
  --danger: #ff5a63;
  --shadow: rgba(0, 0, 0, 0.55);
  --grid-line: rgba(168, 85, 247, 0.05);
  --max-w: 1200px;

  --font-display: 'Kanit', 'Zen Maru Gothic', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, Consolas, monospace;

  --line-hair: rgba(255, 255, 255, 0.07);
  --line-lit: rgba(255, 255, 255, 0.16);
  --shadow-deep: 0 18px 60px -20px rgba(0, 0, 0, 0.85);
  --radius-spec: 24px;
  --radius-lg: 34px;
  --radius-pill: 9999px;

  --ease-fluid: cubic-bezier(.33, 1, .68, 1);
  --glow-pink: 0 0 24px rgba(255, 61, 139, 0.45);
  --glow-cyan: 0 0 32px rgba(42, 240, 234, 0.22);
}

/* 全局裁掉画布外的装饰层与离屏面板造成的横向溢出（不产生滚动容器，不影响 sticky） */
html { overflow-x: clip; }

/* ---- L3 底片：近黑 + 极淡霓虹雾 ---- */
body {
  overflow-x: clip;
  background:
    radial-gradient(70% 50% at 12% -8%, rgba(168, 85, 247, 0.10), transparent 60%),
    radial-gradient(60% 45% at 88% 6%, rgba(42, 240, 234, 0.07), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.005em;
}

/* ---- L2 排版：Kanit + 圆体，大字号要紧 ---- */
h1, h2, h3, h4, h5,
.hero-title, .section-title, .project-title, .article-title,
.about-hero-title, .contact-title, .skill-card h4, .timeline-title,
.about-card-title, .friend-name, .moment-name {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  line-height: 1.08;
  font-weight: 600;
  color: var(--text);
}

.section-title {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  text-shadow: 0 0 14px rgba(42, 240, 234, 0.45);
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.section-desc { color: var(--text-mute); max-width: 660px; font-size: 15px; line-height: 1.75; }

/* 区块交界：霓虹细线 */
.section { position: relative; }
.section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.45), rgba(42, 240, 234, 0.35), transparent);
  pointer-events: none;
}

/* ---- LOADER ---- */
.loader { background: var(--bg); }
.loader::before { content: none; }
.loader-logo {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, var(--neon-pink), var(--neon-purple), var(--neon-cyan));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: neon-shift 4s linear infinite;
}
.loader-bar { background: rgba(255, 255, 255, 0.07); }
.loader-bar::after {
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
  box-shadow: 0 0 18px rgba(255, 61, 139, 0.6);
}

/* ---- NAV ---- */
.navbar {
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-hair);
}
.navbar::after { display: none; }
body.has-hero .navbar:not(.scrolled) {
  background: rgba(7, 7, 7, 0.92);
  border-bottom-color: var(--line-hair);
}
.navbar.scrolled {
  top: 0; left: 0; right: 0;
  height: 64px;
  border-radius: 0;
  background: rgba(7, 7, 7, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-bottom: 1px solid var(--line-hair);
  box-shadow: 0 8px 32px -20px rgba(0, 0, 0, 0.9);
}
.navbar.scrolled .nav-inner { border: none; padding: 0 24px; }

.nav-inner { max-width: none; padding: 0 24px; }

.nav-logo-mark {
  border: none;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 61, 139, 0.42);
}
.nav-logo-text .name {
  font-family: var(--font-display);
  letter-spacing: 0;
  font-weight: 600;
}
.nav-logo-text .role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--neon-cyan);
  opacity: 0.75;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-mute);
  position: relative;
  transition: color .22s var(--ease-fluid), text-shadow .22s var(--ease-fluid);
}
.nav-links a:hover { color: var(--text); text-shadow: 0 0 16px rgba(255, 61, 139, 0.55); }
.nav-links a.active {
  color: var(--text);
  background: transparent;
  text-shadow: 0 0 16px rgba(255, 61, 139, 0.4);
}
.nav-links a.active::after {
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
  height: 2px;
  box-shadow: 0 0 12px rgba(255, 61, 139, 0.7);
}
.nav-links a[href="workspace.html"] { color: var(--text-dim); }
.nav-links a[href="workspace.html"]::before { content: none; }

/* CTA：粉底胶囊 + 光晕 */
.nav-cta, .contact-cta, .btn-primary, .gb-btn, .about-hero-cta {
  background: linear-gradient(135deg, var(--neon-pink), #d62d74);
  border: 1px solid rgba(255, 159, 252, 0.35);
  border-radius: var(--radius-pill);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  box-shadow: var(--glow-pink);
  transition: box-shadow .25s var(--ease-fluid), transform .25s var(--ease-fluid), filter .25s var(--ease-fluid);
}
.nav-cta:hover, .contact-cta:hover, .btn-primary:hover, .gb-btn:hover, .about-hero-cta:hover {
  filter: brightness(1.12);
  color: #fff;
  border-color: rgba(255, 159, 252, 0.6);
  box-shadow: 0 0 36px rgba(255, 61, 139, 0.65);
  transform: translateY(-2px);
}
.nav-cta .dot { display: none; }

.btn-ghost, .gb-btn.ghost {
  background: transparent;
  border: 2px solid rgba(42, 240, 234, 0.55);
  border-radius: var(--radius-pill);
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-weight: 500;
  transition: box-shadow .25s var(--ease-fluid), border-color .25s var(--ease-fluid), color .25s var(--ease-fluid);
}
.btn-ghost:hover, .gb-btn.ghost:hover {
  border-color: var(--neon-cyan);
  color: #eafeff;
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

/* ---- HERO：紫 / 青 / 粉 三团雾光 ---- */
.hero { min-height: 100svh; }
.hero-overlay {
  background:
    radial-gradient(46% 42% at 22% 12%, rgba(168, 85, 247, 0.22) 0%, transparent 68%),
    radial-gradient(40% 38% at 82% 22%, rgba(42, 240, 234, 0.15) 0%, transparent 66%),
    radial-gradient(52% 44% at 58% 92%, rgba(255, 61, 139, 0.16) 0%, transparent 70%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.35) 0%, rgba(7, 7, 7, 0.55) 45%, rgba(7, 7, 7, 0.96) 100%);
}
.hero::after { content: none; }

.hero-title {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--neon-pink-soft) 0%, var(--neon-violet) 45%, var(--neon-cyan) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 22px rgba(255, 61, 139, 0.35));
  animation: neon-shift 6s linear infinite;
}

.hero-content { position: relative; }
.hero-content::before { content: none; }

.hero-subtitle {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.8;
  max-width: 660px;
  font-weight: 400;
}

.sys-bar {
  border-top: 1px solid var(--line-hair);
  border-bottom: 1px solid var(--line-hair);
  background: rgba(7, 7, 7, 0.55);
  backdrop-filter: none;
}
.sys-brand {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(42, 240, 234, 0.4);
}
.sys-bar .sys-right {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  font-size: 11px;
  color: var(--text-mute);
}

/* ---- AI 面板 ---- */
.console-panel {
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.92), rgba(12, 12, 16, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius-spec);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-deep);
}
.console-panel::before { content: none; }
.console-panel:has(.ai-entry-body)::before { content: none; }
.console-panel:has(.ai-entry-body) {
  border-color: var(--border);
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
}
.console-panel:has(.ai-entry-body)::after { content: none; }
.console-panel-head {
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.term-box {
  border: 1px solid var(--border);
  background: rgba(7, 7, 7, 0.7);
  border-radius: 18px;
  transition: border-color .25s var(--ease-fluid), box-shadow .25s var(--ease-fluid);
}
.term-box:hover {
  border-color: rgba(42, 240, 234, 0.5);
  box-shadow: var(--glow-cyan);
}
.term-box .prompt { color: var(--neon-cyan); text-shadow: 0 0 12px rgba(42, 240, 234, 0.5); }
.term-box .prompt::after {
  content: '_';
  margin-left: 2px;
  animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.ai-chip {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-dim);
  transition: all .22s var(--ease-fluid);
}
.ai-chip:hover {
  border-color: rgba(255, 225, 77, 0.6);
  color: var(--neon-yellow);
  background: rgba(255, 225, 77, 0.07);
  box-shadow: 0 0 20px rgba(255, 225, 77, 0.18);
}
.ai-chip:last-child {
  border-color: rgba(255, 61, 139, 0.45);
  color: var(--neon-pink-soft);
}
.ai-chip:last-child:hover {
  border-color: var(--neon-pink);
  background: rgba(255, 61, 139, 0.1);
  box-shadow: var(--glow-pink);
  color: #ffd6ea;
}

.ds-row { border-bottom: 1px solid var(--line-hair); }
.ds-row .ds-name { font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0; color: var(--text); }
.ds-row .ds-desc { color: var(--text-mute); }

.status-tag {
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.03);
}
.status-tag.ok { color: var(--neon-cyan); border-color: rgba(42, 240, 234, 0.35); box-shadow: 0 0 14px rgba(42, 240, 234, 0.12); }
.status-tag.info { color: var(--neon-pink-soft); border-color: rgba(255, 61, 139, 0.35); }
.status-tag.warn { color: var(--neon-yellow); border-color: rgba(255, 225, 77, 0.32); }
.status-tag.err { color: var(--danger); border-color: rgba(255, 90, 99, 0.35); }
.status-tag::before { box-shadow: 0 0 8px currentColor; animation: pulse-dot 2.4s ease-in-out infinite; }

/* ---- 底部数据带 ---- */
.hero-bottom-bar {
  border-top: 1px solid var(--line-hair);
  background: rgba(7, 7, 7, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 0%, var(--neon-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-stat .label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-mute);
}
.hero-stat .sub { font-family: var(--font-body); font-size: 11px; color: var(--text-mute); }
.hero-stat { border-left: none; }

.hero-tech-strip span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-pill);
  transition: all .22s var(--ease-fluid);
}
.hero-tech-strip span:hover {
  color: var(--neon-cyan);
  border-color: rgba(42, 240, 234, 0.45);
  box-shadow: 0 0 16px rgba(42, 240, 234, 0.18);
}
.hero-scroll .text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-mute);
}
.hero-scroll .line { background: linear-gradient(180deg, var(--neon-pink), transparent); }

/* ---- 卡片：0f0f14 + 24px + 霓虹描边 ---- */
.project-card, .skill-card, .article-card, .friend-card, .about-card,
.timeline-content, .gb-message, .log-item, .moment-card, .contact-method {
  background: linear-gradient(165deg, rgba(20, 20, 22, 0.96), rgba(12, 12, 16, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-spec);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-color .28s var(--ease-fluid), transform .28s var(--ease-fluid), box-shadow .28s var(--ease-fluid);
}
.project-card:hover, .skill-card:hover, .article-card:hover, .friend-card:hover, .about-card:hover,
.timeline-content:hover, .gb-message:hover, .log-item:hover, .moment-card:hover, .contact-method:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan), 0 18px 40px -24px #000;
}

/* 影像：保留鲜艳度，hover 提亮 */
.project-img img, .article-cover img, .hero-bg-img, .projects-bg-img,
.skills-bg-img, .contact-bg-img, .moment-images img, .friend-avatar img {
  filter: saturate(1.05) brightness(0.82);
  transition: filter .35s var(--ease-fluid), transform .35s var(--ease-fluid);
}
.project-card:hover .project-img img,
.article-card:hover .article-cover img,
.moment-images img:hover {
  filter: saturate(1.2) brightness(1.12);
  transform: scale(1.03);
}
.projects-bg-img, .skills-bg-img, .contact-bg-img, .articles-bg-deco { opacity: 0.45; }

.project-title { font-size: clamp(22px, 2vw, 30px); font-weight: 600; letter-spacing: -0.015em; }
.project-category, .project-year, .article-cat, .article-date, .timeline-date {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.project-desc, .article-excerpt, .friend-desc, .timeline-desc, .skill-card p {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.75;
}
.project-tags span, .article-tags span, .timeline-tags span, .about-skill-tag, .skill-list span {
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text-mute);
  transition: all .22s var(--ease-fluid);
}
.about-skill-tag:hover, .skill-list span:hover {
  border-color: rgba(255, 225, 77, 0.55);
  color: var(--neon-yellow);
  background: rgba(255, 225, 77, 0.06);
  box-shadow: 0 0 16px rgba(255, 225, 77, 0.14);
}

.project-arrow {
  font-family: var(--font-display);
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-pill);
  backdrop-filter: none;
  transition: all .22s var(--ease-fluid);
}
.project-card:hover .project-arrow {
  color: var(--neon-cyan);
  border-color: rgba(42, 240, 234, 0.5);
  box-shadow: 0 0 16px rgba(42, 240, 234, 0.2);
}

/* 时间轴 */
.timeline::before { background: linear-gradient(180deg, rgba(168, 85, 247, 0.5), rgba(42, 240, 234, 0.28), transparent); }
.timeline-dot {
  background: var(--bg);
  border: 2px solid var(--neon-pink);
  box-shadow: 0 0 14px rgba(255, 61, 139, 0.6);
}

/* ---- 子页页头 ---- */
.about-hero-title, .contact-title, .page-wrap h1 {
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.about-hero-desc, .contact-desc { color: var(--text-mute); font-size: 15px; line-height: 1.75; }
.about-hero-tag, .about-hero-left .about-hero-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(42, 240, 234, 0.4);
}
.about-hero-image, .about-portrait-scan { border: 1px solid var(--border); border-radius: var(--radius-spec); }
.about-hero-image img { filter: saturate(1.05) brightness(0.85); }

/* 分类标签 */
.cat-tabs { border-bottom: 1px solid var(--border); }
.cat-tab {
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-mute);
  transition: color .2s var(--ease-fluid);
}
.cat-tab.active {
  color: var(--text);
  border-color: var(--neon-pink);
  text-shadow: 0 0 16px rgba(255, 61, 139, 0.5);
}
.cat-tab .count { color: var(--text-mute); }

/* 输入 / 表单 */
.gb-textarea, .guestbook-input {
  background: rgba(15, 15, 20, 0.9);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  transition: border-color .25s var(--ease-fluid), box-shadow .25s var(--ease-fluid);
}
.gb-textarea:focus, .guestbook-input:focus {
  outline: none;
  border-color: rgba(42, 240, 234, 0.7);
  box-shadow: 0 0 0 3px rgba(42, 240, 234, 0.18);
}
.guestbook-input:focus-within {
  border-color: rgba(42, 240, 234, 0.7);
  box-shadow: 0 0 0 3px rgba(42, 240, 234, 0.18);
}

/* 联系方式 */
.contact-method .icon { color: var(--neon-pink-soft); filter: drop-shadow(0 0 10px rgba(255, 61, 139, 0.5)); }
.contact-method .label { font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: 0; }

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--line-hair);
  padding: 56px 48px;
  background: transparent;
}
.footer-nav a {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-mute);
  transition: color .2s var(--ease-fluid), text-shadow .2s var(--ease-fluid);
}
.footer-nav a:hover { color: var(--text); text-shadow: 0 0 14px rgba(42, 240, 234, 0.4); }
.footer-copy, .footer-tech, .footer-stats {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
}

/* ---- 滚动条与选中 ---- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-purple), var(--neon-pink));
  border: none;
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--neon-pink), var(--neon-cyan)); }
::selection { background: rgba(255, 61, 139, 0.42); color: #fff; }

/* ---- 残余强调统一 ---- */
.article-pinned {
  background: rgba(255, 61, 139, 0.14);
  border: none;
  color: var(--neon-pink-soft);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(255, 61, 139, 0.18);
}
.log-item:hover .log-dot { background: var(--neon-pink); box-shadow: 0 0 12px var(--neon-pink); }

/* ---- 首屏 3D 数据块 ---- */
#hero .hero-spatial__block--ai .hero-spatial__front,
#hero .hero-spatial__block--core .hero-spatial__front { animation: none; }

/* ---- 小屏兜底 ---- */
@media (max-width: 900px) {
  .hero-title { font-size: clamp(36px, 9.5vw, 56px); }
  .section-title { font-size: clamp(28px, 7.5vw, 40px); }
  .footer { padding: 36px 24px; }
  .project-card, .skill-card, .article-card, .friend-card, .about-card,
  .timeline-content, .gb-message, .log-item, .moment-card, .contact-method { border-radius: 20px; }
}

/* ---- about 页作用域收编 ---- */
.about-page .about-hero-tag {
  border-color: rgba(42, 240, 234, 0.4);
  color: var(--neon-cyan);
  background: rgba(42, 240, 234, 0.06);
  box-shadow: 0 0 18px rgba(42, 240, 234, 0.12);
}
.about-page .about-hero-title { text-shadow: none; }
.about-page .about-hero-title .accent {
  background: linear-gradient(120deg, var(--neon-pink-soft) 0%, var(--neon-violet) 45%, var(--neon-cyan) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: neon-shift 6s linear infinite;
}
.about-page .about-hero-desc { color: var(--text-mute); }
.about-page .about-hero-cta {
  background: linear-gradient(135deg, var(--neon-pink), #d62d74);
  color: #fff;
  box-shadow: var(--glow-pink);
}
.about-page .about-hero-cta:hover {
  background: linear-gradient(135deg, var(--neon-pink), #d62d74);
  box-shadow: 0 0 36px rgba(255, 61, 139, 0.65);
}
.about-page .about-hero-frame { border-color: var(--line-lit); }
.about-page .about-hero-frame-back { background: none; }
.about-page .about-hero-frame-front { border-color: var(--line-hair); }
.about-page .about-portrait-scan { display: none; }
.about-page .about-portrait-corner { border-color: var(--neon-cyan); box-shadow: 0 0 12px rgba(42, 240, 234, 0.35); }
.about-page .about-portrait-meta strong { color: var(--text); }
.about-page .about-portrait-status i {
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
}
.about-page .about-hero { background: var(--bg); }
.about-page .about-hero-bg {
  background:
    radial-gradient(circle at 76% 44%, rgba(168, 85, 247, 0.18), transparent 34%),
    radial-gradient(circle at 22% 20%, rgba(42, 240, 234, 0.1), transparent 30%),
    linear-gradient(112deg, #070707 0%, #0b0a10 54%, #100e18 100%);
}
.about-page .about-hero-bg::after { opacity: 0.3; }
.about-page .about-hero-left { border-left: 2px solid rgba(255, 61, 139, 0.5); }
.about-page .about-hero-left::before,
.about-page .about-hero-left::after { background: var(--neon-pink); box-shadow: 0 0 10px var(--neon-pink); }
.about-page .about-hero-image {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6), 0 0 32px rgba(168, 85, 247, 0.18);
  border-radius: var(--radius-spec);
  border-color: var(--border);
}
.about-page .about-hero-image:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(42, 240, 234, 0.2);
}
.about-page .about-hero-image::before { background: none; }
.about-page .about-content::before { background: var(--line-hair); }
.about-page .about-card {
  border-radius: var(--radius-spec);
  border-color: var(--border);
  background: linear-gradient(165deg, rgba(20, 20, 22, 0.96), rgba(12, 12, 16, 0.98));
  box-shadow: none;
}
.about-page .about-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-cyan);
}

/* ---- style.css 硬编码色收编 ---- */
.status-tag.info { color: var(--neon-pink-soft); border-color: rgba(255, 61, 139, 0.38); }
.status-tag.ok { color: var(--neon-cyan); border-color: rgba(42, 240, 234, 0.38); }

.hero-right {
  background: linear-gradient(165deg, rgba(20, 20, 22, 0.94), rgba(12, 12, 16, 0.96));
  border: 1px solid var(--border);
  border-radius: var(--radius-spec);
  box-shadow: var(--shadow-deep);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.about-hero-cta { box-shadow: var(--glow-pink); }
.about-hero-cta:hover { box-shadow: 0 0 36px rgba(255, 61, 139, 0.65); }

::selection { background: rgba(255, 61, 139, 0.38); }

body::before { background-image: none; }

.hero-spatial__block--core .hero-spatial__front,
.hero-spatial__block--source .hero-spatial__front { border-color: var(--line-lit); }
.hero-spatial__block--ai .hero-spatial__front { border-color: rgba(168, 85, 247, 0.5); }

.aic-btn.primary {
  border-color: rgba(255, 61, 139, 0.5);
  background: rgba(255, 61, 139, 0.1);
  color: var(--neon-pink-soft);
  border-radius: var(--radius-pill);
}
.aic-btn.primary:hover { box-shadow: var(--glow-pink); color: #fff; }
.aic-banner.err { border-color: rgba(255, 90, 99, 0.4); background: rgba(255, 90, 99, 0.08); color: #ff8f9a; }
.aic-banner.warn { border-color: rgba(255, 225, 77, 0.4); background: rgba(255, 225, 77, 0.08); color: var(--neon-yellow); }

/* ===== 动画层（路线 B） ===== */
@keyframes neon-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 61, 139, 0.42); }
  70% { box-shadow: 0 0 0 12px rgba(255, 61, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 61, 139, 0); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 卡片入场：轻微上浮，逐张延迟 */
.project-card, .skill-card, .article-card, .friend-card, .about-card, .moment-card {
  animation: rise-in .5s var(--ease-fluid) both;
}
.project-card:nth-child(2), .skill-card:nth-child(2), .article-card:nth-child(2),
.friend-card:nth-child(2), .about-card:nth-child(2), .moment-card:nth-child(2) { animation-delay: .06s; }
.project-card:nth-child(3), .skill-card:nth-child(3), .article-card:nth-child(3),
.friend-card:nth-child(3), .about-card:nth-child(3), .moment-card:nth-child(3) { animation-delay: .12s; }
.project-card:nth-child(4), .skill-card:nth-child(4), .article-card:nth-child(4),
.friend-card:nth-child(4), .about-card:nth-child(4), .moment-card:nth-child(4) { animation-delay: .18s; }

/* 时间轴节点脉搏 */
.timeline-dot { animation: pulse-ring 2.4s ease-in-out infinite; }

/* 统一缓动 */
a, .card, .proj-card, .article-card, .ws-col, button, .btn { transition: all .22s var(--ease-fluid); }

/* 减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .loader-logo, .hero-title .accent, .about-page .about-hero-title .accent,
  .timeline-dot, .project-card, .skill-card, .article-card, .friend-card,
  .about-card, .moment-card { animation: none !important; }
}
