
        /* 所有样式保持不变 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }
        
        :root {
            --primary-color: #2c3e50;
            --secondary-color: #4a6491;
            --accent-color: #e74c3c;
            --light-bg: #f8fafc;
            --border-color: #e2e8f0;
            --text-color: #333;
            --text-light: #718096;
            --sidebar-width: 120px;
        }
        
        body {
            background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
            color: var(--text-color);
            line-height: 1.6;
            padding: 20px;
            min-height: 100vh;
        }
        
        a {
            text-decoration: none;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding: 10px;
        }
        
        header {
            text-align: center;
            padding: 10px 0;
            background: rgba(--light-bg);
            color: #2c3e50;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }
        
        h1 {
            font-size: 2.2rem;
            margin-bottom: 8px;
            letter-spacing: 0.5px;
            font-weight: 600;
        }
        
        .subtitle {
            font-size: 1rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .main-content {
            display: flex;
            gap: 20px;
        }
        
        .sidebar {
            width: var(--sidebar-width);
            background: gba(255, 255, 255, 0.05);
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            padding: 20px;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            gap: 20px;
            transition: transform 0.3s ease;
        }
        
        .content-area {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .section {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }
        
        .section-header {
            padding: 18px 20px;
            background: var(--light-bg);
            border-bottom: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .section-title {
            font-size: 1.3rem;
            color: var(--primary-color);
            font-weight: 400;
        }
        
        .section-content {
            padding: 20px;
        }
        
        /* 搜索框样式 */
        .search-container {
            max-width: 800px;
            margin: 20px auto 15px;
            position: relative;
        }
        
        .search-box {
            width: 100%;
            padding: 10px 20px;
            font-size: 1rem;
            border: 1px solid #e5e6e9;
            border-radius: 50px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }
        
        .search-box:focus {
            outline: none;
            box-shadow: 0 5px 15px rgba(44, 62, 80, 0.15);
            transform: translateY(-2px);
        }
        
        .search-icon {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #4a6491;
            font-size: 1.1rem;
        }
        
        .counter {
            margin: 20px 0 20px;
            font-size: 0.85rem;
            color: var(--text-light);
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
        }
        
        /* 分类导航 */
        .category-group {
            margin-bottom: 15px;
        }
        
        .category-title {
            font-size: 1.1rem;
            font-weight: 400;
            margin-bottom: 12px;
            padding-left: 10px;
            padding-right: 10px;
            padding-bottom: 8px;
            border-bottom: 2px solid rgba(0,0,0,0.08);
            color: var(--primary-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }
        
        .category-title .toggle-icon {
            transition: transform 0.3s;
            font-size: 0.85rem;
        }
        
        .category-group.collapsed .category-list {
            display: none;
        }
        
        .category-group.collapsed .toggle-icon {
            transform: rotate(180deg);
        }
        
        .category-list {
            list-style: none;
        }
        
        .category-item {
            padding: 10px 15px;
            border-radius: 8px;
            margin-bottom: 8px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 300;
            font-size: 1rem;
            text-align: center;
            display: block; /* 关键 */
            width: 100%; /* 关键 */
        }
        
        .category-item:hover {
            background: var(--light-bg);
        }
        
        .category-item.active {
            background: var(--secondary-color);
            color: white;
        }
 
         .category-item-row { /* 横向一行导航修改 */
            padding: 2px!important;
            border-radius: 8px;
            margin-bottom: 0!important;
            cursor: pointer;
            transition: all 0.2s;
            display: inline-flex!important;
            align-items: center;
            gap: 10px;
            font-weight: 300;
            font-size: 1rem;
            -webkit-tap-highlight-color: transparent;
        }    
        
        .category-icon {
            width: 24px;
            text-align: center;
        }
        
        /* 个人中心样式 */
        .personal-section {
            background: rgba(0,0,0,0.02);
            border-radius: 10px;
            padding: 15px;
        }
        
        .personal-item {
            padding: 8px 5px 10px 15px;
            border-radius: 100%;
            margin-bottom: 10px;
            font-size: 1.2rem;
            font-weight: 300;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 12px;
            background: rgba(255,255,255,0.1);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        }
        
        .personal-item-pc {
            margin-bottom: 0!important
}
        

        
        .personal-item.active {
            background: var(--secondary-color);
            color: white;
        }
        
        .personal-item-row {
            padding: 2px;
            border-radius: 100%;
            margin-bottom: 10px;
            font-size: 1.2rem;
            font-weight: 300;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 10px;
            -webkit-tap-highlight-color: transparent;

        } 
        

        
        .personal-icon {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: var(--secondary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* 最近阅读列表样式 */
        .history-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 15px;
        }
        
        .history-item {
            background: #f8fafc;
            border-radius: 10px;
            padding: 10px 15px;
            transition: all 0.2s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border: 1px solid var(--border-color);
        }
        
        .history-item:hover {
            background: #f1f5f9;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        }
        
        .history-info {
            flex: 1;
        }
        
        .history-title {
            font-size: 1.1rem;
            font-weight: 400;
            margin-bottom: 4px;
            color: var(--primary-color);
        }
        
        .history-time {
            font-size: 0.85rem;
            color: var(--text-light);
        }
        
        .history-action {
            color: var(--secondary-color);
            font-size: 0.9rem;
            text-decoration: none;
            padding: 6px 0 6px 12px;
            border-radius: 6px;
            transition: background 0.2s;
        }
        
        .history-action:hover {
            background: var(--light-bg);
        }
        
        .clear-history {
            background: none;
            border: none;
            color: #cc3366;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 300;
            padding: 5px 10px;
            border-radius: 6px;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin-top: 10px;
        }
        
        .clear-history:hover {
            color: #e53e3e;
        }
        
        /* 报纸卡片 */
        .newspaper-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
        }
        
        .newspaper-card {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border: 1px solid var(--border-color);
            padding: 10px 15px;
            display: flex;
            height: 100%;
            display: flex;
            position: relative;
        }
        
        .newspaper-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
        }
        
        .card-content {
            display: flex;
            flex: 1;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
        }
        
        .card-text {
            flex: 1;
            cursor: pointer;
        }
        
        .card-title {
            font-size: 1.1rem;
            font-weight: 400;
            margin-bottom: 4px;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .website-tag {
            border: 1px solid  var(--light-bg);
            color: #FFFFFF;
            font-size: 0.6rem;
            padding: 1px 4px;
            border-radius: 5px;
            background: #3399cc;
        }
        
        .card-description {
            color: var(--text-light);
            font-size: 0.85rem;
            line-height: 1.5;
            margin-bottom: 4px;
        }
        
        .card-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        
        .card-tag {
            border: 1px solid  var(--light-bg);
            color: var(--text-light);
            font-size: 0.8rem;
            padding: 1px 4px;
            border-radius: 5px;
        }
        
        .favorite-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 1.1rem;
            color: #cbd5e0;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            padding: 1px;
        }
        
        .favorite-btn:hover {
            color: #ecc94b;
        }
        
        .favorite-btn.favorited {
            color: #ecc94b;
        }
        
        .favorite-btn.favorited:hover {
            color: #d69e2e;
        }
        
/* 分页器样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin: 25px 0 15px;
    gap: 4px; /* 减小间隙 */
    flex-wrap: wrap; /* 允许换行 */
}

.page-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 8px;
    background: white;
    color: var(--secondary-color);
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

.page-btn:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.page-btn.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.page-btn.arrow {
    font-size: 1.1rem;
}

/* 分页省略号样式 */
.page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
}

/* 响应式调整：小屏幕下缩小分页按钮 */
@media (max-width: 767px) {
    .page-btn, .page-ellipsis {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .page-btn.arrow {
        font-size: 1rem;
    }
    
    .pagination {
        gap: 2px; /* 更小的间隙 */
    }
}
        
        footer {
            text-align: center;
            padding: 25px 0;
            margin-top: 20px;
            color: var(--text-light);
            font-size: 0.9rem;
            border-top: 1px solid var(--border-color);
        }
        
        .footer_more {
            font-size: 0.85rem;
            font-weight: 300;
            color: var(--text-light);
            margin-bottom: 5px;
        }
        .footer_more a{
            font-size: 0.85rem;
            font-weight: 300;
            color: var(--text-light);
            text-decoration: none
        }
        
        /* ========== 新增移动端布局 ========== */
        .mobile-header {
            display: none;
            padding: 15px;
            background: white;
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .mobile-header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .menu-toggle {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 5px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.3s;
        }
        
        .menu-toggle:hover {
            background: rgba(0,0,0,0.05);
        }
        
        .mobile-search-toggle {
            background: none;
            border: none;
            font-size: 1.2rem;
            cursor: pointer;
            padding: 5px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.3s;
        }
        
        .mobile-search-toggle:hover {
            background: rgba(0,0,0,0.05);
        }
        
        .mobile-search-container {
            padding: 10px 15px;
            background: white;
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            z-index: 100;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        /* 移动端搜索框关闭按钮 */
        .mobile-search-close {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 1.2rem;
            cursor: pointer;
            z-index: 101;
            padding: 8px;
        }
        
        /* 移动侧边栏遮罩层 */
        .mobile-sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: none;
            z-index: 998;
            display: none;
        }
        
        /* 空状态引导 */
        .empty-guide {
            text-align: center;
            padding: 40px 20px;
            background: white;
            border-radius: 8px;
            margin-top: 20px;
        }
        
        .empty-guide i {
            font-size: 3rem;
            color: var(--text-light);
            margin-bottom: 20px;
            display: block;
        }
        
        .empty-guide p {
            margin-bottom: 15px;
            font-size: 1.1rem;
        }
        
        .empty-guide button {
            padding: 10px 20px;
            background: var(--secondary-color);
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 1rem;
        }
        
        .reader-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: white;
            z-index: 1000;
            display: none;
            flex-direction: column;
        }
        
        .reader-header {
            padding: 14px 18px;
            background: var(--primary-color);
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }
        
        .reader-title {
            font-size: 1.1rem;
            font-weight: 500;
        }
        
        .close-reader {
            background: none;
            border: none;
            color: white;
            font-size: 1rem;
            cursor: pointer;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.3s;
        }
        
        .close-reader:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .reader-frame {
            flex-grow: 1;
            border: none;
            width: 100%;
             z-index: 999; 
        }

/* 阅读器提示区域 */
.reader-alert {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.alert-content {
    max-width: 280px;
    background: rgba(0, 0, 0, 0.01);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.alert-content h3 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 400;
}

.alert-content p {
    margin-bottom: 25px;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-color);
}

.alert-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.alert-btn {
    padding: 2px 15px;
    border: none;
    margin-bottom: 5px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 300;
    transition: all 0.3s;
}

.alert-btn.primary {
    background: var(--secondary-color);
    color: white;
}

.alert-btn.primary:hover {
    background: #3a578f;
}

.alert-btn:hover {
    background: var(--light-bg);
}

/* 隐藏阅读器时的样式 */
.reader-hidden .reader-frame {
    display: none;
}
        
        .no-results {
            text-align: center;
            padding: 0 15px;
            transition: all 0.2s ease;
            color: #a0aec0;
            font-size: 0.85rem;
            line-height: 1.8;
            font-weight: 300;
            border-radius: 10px;
            grid-column: 1 / -1;
        }
        
        .top-list {
            list-style: none;
            margin-top: 10px;
        }
        
        .top-item {
            padding: 10px 15px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
        }
        
        .top-item:hover {
            background: var(--light-bg);
        }
        
        .top-rank {
            width: 24px;
            height: 24px;
            background: var(--light-bg);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            font-weight: bold;
        }
        
        .top-1 .top-rank {
            background: #ffd700;
            color: var(--primary-color);
        }
        
        .top-2 .top-rank {
            background: #c0c0c0;
            color: var(--primary-color);
        }
        
        .top-3 .top-rank {
            background: #cd7f32;
            color: white;
        }
        
        .top-name {
            flex: 1;
        }
        
        .top-count {
            color: var(--text-light);
            font-size: 0.9rem;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .main-content {
                flex-direction: row;
                overflow: hidden;
                position: relative;
            }
            
            .sidebar {
                width: 180px; /* 侧边栏宽度调整为180px */
                position: fixed;
                top: 0;
                left: 0;
                height: 100%;
                z-index: 999;
                transform: translateX(-100%);
                border-radius: 0;
                overflow-y: auto;
                padding-top: 70px;
                transition: transform 0.3s ease;
            }
            
            .sidebar.active {
                transform: translateX(0);
            }
            
            .content-area {
                width: 100%;
                transition: transform 0.3s ease;
            }
            
            .sidebar.active + .content-area {
                transform: translateX(120px); /* 平移距离调整为180px */
            }
            
            .section-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .search-container {
                width: 100%;
            }
            
            .newspaper-grid {
                grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
            }
            
            /* 显示移动端头部 */
            .mobile-header {
                display: block;
            }
            
            /* 隐藏桌面端头部 */
            header {
                margin-top: 20px;
            }
            
            /* 隐藏PC端搜索框 */
            .section-header .search-container {
                display: none;
            }
            
            /* 侧边栏关闭按钮 */
            .sidebar-close {
                position: fixed; /* 使用fixed定位 */
                top: 15px; /* 从顶部15px位置开始 */
                right: 15px; /* 从右侧15px位置开始 */
                background: none;
                border: none;
                font-size: 1.5rem; /* 增大图标 */
                color: var(--primary-color); /* 使用主色调 */
                cursor: pointer;
                display: block;
                width: 40px;
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                transition: all 0.3s;
                z-index: 1001;
                background: rgba(255, 255, 255, 0.8); /* 半透明白色背景 */
                box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* 添加阴影 */
            }
            
            .sidebar-close:hover {
                background: rgba(255, 255, 255, 1);
            }
        }
        
        @media (min-width: 768px) and (max-width: 992px) {
            .sidebar {
                width: 110px; /* 调整中等屏幕下的宽度 原180px */
                padding: 15px;
                background: rgba(255,255,255,0.06);
                border-radius: 12px;
                max-height: 90%;
                margin-top: 30px;
            }
            
            .category-group {
                margin-bottom: 0;
            }
        }
        
        @media (max-width: 767px) {
            body {
                padding: 10px;
            }
            
            h1 {
                font-size: 1.9rem;
            }
            
            .section-title {
                font-size: 1.2rem;
                font-weight: 400;
            }
            .section-title-nav {
                font-size: 1rem;
                font-weight: 300;
            }
            
            .personal-section {
                display: grid;
                grid-template-columns: repeat(1, 1fr);/* 原本是2,1fr 小屏幕下保持180px */
                gap: 10px;
            }
            
            .personal-item {
                margin-bottom: 0;
            }
            
            .sidebar {
                width: 100px; /* 小屏幕下保持180px */
                padding: 10px;
                background: rgba(255,255,255,0.06);
                border-radius: 12px;
                max-height: 90%;
                margin-top: 30px; 
            }
            
            .sidebar.active + .content-area {
                transform: translateX(120px);
            }
        }
        
        @media (max-width: 576px) {
            .personal-section {
                grid-template-columns: 1fr;
            }
            
            .section-header {
                padding: 15px;
            }
            
            .sidebar {/* iPhone16边栏全局修改 */
                width: 100px;
                padding: 10px;
                background: rgba(255,255,255,0.06);
                border-radius: 12px;
                max-height: 70%;
                margin-top: 104px;
            }

            .sidebar.active + .content-area {
                transform: translateX(120px);
            }
        }
        
        /* 搜索建议框 */
        .search-suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border-radius: 0 0 10px 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            z-index: 100;
            display: none;
            max-height: 300px;
            overflow-y: auto;
        }
        
        .suggestion-item {
            padding: 12px 15px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: background 0.2s;
        }
        
        .suggestion-item:hover {
            background: var(--light-bg);
        }
        
        .suggestion-icon {
            color: var(--secondary-color);
        }
        
        /* 侧边栏关闭按钮 - 桌面端隐藏 */
        .sidebar-close {
            display: none;
        }
        
        /* 分类在移动端显示 - 桌面端隐藏 */
        .only-phone {
            display: none;
        }
         @media (min-width: 768px) and (max-width: 992px) {
            .only-phone{
                display: block !important;
            }
        }
        @media (max-width: 767px) {
            .only-phone{
                display: block !important;
            }
        }
        
        
        @media only screen and (max-width: 768px) {/* 实现手机和PC显示不同内容 */
    .pc-only {
        display: none !important;
    }
   }


.index .main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    --mw: 968px;
    flex-direction: column;
    width: 100%;
    max-width: var(--mw);
    gap: 40px;
    border-radius: 5px;
    color: #545454;
}

.index .main-content .main {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--mw)
}

.index .main-content .link-list {
    width: 100%;
    max-width: var(--mw);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-gap: 16px
}

.index .main-content .link-list .link-card {
    background-color: #141419;
    box-shadow: 0px 0px 8px 0px rgba(10, 10, 14, 0.4);
    --circle-size: 400px
}

.index .main-content .link-list .link-card a {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 12px
}

.index .main-content .link-list .link-card a img {
    width: 40px;
    opacity: .6;
    transition: opacity .4s
}

.index .main-content .link-list .link-card a .info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    opacity: .8;
    transition: opacity .4s
}

.index .main-content .link-list .link-card a .info .info-title {
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    background: linear-gradient(180deg, #E8E8F6 0%, rgba(232, 232, 246, 0.72) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

.index .main-content .link-list .link-card a .info .info-desc {
    width: 100%;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    color: #A8A8B6
}

.index .main-content .link-list .link-card a .icon-arrow {
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity .4s
}

.index .main-content .link-list .link-card a:hover {
    color: #6461F1
}

.index .main-content .link-list .link-card a:hover .info,
.index .main-content .link-list .link-card a:hover .icon-arrow,
.index .main-content .link-list .link-card a:hover img {
    opacity: 1;
    transition: opacity .4s
}

.index .main-content .power-list-container {
    position: relative;
    width: 100%;
    max-width: var(--mw);
    padding: 0 10px;
    overflow: visible
}

.index .main-content .power-list-container .power-list {
    position: relative;
    display: grid;
    --columns: 8;
    grid-template-columns: repeat(var(--columns), fit-content(100%));
    column-gap: 8px;
    row-gap: 24px;
    padding: 10px 0/*滚动导航高度修改*/
}

.index .main-content .power-list-container .power-list .power-card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px
}

.index .main-content .power-list-container .power-list .power-card .power-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0 5px;
    width: 28px
}

.index .main-content .power-list-container .power-list .power-card .power-container .card-img {
    width: 28px;
    height: 28px;
    padding: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .8;
    filter: grayscale(1);/*滚动导航图标icon置灰修改*/
    transition: opacity .4s, filter .4s, transform .2s
}

.index .main-content .power-list-container .power-list .power-card .power-container .card-img::after {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 5px;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    transition: none
}

.index .main-content .power-list-container .power-list .power-card .power-container .title {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 24px;
    color: #2d3748;/*横向滚动标题颜色修改*/
    opacity: .8;
    text-wrap: nowrap;
    white-space: nowrap;
    transition: opacity .4s
}

.index .main-content .power-list-container .power-list .power-card .power-separator {
    position: relative;
    width: 27px;/*横向滚动间距修改*/
    height: 32px;
}

.index .main-content .power-list-container .power-list .power-card:hover .title {
    opacity: 1;
    transition: opacity .4s
}

.index .main-content .power-list-container .power-list .power-card:hover .card-img {
    opacity: 1;
    transform: scale(1.1);
    filter: grayscale(0);
    transition: opacity .4s, filter .4s, transform .2s
}

.index .main-content .power-list-container .power-list .power-card:hover .card-img::after {
    animation: ripple 0.6s ease-out
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.6
    }

    50% {
        transform: scale(2);
        opacity: 0.3
    }

    100% {
        transform: scale(3);
        opacity: 0
    }
}

.index .main-content .power-list-container .power-list .load-item {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeIn 0.2s ease-in-out forwards
}

.index .main-content .power-list-container .power-list .load-item:nth-child(1) {
    animation-delay: 0s
}

.index .main-content .power-list-container .power-list .load-item:nth-child(2) {
    animation-delay: 0.1s
}

.index .main-content .power-list-container .power-list .load-item:nth-child(3) {
    animation-delay: 0.2s
}

.index .main-content .power-list-container .power-list .load-item:nth-child(4) {
    animation-delay: 0.3s
}

.index .main-content .power-list-container .power-list .load-item:nth-child(5) {
    animation-delay: 0.4s
}

.index .main-content .power-list-container .power-list .load-item:nth-child(6) {
    animation-delay: 0.5s
}

.index .main-content .power-list-container .power-list .load-item:nth-child(7) {
    animation-delay: 0.6s
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.index .main-content .power-list-container .power-list .sticky-item {
    width: 64px;
    height: 74px;
    position: sticky;
    background: linear-gradient(270deg, #0E0E13 0%, rgba(14, 14, 19, 0.4) 100%);
    right: 0;
    opacity: 0;
    pointer-events: none
}

.index .main-content .power-list-container .power-list .sticky-item .loader {
    width: 8px;
    height: 12px;
    display: flex;
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translate(-50%, -50%)
}

.index .main-content .power-list-container .power-list .sticky-item .loader::before {
    content: "";
    flex: 1;
    background: #62616F;
    clip-path: polygon(0 10px, calc(100% - 15px) 10px, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, calc(100% - 15px) calc(100% - 10px), 0 calc(100% - 10px));
    animation: arrow-loader .5s infinite alternate
}

@keyframes arrow-loader {
    0% {
        transform: scaleX(var(--s, 1)) translate(-4px)
    }

    100% {
        transform: scaleX(var(--s, 1)) translate(4px)
    }
}

.index .main-content .power-list-container .power-list::-webkit-scrollbar {
    display: none
}

    .index .main-content .power-list-container .power-list {
        overflow-x: scroll;
        overflow-y: hidden
    }
    
.welcometo-ql {
    background: #FFFFFF;
    padding:5px 0 5px;
    margin-bottom: 0;
    text-align:center; 
    border-radius: 12px;
    font-size: 14px; 
    font-weight: normal; 
    text-align: center;
}


  /* 移动端同步保留部分精选分类直接显示的横向滚动修改 */
        .filters-container {
            margin: 15px 0 -20px;
            overflow-x: auto;
            padding-bottom: 5px;
              -webkit-overflow-scrolling: touch; /* 流畅滚动 */
              scrollbar-width: none; /* 隐藏滚动条 */
        }
        
        .filters {
            display: flex;
            gap: 8px;
            padding: 5px 0;
            min-width: max-content;
        }
        
        .filter-btn {
            padding: 5px 10px;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            font-size: 0.85rem;
            font-weight: 400;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
            color: #4a5568;
             -webkit-tap-highlight-color: transparent;
        }
        
        .filter-btn:hover, .filter-btn.active {
            background: #4a6491;
            color: white;
            border-color: #4a6491;
        }
        
        .filter-btn-tuijian {
            color: #cc3366;
        }
        .filter-btn-tuijian:hover, .filter-btn-tuijian.active {
            color: white;
        }
        
        /* 隐藏滚动条（兼容WebKit） */
.filters-container::-webkit-scrollbar {
  display: none;
}


 .nav-icon-item {
    -webkit-tap-highlight-color: transparent;
    
}

.turn-on:hover {
    color: green;
     -webkit-tap-highlight-color: transparent;
}


.sticky-posts-container{/*置顶文章修改*/
    background: #fff;
	border-radius: 12px;
	padding: 10px 20px;
	text-align: left;
	margin-bottom: 0
}

.sticky_ctt {
    font-size: 1rem;
    font-weight: 300;
    color: #737373;
    margin-bottom: 5px;
    margin-top: 5px;
}
.sticky_ctt a:hover {
    color: #2d3748;
    
}


.sticky-tt {
    display: inline-block; /* 保持容器紧凑 */
}


/* 阅读器提示弹窗样式 - 小巧版 */
#readerAlert {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    backdrop-filter: blur(3px);
}

.alert-content {
    background: white;
    border-radius: 12px;
    width: 85%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    animation: alert-pop 0.3s ease-out;
}

@keyframes alert-pop {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.alert-body {
    padding: 0 20px 10px;
    text-align: left;
    line-height: 1.6;
}

.alert-body p {
    margin: 5px 0 0;
    font-weight: 300;
    color: #2c3e50;
    font-size: 1.1rem;
}

.source-url {
    display: block;
    font-size: 0.85rem;
    font-weight: 300;
    color: #718096;
    margin-top: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    word-break: break-all;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}

.alert-actions {
    display: flex;
    padding: 0 20px 10px;
}

.alert-btn {
    flex: 1;
    padding: 2px 10px;
    border-radius: 8px;
    border: none;
    margin: 0;
    font-weight: 300;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    /* gap: 5px; */
}

.alert-btn i {
    font-size: 1.1rem;
}

.alert-btn.secondary {
    background: none;
    color: #555;
}

.alert-btn {
  position: relative;
  background: none;
  color: #333;
  padding-bottom: 4px;
}

.alert-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2em; 
  height: 2px;
  background: var(--primary-color);
  transform: translateX(-50%); 
}

.alert-btn.primary {
    background: none;
    color: #cc3366;
}

.alert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.alert-btn.primary:hover {
    background: #2c3e50;
}

/* 加载指示器 */
.loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1001; /* 确保在最上层 */
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4285f4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 12px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-size: 1rem;
    color: #333;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .alert-content {
        width: 90%;
    }
    
    .alert-actions {
        flex-direction: row;
    }
    
    .alert-btn {
        padding: 4px 4px;
        font-size: 0.85rem;
        font-weight: 300;
    }
}

/* 调整iframe层级 */
.reader-frame {
    z-index: 999; /* 低于加载指示器 */
}


/* 弹窗头部和关闭按钮 */
.alert-header {
    position: relative;
    padding: 10px;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    background: #f0f0f0;
}


.eq_tips {
    border: 1px solid var(--light-bg);
    display: block;
    font-size: 0.7rem;
    font-weight: 300;
    text-align: center;
    color: #718096;
    margin-top: 10px;
    padding: 8px;
    border-radius: 6px;
    word-break: break-all;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;    
}


 /* 默认折叠状态（所有设备） */
/* 移动端展开分类 */
@media (max-width: 992px) {
    
.category-group.collapsed .category-list {
    display: none;
}

.category-group.collapsed .toggle-icon {
    transform: rotate(180deg);
}

}


       /* 新增智能推荐卡片样式 */

        
        .recommendation-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .recommendation-icon {
            width: 32px;
            height: 32px;
            background: #4a6491;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
        }
        
        .recommendation-icon i {
            color: white;
            font-size: 1rem;
        }
        
        .recommendation-title {
            font-size: 1.1rem;
            font-weight: 400;
            color: #2c3e50;
            text-align: center;
        }
        
/* 智能推荐副标题 - 确保居中 */
.recommendation-subtitle {
    font-size: 0.85rem;
    font-weight: 300;
    color: #718096;
    margin-top: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
    display: block; /* 确保占据整行 */
    width: 100%; /* 确保占据整行 */
}
        
        .recommendation-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
            margin-top: 10px;
        }
        
        .recommendation-card {
            background: white;
            border-radius: 10px;
            padding: 15px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            position: relative;
        }
        
        .recommendation-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
        }
        
        .recommendation-badge {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 0.8rem;
            font-weight: 300;
            color: #cc3366;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            padding: 1px;
        }
        
        .recommendation-card .card-title {
            font-size: 1.1rem;
            font-weight: 400;
            margin-bottom: 4px;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .recommendation-card .card-description {
            color: var(--text-light);
            font-size: 0.85rem;
            line-height: 1.5;
            margin-bottom: 4px;
        }
        
        .recommendation-card .card-tag {
            border: 1px solid  var(--light-bg);
            color: var(--text-light);
            font-size: 0.8rem;
            padding: 1px 4px;
            border-radius: 5px;
        }
        
        .no-results .recommendation-container {
            animation: fadeIn 0.5s ease-out;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* 智能排序提示 */
        .sorting-info {
            text-align: center;
            font-size: 0.9rem;
            color: #718096;
            margin: 10px 0 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        .sorting-info i {
            color: #4a6491;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .recommendation-cards {
                grid-template-columns: 1fr;
            }
            
            .recommendation-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .recommendation-icon {
                margin-bottom: 10px;
            }
        }

/* 在现有CSS中添加以下内容 */

/* 智能推荐容器 - 增强响应式 */
.recommendation-container {
    background: #f8fafc;
    padding: 10px 15px 15px;
    border-radius: 12px;
    grid-column: 1 / -1; /* 跨整个网格 */
}

.recommendation-container:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
            padding: 10px 13px 15px;
            border: 1px solid var(--border-color);
        }

/* 智能推荐卡片网格 - 响应式 */
.recommendation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

/* 智能推荐卡片 - 复用报纸卡片样式 */
.recommendation-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    cursor: pointer;
    position: relative;
}

/* 添加悬停效果 */
.recommendation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

/* 智能推荐卡片内容 */
.recommendation-card .card-title {
            font-size: 1.1rem;
            font-weight: 400;
            margin-bottom: 4px;
            color: var(--primary-color);
            display: flex;
            align-items: center;
            gap: 8px;
}

.recommendation-card .card-description {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .recommendation-cards {
        grid-template-columns: 1fr;
    }
    
    .recommendation-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .recommendation-icon {
        margin-bottom: 10px;
    }
}

/* 移动端特殊处理 */
@media (max-width: 576px) {
    .recommendation-card {
        padding: 12px;
    }
}


