/* ==================== 全局变量 ==================== */
:root {
    /* 颜色系统 - 淡雅多彩主题 */
    --color-bg-light: #fdfdfd;
    --color-bg-gradient-start: #fef5ff;
    --color-bg-gradient-mid: #f0f9ff;
    --color-bg-gradient-end: #fef9f3;

    /* 淡雅蓝色系 */
    --color-primary: #7eb6e3;
    --color-primary-light: #a8d0f0;
    --color-primary-dark: #5a9fd4;

    /* 淡雅粉色系 */
    --color-secondary: #f5a4b8;
    --color-secondary-light: #ffd1dc;
    --color-secondary-dark: #e88ba0;

    /* 淡雅绿色系 */
    --color-accent: #a8ddb5;
    --color-accent-light: #c9f0d0;
    --color-accent-dark: #88c99a;

    /* 淡雅紫色系 */
    --color-purple: #c5b3e6;
    --color-purple-light: #dfd5f5;
    --color-purple-dark: #a896d4;

    /* 淡雅橙色系 */
    --color-orange: #ffc896;
    --color-orange-light: #ffe4c4;
    --color-orange-dark: #ffb366;

    /* 淡雅黄色系 */
    --color-yellow: #ffe8a3;
    --color-yellow-light: #fff5d6;
    --color-yellow-dark: #ffd966;

    --color-text-primary: #2d3436;
    --color-text-secondary: #636e72;
    --color-text-muted: #b2bec3;

    --color-card-bg: rgba(255, 255, 255, 0.75);
    --color-card-border: rgba(0, 0, 0, 0.05);
    --color-card-hover: rgba(255, 255, 255, 0.9);

    /* 间距 - 保持一致 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.25rem;
    --spacing-xl: 1.5rem;
    --spacing-2xl: 2rem;

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* 阴影 - 适配明亮背景，更轻盈 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 16px rgba(149, 157, 165, 0.1);
    --shadow-lg: 0 12px 24px rgba(149, 157, 165, 0.15);
    --shadow-glow: 0 0 30px rgba(74, 144, 226, 0.15);

    /* 过渡 */
    --transition-fast: 200ms ease;
    --transition-normal: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== 重置与基础样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--color-bg-light);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

/* ==================== 背景装饰 ==================== */
.background-gradient {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(135deg,
            rgba(254, 245, 255, 0.7) 0%,
            rgba(240, 249, 255, 0.7) 50%,
            rgba(254, 249, 243, 0.7) 100%),
        url('bg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -2;
}

.background-shapes {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 179, 230, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(245, 164, 184, 0.12) 0%, transparent 70%);
    bottom: -250px;
    right: -250px;
    animation-delay: 5s;
}

.shape-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(168, 221, 181, 0.12) 0%, transparent 70%);
    top: 50%;
    right: -175px;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, 100px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 50px) scale(0.9);
    }
}

/* ==================== 主容器 ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    overflow: hidden;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ==================== 头部区域 ==================== */
.header {
    text-align: center;
    margin-bottom: var(--spacing-md);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.name {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.15em;
    /* 增加字间距更显高级 */
}

.bio {
    font-size: 1rem;
    color: var(--color-text-secondary);
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: var(--spacing-sm) auto var(--spacing-md);
    border-radius: var(--radius-full);
}

/* ==================== 导航精简优化布局 ==================== */
.navigation-wrapper {
    position: relative;
    width: 100%;
    max-width: 850px;
    /* 进一步缩小宽度 */
    padding: var(--spacing-xl) 0;
    margin-bottom: var(--spacing-md);
}

.nav-decoration-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: pulse 8s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.8;
    }
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    width: 100%;
}

.link-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-md);
    /* 减小内边距使卡片更紧凑 */
    background: var(--color-card-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--color-text-primary);
    transition: all var(--transition-normal);
    overflow: hidden;
    /* 恢复为 hidden 以配合内边框 */
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    box-shadow: var(--shadow-sm);
}

/* 内部装饰框线 */
.link-card::before {
    content: '';
    position: absolute;
    inset: 4px;
    /* 精致的内边距 */
    border: 1px solid rgba(74, 144, 226, 0.08);
    /* 极细的装饰线 */
    border-radius: calc(var(--radius-lg) - 4px);
    pointer-events: none;
    transition: all var(--transition-normal);
    z-index: 1;
}

.link-card:hover::before {
    inset: 2px;
    border-color: rgba(74, 144, 226, 0.2);
}

/* 移除冗余的 hover 之前样式 */
.link-card:hover {
    background: var(--color-card-hover);
    border-color: var(--color-primary-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(74, 144, 226, 0.15);
}

/* 卡片动画延迟 */
.link-card:nth-child(1) {
    animation-delay: 0.1s;
}

.link-card:nth-child(2) {
    animation-delay: 0.2s;
}

.link-card:nth-child(3) {
    animation-delay: 0.3s;
}

.link-card:nth-child(4) {
    animation-delay: 0.4s;
}

.link-card:nth-child(5) {
    animation-delay: 0.5s;
}

.link-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--transition-normal);
}

/* 为每个卡片设置不同的淡雅颜色 */
.link-card:nth-child(1) .card-icon {
    background: linear-gradient(135deg, var(--color-purple-light), var(--color-purple-dark));
}

.link-card:nth-child(2) .card-icon {
    background: linear-gradient(135deg, var(--color-secondary-light), var(--color-secondary-dark));
}

.link-card:nth-child(3) .card-icon {
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark));
}

.link-card:hover .card-icon {
    transform: rotate(5deg) scale(1.1);
}

.card-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.card-content {
    position: relative;
    flex: 1;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-text-primary);
    letter-spacing: 0.05em;
}

.card-desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-weight: 400;
    opacity: 0.8;
}

/* 装饰线条 */
.link-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transition: width var(--transition-normal);
    border-radius: var(--radius-full);
}

.link-card:hover::after {
    width: 60%;
}

/* ==================== 底部联系区域 ==================== */
.footer {
    text-align: center;
    margin-top: var(--spacing-lg);
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

.contact-item:hover {
    color: var(--color-primary);
    background: rgba(126, 182, 227, 0.08);
}

.contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.contact-divider {
    color: var(--color-text-muted);
    opacity: 0.5;
    font-weight: 300;
}

.copyright {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.copyright p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin: 0.25rem 0;
}

.copyright a {
    color: var(--color-text-muted);
    text-decoration: none;
}

/* ==================== 模态框 ==================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    background: var(--color-card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--color-card-border);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-text-primary);
}

.modal-content {
    padding: var(--spacing-lg);
    overflow-y: auto;
    flex: 1;
}

/* 加载状态 */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2xl) 0;
    color: var(--color-text-secondary);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-card-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: var(--spacing-md);
}

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

/* 关于我内容样式 */
.about-section {
    margin-bottom: var(--spacing-xl);
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.about-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.skills-grid {
    display: grid;
    gap: var(--spacing-md);
}

.skill-category {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-card-border);
}

.skill-category h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xs);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.skill-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(91, 122, 159, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.experience-item {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-header {
    margin-bottom: var(--spacing-xs);
}

.experience-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.experience-org {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.experience-period {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
}

.experience-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.interests-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.interest-tag {
    padding: 0.5rem 1rem;
    background: rgba(181, 122, 138, 0.1);
    color: var(--color-secondary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateX(4px);
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

/* ==================== 项目作品样式 ==================== */
.project-item {
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.project-item:last-child {
    margin-bottom: 0;
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xs);
    gap: var(--spacing-sm);
}

.project-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.project-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-completed {
    background: rgba(168, 221, 181, 0.2);
    color: var(--color-accent-dark);
}

.status-progress {
    background: rgba(255, 200, 150, 0.2);
    color: var(--color-orange-dark);
}

.project-category {
    font-size: 0.875rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.project-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.tech-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(126, 182, 227, 0.15);
    color: var(--color-primary-dark);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

.project-highlights {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.project-highlights strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.project-highlights ul {
    margin-top: var(--spacing-xs);
    margin-left: var(--spacing-lg);
    padding-left: 0;
}

.project-highlights li {
    margin-bottom: 0.25rem;
}

/* ==================== 响应式设计 ==================== */
/* 平板和中等屏幕优化 */
@media (max-width: 768px) {
    body {
        overflow: auto;
        height: auto;
        min-height: 100vh;
    }

    .container {
        padding: var(--spacing-2xl) var(--spacing-md);
        overflow-y: visible;
        justify-content: flex-start;
    }

    .header {
        margin-bottom: var(--spacing-xl);
        margin-top: 0;
    }

    .name {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }

    .bio {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .navigation-wrapper {
        padding: var(--spacing-lg) 0;
    }

    .links-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: var(--spacing-md);
    }

    .link-card {
        padding: var(--spacing-lg);
    }

    .shape {
        filter: blur(60px);
    }

    .modal-container {
        width: 95%;
        max-height: 90vh;
    }

    .modal-header,
    .modal-content {
        padding: var(--spacing-md);
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .about-section h3 {
        font-size: 1rem;
    }
}

/* 小屏手机优化 */
@media (max-width: 480px) {
    body {
        font-size: 14px;
        overflow: auto;
        height: auto;
        min-height: 100vh;
    }

    .container {
        padding: var(--spacing-xl) var(--spacing-md);
        min-height: auto;
    }

    .header {
        margin-bottom: var(--spacing-lg);
        padding-top: var(--spacing-sm);
    }

    .name {
        font-size: 1.5rem;
        letter-spacing: 0.08em;
        margin-bottom: 0.5rem;
    }

    .bio {
        font-size: 0.875rem;
        line-height: 1.6;
        padding: 0 var(--spacing-xs);
    }

    .divider {
        width: 50px;
        height: 2px;
        margin: var(--spacing-xs) auto var(--spacing-md);
    }

    .navigation-wrapper {
        padding: var(--spacing-md) 0;
        max-width: 100%;
    }

    .links-grid {
        gap: var(--spacing-sm);
    }

    .link-card {
        padding: var(--spacing-md);
        gap: var(--spacing-xs);
    }

    .card-icon {
        width: 36px;
        height: 36px;
    }

    .card-icon svg {
        width: 18px;
        height: 18px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-desc {
        font-size: 0.8rem;
    }

    .footer {
        margin-top: var(--spacing-md);
    }

    .social-links {
        gap: var(--spacing-xs);
    }

    .social-icon {
        width: 32px;
        height: 32px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }

    .copyright {
        font-size: 0.75rem;
    }

    /* 模态框小屏优化 */
    .modal-container {
        width: 100%;
        max-height: 95vh;
        border-radius: var(--radius-md);
    }

    .modal-header {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .modal-content {
        padding: var(--spacing-md);
    }

    .modal-title {
        font-size: 1.125rem;
    }

    .modal-close {
        width: 28px;
        height: 28px;
        font-size: 1.5rem;
    }

    .about-bio {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .about-section h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .skill-category {
        padding: var(--spacing-sm);
    }

    .skill-category h4 {
        font-size: 0.875rem;
    }

    .skill-tag {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    .experience-item {
        padding: var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
    }

    .experience-title {
        font-size: 0.9rem;
    }

    .experience-org {
        font-size: 0.8rem;
    }

    .experience-period {
        font-size: 0.75rem;
    }

    .experience-desc {
        font-size: 0.825rem;
    }

    .interest-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .contact-link {
        padding: var(--spacing-xs);
        font-size: 0.875rem;
    }

    .contact-icon {
        width: 18px;
        height: 18px;
    }
}

/* 超小屏优化 (小于360px) */
@media (max-width: 360px) {
    .name {
        font-size: 1.35rem;
    }

    .bio {
        font-size: 0.8rem;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .card-desc {
        font-size: 0.75rem;
    }
}

/* ==================== 可访问性 ==================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}