﻿/*
Theme Name: Archive Core Theme
Theme URI: https://example.com
Author: Me
Description: 赛博朋克/暗黑科技风档案主题
Version: 2.0
*/

:root {
    /* 定义核心变量：方便改色 */
    --bg-color: #0f172a;        /* 深蓝黑背景 */
    --card-bg: rgba(30, 41, 59, 0.7); /* 卡片半透明背景 */
    --text-main: #f1f5f9;       /* 主文字白 */
    --text-dim: #94a3b8;        /* 次要文字灰 */
    --accent-color: #06b6d4;    /* 霓虹青 */
    --accent-glow: rgba(6, 182, 212, 0.5);
    --danger-color: #f43f5e;    /* 警告红 */
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--bg-color);
    /*以此添加一个网格背景图，增加科技感 */
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
}

/* 容器布局 */
.archive-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

/* 标题样式：带有渐变文字 */
h1 {
    font-size: 2.5rem;
    background: linear-gradient(to right, #06b6d4, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- 列表页：酷炫卡片 --- */

.persons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.person-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px); /* 毛玻璃模糊 */
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: var(--glass-border);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 弹性过渡 */
    position: relative;
    display: flex;
    flex-direction: column;
}

/* 卡片悬停特效 */
.person-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px -10px var(--accent-glow); /* 霓虹发光 */
    border-color: var(--accent-color);
}

/* --- 卡片头部：大图铺满风格 --- */
/* --- 修正卡片头像显示：改为竖长比例，显示更多内容 --- */

.card-header {
    /* 关键修改：高度从 220px 增加到 350px (或者 320px) */
    /* 这样更接近 3:4 的照片比例，裁切会少很多 */
    height: 350px; 
    
    padding: 0;
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
}

.card-avatar {
    width: 100%;
    height: 100%;
    
    /* 核心属性：保持铺满，不拉伸变形 */
    object-fit: cover; 
    
    /* 核心属性：对齐顶部 */
    /* 这样保证“头”一定在，只裁切身体下面 */
    object-position: top center; 
    
    transition: transform 0.5s ease;
    display: block;
}

/* 悬停微放大效果 */
.person-card:hover .card-avatar {
    transform: scale(1.05);
}

/* 顶部渐变遮罩：让状态标签更清晰 */
.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
    z-index: 1;
    pointer-events: none;
}

/* 底部渐变遮罩：过渡到卡片内容区 */
.card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--card-bg), transparent);
    z-index: 1;
    pointer-events: none;
}

/* --- 可选：在图片上添加一个角标/编号 --- */
.card-header .card-id {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--accent-color);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 1px;
}

/* --- 卡片底部信息区调整 --- */
.card-body {
    padding: 20px 25px 25px;
    text-align: left;           /* 左对齐更有档案感 */
    position: relative;
    z-index: 2;
    margin-top: -30px;          /* 往上提一点，与图片融合 */
}

.person-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 5px 0;
    color: var(--text-main);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.person-job {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 标签区域调整为左对齐 */
.meta-tags {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}.status-badge {
    padding: 6px 14px;
    border-radius: 4px; /* 方形圆角更科技 */
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-red {
    background: rgba(244, 63, 94, 0.2);
    color: #fda4af;
    border: 1px solid rgba(244, 63, 94, 0.5);
}

.status-gray {
    background: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.5);
}


/* --- 详情页：数据终端风格 --- */

.detail-header {
    background: var(--card-bg);
    border: var(--glass-border);
    padding: 40px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

/* 详情页背景装饰条 */
.detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
}

.detail-avatar {
    width: 120px;
    height: 120px;
    border-radius: 12px; /* 详情页用圆角矩形头像 */
    border: 2px solid var(--accent-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.info-box {
    background: var(--card-bg);
    border: var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px !important;
}

.section-title {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

/* 标题前面的小方块装饰 */
.section-title::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    margin-right: 10px;
    box-shadow: 0 0 10px var(--accent-color);
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.data-label {
    color: var(--text-dim);
    font-family: 'Courier New', monospace;
}

.data-value {
    color: var(--text-main);
    font-weight: 600;
    text-align: right;
}






/* --- 统一详情页文章内容的样式 --- */

.story-content {
    /* 1. 颜色：从浅灰改成深蓝黑，确保清晰度 */
    color: var(--text-main);

    /* 2. 字体：加大到 1.1rem (约17-18px)，更适合阅读 */
    font-size: 1.15rem;

    /* 3. 行高：增加到 1.8 - 2.0，呼吸感更强 */
    line-height: 1.5;

    /* 4. 对齐：两端对齐，段落块更整齐 */
    text-align: justify;

    /* 5. 间距：字间距微调 */
    letter-spacing: 0.5px;
}

/* 针对内容里的段落进行优化 */
.story-content p {
    margin-bottom: 20px; /* 段落间距 */
}

/* 针对可能出现的标题 */
.story-content h1,
.story-content h2,
.story-content h3 {
    color: #1e293b;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

/* --- 强制加深 Story 字体颜色 --- */
.story-content,
.story-content p,
.story-content div {
    /* 强制改为纯黑 #000000 或 深黑 #111 */
    color: #ffffff !important;

    font-size: 1.15rem;
    line-height: 1.5;
    text-align: justify;
    letter-spacing: 0.5px;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.evidence-item {
    transition: transform 0.3s;
}
.evidence-item:hover {
    transform: scale(1.05);
}

.evidence-item img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* 返回按钮美化 */
a[href="javascript:history.back()"] {
    display: inline-block;
    color: var(--text-dim);
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 30px;
    transition: 0.3s;
    border: 1px solid transparent;
}
a[href="javascript:history.back()"]:hover {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-color);
    border-color: var(--accent-color);
}




/* ================================================
   导航栏样式 - 赛博朋克风格
   ================================================ */

.cyber-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.4rem;
}

/* --- Logo 图片样式修正 --- */

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px; /* 图片和文字之间的距离 */
    text-decoration: none;
    height: 100%; /* 继承导航栏高度 */
}

.custom-logo-img {
    /* 核心设置：限制高度，防止撑破导航栏 */
    height: 40px; 
    width: auto; /* 宽度自动，保持比例 */
    
    /* 可选：加一点圆角 */
    border-radius: 4px; 
    
    /* 可选：如果图片是白底的，觉得不好看，可以去掉混合模式，或者自己切一张透明底的图 */
    object-fit: contain;
}

/* 稍微调整一下文字，让它和图片垂直居中对齐 */
.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

/* 删掉之前的 .logo-icon 样式，因为已经用图片代替了图标 */
.logo-icon {
    display: none;
}

/* 导航链接 */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-links li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a:hover {
    color: var(--accent-color);
    background: rgba(6, 182, 212, 0.1);
}

/* 链接下划线动画 */
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 60%;
}

/* 搜索框 */
.nav-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-search:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.nav-search input {
    background: transparent;
    border: none;
    padding: 10px 15px;
    color: var(--text-main);
    font-size: 0.9rem;
    width: 180px;
    outline: none;
}

.nav-search input::placeholder {
    color: var(--text-dim);
}

.search-btn {
    background: transparent;
    border: none;
    color: var(--accent-color);
    padding: 10px 15px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-btn:hover {
    transform: scale(1.2);
}

/* 汉堡菜单按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    padding: 20px 30px;
    gap: 5px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text-dim);
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.mobile-menu a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

/* 响应式：移动端 */
@media (max-width: 900px) {
    .nav-links,
    .nav-search {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

/* 因为导航栏是 fixed，需要给主内容区加上 padding */
.site-main {
    padding-top: 100px;
}


/* ================================================
   页脚样式 - 赛博朋克风格
   ================================================ */

.cyber-footer {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-brand .logo-icon {
    font-size: 2rem;
    margin-right: 10px;
}

.footer-brand span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
}

.footer-desc {
    color: var(--text-dim);
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

.footer-contact p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin: 8px 0;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-dim);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-3px);
}

/* 页脚底部版权栏 */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin: 5px 0;
}

.tech-text {
    font-family: 'Courier New', monospace;
    color: rgba(6, 182, 212, 0.5);
    font-size: 0.75rem !important;
    letter-spacing: 2px;
}


/* ================================================
   详情页头部 - 三栏布局（右侧加宽版）
   ================================================ */

.detail-header {
    background: var(--card-bg);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 0;
    margin-bottom: 30px;
    display: grid;
    /* 调整比例：左侧固定，中间自适应，右侧加宽 */
    grid-template-columns: 160px 1fr 1.5fr;
    gap: 0;
    overflow: hidden;
    position: relative;
    min-height: 280px;
}

/* 顶部装饰线 */
.detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #8b5cf6, var(--danger-color));
}

/* --- 左侧：头像区域 --- */
.detail-left {
    /* 1. 核心修改：背景透明 */
    background: transparent !important;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.detail-avatar {
    width: 120px;
    height: 160px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.detail-status {
    text-align: center;
}

/* --- 中间：核心信息 --- */
.detail-center {
    padding: 30px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-id {
    display: inline-block;
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    margin-bottom: 12px;
    width: fit-content;
}

.detail-name {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    background: linear-gradient(90deg, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.detail-job {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin: 0 0 12px 0;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-location {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-icon {
    font-size: 1rem;
}

.detail-meta-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.detail-level,
.detail-date {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.level-label,
.date-label {
    color: var(--text-dim);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.level-value {
    background: rgba(244, 63, 94, 0.2);
    color: #fda4af;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    border: 1px solid rgba(244, 63, 94, 0.4);
    width: fit-content;
    animation: pulse-danger 2s ease-in-out infinite;
}

@keyframes pulse-danger {
    0%, 100% { box-shadow: 0 0 5px rgba(244, 63, 94, 0.3); }
    50% { box-shadow: 0 0 15px rgba(244, 63, 94, 0.6); }
}

.date-value {
    color: var(--text-main);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

/* --- 右侧：人物简介（加宽 + 大字体） --- */
/* --- 详情页右侧：布局修正 --- */
.detail-right {
    background: transparent !important;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;

    /* 核心修改 1：去掉 justify-content: center */
    /* 这样内容多的时候就会从顶部开始排，不会被顶上去 */
    justify-content: flex-start;

    /* 增加一个最小高度，保证视觉平衡 */
    min-height: 280px;
}

.right-title {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.title-icon {
    font-size: 1.3rem;
    text-shadow: 0 0 10px var(--accent-color);
}

.baseinfo-content {
    flex: 1;
    position: relative;
    padding-left: 20px;

    /* 核心修改 2：去掉 align-items: center */
    /* 改为默认值，或者 flex-start */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    /* 如果内容真的特别多，允许局部滚动（可选） */
    overflow-y: auto;
    max-height: 400px; /* 限制最大高度，防止把卡片撑得太难看 */
}

/* 左侧装饰竖线 */
.baseinfo-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    border-radius: 3px;
}

.baseinfo-content p {
    color: #e2e8f0;
    font-size: 1.15rem;
    line-height: 1.5;
    margin: 0;
    text-align: justify;
    letter-spacing: 0.5px;
}

.baseinfo-content .no-data {
    color: rgba(148, 163, 184, 0.5);
    font-style: italic;
    font-size: 1rem;
}

/* --- 响应式：平板 --- */
@media (max-width: 1100px) {
    .detail-header {
        grid-template-columns: 150px 1fr 1.2fr;
    }

    .detail-right {
        padding: 30px;
    }

    .baseinfo-content p {
        font-size: 1.05rem;
        line-height: 1.9;
    }
}

/* --- 响应式：小平板 --- */
@media (max-width: 900px) {
    .detail-header {
        grid-template-columns: 140px 1fr;
    }

    .detail-right {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .baseinfo-content p {
        font-size: 1.1rem;
    }
}

/* --- 响应式：手机 --- */
@media (max-width: 600px) {
    .detail-header {
        grid-template-columns: 1fr;
    }

    .detail-left {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        padding: 20px;
    }

    .detail-avatar {
        width: 90px;
        height: 120px;
    }

    .detail-center {
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .detail-name {
        font-size: 1.5rem;
    }

    .detail-right {
        padding: 25px;
    }

    .baseinfo-content p {
        font-size: 1rem;
        line-height: 1.8;
    }
}



/* ================================================
   证据存档区域 - 完整卡片设计
   ================================================ */

.evidence-section {
    background: var(--card-bg);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 35px 40px;
    margin-top: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header .section-title {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 1.3rem;
}

.evidence-count {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

/* 证据列表容器 */
.evidence-list {
    display: flex;
    flex-direction: column;
}

/* 单个证据块 */
.evidence-block {
    display: flex;
    gap: 25px;
    padding: 25px 0;
}

/* 左侧序号 */
.evidence-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

/* 证据内容区 */
.evidence-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 标题行 */
.evidence-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.evidence-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
}

/* 类型标签 */
.evidence-type {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.type-image {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.type-link {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

/* 描述文字 */
.evidence-desc {
    margin: 0;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

/* 详细信息 */
.evidence-info {
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--accent-color);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
}

.evidence-info p {
    margin: 0;
    color: var(--text-dim);
    font-size: 1.3rem;
    line-height: 1.8;
}

/* 图片展示 */
.evidence-media {
    margin-top: 10px;
}

.evidence-image-link {
    display: inline-block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    max-width: 400px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.evidence-image-link:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.3);
    transform: translateY(-3px);
}

.evidence-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

/* 图片悬停遮罩 */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 40px 20px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.evidence-image-link:hover .image-overlay {
    opacity: 1;
}

.image-overlay span {
    color: #fff;
    font-size: 0.9rem;
}

/* 链接按钮 */
.evidence-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    color: #6ee7b7;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.evidence-link-btn:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: #6ee7b7;
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.link-icon {
    font-size: 1.3rem;
}

.link-text {
    font-weight: 600;
}

.link-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.evidence-link-btn:hover .link-arrow {
    transform: translateX(5px);
}

/* 虚线分隔符 */
.evidence-divider {
    border: none;
    border-top: 2px dashed rgba(255, 255, 255, 0.1);
    margin: 10px 0;
    position: relative;
}

/* 分隔符装饰点 */
.evidence-divider::before {
    content: '◇';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-bg);
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* 无证据提示 */
.no-evidence {
    text-align: center;
    padding: 50px;
    color: var(--text-dim);
}

.no-evidence p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.6;
}

/* --- 响应式设计 --- */
@media (max-width: 768px) {
    .evidence-section {
        padding: 25px 20px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .evidence-block {
        flex-direction: column;
        gap: 15px;
    }

    .evidence-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .evidence-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .evidence-title {
        font-size: 1.1rem;
    }

    .evidence-image-link {
        max-width: 100%;
    }

    .evidence-link-btn {
        width: 100%;
        justify-content: center;
    }
}




/* ================================================
   首页 (Home Page) 样式 - Cyberpunk Style
   ================================================ */

/* 画布背景：固定在最底层 */
#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.home-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* --- Hero 区域 --- */
.hero-section {
    min-height: 40vh; /* 占据大部分屏幕 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 40px; /* 给导航栏留空 */
}

.hero-content {
    max-width: 800px;
    animation: fade-up 1s ease-out;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-block;
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
    background: rgba(74, 222, 128, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.typing-text {
    background: linear-gradient(90deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 光标闪烁动画 */
.cursor {
    color: var(--accent-color);
    animation: blink 1s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 首页搜索框 */
.hero-search {
    display: flex;
    max-width: 500px;
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 5px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.hero-search:hover, .hero-search:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.hero-search input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 20px;
    color: #fff;
    font-size: 1rem;
    outline: none;
}

.hero-search button {
    background: var(--accent-color);
    color: #0f172a;
    border: none;
    padding: 0 30px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-search button:hover {
    background: #fff;
    box-shadow: 0 0 15px #fff;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

.btn-primary:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-dim);
    color: var(--text-dim);
}

.btn-secondary:hover {
    border-color: #fff;
    color: #fff;
}

/* --- 数据仪表盘 --- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
    padding: 20px;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Courier New', monospace;
    margin-bottom: 5px;
}

.stat-num.danger {
    color: var(--danger-color);
    text-shadow: 0 0 10px rgba(244, 63, 94, 0.4);
}

.stat-label {
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 最新收录 --- */
.recent-archives {
    margin-bottom: 100px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.section-head h2 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-main);
}

.section-head .icon {
    color: var(--accent-color);
    margin-right: 10px;
}

.view-all {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: margin-right 0.3s;
}

.view-all:hover {
    margin-right: 5px;
}

/*.home-grid {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
/*    gap: 20px;*/
/*}*/

/*!* 迷你卡片样式 *!*/
/*.mini-card {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 15px;*/
/*    background: rgba(255, 255, 255, 0.03);*/
/*    border: 1px solid rgba(255, 255, 255, 0.05);*/
/*    padding: 15px;*/
/*    border-radius: 8px;*/
/*    text-decoration: none;*/
/*    transition: all 0.3s;*/
/*}*/

/* ================================================
   首页 - 高级档案卡片 (与列表页风格统一)
   ================================================ */

/* 1. 网格布局 */
.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ================================================
   首页 - 高级档案卡片 (高对比度修正版)
   ================================================ */

/* 1. 卡片容器：白底 + 深色边框 + 投影 */
.home-card {
    background: #ffffff; /* 纯白背景 */

    /* 核心修正：加深边框颜色，轮廓更清晰 */
    border: 1px solid #cbd5e1;

    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;

    /* 核心修正：加上比较明显的投影，让它从背景里跳出来 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 悬停效果：边框变蓝，投影加深 */
.home-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

/* 2. 头部：头像铺满区域 */
.home-card-header {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
}

.home-card-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.home-card:hover .home-card-avatar {
    transform: scale(1.08);
}

.home-card-id {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    /* 角标文字深蓝色 */
    color: #1d4ed8;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    border-radius: 8px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 去掉白色渐变遮罩，因为它可能会让文字看不清 */
.home-card-header::after {
    display: none;
}

/* 3. 底部：信息区域 (高对比度) */
.home-card-body {
    padding: 25px;
    text-align: left;
    position: relative;
    z-index: 2;
    margin-top: 0; /* 不再重叠 */

    /* 给文字区域加一个极淡的灰色背景，区分图片区 */
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* 姓名：纯黑 + 加粗 */
.home-card-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    /* 强制纯黑 */
    color: #0f172a !important;
}

/* 职位：深灰 + 加粗 */
.home-card-job {
    font-size: 1rem;
    /* 强制深灰 */
    color: #475569 !important;
    margin: 0 0 16px 0;
    font-weight: 600;
}

.home-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* 标签样式优化 */
.home-card-meta .status-badge {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
}

/* 5. 响应式调整 */
@media (max-width: 600px) {
    .home-card-header {
        height: 220px; /* 手机上稍微矮一点 */
    }
    .home-card-name {
        font-size: 1.2rem;
    }
}












.mini-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    border-color: var(--accent-color);
}

.mini-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--accent-color);
}

.mini-info h4 {
    margin: 0 0 5px 0;
    color: #fff;
    font-size: 1rem;
}

.mini-status {
    font-size: 0.75rem;
    color: var(--text-dim);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
}

.mini-arrow {
    margin-left: auto;
    color: var(--text-dim);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.mini-card:hover .mini-arrow {
    opacity: 1;
    color: var(--accent-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .stats-bar { grid-template-columns: 1fr; gap: 20px; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.05); padding-bottom: 20px; }
    .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
    .hero-actions { flex-direction: column; }
}


/* ================================================
   评论留言区样式
   ================================================ */

.comments-section {
    background: var(--card-bg);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    margin-top: 30px;
    box-shadow: var(--shadow-md);
}

/* --- 表单区域 --- */
.comment-form-box {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

/* --- 修复评论输入框文字看不见的问题 --- */

.comment-input, 
.comment-textarea {
    width: 100%;
    /* 1. 强制背景为纯白 */
    background-color: #ffffff !important; 
    /* 2. 强制文字为深黑 (关键代码) */
    color: #1e293b !important; 
    /* 3. 边框颜色加深，更清晰 */
    border: 1px solid #94a3b8 !important; 
    
    border-radius: 8px;
    padding: 12px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
    box-sizing: border-box;
    margin-bottom: 15px;
}

/* 4. 修复“请输入留言...”这种占位符文字的颜色 */
.comment-input::placeholder,
.comment-textarea::placeholder {
    color: #94a3b8 !important; /* 中灰色，清晰可见 */
    opacity: 1;
}

/* 聚焦时的效果 */
.comment-input:focus, 
.comment-textarea:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
    background-color: #fff !important;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notice {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.btn-submit {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}
.btn-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

/* --- 评论列表 --- */
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    animation: fadeIn 0.5s ease;
}

.comment-item:last-child {
    border-bottom: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.comment-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #64748b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-meta {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.comment-author {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
}

.comment-date {
    color: var(--text-light);
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
}

.comment-text {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

.no-comments {
    text-align: center;
    padding: 30px;
    color: var(--text-light);
    font-style: italic;
    background: #f8fafc;
    border-radius: 8px;
}

/* 响应式调整 */
@media (max-width: 600px) {
    .form-footer {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .btn-submit { width: 100%; }
}


/* ================================================
   关于我们 (About Us) 页面样式 - 高对比度修正版
   ================================================ */

/* --- Hero 区域 --- */
.about-hero {
    text-align: center;
    padding: 80px 0 60px;
    max-width: 800px;
    margin: 0 auto;
    animation: fade-up 0.8s ease-out;
}

.hero-badge {
    /* 修正：加深文字颜色，加深背景 */
    color: #1d4ed8; /* 深蓝色 */
    background: #dbeafe; 
    border: 1px solid #bfdbfe;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* 大标题：纯白 + 轻微投影 */
.about-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin: 30px 0 20px;
    
    /* 核心修改：白色文字 */
    color: #ffffff !important;
    font-weight: 800 !important;
    
    /* 去掉之前的任何渐变 */
    background: none !important;
    -webkit-text-fill-color: unset !important;
    
    /* 柔和的文字投影，增加立体感 */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 副标题：次级白 */
.about-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    
    /* 核心修改：带一点透明度的白，看起来很柔和 */
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500 !important;
    
    max-width: 700px;
    margin: 0 auto;
}

/* --- 核心价值卡片 --- */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: #fff;
    border: 1px solid #cbd5e1; /* 边框加深 */
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: #eff6ff;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: inset 0 0 0 1px #bfdbfe; /* 图标边框加深 */
}

.feature-card h3 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    /* 修正：卡片标题改为纯黑 */
    color: #000000; 
    font-weight: 800;
}

.feature-card p {
    /* 修正：卡片正文加深 */
    color: #334155; 
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

/* --- 详细内容区 --- */
.about-content-box {
    background: #fff;
    border: 1px solid #cbd5e1; /* 边框加深 */
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-md);
    margin-bottom: 60px;
}

.about-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    /* 修正：标题纯黑 */
    color: #0f172a; 
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 5px; /* 加粗下划线 */
    background: var(--accent-color);
    border-radius: 2px;
}

.about-text h3 {
    margin-top: 35px;
    font-size: 1.5rem;
    color: #1e293b; /* 次级标题加深 */
    font-weight: 700;
}

.about-text p {
    /* 修正：正文颜色加深，对比度更高 */
    color: #334155; 
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* 右侧声明栏 */
.about-disclaimer {
    background: #f1f5f9; /* 背景稍微加深一点点灰 */
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 30px;
    height: fit-content;
}

.about-disclaimer h4 {
    margin-top: 0;
    /* 修正：声明标题加深 */
    color: #0f172a; 
    font-size: 1.2rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-weight: 800;
}

.about-disclaimer ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

.about-disclaimer li {
    /* 修正：列表文字加深 */
    color: #475569; 
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.6;
    font-weight: 500;
}

.contact-area h4 {
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 10px;
}

.contact-area p {
    margin: 10px 0;
    /* 修正：联系方式文字加深 */
    color: #1e293b; 
    font-weight: 600;
    font-size: 1rem;
}

.contact-area code {
    background: #e2e8f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: monospace;
    color: #2563eb; /* 蓝色代码文字 */
    font-weight: 700;
    border: 1px solid #cbd5e1;
}


/* ================================================
   导航栏下拉菜单样式 (Dropdown Menu)
   ================================================ */

/* 1. 父菜单项设置 */
.nav-links li {
    position: relative; /* 为了定位下拉菜单 */
    padding-bottom: 0;  /* 移除可能影响定位的内边距 */
}

/* 小箭头样式 */
.arrow {
    font-size: 0.6rem;
    margin-left: 4px;
    vertical-align: middle;
    opacity: 0.5;
    transition: transform 0.3s;
}

/* 悬停时箭头旋转 */
.nav-links li:hover .arrow {
    transform: rotate(180deg);
}

/* 2. 下拉菜单容器（默认隐藏） */
.dropdown-menu {
    position: absolute;
    top: 100%; /* 在父元素正下方 */
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* 居中并下移一点 */
    
    background: #eeeeee;
    min-width: 180px; /* 菜单最小宽度 */
    padding: 10px 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    
    list-style: none;
    opacity: 0;
    visibility: hidden; /* 彻底隐藏，防误触 */
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10000;
}

/* 3. 悬停时显示下拉菜单 */
.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* 浮上来的动画 */
}

/* 增加一个隐形桥梁，防止鼠标移向子菜单时断开 */
.nav-links li::after {
    content: '';
    position: absolute;
    bottom: -10px; /* 填补父菜单和子菜单之间的空隙 */
    left: 0;
    width: 100%;
    height: 20px;
}

/* 4. 下拉菜单里的链接样式 */
.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    white-space: nowrap; /* 防止换行 */
    border-radius: 0;
    transition: all 0.2s;
}

/* 悬停子菜单项 */
.dropdown-menu li a:hover {
    background: #eff6ff; /* 淡蓝色背景 */
    color: var(--accent-color);
    padding-left: 25px; /* 轻微右移效果 */
}

/* 去掉子菜单链接的下划线动画（那是给主菜单用的） */
.dropdown-menu li a::after {
    display: none;
}



/* ================================================
   !!! 强制修复下拉菜单看不清的问题 (High Priority) !!!
   ================================================ */

/* 1. 下拉菜单容器：白底、灰边框、阴影 */
ul.dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
    padding: 10px 0 !important;
    border-radius: 8px !important;
    z-index: 99999 !important;
}

/* 2. 下拉菜单里的每一个链接项 */
ul.dropdown-menu li a {
    /* 核心：强制文字颜色为深黑 */
    color: #1e293b !important; 
    
    /* 确保背景是透明或白色 */
    background-color: transparent !important;
    
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    display: block !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 3. 鼠标悬停在子菜单项上 */
ul.dropdown-menu li a:hover {
    /* 文字变蓝 */
    color: #2563eb !important;
    /* 背景变淡蓝 */
    background-color: #eff6ff !important;
}

/* 4. 修复父级菜单项的小箭头 */
.nav-links li .arrow {
    color: #64748b !important; /* 灰色箭头 */
}
.nav-links li:hover .arrow {
    color: #2563eb !important; /* 悬停变蓝 */
}


/* --- 网友创作区样式 --- */
.creations-grid {
    display: grid;
    gap: 30px;
}

.creation-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid #8b5cf6; /* 紫色主题 */
}

.cr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 10px;
}

.cr-header h4 { margin: 0; color: #1e293b; font-size: 1.1rem; }

.cr-badge {
    background: #f3e8ff;
    color: #7c3aed;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cr-body p {
    color: #475569;
    margin-bottom: 15px;
}

.cr-media-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.cr-img-link, .cr-video-wrapper {
    width: 200px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    background: #000;
}

.cr-img-link img, .cr-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 视频要允许全屏播放，所以 hover 时不需要太花哨的效果，但可以加个播放图标遮罩 */


/* --- 网友创作区：带序号的布局 --- */

/* 1. 外层包裹：让序号和卡片左右并排 */
.creation-block-wrapper {
    display: flex;
    gap: 25px; /* 间距同证据栏 */
    align-items: flex-start; /* 顶部对齐 */
}

/* 2. 序号样式 (紫色风格) */
.creation-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    /* 紫色渐变，呼应创作主题 */
    background: linear-gradient(135deg, #8b5cf6, #c084fc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    color: #fff;
    /* 紫色投影 */
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* 3. 卡片自适应宽度 */
.creation-card {
    flex: 1; /* 占满剩余空间 */
    /* 保持原有样式，稍微调整下边距 */
    margin-bottom: 0;
}

/* 4. 响应式：手机端改为上下排列 */
@media (max-width: 600px) {
    .creation-block-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .creation-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}


/* --- 导航栏加宽、字体加大 --- */

/* 1. 增加容器高度 */
.nav-container {
    /* 原来是 70px，现在加大到 90px */
    height: 90px !important;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px; /* 稍微增加左右内边距 */
}

/* 2. 增加字体大小 */
.nav-links li a,
.dropdown-toggle {
    /* 原来是 1rem，现在加大到 1.1rem (约17.6px) */
    font-size: 1.5rem !important;

    /* 稍微加粗一点点，更有质感 */
    font-weight: 700 !important;

    /* 增加链接之间的间距 */
    padding: 10px 20px !important;
}

/* 3. 相应调整 Logo 大小，匹配新高度 */
.nav-logo img {
    /* 原来是 40px，现在加大到 50px */
    height: 50px !important;
}

/* 4. 调整下拉菜单的位置，防止断层 */
.dropdown-menu {
    /* 往下移一点，匹配 90px 的高度 */
    top: 100% !important;
    padding-top: 15px !important; /* 给菜单增加一点顶部呼吸感 */
}

/* 5. 调整主内容区的顶部填充，防止被导航栏挡住 */
.site-main {
    /* 原来是 90px，现在要 > 90px，设为 120px 比较稳 */
    padding-top: 40px !important;
}



/* ================================================
   导航栏当前页面高亮 (Active State)
   ================================================ */

/* 1. 高亮当前选中的菜单项 (主菜单) */
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a,
.nav-links li.current-menu-ancestor > a {
    /* 文字变蓝 */
    color: var(--accent-color) !important;

    /* 底部加一条蓝色横线 */
    position: relative;
}

/* 2. 底部横线动画 (让高亮更精致) */
.nav-links li.current-menu-item > a::after,
.nav-links li.current_page_item > a::after,
.nav-links li.current-menu-ancestor > a::after {
    content: '';
    position: absolute;
    bottom: 0; /* 贴着导航栏底部，或者 bottom: 20px 贴着文字 */
    left: 20px; /* 根据你的 padding 调整 */
    right: 20px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.3);
}

/* 3. 高亮下拉菜单里的子项 */
.dropdown-menu li.current-menu-item > a {
    background-color: #eff6ff !important; /* 淡蓝背景 */
    color: var(--accent-color) !important; /* 蓝字 */
    font-weight: 800 !important;
    border-left: 3px solid var(--accent-color); /* 左侧加一条竖线 */
}


/* ================================================
   首页进场动画 (Entry Animation)
   ================================================ */

/* 定义动画关键帧：从下往上，从透明到不透明 */
@keyframes card-entry-flow {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95); /* 初始位置：靠下，稍微缩小 */
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1); /* 结束位置：复原 */
    }
}

/* 应用到 Hero 区域的内容 (整体浮出) */
.hero-content {
    opacity: 0; /* 初始隐藏 */
    animation: card-entry-flow 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.2s; /* 稍微等一下再出来 */
}

/* 应用到数据仪表盘 */
.stats-bar {
    opacity: 0;
    animation: card-entry-flow 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.4s;
}

/* 应用到首页卡片 (基础设置) */
.home-card {
    opacity: 0; /* 关键：初始必须是隐藏的，否则会闪烁 */
    /* 使用贝塞尔曲线，让动画有"弹力"感，非常顺滑 */
    animation: card-entry-flow 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    /* animation-delay 将在 HTML 里动态生成 */
}


/* --- 列表页进场动画 --- */

.person-card-anim {
    opacity: 0; /* 初始隐藏 */
    /* 使用同样的弹跳动画，时间稍微短一点，0.6s 比较干脆 */
    animation: card-entry-flow 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ================================================
   详情页媒体尺寸优化 (大图模式)
   ================================================ */

/* --- 证据存档区 --- */
.evidence-gallery {
    gap: 20px; /* 间距拉大 */
}

.media-item.video-item {
    width: 360px !important;  /* 视频加宽 */
    height: 220px !important;
    max-width: 100%; /* 防止手机上撑破屏幕 */
}

.media-item.image-item,
.evidence-image-link {
    width: 240px !important;  /* 图片加宽 */
    height: 180px !important;
}

/* --- 网友创作区 --- */
.cr-img-link,
.cr-video-wrapper {
    width: 240px !important; /* 统一加大 */
    height: 160px !important;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- 响应式微调 --- */
@media (max-width: 600px) {
    /* 手机上让视频占满一行，体验更好 */
    .media-item.video-item,
    .cr-video-wrapper {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9; /* 保持16:9比例 */
    }

    /* 图片在手机上可以一行两个 */
    .media-item.image-item,
    .cr-img-link {
        width: calc(50% - 10px) !important;
        height: 120px !important;
    }
}



/* ================================================
   Info Box 滚动限制与美化
   ================================================ */

.baseinfo-content,.story-content,.evidence-info,.info-table-wrapper{
    /* 1. 设置最大高度 */
    /* 超过这个高度（约一屏的一半），就会出现滚动条 */
    max-height: 250px;

    /* 2. 开启垂直滚动 */
    overflow-y: auto;

    /* 3. 保持内边距（防止滚动条贴着文字太近） */
    padding-right: 15px; /* 右侧稍微多留点空给滚动条 */

    /* 可选：平滑滚动体验 */
    scroll-behavior: smooth;

    /* 确保定位上下文，防止内部绝对定位元素跑偏 */
    position: relative;
}



/* --- 滚动条整体轨道 --- */
/* ================================================
   智能滚动条 (Smart Scrollbar)
   ================================================ */

/* 1. 轨道永远透明 */
.baseinfo-content::-webkit-scrollbar,.story-content::-webkit-scrollbar,.evidence-info::-webkit-scrollbar ,.info-table-wrapper::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
}

/* 2. 滑块默认透明 (看不见) */
.baseinfo-content::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: transparent;
    transition: background-color 0.3s;
}
.story-content::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: transparent;
    transition: background-color 0.3s;
}

/* 3. 核心：当 JS 添加了 .scrolling 类时，显示滑块 */
/*.info-box.scrolling::-webkit-scrollbar-thumb {*/
/*    background-color: rgba(0, 0, 0, 0.2); !* 浅灰色 *!*/
/*}*/
/* 3. 核心：当 JS 添加了 .scrolling 类时，显示滑块 */
.baseinfo-content.scrolling::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); /* 浅灰色 */
}
/* 3. 核心：当 JS 添加了 .scrolling 类时，显示滑块 */
.story-content.scrolling::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); /* 浅灰色 */
}
/* 3. 核心：当 JS 添加了 .scrolling 类时，显示滑块 */
.evidence-info.scrolling::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); /* 浅灰色 */
}
.info-table-wrapper.scrolling::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2); /* 浅灰色 */
}



/* 4. 为了防止鼠标想去拖动滑块时它突然消失，
      我们规定：只要鼠标悬停在滑块上，它就必须一直显示，并且加深颜色 */
/*.info-box::-webkit-scrollbar-thumb:hover {*/
/*    background-color: var(--accent-color) !important; !* 深蓝色 *!*/
/*}*/
.baseinfo-content::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color) !important; /* 深蓝色 */
}
.story-content::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color) !important; /* 深蓝色 */
}
.evidence-info::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color) !important; /* 深蓝色 */
}
.info-table-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color) !important; /* 深蓝色 */
}


/* ================================================
   前端快速筛选框 (居中版 + 高对比度)
   ================================================ */

.archive-header-center {
    display: flex;
    flex-direction: row; /* 垂直排列 */
    justify-content: center;
    align-items: center;    /* 水平居中 */
    gap: 25px;              /* 标题和搜索框的距离 */
    margin-bottom: 30px;
    padding-bottom: 10px;
    /*border-bottom: 1px dashed #cbd5e1; !* 虚线分割 *!*/
}

/*!* 标题区域 *!*/
/*.header-title-area {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 15px;*/
/*}*/

/*.header-title-area h1 {*/
/*    margin: 0;*/
/*    color: #0f172a !important; !* 纯黑标题 *!*/
/*    font-size: 2.2rem;*/
/*    font-weight: 800;*/
/*}*/

/* 统计数字标签 */
.header-count {
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;

    /* 配色方案：深蓝字 + 淡蓝底 */
    /*color: #1d4ed8 !important;*/
    color: #94a3b8;
    /*background-color: #dbeafe !important;*/
    /*border: 1px solid #bfdbfe !important;*/

    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* 搜索框容器 */
.quick-filter-box {
    position: relative;
    width: 100%;
    max-width: 500px; /* 限制最大宽度，不至于太长 */
}

/* 输入框本体 */
.quick-filter-box input {
    margin-top: 20px;
    width: 100%;
    height: 50px; /* 增加高度 */
    padding: 0 20px 0 50px; /* 左侧留给图标 */

    /* 核心：强制高对比度配色 */
    background-color: #ffffff !important;
    border: 2px solid #cbd5e1 !important; /* 加粗边框 */
    color: #0f172a !important; /* 输入文字深黑 */

    border-radius: 50px !important;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* 占位符颜色 */
.quick-filter-box input::placeholder {
    color: #94a3b8 !important; /* 深灰色提示 */
    opacity: 1;
}

/* 图标 */
.quick-filter-box .search-icon {
    margin-top: 10px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #64748b; /* 深灰图标 */
    z-index: 2;
}

/* 聚焦交互 */
.quick-filter-box input:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15) !important;
    width: 100%; /* 保持宽度 */
}


/* ================================================
   自定义 Toast 提示框
   ================================================ */
#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-msg {
    min-width: 300px;
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* 弹跳动画 */
}

.toast-msg.show {
    opacity: 1;
    transform: translateY(0);
}

/* 不同类型的颜色 */
.toast-error { background: #ef4444; }   /* 红 */
.toast-success { background: #10b981; } /* 绿 */
.toast-warning { background: #f59e0b; } /* 黄 */
.toast-info { background: #3b82f6; }    /* 蓝 */


/* --- 强制所有 evidence-info 里的段落首行缩进 --- */
.evidence-info p,
.baseinfo-content p,
.story-content p {
    text-indent: 2em; /* 缩进2个字符宽度 */

    /* 配合之前的样式，确保排版整齐 */
    text-align: justify; /* 两端对齐 */
    margin-bottom: 10px; /* 段落间距 */
}

/* --- 全局段落排版优化 --- */

/* 1. 简介区 */
.baseinfo-content p {
    text-indent: 2em;
    margin-bottom: 15px;
    text-align: justify;
}

/* 2. 事迹区 */
.story-content p {
    text-indent: 2em;
    margin-bottom: 20px;
    text-align: justify;
}

/* 3. 证据区 */
.evidence-info-text p,
.evidence-info p {
    text-indent: 2em;
    margin-bottom: 10px;
    text-align: justify;
    margin-top: 0;
}

/* 4. 清理空段落 (如果有人连敲两个回车) */
p:empty {
    display: none;
}

/* --- 修复暂无评论提示看不清 --- */
.no-comments {
    /* 1. 改为深灰色背景，对比度更高 */
    background-color: #f1f5f9 !important;

    /* 2. 文字改为深色 (不再用浅灰) */
    color: #475569 !important;

    /* 3. 加粗一点 */
    font-weight: 500;

    /* 4. 加个边框 */
    border: 1px dashed #cbd5e1;

    text-align: center;
    padding: 40px;
    border-radius: 8px;
    margin-top: 20px;
}


/* ================================================
   分页导航样式
   ================================================ */
.pagination-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.page-btn, .page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 40px;
    padding: 0 15px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #475569;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.page-num {
    padding: 0; /* 数字按钮不需要太宽 */
}

/* 悬停状态 */
.page-btn:hover, .page-num:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
}

/* 当前页激活状态 */
.page-num.current {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    pointer-events: none; /* 禁止点击 */
}

.dots {
    color: #94a3b8;
    letter-spacing: 2px;
}


.detail-views {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
/* 其他样式复用 .detail-date 即可 */


/* --- 列表页卡片新样式 --- */

/* 1. 事迹摘要 */
.person-excerpt {
    font-size: 0.85rem;
    color: var(--text-dim); /* 灰色 */
    line-height: 1.5;
    margin-bottom: 15px;
    height: 42px; /* 固定高度，约显示两行 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 限制显示两行 */
    -webkit-box-orient: vertical;
}

/* 2. 底部两端对齐容器 */
.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* 把底部挤到最下面 (如果父容器是 flex column) */
    /*border-top: 1px solid #f1f5f9;*/
    padding-top: 12px;
}

/* 3. 阅读量样式 */
.card-views {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- 强制去除首页搜索框输入时的边框/轮廓 --- */

/* 1. 针对 input 元素本身：去掉所有自带边框 */
#home-search-input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* 2. 针对外层容器：去掉聚焦时的变色/发光效果 */
.hero-search:focus-within {
    /* 保持和默认状态一样的边框颜色 (浅灰) */
    border-color: #cbd5e1 !important;

    /* 保持默认阴影，不要发光 */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01) !important;
}


/* ================================================
   输入框终极修复 (颜色 + 自动填充去色)
   ================================================ */

/* 2. 修复“自动填充变色”：去掉浏览器默认的黄色/蓝色背景 */
/* 这是通过一个巨大的白色内阴影把默认背景盖住来实现的 */
#home-search-input:-webkit-autofill,
#home-search-input:-webkit-autofill:hover,
#home-search-input:-webkit-autofill:focus,
#home-search-input:-webkit-autofill:active {
    /* 强制背景变白 */
    /*-webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;*/
    /* 强制文字变黑 */
    -webkit-text-fill-color: #ffffff !important;
    /* 去掉边框 */
    border: none !important;
    outline: none !important;
    /* 防止浏览器强制改背景 */
    transition: background-color 9999s ease-in-out 0s;
}












