/* Material Design 3 设计系统 - 统一主题 */

:root {
    /* 调色板，与 index.html 保持一致 */
    --md-sys-color-primary: #FFCE00;
    --md-sys-color-on-primary: #312700;
    --md-sys-color-primary-container: #F2DC96;
    --md-sys-color-on-primary-container: #1F1600;
    --md-sys-color-secondary: #5F5129;
    --md-sys-color-on-secondary: #FFFFFF;
    --md-sys-color-secondary-container: #E6D49D;
    --md-sys-color-on-secondary-container: #1F1600;
    --md-sys-color-surface: #F7F1E2;
    --md-sys-color-on-surface: #19160F;
    --md-sys-color-surface-variant: #E6DBC2;
    --md-sys-color-surface-container: #EFE4CB;
    --md-sys-color-outline: #75695C;
    --md-sys-color-surface-container-high: #F0E1B5;
    --deep-orange: #9B4700;
    --deep-orange-hover: #7F3900;
    --deep-orange-soft: #F3D9C6;
    --page-accent-glow: radial-gradient(circle at top left, rgba(255, 206, 0, 0.28), transparent 40%), radial-gradient(circle at top right, rgba(155, 71, 0, 0.22), transparent 34%);
    --page-flow-streak: linear-gradient(120deg, rgba(255, 255, 255, 0.03) 10%, rgba(255, 211, 107, 0.2) 30%, rgba(255, 236, 166, 0.14) 46%, rgba(255, 255, 255, 0.03) 64%);
    --card-shadow-soft: 0 4px 12px rgba(65, 53, 18, 0.06);
    --card-shadow-hover: 0 10px 28px rgba(65, 53, 18, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-theme='dark'] {
    --md-sys-color-primary: #FFB08A;
    --md-sys-color-on-primary: #5A1B00;
    --md-sys-color-primary-container: #7A2F0D;
    --md-sys-color-on-primary-container: #FFDCCF;
    --md-sys-color-secondary: #E7B7A3;
    --md-sys-color-on-secondary: #452117;
    --md-sys-color-secondary-container: #5E372B;
    --md-sys-color-on-secondary-container: #FFDCD1;
    --md-sys-color-surface: #18110F;
    --md-sys-color-on-surface: #F3DFD8;
    --md-sys-color-surface-variant: #55413A;
    --md-sys-color-surface-container: #241917;
    --md-sys-color-outline: #9D847A;
    --deep-orange: #FF9A62;
    --deep-orange-hover: #FFBE91;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);
    line-height: 1.6;
    transition: background-color 0.45s ease, color 0.45s ease;
}

/* 顶部应用栏 */
.top-app-bar {
    height: 64px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: color-mix(in srgb, var(--md-sys-color-primary) 25%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1000;
    transition: background-color 0.45s ease;
}

.top-app-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.top-app-bar .brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--deep-orange);
    text-decoration: none;
    transition: color var(--transition);
}

.top-app-bar .nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-drawer-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: color-mix(in srgb, var(--md-sys-color-primary) 20%, transparent);
    color: var(--md-sys-color-on-surface);
    cursor: pointer;
    transition: var(--transition);
}

.nav-drawer-toggle:hover {
    border-color: var(--md-sys-color-outline);
    background: color-mix(in srgb, var(--md-sys-color-primary) 28%, transparent);
}

.nav-drawer-toggle .material-symbols-outlined {
    font-size: 20px;
}

.top-app-bar .nav-links a {
    text-decoration: none;
    color: var(--md-sys-color-on-surface);
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 500;
    transition: background-color var(--transition), color var(--transition);
}

.top-app-bar .nav-links a:hover {
    background-color: color-mix(in srgb, var(--md-sys-color-primary) 20%, transparent);
    color: var(--deep-orange);
}

.top-app-bar .nav-links a.active {
    background-color: var(--deep-orange-soft);
    color: var(--deep-orange);
}

/* ── 侧边栏（MD3 Expressive） ─────────────────────────────────── */
.nav-drawer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1500;
    display: none;
}

.nav-drawer.open {
    pointer-events: auto;
}

.nav-drawer-scrim {
    position: absolute;
    inset: 0;
    background: rgba(15, 12, 8, 0.45);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-drawer.open .nav-drawer-scrim {
    opacity: 1;
}

.nav-drawer-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(86vw, 360px);
    height: 100%;
    background: var(--md-sys-color-surface);
    border-top-right-radius: 26px;
    border-bottom-right-radius: 26px;
    border: 1px solid color-mix(in srgb, var(--md-sys-color-primary) 22%, transparent);
    box-shadow: 0 30px 70px rgba(22, 16, 6, 0.35);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 20px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background-image: var(--page-accent-glow), var(--page-flow-streak);
    background-blend-mode: screen;
}

.nav-drawer:not(.open) .nav-drawer-panel {
    box-shadow: none;
    border-color: transparent;
}

.nav-drawer.open .nav-drawer-panel {
    transform: translateX(0);
}

.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-drawer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--deep-orange);
}

.nav-drawer-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: color-mix(in srgb, var(--md-sys-color-primary) 20%, transparent);
    color: var(--md-sys-color-on-surface);
    cursor: pointer;
    transition: var(--transition);
}

.nav-drawer-close:hover {
    background: color-mix(in srgb, var(--md-sys-color-primary) 30%, transparent);
}

.nav-drawer-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--md-sys-color-on-surface);
    font-weight: 600;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.nav-drawer-link:hover {
    background: color-mix(in srgb, var(--md-sys-color-primary) 22%, transparent);
    color: var(--deep-orange);
}

.nav-drawer-link.active {
    background: var(--deep-orange-soft);
    color: var(--deep-orange);
}

.nav-drawer-link.action {
    background: var(--deep-orange);
    color: #fff;
    justify-content: center;
}

.nav-drawer-link.action:hover {
    background: var(--deep-orange-hover);
    color: #fff;
}

.nav-drawer-link.tonal {
    background: var(--deep-orange-soft);
    color: var(--deep-orange);
    justify-content: center;
}

.nav-drawer-user {
    padding: 14px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--md-sys-color-surface-container) 70%, transparent);
    border: 1px solid var(--md-sys-color-surface-variant);
}

.nav-drawer-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.nav-drawer-user-name {
    font-weight: 700;
}

.nav-drawer-user-username {
    font-size: 12px;
    color: var(--md-sys-color-outline);
}

body.drawer-open {
    overflow: hidden;
}

/* ── 用户菜单（MD3 风格） ─────────────────────────────────────── */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

footer {
    position: relative;
    z-index: 1;
}

.user-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: color-mix(in srgb, var(--md-sys-color-primary) 18%, transparent);
    color: var(--md-sys-color-on-surface);
    cursor: pointer;
    transition: var(--transition);
}

.user-menu-btn:hover {
    background: color-mix(in srgb, var(--md-sys-color-primary) 28%, transparent);
    border-color: var(--md-sys-color-outline);
}

.user-menu-name {
    font-weight: 600;
    font-size: 14px;
}

.user-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 240px;
    background: var(--md-sys-color-surface);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 18px 50px rgba(32, 26, 15, 0.2);
    border: 1px solid var(--md-sys-color-surface-variant);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: var(--transition);
    z-index: 1100;
}

.user-menu.open .user-menu-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.user-menu-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px 14px;
    border-bottom: 1px solid var(--md-sys-color-surface-variant);
    margin-bottom: 10px;
}

.user-menu-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-menu-nickname {
    font-weight: 700;
    font-size: 15px;
}

.user-menu-username {
    font-size: 12px;
    color: var(--md-sys-color-outline);
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: none;
    background: transparent;
    color: var(--md-sys-color-on-surface);
    padding: 10px 8px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.user-menu-item:hover {
    background: color-mix(in srgb, var(--md-sys-color-primary) 16%, transparent);
    color: var(--deep-orange);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--md-sys-color-surface-variant);
    color: var(--deep-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--deep-orange) 25%, transparent);
}

.user-avatar.large {
    width: 44px;
    height: 44px;
    font-size: 18px;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 页脚（与主站一致） */
.footer {
    text-align: center;
    padding: 40px;
    background-color: var(--md-sys-color-surface-variant);
    margin-top: 80px;
    transition: background-color 0.45s ease, color 0.45s ease;
}

.icp-record {
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
}

.icp-record a {
    color: color-mix(in srgb, var(--md-sys-color-on-surface) 70%, transparent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.icp-record a:hover {
    color: var(--deep-orange);
}

/* 按钮样式 */
.btn-filled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--deep-orange);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-filled:hover {
    background-color: var(--deep-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(155, 71, 0, 0.2);
}

.btn-tonal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: var(--deep-orange-soft);
    color: var(--deep-orange);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-tonal:hover {
    background-color: color-mix(in srgb, var(--deep-orange-soft) 150%, transparent);
    transform: translateY(-2px);
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
}

/* 卡片样式 */
.card {
    background-color: var(--md-sys-color-surface-container);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--card-shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--md-sys-color-surface-variant);
}

.card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

/* ── 卡片光效（跟随鼠标） ─────────────────────────────────────── */
.spotlight-card {
    position: relative;
    overflow: hidden;
    --spot-x: 50%;
    --spot-y: 50%;
    --spot-size: 180px;
    --spot-opacity: 0;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: var(--spot-opacity);
    background: radial-gradient(
        circle var(--spot-size) at var(--spot-x) var(--spot-y),
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.15) 38%,
        transparent 70%
    );
    transition: opacity 0.25s ease;
}

/* 页面头部 */
.page-header {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
    padding: 40px 20px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 16px;
    color: var(--md-sys-color-outline);
    max-width: 600px;
    margin: 0 auto;
}

/* 响应式 */
@media (max-width: 768px) {
    .top-app-bar .container {
        padding: 0 16px;
    }

    .top-app-bar .nav-links {
        gap: 8px;
    }

    .top-app-bar .nav-links a {
        padding: 6px 12px;
        font-size: 13px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .page-header p {
        font-size: 14px;
    }
}

@media (max-width: 860px) {
    .top-app-bar .container {
        justify-content: flex-start;
        gap: 12px;
    }

    .top-app-bar .nav-links {
        display: none;
    }

    .nav-drawer-toggle {
        display: inline-flex;
    }

    .nav-drawer {
        display: block;
    }
}

/* ── 主内容区域（为固定导航留出间距） ──────────────────────────── */
.main-content {
    padding-top: 64px;
    min-height: 100vh;
}

/* ── 页面英雄区（替代旧 .page-header） ─────────────────────────── */
.page-hero {
    text-align: center;
    padding: 48px 20px 40px;
}

.page-hero h1 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--md-sys-color-on-surface);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 16px;
    color: var(--md-sys-color-outline);
    max-width: 600px;
    margin: 0 auto;
}

/* ── 加载状态 ────────────────────────────────────────────────────── */
.loading-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 80px 20px;
    color: var(--md-sys-color-outline);
    font-size: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
    font-size: 24px;
}

/* ── 状态消息（空状态 / 错误） ──────────────────────────────────── */
.state-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 80px 20px;
    text-align: center;
    color: var(--md-sys-color-outline);
}

.state-message .material-symbols-outlined {
    font-size: 56px;
    opacity: 0.5;
}

.state-message.state-error {
    color: #c0392b;
}

.state-message.state-error .material-symbols-outlined {
    opacity: 0.8;
}

/* ── 标签芯片 ────────────────────────────────────────────────────── */
.category-chip {
    display: inline-block;
    padding: 2px 10px;
    background-color: var(--deep-orange-soft);
    color: var(--deep-orange);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.tag-chip {
    display: inline-block;
    padding: 2px 8px;
    background-color: color-mix(in srgb, var(--md-sys-color-primary) 20%, transparent);
    color: var(--md-sys-color-on-surface);
    border-radius: 6px;
    font-size: 12px;
}

/* ── 危险按钮 ────────────────────────────────────────────────────── */
.btn-danger {
    background-color: #c0392b !important;
    color: #fff !important;
}

.btn-danger:hover {
    background-color: #962d22 !important;
}

.btn-danger-tonal {
    background-color: #fde8e8;
    color: #c0392b;
}

.btn-danger-tonal:hover {
    background-color: #facac9;
}

/* ── 共享 Modal 样式 ─────────────────────────────────────────────── */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal[style*="display: flex"],
.modal[style*="display:flex"] {
    display: flex !important;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    z-index: 1;
    background: var(--md-sys-color-surface);
    border-radius: 16px;
    padding: 28px;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: modal-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modal-in {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.modal-header h2,
.modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--md-sys-color-outline);
    padding: 4px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: background var(--transition);
    margin-left: auto;
}

.modal-close:hover {
    background: var(--md-sys-color-surface-variant);
}

.modal-icon {
    font-size: 28px;
}

.modal-icon.danger {
    color: #c0392b;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* ── Markdown 渲染内容 ───────────────────────────────────────────── */
.markdown-body {
    line-height: 1.8;
    color: var(--md-sys-color-on-surface);
}

.markdown-body h1, .markdown-body h2, .markdown-body h3,
.markdown-body h4, .markdown-body h5, .markdown-body h6 {
    margin: 1.5em 0 0.6em;
    font-weight: 700;
    line-height: 1.3;
    color: var(--deep-orange);
}

.markdown-body h1 { font-size: 1.8em; }
.markdown-body h2 { font-size: 1.5em; border-bottom: 1px solid var(--md-sys-color-surface-variant); padding-bottom: 0.3em; }
.markdown-body h3 { font-size: 1.25em; }

.markdown-body p  { margin: 0.9em 0; }

.markdown-body a {
    color: var(--deep-orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.markdown-body code {
    font-family: 'Cascadia Code', 'Fira Code', monospace;
    background: var(--md-sys-color-surface-variant);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
}

.markdown-body pre {
    background: var(--md-sys-color-surface-variant);
    border-radius: 10px;
    padding: 16px;
    overflow-x: auto;
    margin: 1em 0;
}

.markdown-body pre code {
    background: none;
    padding: 0;
}

.markdown-body blockquote {
    border-left: 4px solid var(--deep-orange);
    margin: 1em 0;
    padding: 8px 16px;
    background: var(--deep-orange-soft);
    border-radius: 0 8px 8px 0;
    color: var(--md-sys-color-outline);
}

.markdown-body ul,
.markdown-body ol {
    margin: 0.9em 0;
    padding-left: 2em;
}

.markdown-body li { margin: 0.3em 0; }

.markdown-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1em 0;
}

.markdown-body table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
    font-size: 14px;
}

.markdown-body th,
.markdown-body td {
    border: 1px solid var(--md-sys-color-surface-variant);
    padding: 8px 12px;
    text-align: left;
}

.markdown-body th {
    background: var(--md-sys-color-surface-variant);
    font-weight: 600;
}

.markdown-body tr:nth-child(even) {
    background: color-mix(in srgb, var(--md-sys-color-surface-variant) 40%, transparent);
}

/* ── 面包屑 ──────────────────────────────────────────────────────── */
.breadcrumb {
    padding: 8px 0 16px;
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--md-sys-color-outline);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}

.breadcrumb a:hover {
    background: var(--md-sys-color-surface-variant);
    color: var(--deep-orange);
}

.breadcrumb a .material-symbols-outlined {
    font-size: 16px;
}

/* ── 响应式补充 ──────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .modal-content {
        padding: 20px;
        width: 95%;
    }

    .modal-actions {
        flex-direction: column-reverse;
    }

    .modal-actions button {
        width: 100%;
        justify-content: center;
    }
}

/* ── 页面进入/退出动画 ────────────────────────────────────────────── */

/* 进入动画：淡入 + 上移 */
@keyframes page-enter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 进入动画：淡入 + 稍微放大 */
@keyframes page-enter-scale {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 退出动画：淡出 + 缩小 */
@keyframes page-exit {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.96);
    }
}

/* 退出动画：淡出 + 下移 */
@keyframes page-exit-down {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(12px);
    }
}

/* 通用进入动画类 */
.anim-enter {
    opacity: 0;
    animation: page-enter 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.anim-enter-scale {
    opacity: 0;
    animation: page-enter-scale 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* 退出动画容器 */
.anim-exit {
    animation: page-exit 0.25s cubic-bezier(0.4, 0, 1, 1) forwards;
    pointer-events: none;
}

.anim-exit-down {
    animation: page-exit-down 0.25s cubic-bezier(0.4, 0, 1, 1) forwards;
    pointer-events: none;
}

/* 动画延迟工具类 */
.anim-delay-1 { animation-delay: 0.06s; }
.anim-delay-2 { animation-delay: 0.12s; }
.anim-delay-3 { animation-delay: 0.18s; }
.anim-delay-4 { animation-delay: 0.24s; }
.anim-delay-5 { animation-delay: 0.30s; }
.anim-delay-6 { animation-delay: 0.36s; }
.anim-delay-7 { animation-delay: 0.42s; }
.anim-delay-8 { animation-delay: 0.48s; }
.anim-delay-9 { animation-delay: 0.54s; }
.anim-delay-10 { animation-delay: 0.60s; }

/* 尊重减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .anim-enter,
    .anim-enter-scale,
    .anim-exit,
    .anim-exit-down {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

