* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: #1c1c1e;
    background-color: #f5f5f7;
    scroll-behavior: smooth;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* 顶部导航 */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.8);
    border-bottom: 1px solid #e0e0e0;
}
header.floating {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}
.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
}
.navbar .logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: #0071e3;
}
.navbar nav {
    display: flex;
    gap: 1.5rem;
}
.navbar a:hover { color: #0071e3; }

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    animation: fadeInUp 0.6s ease-out;
}

/* 搜索区 */
.search-area { text-align: center; margin-bottom: 3rem; }
.search-area h1 { font-size: 2rem; font-weight: 600; margin-bottom: 1rem; }
.search-box {
    display: inline-flex;
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background: white;
    transition: box-shadow 0.3s ease;
}
.search-box:focus-within {
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.2);
}
.search-box input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    outline: none;
}
.search-box button {
    background-color: #0071e3;
    border: none;
    padding: 0 1.5rem;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.search-box button:hover { background-color: #005bb5; }

/* 报告列表 */
.report-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.report-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: fadeInUp 0.6s ease both;
}
.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.report-card .title {
    font-size: 1.125rem; font-weight: 500; color: #0071e3;
}
.report-card .meta {
    font-size: 0.9rem; color: #6e6e73;
    display: flex; align-items: center; gap: 0.5rem;
}
.report-card .tags {
    margin-top: auto;
    display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: #e1e1e6;
    font-size: 0.85rem; color: #3a3a3c;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.tag:hover {
    background: #0071e3; color: #fff;
}

/* 页脚 */
footer {
    background: #f1f1f3;
    text-align: center;
    padding: 2rem 1rem;
    color: #888;
    font-size: 0.875rem;
    margin-top: 4rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .search-area h1 { font-size: 1.75rem; }
    .search-box button, .search-box input { font-size: 0.9rem; }
    .report-card { padding: 1.25rem; }
}
@media (max-width: 480px) {
    .search-area h1 { font-size: 1.5rem; }
    .search-box { flex-direction: column; }
    .search-box button {
        width: 100%;
        border-radius: 0;
        border-top: 1px solid #ddd;
    }
    .report-list { grid-template-columns: 1fr; }
}


/* 搜索区 */
.hero {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

.search-container {
    position: relative;
    margin: 2rem 0;
}

.search-input {
    width: 100%;
    padding: 1.2rem 3rem;
    border: 1px solid #d2d2d7;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #0071e3;
    box-shadow: 0 0 0 4px rgba(0,113,227,0.1);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #86868b;
}

/* 热门标签 */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin: 2rem 0;
}

.tags-container .tag {
    background: rgba(0,113,227,0.1);
    color: #0071e3;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.tags-container .tag:hover {
    background: rgba(0,113,227,0.15);
}

.breadcrumb {
    font-size: 0.9rem; color: #555; margin-bottom: 1.5rem;
}
.breadcrumb a { color: #0071e3; }
.breadcrumb span { margin: 0 0.5rem; }
.list-row {
    display: flex; align-items: center; padding: 1rem 1.25rem;
    background: #fff; border-radius: 8px; margin-bottom: 0.75rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.list-row:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.row-title { flex: 2; font-size: 1rem; font-weight: 500; color: #0071e3; }
.row-pages {
    flex: 0 0 80px; text-align: right; font-size: 0.9rem; color: #6e6e73;
    margin-right: 1rem;
}
.row-tags {
    flex: 1.5; display: flex; flex-wrap: wrap; gap: 0.5rem;
    justify-content: flex-end;
    text-align: right;
}
.row-tags .tag {
    padding: 0.25rem 0.75rem; border-radius: 12px;
    background: #e1e1e6; font-size: 0.85rem; color: #3a3a3c;
    cursor: pointer; transition: background 0.3s, color 0.3s;
}
.row-tags .tag:hover {
    background: #0071e3; color: #fff;
}
.pagination {
    text-align: center
}

.pagination ul {
    display: inline-block;
    margin-left: 0;
    margin-bottom: 0
}

.pagination ul>li {
    display: inline
}

.pagination ul>li>a,.pagination ul>li>span {
    margin: 0 8px;
    float: left;
    padding: 6px 12px;
    line-height: 20px;
    text-decoration: none;
    color:#000
}

.pagination ul>li>a:focus,.pagination ul>li>a:hover {
    color:#000
}

.pagination ul>.active>a,.pagination ul>.active>span {
    color:#000
}

.pagination ul>.active>a,.pagination ul>.active>span {
    cursor: default;
    color:#000;
    font-weight: 700;
    border-bottom: 2px solid #000
}

.pagination ul>.disabled>a,.pagination ul>.disabled>a:focus,.pagination ul>.disabled>a:hover,.pagination ul>.disabled>span,.pagination ul>li>span {
    color: #999;
    background-color: transparent;
    cursor: default
}
/* 主体布局 */
.detail-wrapper {
    display: flex; gap: 2rem; align-items: flex-start;
    flex-wrap: wrap;
}

/* 左侧详情卡片 */
.detail-left {
    flex: 2;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.detail-left h2 { font-size: 1.2rem; margin-bottom: 0.5rem;margin-top: 0.5rem; }
.detail-left p { line-height: 1.6; color: #333; }
.share-area {
    display: flex; gap: 1rem;
}
.share-area button {
    background: #e1e1e6; border: none; padding: 0.5rem;
    border-radius: 8px; cursor: pointer; transition: background 0.2s;
    font-size: 1rem;
}
.share-area button:hover { background: #0071e3; color: #fff; }

/* 右侧侧边栏 */
.detail-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

/* 侧边卡片 */
.sidebar-card {
    background: #fff;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.sidebar-card h3 {
    font-size: 1.25rem;
    color: #1c1c1e;
    border-bottom: 1px solid #e1e1e6;
    padding-bottom: 0.5rem;
}
.sidebar-card .report-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.sidebar-card .report-card {
    padding: 1rem;
}
.sidebar-card .report-card:hover { background: #f0f5ff; }
.sidebar-card .title { font-size: 0.95rem; color: #0071e3; }
.sidebar-card .meta { font-size: 0.85rem; color: #6e6e73; }

/* 下载按钮整合样式 */
.download-box {
    text-align: center;
}
.btn-download {
    background: #0071e3;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    display: block;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-download:hover { background: #005bb5; }

/* 浮动下载按钮 */
#floatDownload {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(0, 113, 227, 0.9);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    cursor: pointer;
    font-size: 0.95rem;
    z-index: 200;
    transition: background 0.2s;
}
#floatDownload i { margin-right: 0.4rem; }
#floatDownload:hover { background: #005bb5; }

/* 响应式 */
@media (max-width:768px) {
    .detail-wrapper { flex-direction: column; }
    .detail-right { width: 100%; }
    #floatDownload { right: 16px; bottom: 16px; }
}

.detail-img-wrapper img{ max-width: 100%;}
.detail-img-wrapper {   text-align: center;}
.detail-content{max-width: 770px;}
.detail-body{    font-size: 12px;background: #f3f3f3;border-radius: 10px;padding: 10px;}
.h1{font-size: 14px;display: inline-block;font-weight: normal;}
.h2{font-size: 16px;}
