/* ========================================
   About Page — Doodle Studio Style
   朔光与墨 · 涂鸦风
   保留所有交互布局：sticky横向滚动 / 跑马灯 / 视差 / 逐字动画
   公共样式（CSS变量/页面基础/header涂鸦化/动画/reveal/skeleton/toast）
   已提取至 common.css，本文件仅保留 about 专属样式
   ======================================== */

/* --- about 专属 CSS 变量 --- */
:root {
    --about-accent: #6c5ce7;
    --about-accent-hover: #5b4bc6;
    --about-accent-light: rgba(108, 92, 231, 0.08);
    --about-accent-soft: rgba(108, 92, 231, 0.15);
    --about-accent-glow: rgba(108, 92, 231, 0.05);
    --about-accent-rgb: 108, 92, 231;
    --about-surface: rgba(26, 26, 26, 0.03);
    --about-surface-hover: rgba(26, 26, 26, 0.06);
    --about-rule: rgba(26, 26, 26, 0.12);
    --about-rule-accent: rgba(108, 92, 231, 0.3);
    --about-ink: #1a1a1a;
}

/* 防止全宽 milestone section 产生横向滚动条 */
body { overflow-x: clip; }

/* about 专属：移除旧的噪点纹理叠加 */
body.page-about::after { display: none !important; }

/* ========================================
   关键帧动画
   ======================================== */

@keyframes focusIn {
    0% { opacity: 0; filter: blur(8px); transform: translateY(16px); }
    100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@keyframes scrollUnfold {
    0% { clip-path: inset(0 100% 0 0); opacity: 0; }
    100% { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes scalePopIn {
    0% { opacity: 0; transform: scale(0.6); }
    70% { opacity: 1; transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes drawerOutLeft {
    0% { opacity: 0; transform: translateX(-40px); clip-path: inset(0 100% 0 0); }
    100% { opacity: 1; transform: translateX(0); clip-path: inset(0 0 0 0); }
}
@keyframes slideFromRight {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes slideFromLeft {
    0% { opacity: 0; transform: translateX(-30px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes fadeBlurClear {
    0% { opacity: 0; filter: blur(10px); transform: translateY(16px); }
    100% { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@keyframes iconScatter {
    0% { opacity: 0; transform: scale(0.3) translateY(8px); }
    70% { opacity: 1; transform: scale(1.08) translateY(0); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes ruleDrawCenter {
    0% { width: 0; }
    100% { width: 80px; }
}
@keyframes charPop {
    0% { opacity: 0; transform: translateY(20px) rotate(-3deg); }
    100% { opacity: 1; transform: translateY(0) rotate(0); }
}
@keyframes heroGlow {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes accentLineIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes ringIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 0.6; }
}
@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
@keyframes skillBounce {
    0%, 100% { transform: translateY(-3px) scale(1.02); }
    50% { transform: translateY(-3px) scale(1.04); }
}
@keyframes milestoneStarPulse {
    0% { transform: translateX(-50%) scale(0); opacity: 0; }
    60% { transform: translateX(-50%) scale(1.3); opacity: 1; }
    100% { transform: translateX(-50%) scale(1); opacity: 1; }
}
@keyframes milestoneFadeIn {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* floatDecor / bounceSlow / spinSlow / wiggle 已提取至 common.css（统一短横线命名） */

/* --- 逐字动画 --- */
.char-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) rotate(-3deg);
}
.char-reveal.revealed {
    animation: charPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- 视差元素 --- */
.parallax-element {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* --- 涂鸦浮动装饰 --- */
.doodle-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
.doodle-decor--circle {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 3px solid var(--ink);
}
.doodle-decor--square {
    width: 60px; height: 60px;
    border: 3px solid var(--ink);
    border-radius: 12px;
}
.doodle-decor--star {
    width: 40px; height: 40px;
}
.doodle-decor--star svg { width: 100%; height: 100%; }
.doodle-decor--blob {
    width: 100px; height: 100px;
}

/* ========================================
   Hero 区域
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 80px 24px;
}
/* 右侧涂鸦辉光 */
.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 55%; height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(255, 217, 61, 0.25) 0%, transparent 60%);
    animation: heroGlow 1.2s ease-out forwards;
    pointer-events: none;
    z-index: 0;
}
/* 左侧涂鸦竖线装饰（已移除） */
.hero::after { display: none; }
.hero-inner {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 960px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* 头像：blob 形 + 双环 */
.hero-avatar-wrap {
    flex-shrink: 0;
    position: relative;
    opacity: 0;
    animation: scalePopIn 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-avatar-wrap::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    border: 2.5px solid var(--ink);
    animation: ringIn 0.8s 0.6s ease-out forwards;
    opacity: 0;
}
.hero-avatar-wrap::after {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 58% 42% 37% 63% / 56% 59% 41% 44%;
    border: 2px dashed var(--blue);
    animation: ringIn 0.8s 0.8s ease-out forwards;
    opacity: 0;
}
.hero-avatar {
    width: 180px; height: 180px;
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    overflow: hidden;
    border: 3px solid var(--ink);
    position: relative;
    transition: border-color 0.4s, box-shadow 0.4s;
    box-shadow: var(--shadow-hard-lg);
    background: var(--green);
}
.hero-avatar:hover {
    box-shadow: var(--shadow-hard-xl), 0 0 0 4px var(--yellow);
}
.hero-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.hero-avatar:hover img { transform: scale(1.08); }
.hero-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
    font-family: var(--font-doodle);
    font-weight: 900;
    font-size: 72px;
    color: var(--ink);
}

.hero-text {
    flex: 1;
    min-width: 0;
}
.hero-name {
    font-family: var(--font-doodle);
    font-weight: 900;
    font-size: clamp(40px, 7vw, 72px);
    line-height: 1.1;
    text-wrap: balance;
    color: var(--ink);
    margin: 0 0 8px;
}
.hero-title {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    display: inline-block;
    opacity: 0;
    animation: focusIn 0.8s 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title::after {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--pink);
    border: 1.5px solid var(--ink);
    margin-left: 12px;
    vertical-align: middle;
    opacity: 0;
    animation: scalePopIn 0.5s 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-bio {
    font-family: var(--font-doodle);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.9;
    max-width: 420px;
    color: #4b5563;
    margin-top: 16px;
    opacity: 0;
    animation: scrollUnfold 0.9s 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 0.6s 1.5s ease-out forwards;
    z-index: 2;
}
.scroll-hint svg {
    width: 22px; height: 22px;
    color: var(--ink);
    animation: scrollBounce 2.5s infinite ease-in-out;
}
.scroll-hint span {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--ink);
    opacity: 0.6;
}

/* ========================================
   Slogan 区域
   ======================================== */

.slogan-section {
    padding: 140px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.slogan-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(108, 92, 231, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.slogan-inner {
    max-width: 680px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.slogan-rule {
    width: 0;
    height: 4px;
    margin: 0 auto 48px;
    background: var(--ink);
    border-radius: 2px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.slogan-section.visible .slogan-rule { width: 80px; }
.slogan-text {
    font-family: var(--font-doodle);
    font-weight: 800;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 2;
    color: var(--ink);
    opacity: 0;
    filter: blur(10px);
    transform: translateY(16px);
    transition: opacity 1.2s 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1.2s 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.slogan-section.visible .slogan-text {
    opacity: 1; filter: blur(0); transform: translateY(0);
}
.slogan-author {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--blue);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.slogan-section.visible .slogan-author {
    opacity: 1; transform: translateX(0);
}

/* ========================================
   主内容容器 & Section 通用
   ======================================== */

.main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px 120px;
}
.main--pre-milestone { padding-bottom: 0; }

.section {
    margin-bottom: 104px;
}
.section:last-child { margin-bottom: 0; }
.section--skills-title { margin-bottom: 0; }

.section-header {
    margin-bottom: 56px;
    display: flex;
    align-items: baseline;
    gap: 16px;
}
.section-title {
    font-family: var(--font-doodle);
    font-weight: 900;
    font-size: clamp(26px, 3.5vw, 36px);
    line-height: 1.3;
    color: var(--ink);
    margin: 0;
}
.section-title-accent {
    display: inline-block;
    width: 32px; height: 6px;
    background: var(--yellow);
    border: 2px solid var(--ink);
    border-radius: 3px;
    vertical-align: middle;
    margin-right: 14px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-header:hover .section-title-accent { width: 48px; }

/* ========================================
   About Content 区域
   ======================================== */

.about-content {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.section.visible .about-content { opacity: 1; }
.about-content p {
    font-family: var(--font-doodle);
    font-weight: 600;
    font-size: 17px;
    line-height: 2.1;
    margin-bottom: 28px;
    color: #374151;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(10px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.section.visible .about-content p:nth-child(1) { opacity: 1; filter: blur(0); transform: translateY(0); transition-delay: 0.15s; }
.section.visible .about-content p:nth-child(2) { opacity: 1; filter: blur(0); transform: translateY(0); transition-delay: 0.3s; }
.section.visible .about-content p:nth-child(3) { opacity: 1; filter: blur(0); transform: translateY(0); transition-delay: 0.45s; }
.section.visible .about-content p:nth-child(4) { opacity: 1; filter: blur(0); transform: translateY(0); transition-delay: 0.6s; }

/* 首字下沉：涂鸦贴纸风 */
.about-content p:first-child::first-letter {
    font-family: var(--font-doodle);
    font-weight: 900;
    font-size: 3.5em;
    float: left;
    line-height: 0.82;
    margin-right: 12px;
    margin-top: 6px;
    color: var(--ink);
    background: var(--yellow);
    border: 3px solid var(--ink);
    border-radius: 12px;
    box-shadow: var(--shadow-hard-sm);
    padding: 4px 10px;
}
.about-content p:last-child { margin-bottom: 0; }

/* ========================================
   Skills 跑马灯区域
   ======================================== */

.skills-marquee-wrapper {
    width: 100%;
    margin: 0 0 104px;
}
.skills-marquee {
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    position: relative;
    padding: 8px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.skill-track {
    display: flex;
    width: max-content;
    gap: 14px;
    will-change: transform;
    animation: scrollLeft 40s linear infinite;
}
.skill-track:nth-child(even) { animation-name: scrollRight; }
.skill-track:nth-child(1) { animation-duration: 32s; }
.skill-track:nth-child(2) { animation-duration: 45s; }
.skill-track:nth-child(3) { animation-duration: 38s; }
.skill-track:nth-child(4) { animation-duration: 42s; }
.skill-track.paused { animation-play-state: paused; }

/* 胶囊：涂鸦贴纸风 */
.skill-capsule {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 120px;
    border: 2.5px solid var(--ink);
    background: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, background 0.3s, border-color 0.3s;
    box-shadow: var(--shadow-hard-sm);
    font-family: var(--font-doodle);
}
.skill-capsule--loading {
    background: rgba(108, 92, 231, 0.08);
    border-color: rgba(108, 92, 231, 0.18);
}
.skill-capsule:hover {
    transform: translateY(-3px) scale(1.04) rotate(-1deg);
    box-shadow: var(--shadow-hard);
    animation: skillBounce 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.skill-capsule-icon {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: var(--blue);
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.3s, transform 0.3s;
}
.skill-capsule-icon svg {
    width: 18px; height: 18px;
    min-width: 18px; min-height: 18px;
    max-width: 18px; max-height: 18px;
    display: block;
    flex-shrink: 0;
}
.skill-capsule-icon img,
.skill-icon-img {
    width: 18px; height: 18px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}
.skill-capsule:hover .skill-capsule-icon {
    opacity: 1;
    transform: scale(1.15) rotate(5deg);
}
.skill-capsule-name {
    font-family: var(--font-doodle);
    font-weight: 800;
    font-size: 14px;
    color: var(--ink);
    transition: color 0.3s;
}
.skill-capsule-desc {
    font-family: var(--font-doodle);
    font-weight: 600;
    font-size: 12px;
    color: #6b7280;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.4s, opacity 0.4s, margin-left 0.4s, padding-left 0.4s, border-left 0.4s;
    white-space: nowrap;
}
.skill-capsule:hover .skill-capsule-desc {
    max-width: 200px;
    opacity: 1;
    margin-left: 4px;
    padding-left: 10px;
    border-left: 2px solid var(--ink);
}

/* ========================================
   Milestone 里程碑区域
   保留 sticky 横向滚动布局，视觉涂鸦化
   ======================================== */

.milestone-sticky-wrapper {
    position: relative;
}
.milestone-sticky-wrapper .milestone-section {
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow: hidden;
    background: var(--paper);
    color: rgba(26, 26, 26, 0.95);
    padding: 40px 0 80px;
}
.milestone-sticky {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 标题 */
.milestone-title-wrap {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    z-index: 2;
}
.milestone-title {
    max-width: 1312px;
    margin: 0 auto;
    padding: 0 32px;
    font-family: var(--font-doodle);
    font-weight: 900;
    font-size: clamp(26px, 3.5vw, 36px);
    color: var(--ink);
    display: flex;
    align-items: baseline;
    gap: 16px;
}
.milestone-accent {
    display: inline-block;
    width: 32px; height: 6px;
    background: var(--yellow);
    border: 2px solid var(--ink);
    border-radius: 3px;
    vertical-align: middle;
}

/* 横向滚动画布 */
.milestone-scroll {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100vw;
    height: 420px;
    overflow: hidden;
}
.milestone-canvas {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: max-content;
}

/* 渐变曲线：改为粗黑虚线涂鸦风 */
.milestone-curve {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.25;
}
.milestone-curve .svg-path-bg {
    stroke: var(--ink);
    stroke-width: 3;
    stroke-dasharray: 8 6;
    opacity: 0.2;
}
.milestone-curve .svg-path {
    stroke-dasharray: 10000;
    stroke-dashoffset: 10000;
    stroke-width: 4;
    stroke-linecap: round;
}

/* 节点：涂鸦贴纸卡片 */
.milestone-stones {
    position: relative;
    width: 100%;
    height: 100%;
}
.milestone-stone {
    position: absolute;
    width: 258px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.milestone-stone--in {
    opacity: 1;
    transform: translateY(0);
}
.milestone-stone--bottom { top: calc(50% + 40px); }
.milestone-stone--top {
    bottom: calc(50% + 40px);
    flex-direction: column-reverse;
}
.milestone-stone--bottom::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 2px;
    height: 20px;
    transform: translateX(-50%);
    background: var(--ink);
    border-left: 2px dashed var(--ink);
    background: transparent;
}
.milestone-stone--top::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 20px;
    transform: translateX(-50%);
    border-left: 2px dashed var(--ink);
}

/* 星标：涂鸦星 */
.milestone-star {
    position: absolute;
    left: 50%;
    width: 20px; height: 20px;
    transform: translateX(-50%);
    opacity: 0;
}
.milestone-stone--in .milestone-star {
    animation: milestoneStarPulse 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.milestone-star svg {
    width: 100%; height: 100%;
    display: block;
    filter: drop-shadow(2px 2px 0 var(--ink));
}
.milestone-stone--bottom .milestone-star { top: -40px; }
.milestone-stone--top .milestone-star { bottom: -40px; }

.milestone-stone-year {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    color: rgba(26, 26, 26, 0.55);
    margin-bottom: 10px;
}
.milestone-stone--top .milestone-stone-year {
    margin-bottom: 0;
    margin-top: 10px;
}
.milestone-stone-title {
    font-family: var(--font-doodle);
    font-weight: 900;
    font-size: 17px;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.4;
    background: var(--yellow);
    border: 2px solid var(--ink);
    border-radius: 10px;
    box-shadow: var(--shadow-hard-sm);
    padding: 6px 12px;
    display: inline-block;
    align-self: flex-start;
}
.milestone-stone--top .milestone-stone-title {
    align-self: flex-end;
}
.milestone-stone-desc {
    font-family: var(--font-doodle);
    font-weight: 600;
    font-size: 14px;
    color: rgba(26, 26, 26, 0.75);
    line-height: 1.6;
}

/* 进度条导航 */
.milestone-progress {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 1312px;
    max-width: calc(100vw - 64px);
    z-index: 3;
}
.milestone-progress-track {
    position: relative;
    width: 100%;
    height: 20px;
    cursor: pointer;
}
.milestone-progress-years {
    position: absolute;
    left: 0; right: 0;
    top: -28px;
    height: 14px;
    pointer-events: none;
}
.milestone-progress-year {
    position: absolute;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    color: rgba(26, 26, 26, 0.5);
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}
.milestone-progress-year.active {
    color: var(--ink);
    font-weight: 900;
    transform: translateX(-50%) scale(1.15);
}
.milestone-progress-line {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 2px;
    transform: translateY(-50%);
    background: rgba(26, 26, 26, 0.15);
    border-radius: 1px;
}
.milestone-progress-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    width: 0;
    transform: translateY(-50%);
    background: linear-gradient(90deg, #FD5225, #FE6916, #FF9E06, #FEAE01, #E97842, #D95070, #C851E5, #4667FD);
    border-radius: 2px;
    z-index: 1;
}
.milestone-progress-thumb {
    position: absolute;
    top: 50%;
    left: 0;
    width: 54px;
    height: 28px;
    transform: translate(-50%, -50%);
    transition: left 0.1s linear;
    pointer-events: none;
    z-index: 2;
}
.milestone-progress-thumb svg {
    width: 100%; height: 100%;
    display: block;
}

/* Mobile 竖向列表 */
.milestone-mobile {
    display: none;
    position: relative;
    max-width: 1312px;
    margin: 0 auto;
    padding: 0 32px;
}
.milestone-mobile-rail {
    position: absolute;
    left: 8px;
    top: 0; bottom: 0;
    width: 2px;
    background: transparent;
    border-left: 2px dashed var(--ink);
    opacity: 0.3;
}
.milestone-mobile-list {
    display: flex;
    flex-direction: column;
    padding-left: 32px;
    gap: 36px;
}
.milestone-mobile-item {
    position: relative;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.milestone-mobile-item--in {
    opacity: 1;
    transform: translateY(0);
}
.milestone-mobile-item .milestone-star {
    position: absolute;
    left: -32px;
    top: 2px;
    width: 14px; height: 14px;
    opacity: 1;
    transform: none;
}
.milestone-mobile-item .milestone-star svg {
    filter: drop-shadow(1px 1px 0 var(--ink));
}
.milestone-mobile-toggle {
    display: none;
    justify-content: center;
    margin-top: 32px;
}
.milestone-show-more,
.milestone-show-less {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 36px;
    font-family: var(--font-doodle);
    font-weight: 800;
    font-size: 14px;
    color: var(--ink);
    border: 2px solid var(--ink);
    background: var(--yellow);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-hard-sm);
}
.milestone-show-more:hover,
.milestone-show-less:hover {
    transform: translate(-1px, -1px);
    box-shadow: var(--shadow-hard);
}
.milestone-mobile--collapsed .milestone-mobile-item:nth-child(n+5) { display: none; }
.milestone-mobile--collapsed .milestone-show-more { display: inline-flex; }
.milestone-mobile:not(.milestone-mobile--collapsed) .milestone-show-less { display: inline-flex; }
.milestone-mobile--no-toggle .milestone-mobile-toggle { display: none !important; }

/* ========================================
   Contact 区域
   ======================================== */

.contacts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border: 2.5px solid var(--ink);
    border-radius: 16px;
    background: #fff;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, background 0.3s;
    text-decoration: none;
    color: var(--ink);
    box-shadow: var(--shadow-hard-sm);
}
.section.visible .contact-item {
    opacity: 1;
    transform: scale(1);
}
.section.visible .contact-item:nth-child(1) { transition-delay: 0.05s; }
.section.visible .contact-item:nth-child(2) { transition-delay: 0.1s; }
.section.visible .contact-item:nth-child(3) { transition-delay: 0.15s; }
.section.visible .contact-item:nth-child(4) { transition-delay: 0.2s; }
.section.visible .contact-item:nth-child(5) { transition-delay: 0.25s; }
.section.visible .contact-item:nth-child(6) { transition-delay: 0.3s; }
.section.visible .contact-item:nth-child(7) { transition-delay: 0.35s; }
.section.visible .contact-item:nth-child(8) { transition-delay: 0.4s; }
.section.visible .contact-item:nth-child(9) { transition-delay: 0.45s; }
.section.visible .contact-item:nth-child(10) { transition-delay: 0.5s; }

.contact-item:hover {
    transform: translate(-2px, -2px) scale(1.02);
    box-shadow: var(--shadow-hard);
    background: var(--yellow);
}
.contact-item:nth-child(3n):hover { background: var(--green); }
.contact-item:nth-child(3n+2):hover { background: var(--pink); color: #fff; }
.contact-item:nth-child(3n+2):hover .contact-label,
.contact-item:nth-child(3n+2):hover .contact-value { color: #fff; }

.contact-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 2px solid var(--ink);
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.3) translateY(8px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
    box-shadow: 2px 2px 0 var(--ink);
}
.contact-item:nth-child(3n) .contact-icon { background: var(--green); }
.contact-item:nth-child(3n+2) .contact-icon { background: var(--pink); }
.section.visible .contact-icon {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.section.visible .contact-item:nth-child(1) .contact-icon { transition-delay: 0.15s; }
.section.visible .contact-item:nth-child(2) .contact-icon { transition-delay: 0.2s; }
.section.visible .contact-item:nth-child(3) .contact-icon { transition-delay: 0.25s; }
.section.visible .contact-item:nth-child(4) .contact-icon { transition-delay: 0.3s; }
.section.visible .contact-item:nth-child(5) .contact-icon { transition-delay: 0.35s; }
.section.visible .contact-item:nth-child(6) .contact-icon { transition-delay: 0.4s; }
.section.visible .contact-item:nth-child(7) .contact-icon { transition-delay: 0.45s; }
.section.visible .contact-item:nth-child(8) .contact-icon { transition-delay: 0.5s; }
.section.visible .contact-item:nth-child(9) .contact-icon { transition-delay: 0.55s; }
.section.visible .contact-item:nth-child(10) .contact-icon { transition-delay: 0.6s; }

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(-5deg) !important;
}
.contact-icon svg {
    width: 20px; height: 20px;
    color: var(--ink);
}
.contact-info {
    flex: 1;
    min-width: 0;
}
.contact-label {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 11px;
    color: #6b7280;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 4px;
    transition: color 0.3s;
}
.contact-value {
    font-family: var(--font-doodle);
    font-weight: 800;
    font-size: 14px;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    padding: 56px 24px;
}
.footer-beian { margin-top: 16px; gap: 24px; }

/* ========================================
   Skeleton 骨架屏（基础 .skeleton 与 @keyframes skeleton-shimmer 已提取至 common.css）
   ======================================== */

.skeleton-text { display: inline-block; }
.skeleton-circle { border-radius: 50%; }

.skeleton-hero-name,
.skeleton-hero-title,
.skeleton-hero-bio {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    filter: none !important;
    clip-path: none !important;
}
.skeleton-hero-avatar {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}
.skeleton-hero-avatar .hero-avatar {
    background: var(--about-surface);
}
.skeleton-slogan-text {
    min-height: 80px;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}
.skeleton-skill-row {
    opacity: 1 !important;
    transform: none !important;
}
.skeleton-milestone-stone {
    opacity: 1 !important;
    transform: none !important;
}
.skeleton-about-content {
    opacity: 1 !important;
}
.skeleton-about-content .skeleton-text {
    margin-bottom: 16px;
}
.skeleton-about-content .skeleton-text:last-child {
    margin-bottom: 0;
}
.skeleton-contact-item {
    opacity: 1 !important;
    transform: none !important;
}
.skeleton-contact-icon {
    background: rgba(108, 92, 231, 0.06);
    opacity: 1 !important;
    transform: none !important;
}

/* ========================================
   响应式
   ======================================== */

/* Pad 769-1024 */
@media (max-width: 1024px) {
    .milestone-scroll { height: 320px; }
    .milestone-canvas { transform: scale(0.85); transform-origin: center; }
    .milestone-progress { width: 720px; }
    .milestone-progress-thumb { width: 52px; height: 26px; }
    .milestone-progress-year { font-size: 13px; }
    .milestone-stone { width: 220px; }
    .milestone-stone-title { font-size: 15px; }
    .milestone-stone-desc { font-size: 13px; }
}

/* Mobile ≤768 */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 100px 24px 60px;
    }
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-avatar { width: 140px; height: 140px; }
    .hero::after { display: none; }
    .hero-title::after { display: none; }
    .hero-bio { margin: 16px auto 0; }

    .slogan-section { padding: 80px 24px; }
    .main { padding: 0 20px 80px; }
    .section { margin-bottom: 64px; }
    .section-header { margin-bottom: 32px; }

    .milestone-scroll { display: none; }
    .milestone-progress { display: none; }
    .milestone-mobile { display: block; }
    .milestone-sticky-wrapper .milestone-section {
        position: relative;
        height: auto;
        padding: 60px 0;
    }
    .milestone-title-wrap { position: relative; top: 0; margin-bottom: 40px; }

    .contacts-list { grid-template-columns: 1fr; }
}

/* 超小屏 ≤480 */
@media (max-width: 480px) {
    .hero-name { font-size: 40px; }
    .section-title { font-size: 22px; }
    .milestone-title { font-size: 22px; }
    .skill-capsule-desc { display: none; }
    .contact-item { padding: 16px; gap: 12px; }
    .contact-icon { width: 36px; height: 36px; }
    .contact-icon svg { width: 16px; height: 16px; }
}

/* ========================================
   prefers-reduced-motion（全局 * 重置已提取至 common.css，此处仅保留 about 专属元素覆盖）
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .char-reveal { opacity: 1 !important; transform: none !important; }
    .hero-avatar-wrap,
    .hero-title,
    .hero-bio,
    .hero::before,
    .hero::after,
    .hero-avatar-wrap::before,
    .hero-avatar-wrap::after {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
    }
    .slogan-rule { width: 80px !important; }
    .slogan-text,
    .slogan-author {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
    .about-content { opacity: 1 !important; }
    .about-content p {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }
    .skill-track { animation: none !important; }
    .milestone-curve .svg-path {
        stroke-dasharray: none !important;
        stroke-dashoffset: 0 !important;
    }
    .milestone-stone {
        opacity: 1 !important;
        transform: none !important;
    }
    .milestone-star { opacity: 1 !important; transform: translateX(-50%) !important; }
    .milestone-progress-fill { width: 100% !important; }
    .contact-item {
        opacity: 1 !important;
        transform: none !important;
    }
    .contact-icon {
        opacity: 1 !important;
        transform: none !important;
    }
}
