:root {
    --primary: #2c7de6;
    --primary-light: #d4e6ff;
    --primary-dark: #0d4a9c;
    --nav-hover: #0d4a9c;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e4e7ed;
    --bg-gray: #f5f7fa;
    --success: #52c41a;
    --warning: #faad14;
    --danger: #f5222d;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 6px 16px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 20px rgba(44,125,230,0.12);
    --radius: 12px;
    --vip-color: #ff9800;
    --svip-color: #ffd700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}
a:hover {
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部栏 */
.topbar-bg {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #666;
    font-size: 13px;
}

/* 主导航 */
.header {
    background-color: #fff;
}
.header-container {
    display: flex;
    flex-direction: column;
    padding: 15px 0 0;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    gap: 20px;
}
.logo {
    height: 70px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo img {
    height: 100%;
    width: auto;
}

.nav-container {
    background-color: var(--primary-light);
    border-radius: 8px;
    margin-top: 10px;
    padding: 0 8px;
}
.navbar {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}
.navbar li {
    padding: 0;
    position: relative;
}
.navbar li a {
    font-weight: 500;
    font-size: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    color: #1a68cc;
    transition: all 0.25s;
    border-radius: 6px;
    white-space: nowrap;
}
.navbar li a:hover {
    color: var(--nav-hover);
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}
.navbar li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 6px;
    left: 18px;
    right: 18px;
    background-color: var(--nav-hover);
    transition: width 0.25s ease;
    border-radius: 3px;
}
.navbar li a:hover:after {
    width: calc(100% - 36px);
}

/* 统计栏 */
.stats-bar {
    background-color: var(--primary-light);
    padding: 8px 0;
    margin-top: 15px;
    border-radius: 0 0 8px 8px;
}
.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.stats-info {
    font-size: 14px;
    color: var(--text-light);
}
.stats-info strong {
    color: var(--primary);
    font-weight: bold;
    padding: 0 3px;
}
.quick-links {
    font-size: 14px;
    display: flex;
    gap: 15px;
}
.quick-links a {
    color: var(--primary);
    font-weight: 500;
}
.quick-links a:hover {
    text-decoration: underline;
}

/* 通用区块 */
.section {
    margin: 24px 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    transition: box-shadow 0.2s;
}
.section:hover {
    box-shadow: var(--shadow-md);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}
.section-title {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: #1e293b;
}

/* 面包屑 */
.breadcrumb {
    margin: 20px 0 10px;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.breadcrumb a {
    color: var(--primary);
    margin: 0 5px;
}
.breadcrumb a:first-child {
    margin-left: 0;
}

/* 子分类 */
.subcategory-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}
.subcategory-item {
    background: var(--bg-gray);
    padding: 8px 15px;
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.3s;
}
.subcategory-item:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.subcategory-item em {
    color: var(--primary);
    margin-left: 5px;
}

/* 网站列表 */
.site-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}
.site-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.site-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(44,125,230,0.2);
}
.site-thumb {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}
/* 修复所有图片（含超大SVG）显示：强制填满容器并保持比例 */
.site-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
/* 2026-11-06（v1.3.9.3，体检 P1-5）：flex 子项默认 min-width:auto，
   长域名 / 长简介会把 375px 视口撑到 725px。补 min-width:0 让它可以收缩。 */
.site-content {
    flex: 1;
    min-width: 0;
}
.site-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.site-name a {
    color: var(--text-color);
}
/* 站名过长时省略，别把后面的 VIP 标签挤变形（2026-10-18o） */
.site-name > a:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.site-name a:hover {
    color: var(--primary);
}
.site-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
    /* 2026-11-06：只有 overflow:hidden 时超长英文/URL 不会断行，直接撑宽容器 */
    overflow-wrap: anywhere;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 网站简介富文本：写入端已做白名单（strong/b/em/i/u/s/span/sub/sup/br），
 * 这里显式声明下划线 / 删除线 / 加粗 / 斜体，避免浏览器默认样式差异导致
 * 「在后台加了颜色/下划线，前台却看不出来」。block 级一律由后端压成 <br>。 */
.site-description u,
.site-description ins,
.description-content u,
.description-content ins {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.site-description s,
.site-description strike,
.site-description del,
.description-content s,
.description-content strike,
.description-content del {
    text-decoration: line-through;
}
.site-description strong,
.site-description b,
.description-content strong,
.description-content b {
    font-weight: 700;
}
.site-description em,
.site-description i,
.description-content em,
.description-content i {
    font-style: italic;
}
.site-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
}
.site-info {
    display: flex;
    gap: 20px;
}
.site-info-item {
    display: flex;
    align-items: center;
}
.site-info-label {
    margin-right: 4px;
    color: var(--text-light);
}
.site-info-value {
    font-weight: 500;
    color: var(--primary);
}

/* VIP 标签（2026-10-18o 重做）
 * 原实现有三个毛病：
 *   ① 皇冠用绝对定位钉在左边，再拿 padding-left:24px 给它腾地方 —— 左右内边距
 *      变成 24 / 8，不对称，所以文字看上去整体右偏；
 *   ② 皇冠靠 top:50% + translateY(-50%) 居中，但 emoji 字形的视觉中心天然比
 *      em-box 中心低，看上去就"皇冠掉下去一点"；
 *   ③ 白字压在金色渐变上对比度不足，远看糊成一团。
 * 现在改成 inline-flex：皇冠和文字是同一行的两个 flex 子项，垂直对齐交给
 * align-items:center，不再需要绝对定位，也不再需要不对称的内边距。 */
.vip-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 0 0 auto;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    margin-left: 8px;
    vertical-align: middle;
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.vip-label.vip {
    background: linear-gradient(135deg, #fb8c00, #e64a19);
    color: #fff;
    border: 1px solid #d84315;
}
.vip-label.svip {
    background: linear-gradient(135deg, #ffe082, #ffb300);
    color: #6b3b00;
    border: 1px solid #d69400;
}
/* 皇冠：作为普通 flex 子项参与行内排版（不再绝对定位）。
 * 只留 0.5px 的视觉微调 —— emoji 的字形基线比同号文字低一点点，
 * 完全对齐反而会显得往下沉。 */
.vip-label.svip:before {
    content: "👑";
    font-size: 11px;
    line-height: 1;
    transform: translateY(-0.5px);
}
.site-item.vip-item {
    border-left: 4px solid #ff9800;
    box-shadow: 0 6px 15px rgba(255,152,0,0.15);
}
.site-item.vip-item.svip-item {
    border-left: 4px solid #ffd700;
    box-shadow: 0 6px 15px rgba(255,215,0,0.2);
}
.vip-banner {
    background: linear-gradient(135deg, #ffd700, #ff9800, #ff5722);
    padding: 15px 0;
    text-align: center;
    color: white;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(255,152,0,0.3);
}
.vip-banner h1 {
    font-size: 28px;
    margin-bottom: 10px;
}
.vip-banner p {
    font-size: 16px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 8px;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}
.pagination a:hover,
.pagination a.current,
.pagination span.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* 推荐 */
.recommendation-section {
    margin-top: 40px;
}
.recommendation-header {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.recommendation-header:before {
    content: "📌";
    margin-right: 10px;
}
.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}
.recommendation-column {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
}
.recommendation-column-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--primary);
    display: flex;
    align-items: center;
}
.recommendation-column-title:before {
    margin-right: 8px;
}
.recommendation-column:not(.sites) .recommendation-column-title:before {
    content: "📰";
}
.recommendation-column.sites .recommendation-column-title:before {
    content: "🌐";
}
.article-list-side {
    list-style: none;
}
.article-item-side {
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
    transition: all 0.3s;
}
.article-item-side:hover {
    background: rgba(44,125,230,0.03);
}
.article-item-side:last-child {
    border-bottom: none;
}
.article-item-side a {
    display: block;
    font-size: 15px;
    transition: all 0.3s;
    padding-left: 28px;
    position: relative;
    color: #444;
    line-height: 1.6;
}
.article-item-side a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}
.article-item-side a:hover {
    color: var(--primary);
    padding-left: 30px;
}
.recommended-sites {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}
.recommended-card {
    text-align: center;
    transition: all 0.3s;
    display: block;
}
.recommended-card:hover {
    transform: translateY(-5px);
}
.recommended-thumb {
    width: 100%;
    height: 90px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 10px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}
/* 推荐缩略图同样强制充满容器 */
.recommended-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.recommended-name {
    font-size: 15px;
    font-weight: 500;
}

/* 时间筛选 */
.time-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.time-filter a {
    padding: 8px 15px;
    background: var(--bg-gray);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}
.time-filter a:hover,
.time-filter a.active {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* 归档（年份可折叠：当前年份默认展开，往年点击标题展开/收起） */
.archive-years {
    margin-bottom: 30px;
}
.archive-year-block {
    margin-bottom: 15px;
}
.archive-year {
    background: var(--bg-gray);
    padding: 12px 20px;
    border-radius: var(--radius);
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    -webkit-user-select: none;
    user-select: none;
    transition: background-color 0.25s;
}
.archive-year::-webkit-details-marker {
    display: none;
}
.archive-year::marker {
    content: '';
}
.archive-year:hover {
    background-color: var(--primary-light);
}
.archive-year-text {
    flex: 0 0 auto;
}
.archive-year-count {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
}
/* 折叠指示箭头：收起时指向右，展开时指向下 */
.archive-year::after {
    content: '';
    flex: 0 0 auto;
    margin-left: auto;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.25s;
}
.archive-year-block[open] > .archive-year::after {
    transform: rotate(45deg);
}
.archive-months {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 15px;
}
.archive-month {
    background: #fff;
    padding: 12px 15px;
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.archive-month:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.archive-month a:hover {
    color: var(--primary);
}
.month-count {
    display: block;
    font-size: 12px;
    color: #fff;
    background: var(--primary);
    padding: 2px 6px;
    border-radius: 10px;
    margin-top: 5px;
}

/* 文章搜索结果 */
.article-result-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}
.article-result-item {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 25px;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}
.article-result-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.article-result-title {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}
.article-result-title a {
    color: var(--text-color);
}
.article-result-title a:hover {
    color: var(--primary);
}
.article-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}
.article-result-summary {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}
/* 移动端资讯搜索摘要最多 4 行，超出部分用省略号（PC 端不受影响，仍完整显示） */
@media (max-width: 768px) {
    .article-result-summary {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
.article-category {
    background-color: rgba(44,125,230,0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    margin-right: 10px;
}

/* 待审核 */
.badge-pending {
    background-color: #ff9800;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
    font-weight: 500;
}

/* 页脚 */
.footer {
    margin-top: 40px;
    padding: 50px 0 30px;
    background: #fff;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}
.footer-menu {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 20px;
}
.footer-menu a {
    font-size: 14px;
    color: var(--text-light);
}
.footer-menu a:hover {
    color: var(--primary);
}
.footer-copyright {
   font-size: 13px;
   margin-top: 15px;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 8px;
}
.footer-beian {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   align-items: center;
   gap: 15px;
}
.footer-beian a {
   display: flex;
   align-items: center;
   gap: 5px;
   color: var(--text-light);
}
.footer-beian img {
   width: 15px;
   height: 15px;
}

/* 移动端响应式 */
@media (max-width: 991px) {
    .topbar {
        display: none;
    }
    .stats-bar {
        display: none;
    }
    .header-top {
        flex-direction: column;
        padding: 10px 0;
        gap: 15px;
    }
    .logo {
        height: 60px;
        margin-bottom: 5px;
    }
    .nav-container {
        margin-top: 5px;
        padding: 0 5px;
    }
    .navbar {
        flex-wrap: nowrap;
        justify-content: space-around;
    }
    .navbar li a {
        padding: 12px 8px;
        font-size: 14px;
    }
    .site-item {
        flex-direction: column;
        padding: 15px;
    }
    .site-thumb {
        width: 100%;
        height: 160px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .site-info {
        flex-wrap: wrap;
        gap: 10px;
    }
    .recommendation-grid {
        grid-template-columns: 1fr;
    }
    .archive-months {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    .archive-year {
        font-size: 16px;
        padding: 10px 14px;
    }
}
@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }
    .navbar li a {
        padding: 10px 6px;
        font-size: 13px;
    }
    .section {
        padding: 16px;
    }
    .section-title {
        font-size: 18px;
    }
    .footer-beian {
        flex-direction: column;
        gap: 8px;
    }
    .recommended-sites {
        grid-template-columns: repeat(2, 1fr);
    }
}
.seo-structured {
    display: none;
}
/* ===========================================================================
   百科词条搜索结果（v1.0.22 新增，配合 themes/default/search.html 的词条结果区）
   =========================================================================== */
.baike-result-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
}
.baike-result-item {
    display: flex;
    gap: 18px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px 20px;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    min-width: 0;
}
.baike-result-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.baike-result-thumb {
    flex: 0 0 130px;
    width: 130px;
    height: 96px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
}
.baike-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.baike-result-body {
    flex: 1 1 auto;
    min-width: 0;
}
.baike-result-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}
.baike-result-title a {
    color: var(--text-color);
    overflow-wrap: anywhere;
}
.baike-result-title a:hover {
    color: var(--primary);
}
.baike-category {
    background-color: rgba(44,125,230,0.1);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
}
.baike-result-aka {
    font-size: 13px;
    color: #999;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}
.baike-result-summary {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.baike-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
}
@media (max-width: 480px) {
    .baike-result-item {
        padding: 14px;
        gap: 12px;
    }
    .baike-result-thumb {
        flex: 0 0 92px;
        width: 92px;
        height: 70px;
    }
    .baike-result-title {
        font-size: 16px;
    }
    .baike-result-summary {
        font-size: 14px;
    }
}


/* ===========================================================================
   VIP / SVIP 列表页专用（v1.1.46 · 对应 themes/default/vip.html 的 body.vip-page）
   ---------------------------------------------------------------------------
   原来这页直接套用 webdir 的通用列表样式，三处不协调：
     ① 缩略图 120x90 是扁的，而 VIP 站点的图多是竖版字标 —— object-fit:contain
        之后缩成一条细竖条，左右大片留白；
     ② 卡片 align-items:flex-start，缩略图贴顶，卡片下半部分右侧空着；
     ③ ≤991px 的通用规则把 .site-item 改成竖向排列 + 缩略图 100%x160px，
        一条卡片占掉大半屏，跟 PC 端完全是两种东西（就是"切换不无缝"的根因）。
   这里按 VIP 页的场景重排，全部走 .vip-page 后代作用域，
   不影响 webdir / update / archives / search 等共用 .site-item 的页面。
   =========================================================================== */

/* 顶部横幅：浅香槟金底 + 深棕字，与全站蓝色主调并存不打架。
   背景光晕用两个柔和的径向渐变光斑（左上暖光 + 右下金光）代替原来的
   绝对定位超大皇冠 emoji —— emoji 靠右/移动端直接隐藏，正是 PC 与移动端
   「切换不无缝」的根因。光斑用百分比定位，缩放时天然平滑过渡。 */
.vip-page .vip-banner {
    position: relative;
    overflow: hidden;
    padding: 30px 24px;
    margin-top: 24px;
    margin-bottom: 24px;
    border-radius: 16px;
    background:
        radial-gradient(120% 140% at 12% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 46%),
        radial-gradient(90% 120% at 92% 8%, rgba(255, 214, 120, 0.55) 0%, rgba(255, 214, 120, 0) 52%),
        radial-gradient(100% 130% at 70% 100%, rgba(255, 183, 77, 0.35) 0%, rgba(255, 183, 77, 0) 55%),
        linear-gradient(135deg, #fffaf0 0%, #fff3d6 45%, #fdeec8 100%);
    border: 1px solid #f0d9a6;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 8px 26px rgba(255, 167, 38, 0.14);
    text-align: center;
    color: #8a5200;
}
/* 顶部一道极细的金色高光，强化「尊享」质感 */
.vip-page .vip-banner::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 0;
    height: 2px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, rgba(255, 179, 0, 0), rgba(255, 179, 0, 0.65), rgba(255, 179, 0, 0));
    pointer-events: none;
}
.vip-page .vip-banner h1 {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 1.25;
    color: #6f3d00;
}
/* 皇冠作为标题的行内前缀（随字号缩放），PC 与移动端都协调 */
.vip-page .vip-banner h1::before {
    content: "\1F451";
    font-size: 0.88em;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(180, 120, 0, 0.35));
}
.vip-page .vip-banner p {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 14px;
    letter-spacing: 0.4px;
    color: #96601a;
}
/* 副标题两侧的金色小短线，做视觉分隔 */
.vip-page .vip-banner p::before,
.vip-page .vip-banner p::after {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 152, 0, 0), rgba(255, 152, 0, 0.6));
}
.vip-page .vip-banner p::after {
    background: linear-gradient(90deg, rgba(255, 152, 0, 0.6), rgba(255, 152, 0, 0));
}

/* 列表与卡片 */
.vip-page .site-list {
    gap: 12px;
    margin-top: 16px;
}
.vip-page .site-item {
    position: relative;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 35, 70, 0.04);
}
.vip-page .site-item:hover {
    border-color: rgba(255, 167, 38, 0.45);
    box-shadow: 0 8px 22px rgba(15, 35, 70, 0.09);
}
/* 左侧强调条用伪元素画：直接上 border-left 的话，圆角处会被切成直角 */
.vip-page .site-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #d7dfe9;
}
.vip-page .site-item.vip-item {
    border-left: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.09);
}
.vip-page .site-item.vip-item::before {
    background: linear-gradient(180deg, #ffb74d, #f4511e);
}
.vip-page .site-item.vip-item.svip-item {
    border-left: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(255, 179, 0, 0.13);
}
.vip-page .site-item.vip-item.svip-item::before {
    background: linear-gradient(180deg, #ffd54f, #ffa000);
}

/* 缩略图：正方形比扁矩形更适配竖版字标；留 6px 内衬，logo 不贴边 */
.vip-page .site-thumb {
    width: 92px;
    height: 92px;
    margin-right: 16px;
    padding: 6px;
    border-radius: 10px;
    background: #f7f9fc;
    border: 1px solid #eef2f7;
}
.vip-page .site-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 文本区 */
.vip-page .site-name {
    margin-bottom: 6px;
    font-size: 17px;
}
.vip-page .site-description {
    margin-bottom: 10px;
}
.vip-page .site-meta {
    font-size: 12.5px;
}

/* 移动端：保持横向排列（通用规则在 ≤991px 会改成竖向 + 100%x160px 缩略图，
   一条卡片吃掉大半屏）。换成小一号的正方形缩略图，一屏能看 4~5 条。 */
@media (max-width: 768px) {
    .vip-page .vip-banner {
        padding: 22px 16px;
        margin-top: 16px;
        margin-bottom: 18px;
        border-radius: 14px;
    }
    .vip-page .vip-banner h1 {
        gap: 8px;
        font-size: 20px;
        margin-bottom: 6px;
    }
    .vip-page .vip-banner p {
        font-size: 13px;
        letter-spacing: 0.3px;
    }
    .vip-page .vip-banner p::before,
    .vip-page .vip-banner p::after {
        width: 18px;
    }
    .vip-page .site-item {
        flex-direction: row;
        align-items: center;
        padding: 13px;
    }
    .vip-page .site-thumb {
        width: 68px;
        height: 68px;
        margin-right: 12px;
        margin-bottom: 0;
        padding: 4px;
        border-radius: 8px;
    }
    .vip-page .site-name {
        font-size: 15.5px;
        margin-bottom: 5px;
    }
    .vip-page .site-description {
        font-size: 13px;
        margin-bottom: 8px;
    }
    .vip-page .site-meta {
        font-size: 12px;
    }
    .vip-page .site-info {
        flex-wrap: wrap;
        gap: 6px 12px;
    }
}

@media (max-width: 400px) {
    .vip-page .site-thumb {
        width: 58px;
        height: 58px;
    }
}

/* ===========================================================================
   VIP 页中间部分炫酷化（v1.2.1 · 仅作用于 body.vip-page 后代，不影响其他页）
   ---------------------------------------------------------------------------
   公共部分（header / footer / stats-bar / 搜索框 / 面包屑）与 VIP/SVIP 图标
   （.vip-label）保持不变；站点详情页（siteinfo）完全不动。这里只把中间的
   「VIP 站点列表卡片」与「推荐内容」两区升级成金色质感：渐变描边、光晕、
   hover 发光上浮、渐变文字。全部走 .vip-page 作用域，安全可控。
   =========================================================================== */

/* 区块标题：金色渐变下划线 + 皇冠前缀，取代通用蓝色标题 */
.vip-page .section-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: none;
    position: relative;
}
.vip-page .section-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ffb300, #ff9800, rgba(255, 152, 0, 0));
}
.vip-page .section-title {
    font-size: 21px;
    color: #6f3d00;
}
.vip-page .section-title::before {
    content: "\1F451";
    margin-right: 8px;
    font-size: 0.9em;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(180, 120, 0, 0.3));
}

/* 列表卡片：金色渐变描边 + 微光背景 + hover 发光上浮 */
.vip-page .site-item {
    position: relative;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(120deg, rgba(255, 193, 7, 0.55), rgba(255, 235, 179, 0.35) 45%, rgba(255, 152, 0, 0.5)) border-box;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.vip-page .site-item:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(255, 152, 0, 0.18);
}
/* 卡片底部一道若隐若现的金色光边，hover 时更亮 */
.vip-page .site-item::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 2px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(90deg, rgba(255, 179, 0, 0), rgba(255, 179, 0, 0.45), rgba(255, 179, 0, 0));
    opacity: 0.5;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.vip-page .site-item:hover::after {
    opacity: 1;
}

/* VIP 卡片：橙金强调条 + 更暖的描边 */
.vip-page .site-item.vip-item {
    border-left: 1px solid transparent;
    background:
        linear-gradient(#fff, #fffdf7) padding-box,
        linear-gradient(120deg, rgba(255, 152, 0, 0.6), rgba(255, 224, 178, 0.35) 45%, rgba(255, 112, 26, 0.55)) border-box;
}
.vip-page .site-item.vip-item:hover {
    box-shadow: 0 12px 28px rgba(255, 112, 26, 0.2);
}

/* SVIP 卡片：亮金强调条 + 更璀璨的描边 */
.vip-page .site-item.vip-item.svip-item {
    border-left: 1px solid transparent;
    background:
        linear-gradient(#fff, #fffbe9) padding-box,
        linear-gradient(120deg, rgba(255, 215, 0, 0.7), rgba(255, 247, 204, 0.45) 45%, rgba(255, 179, 0, 0.65)) border-box;
}
.vip-page .site-item.vip-item.svip-item:hover {
    box-shadow: 0 14px 30px rgba(255, 193, 7, 0.24);
}

/* 缩略图：金色描边光晕 */
.vip-page .site-thumb {
    border: 1px solid rgba(255, 193, 7, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.08);
}

/* 站点名：hover 渐变金色文字 */
.vip-page .site-name a {
    transition: color 0.25s ease, text-shadow 0.25s ease;
}
.vip-page .site-name a:hover {
    color: #e65100;
    text-shadow: 0 1px 0 rgba(255, 152, 0, 0.18);
}

/* 推荐内容区：金色主题标题 */
.vip-page .recommendation-header {
    border-bottom: none;
    position: relative;
    color: #6f3d00;
    padding-bottom: 12px;
}
.vip-page .recommendation-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ffb300, rgba(255, 152, 0, 0));
}
.vip-page .recommendation-column {
    border: 1px solid rgba(255, 193, 7, 0.22);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.vip-page .recommendation-column:hover {
    border-color: rgba(255, 152, 0, 0.4);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.1);
}
.vip-page .recommendation-column-title {
    color: #8a5200;
}
.vip-page .recommended-card:hover .recommended-name {
    color: #e65100;
}

/* 移动端微调：金色描边/光晕在窄屏下适度收敛，保持清爽 */
@media (max-width: 768px) {
    .vip-page .section-title {
        font-size: 18px;
    }
    .vip-page .section-header::after {
        width: 90px;
        height: 2px;
    }
    .vip-page .site-item::after {
        left: 10px;
        right: 10px;
    }
}
