/* ========================================
   云栖匿语 - 蓝色系主题样式
   ======================================== */

/* ---------- CSS 变量 ---------- */
:root {
    /* 主题色 - 蓝色系 */
    --primary-50: #EFF6FF;
    --primary-100: #DBEAFE;
    --primary-200: #BFDBFE;
    --primary-300: #93C5FD;
    --primary-400: #60A5FA;
    --primary-500: #3B82F6;
    --primary-600: #2563EB;
    --primary-700: #1D4ED8;
    --primary-800: #1E40AF;
    --primary-900: #1E3A5F;

    /* 背景色 */
    --bg-body: #F0F7FF;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-footer: rgba(30, 58, 95, 0.95);
    --bg-input: #FFFFFF;
    --bg-avatar: linear-gradient(135deg, #60A5FA, #3B82F6);

    /* 文本色 */
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-inverse: #FFFFFF;
    --text-hero: rgba(255, 255, 255, 0.95);

    /* 边框和阴影 */
    --border-color: rgba(59, 130, 246, 0.15);
    --border-focus: #3B82F6;
    --shadow-sm: 0 1px 3px rgba(59, 130, 246, 0.08);
    --shadow-md: 0 4px 20px rgba(59, 130, 246, 0.12);
    --shadow-lg: 0 10px 40px rgba(59, 130, 246, 0.15);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.2);

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

    /* 过渡 */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* 间距 */
    --container-width: 720px;
}

/* ---------- 黑暗模式 ---------- */
[data-theme="dark"] {
    --primary-50: #172554;
    --primary-100: #1E3A5F;
    --primary-200: #1E40AF;
    --primary-300: #2563EB;

    --bg-body: #0B1120;
    --bg-card: rgba(15, 23, 42, 0.85);
    --bg-card-hover: rgba(15, 23, 42, 0.95);
    --bg-glass: rgba(15, 23, 42, 0.7);
    --bg-footer: rgba(11, 17, 32, 0.98);
    --bg-input: #1E293B;

    --text-primary: #E2E8F0;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-inverse: #0B1120;
    --text-hero: rgba(255, 255, 255, 0.9);

    --border-color: rgba(59, 130, 246, 0.2);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.15);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

a {
    color: var(--primary-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-400);
}

img, svg {
    display: block;
    max-width: 100%;
}

/* ---------- 粒子背景 ---------- */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(96, 165, 250, 0.3), transparent);
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* ---------- 主题切换按钮 ---------- */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
    color: var(--primary-500);
    border-color: var(--primary-400);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon,
.theme-toggle .auto-icon {
    position: absolute;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: scale(0.4);
    visibility: hidden;
}

/* 根据 data-mode 仅显示当前模式的图标 */
.theme-toggle[data-mode="auto"] .auto-icon {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.theme-toggle[data-mode="light"] .sun-icon {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.theme-toggle[data-mode="dark"] .moon-icon {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

/* 主题模式指示器 */
.theme-mode-indicator {
    position: fixed;
    top: 20px;
    right: 75px;
    z-index: 999;
    padding: 6px 12px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-normal);
    pointer-events: none;
}

.theme-toggle:hover + .theme-mode-indicator {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Hero 头部 ---------- */
.hero {
    position: relative;
    padding: 80px 20px 100px;
    text-align: center;
    background: linear-gradient(135deg, 
        #1E3A5F 0%, 
        #1E40AF 30%, 
        #2563EB 60%, 
        #3B82F6 100%
    );
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 50%, rgba(96, 165, 250, 0.3) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(147, 197, 253, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.hero-icon {
    margin-bottom: 20px;
    animation: cloudFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

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

.site-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-hero);
    letter-spacing: 4px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 8px;
}

.site-desc {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    letter-spacing: 2px;
}

.site-quote {
    margin-top: 20px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    backdrop-filter: blur(5px);
    display: inline-block;
}

/* ---------- 波浪 ---------- */
.wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23F0F7FF' d='M0,30 C360,60 540,0 720,30 C900,60 1080,0 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") repeat-x;
    background-size: 1440px 60px;
    animation: waveMove 8s linear infinite;
}

[data-theme="dark"] .wave {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%230B1120' d='M0,30 C360,60 540,0 720,30 C900,60 1080,0 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") repeat-x;
    background-size: 1440px 60px;
}

.wave-2 {
    bottom: 5px;
    opacity: 0.5;
    animation-duration: 10s;
    animation-direction: reverse;
}

.wave-3 {
    bottom: 10px;
    opacity: 0.3;
    animation-duration: 12s;
}

@keyframes waveMove {
    0% { background-position-x: 0; }
    100% { background-position-x: 1440px; }
}

/* ---------- 容器 ---------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ---------- 发布表单卡片 ---------- */
.post-card {
    margin-top: -40px;
    margin-bottom: 40px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    z-index: 2;
}

.post-card:hover {
    box-shadow: var(--shadow-glow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-500);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.post-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--transition-fast);
    flex-shrink: 0;
}

.textarea-icon {
    top: 14px;
    align-self: flex-start;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    transition: all var(--transition-normal);
}

.input-wrapper textarea {
    padding-left: 42px;
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.input-wrapper input:focus ~ .input-icon,
.input-wrapper textarea:focus ~ .input-icon {
    color: var(--primary-500);
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: var(--text-muted);
}

.char-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-input);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    opacity: 0.8;
    pointer-events: none;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    color: white;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
    letter-spacing: 1px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.5);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

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

/* ---------- 留言列表区域 ---------- */
.messages-section {
    margin-bottom: 60px;
}

.section-header {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-400);
    color: var(--primary-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.refresh-btn:active {
    transform: translateY(0);
}

.refresh-btn svg {
    transition: transform 0.3s ease;
}

.refresh-btn.rotating svg {
    animation: spin 1s linear infinite;
}

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

.message-count {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ---------- 空状态 ---------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    margin: 0 auto 16px;
}

.empty-state p {
    font-size: 1.05rem;
}

/* ---------- 留言卡片 ---------- */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-card {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    animation: messageIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.message-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-300);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.message-card:nth-child(1) { animation-delay: 0.05s; }
.message-card:nth-child(2) { animation-delay: 0.1s; }
.message-card:nth-child(3) { animation-delay: 0.15s; }
.message-card:nth-child(4) { animation-delay: 0.2s; }
.message-card:nth-child(5) { animation-delay: 0.25s; }
.message-card:nth-child(6) { animation-delay: 0.3s; }
.message-card:nth-child(7) { animation-delay: 0.35s; }
.message-card:nth-child(8) { animation-delay: 0.4s; }
.message-card:nth-child(9) { animation-delay: 0.45s; }
.message-card:nth-child(10) { animation-delay: 0.5s; }

/* 头像 */
.message-avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--bg-avatar);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.avatar-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

/* 消息体 */
.message-body {
    flex: 1;
    min-width: 0;
}

.message-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.message-nickname {
    font-weight: 500;
    color: var(--primary-500);
    font-size: 0.95rem;
}

.message-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.message-content {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    word-break: break-word;
}

/* ---------- 分页 ---------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    font-family: inherit;
}

.page-btn:hover {
    color: var(--primary-500);
    border-color: var(--primary-400);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.page-num:hover {
    background: var(--primary-50);
    color: var(--primary-500);
    border-color: var(--primary-200);
}

.page-num.active {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
    font-weight: 500;
}

.page-dots {
    color: var(--text-muted);
    padding: 0 4px;
    letter-spacing: 2px;
}

/* ---------- 回到顶部 ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    color: var(--primary-500);
    border-color: var(--primary-400);
    box-shadow: var(--shadow-lg);
}

.back-to-top:active {
    transform: translateY(0);
}

/* ---------- Footer ---------- */
.footer {
    margin-top: 40px;
    background: var(--bg-footer);
    backdrop-filter: blur(20px);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-300);
    margin-bottom: 8px;
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.footer-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ---------- Toast 通知 ---------- */
.toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1), toastOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) 2.6s forwards;
    pointer-events: auto;
    text-align: center;
}

.toast.success {
    border-color: rgba(34, 197, 94, 0.4);
    color: #22C55E;
}

.toast.error {
    border-color: rgba(239, 68, 68, 0.4);
    color: #EF4444;
}

.toast.info {
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--primary-500);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateY(0) scale(1); }
    to { opacity: 0; transform: translateY(-20px) scale(0.9); }
}

/* ---------- 响应式设计 ---------- */
@media (max-width: 768px) {
    .hero {
        padding: 60px 16px 80px;
    }

    .post-card {
        padding: 20px;
        margin-top: -30px;
        margin-left: -4px;
        margin-right: -4px;
        border-radius: var(--radius-lg);
    }

    .theme-toggle {
        top: 14px;
        right: 14px;
        width: 38px;
        height: 38px;
    }

    .message-card {
        padding: 14px 16px;
    }

    .message-avatar {
        width: 36px;
        height: 36px;
    }

    .avatar-text {
        font-size: 0.95rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 38px;
        height: 38px;
    }

    .pagination {
        gap: 8px;
    }

    .page-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .page-num {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .post-card {
        padding: 16px;
        border-radius: var(--radius-md);
    }

    .site-title {
        letter-spacing: 2px;
    }

    .message-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

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

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

/* ---------- Spinner 加载动画 ---------- */
.spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 60px 20px;
    color: var(--text-muted);
}

.loading-state p {
    font-size: 0.95rem;
}

.error-state {
    text-align: center;
    padding: 60px 20px;
    color: #EF4444;
}

.error-state p {
    font-size: 0.95rem;
}

/* ---------- 选择文本颜色 ---------- */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}
