/* ========================================
   AD-PDF 安全预览系统 - 现代化公共样式
   设计风格: Glassmorphism + Neumorphism
   ======================================== */

/* CSS 变量定义 - 柔和蓝色系 */
:root {
    /* 主色调 - 柔和渐变 */
    --primary-50: #eef5ff;
    --primary-100: #d9e8ff;
    --primary-200: #bcd7ff;
    --primary-300: #8ebeff;
    --primary-400: #5999ff;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* 功能色 */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --error: #ef4444;
    --error-light: #fee2e2;
    --info: #3b82f6;
    --info-light: #dbeafe;

    /* 中性色 */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* 背景色 */
    --bg-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-glass: rgba(255, 255, 255, 0.95);
    --bg-glass-hover: rgba(255, 255, 255, 0.98);
    --bg-page: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);

    /* 文字色 */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    --text-white: #ffffff;

    /* 阴影 - 柔和层次 */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);

    /* 圆角 */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* 过渡 */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* 间距 */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
}

/* 重置样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-5);
    line-height: 1.6;
    color: var(--text-primary);
}

/* 动画关键帧 */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.98); }
}

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

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(59, 130, 246, 0.5); }
    50% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 40px rgba(59, 130, 246, 0.4); }
}

/* 容器样式 - 玻璃态卡片 */
.container {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    padding: var(--space-8) var(--space-6);
    max-width: 480px;
    width: 100%;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-700), var(--primary-500));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.container-wide {
    max-width: 600px;
}

/* Logo 样式 - 悬浮效果 */
.logo {
    text-align: center;
    margin-bottom: var(--space-8);
    animation: float 6s ease-in-out infinite;
}

.logo-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-4);
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
}

.logo:hover .logo-icon {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(59, 130, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    letter-spacing: -0.02em;
}

.logo-subtext {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 400;
}

/* 标题样式 */
h1, h2, h3 {
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-6);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 1.875rem;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    text-align: left;
}

/* 表单样式 - 新拟态输入框 */
.form-group {
    margin-bottom: var(--space-5);
}

label {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.form-group:focus-within label {
    color: var(--primary-600);
}

input, select, textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-inner);
}

input:hover, select:hover, textarea:hover {
    background: var(--gray-100);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    background: white;
    border-color: var(--primary-500);
    box-shadow: 
        0 0 0 4px rgba(59, 130, 246, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.05);
}

input::placeholder {
    color: var(--text-tertiary);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* 按钮样式 - 渐变 + 悬浮 */
.btn {
    width: 100%;
    padding: var(--space-3) var(--space-5);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    box-shadow: 
        0 4px 6px -1px rgba(59, 130, 246, 0.3),
        0 2px 4px -2px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 20px -3px rgba(59, 130, 246, 0.4),
        0 4px 8px -4px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn:hover:not(:disabled)::before {
    left: 100%;
}

.btn:active:not(:disabled) {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--gray-50);
    border-color: var(--gray-300);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), #059669);
    box-shadow: 
        0 4px 6px -1px rgba(16, 185, 129, 0.3),
        0 2px 4px -2px rgba(16, 185, 129, 0.2);
}

.btn-success:hover:not(:disabled) {
    box-shadow: 
        0 10px 20px -3px rgba(16, 185, 129, 0.4),
        0 4px 8px -4px rgba(16, 185, 129, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, var(--error), #dc2626);
    box-shadow: 
        0 4px 6px -1px rgba(239, 68, 68, 0.3),
        0 2px 4px -2px rgba(239, 68, 68, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid transparent;
    box-shadow: none;
}

.btn-ghost:hover:not(:disabled) {
    background: var(--gray-100);
    color: var(--text-primary);
}

/* 状态提示 - 顶部浮动 Toast */
.status {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    display: none;
    align-items: center;
    gap: var(--space-2);
    font-weight: 500;
    font-size: 0.9375rem;
    z-index: 999999;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: slideDownToast 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    max-width: 90vw;
    white-space: nowrap;
}

@keyframes slideDownToast {
    from {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes slideUpToast {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
}

.status.hide {
    animation: slideUpToast 0.3s ease forwards;
}

.status.show {
    display: flex;
}

.status.success {
    background: rgba(16, 185, 129, 0.95);
    color: white;
}

.status.success::before {
    content: '✓';
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.status.error {
    background: rgba(239, 68, 68, 0.95);
    color: white;
}

.status.error::before {
    content: '✕';
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.status.warning {
    background: rgba(245, 158, 11, 0.95);
    color: white;
}

.status.warning::before {
    content: '!';
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: bold;
}

.status.info {
    background: rgba(59, 130, 246, 0.95);
    color: white;
}

.status.info::before {
    content: 'i';
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    font-style: italic;
}

/* 结果展示区域 */
.result {
    margin-top: var(--space-6);
    padding: var(--space-5);
    background: linear-gradient(135deg, var(--gray-50), white);
    border-radius: var(--radius-lg);
    display: none;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-inner);
    animation: scaleIn 0.3s ease;
}

.result.show {
    display: block;
}

/* Token 显示 - 代码块样式 */
.token-display {
    background: var(--gray-800);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.875rem;
    word-break: break-all;
    margin: var(--space-3) 0;
    color: #a5b4fc;
    border: 1px solid var(--gray-700);
    position: relative;
}

.token-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-500), var(--primary-700));
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

/* 操作按钮组 */
.action-buttons {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.action-buttons .btn {
    flex: 1;
}

/* 导航链接 - 胶囊按钮 */
.nav-links {
    margin-top: var(--space-6);
    display: flex;
    gap: var(--space-3);
}

.nav-link {
    flex: 1;
    text-align: center;
    padding: var(--space-3) var(--space-4);
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.nav-link:hover {
    background: var(--primary-50);
    color: var(--primary-600);
    border-color: var(--primary-200);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* 上传区域 - 虚线边框 */
.upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-5);
    text-align: center;
    margin-bottom: var(--space-5);
    transition: all var(--transition-normal);
    cursor: pointer;
    background: linear-gradient(135deg, var(--gray-50), white);
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(59, 130, 246, 0.03), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.upload-area:hover {
    border-color: var(--primary-400);
    background: linear-gradient(135deg, var(--primary-50), white);
}

.upload-area:hover::before {
    opacity: 1;
}

.upload-area.dragover {
    border-color: var(--success);
    border-style: solid;
    background: var(--success-light);
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.upload-icon {
    font-size: 48px;
    margin-bottom: var(--space-3);
    transition: transform var(--transition-bounce);
}

.upload-area:hover .upload-icon {
    transform: scale(1.1);
}

.upload-text {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: var(--space-2);
}

.upload-hint {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* 文件列表 */
.file-list {
    margin-top: var(--space-5);
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: white;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition-fast);
}

.file-item:last-child {
    border-bottom: none;
}

.file-item:hover {
    background: var(--gray-50);
}

.file-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-right: var(--space-4);
    background: var(--gray-100);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
}

/* 信息卡片 */
.info-card {
    margin-top: var(--space-6);
    padding: var(--space-5);
    background: linear-gradient(135deg, var(--gray-50), white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.info-card h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: var(--space-2) 0;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    gap: var(--space-2);
}

.feature-list li::before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    width: 20px;
    height: 20px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

/* 刷新按钮 */
.refresh-btn-container {
    margin-top: var(--space-2);
    text-align: right;
}

.refresh-btn {
    padding: var(--space-2) var(--space-3);
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.refresh-btn:hover {
    background: var(--primary-50);
    color: var(--primary-600);
    border-color: var(--primary-200);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-dark {
    border-color: var(--gray-200);
    border-top-color: var(--primary-500);
}

/* 分隔线 */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
    margin: var(--space-6) 0;
}

/* 代码样式 */
code {
    background: var(--gray-100);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--primary-700);
    border: 1px solid var(--gray-200);
}

/* 帮助文本 */
.help-text {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: var(--space-1);
}

.text-muted {
    color: var(--text-tertiary);
    font-weight: 400;
}

/* 页脚 */
.footer {
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--gray-200);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.75rem;
}

/* 响应式设计 */
@media (max-width: 640px) {
    body {
        padding: var(--space-3);
    }
    
    .container {
        padding: var(--space-5) var(--space-4);
        border-radius: var(--radius-lg);
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .action-buttons,
    .nav-links {
        flex-direction: column;
    }
    
    .upload-area {
        padding: var(--space-6) var(--space-4);
    }
}

/* 隐藏元素 */
.hidden {
    display: none !important;
}

/* 工具类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary-600); }
.text-success { color: var(--success); }
.text-error { color: var(--error); }
.text-warning { color: var(--warning); }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }

.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}
