/* 通用样式 - 所有页面共用 */

/* 全局布局样式 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.fz-page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 确保容器至少占满一屏高度 */
}

/* 轮播图动画修复 */
.carousel-item {
    transition: transform 0.6s ease-in-out !important;
}

.fz-main-content {
    flex: 1; /* 主内容区自动填充剩余空间，将footer推到底部 */
}

body {
    background: #f7f7f7;
}

/* Logo样式 */
.fz-logo {
    height: 40px;
}

/* 导航栏样式 */
.fz-nav {
    background: rgba(57, 61, 60, 1);
}
.custom-nav-link1{
    border-radius: 20px;
    margin-right: 8px;
    color:#888;
    background-color: rgba(57, 61, 60, 1);
}

.fz-nav .nav-link {
    color: #fff !important;
}

.fz-nav .nav-link.active {
    color: #ff4d4f !important;
}

/* 搜索栏样式 */
.fz-search-bar {
    background: #fff;
    border-radius: 20px;
}

.fz-search-btn {
    background: #ff4d4f;
    color: #fff;
    border-radius: 20px;
}

.fz-search-btn:hover {
    background: #d9363e;
}

/* 页脚样式 */
.fz-footer {
    background: #232323;
    color: #aaa;
    font-size: 0.9rem;
    padding: 30px 0 10px 0;
}

/* 应用按钮样式 */
.fz-app-btn {
    background: #f1f1f1;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: 0.9rem;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fz-app-btn:hover {
    background: #e0e0e0;
}

.fz-app-btn.mobile-active {
    background: #ff4d4f;
    color: #fff;
}

/* 自定义导航链接样式 */
.custom-nav-link {
    color: #fff !important;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.custom-nav-link.active {
    background-color: rgba(34, 37, 36, 1) !important; /* 深灰背景（若需红色可改为 rgba(255, 77, 79, 0.8)） */
    color: #fff !important;
    font-weight: bold;
}

.custom-nav-link:hover {
    background: rgba(255, 77, 79, 0.8);
    color: #fff !important;
}

/* 移动端导航样式 */
.navbar-toggler {
    border: none;
    background: transparent;
    padding: 8px;
    margin: 5px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #333;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    bottom: -6px;
}

@media (max-width: 768px) {
    .navbar-toggler {
        display: block !important;
    }
    
    .fz-nav {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        overflow: visible;
    }
    
    .fz-nav .d-md-none {
        order: 1;
    }
    
    #navMenu {
        order: 2;
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(57, 61, 60, 1);
        flex-direction: row !important;
        flex-wrap: wrap !important;
        padding: 6px;
        z-index: 9999;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin: 0 !important;
        list-style: none !important;
        justify-content: space-between !important;
        min-height: 60px;
        opacity: 1;
        visibility: visible;
        width: 100% !important;
        /* 覆盖Bootstrap的默认样式 */
        --bs-nav-link-padding-x: 0;
        --bs-nav-link-padding-y: 0;
        /* 覆盖justify-content-center类 */
        justify-content: space-between !important;
    }

    #navMenu.show {
        display: flex !important;
        /* 确保移动端布局正确 */
        justify-content: space-between !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }

    #navMenu .nav-item {
        width: calc(16.666% - 2px) !important;
        text-align: center;
        margin: 1px;
        min-width: 50px;
        flex-shrink: 0;
        /* 确保每个项目都是独立的flex项目 */
        flex: 0 0 auto !important;
    }

    #navMenu .nav-link {
        display: block !important;
        padding: 6px 2px;
        border-radius: 4px;
        margin: 0;
        color: #fff !important;
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100% !important;
    }
    
    /* 覆盖Bootstrap的justify-content-center类 */
    #navMenu.justify-content-center {
        justify-content: space-between !important;
    }
    
    /* 覆盖Bootstrap的nav-pills类 */
    #navMenu.nav-pills {
        justify-content: space-between !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
    }

    #navMenu .nav-link:hover {
        background-color: rgba(255, 77, 79, 0.1);
    }

    #navMenu .nav-link.active {
        background-color: #ff4d4f;
        color: #fff !important;
    }

    /* 在小屏幕上调整布局 */
    @media (max-width: 480px) {
        #navMenu {
            padding: 4px;
            justify-content: space-between !important;
            flex-direction: row !important;
            flex-wrap: wrap !important;
        }
        
        #navMenu .nav-item {
            width: calc(33.333% - 2px) !important;
            min-width: 40px;
            flex: 0 0 auto !important;
        }
        
        #navMenu .nav-link {
            font-size: 0.8rem;
            padding: 4px 1px;
        }
    }
    
    /* 超小屏幕的额外优化 */
    @media (max-width: 360px) {
        #navMenu {
            padding: 2px;
        }
        
        #navMenu .nav-item {
            width: calc(50% - 1px) !important;
            min-width: 35px;
            margin: 0.5px;
        }
        
        #navMenu .nav-link {
            font-size: 0.75rem;
            padding: 3px 1px;
        }
    }
}

/* 汉堡菜单激活状态 */
.navbar-toggler.active .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler.active .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler.active .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* 标签样式 */
.fz-tag {
    background: #f1f1f1;
    border-radius: 10px;
    padding: 2px 8px;
    margin: 2px;
    display: inline-block;
    font-size: 0.9rem;
}

/* 新闻和标签列表样式 */
.fz-news-list li, .fz-tag-list li {
    padding: 4px 0;
    border-bottom: 1px solid #f1f1f1;
    font-size: 0.95rem;
}

.fz-news-list li:last-child, .fz-tag-list li:last-child {
    border-bottom: none;
}

.fz-news-list, .fz-tag-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 漫画列表样式 */
.fz-manga-list .col {
    margin-bottom: 20px;
}

.fz-manga-thumb {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    transition: box-shadow 0.2s;
}

.fz-manga-title {
    font-size: 0.95rem;
    color: #222;
    margin-top: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fz-manga-author {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
}

/* 热门和新作栏样式 */
.fz-hot-bar, .fz-new-bar {
    background: #fff;
    border-radius: 20px;
    padding: 10px 0;
    margin-bottom: 1rem;
}

.fz-hot-bar .fz-link-icon {
    border: 2px solid #ff4d4f;
}

.fz-hot-bar .vr {
    background: #eee;
    width: 2px;
}

.fz-hot-bar .fz-manga-thumb, .fz-new-bar .fz-manga-thumb {
    width: 60px;
    height: 80px;
}

.fz-hot-bar .fz-manga-thumb:hover, .fz-new-bar .fz-manga-thumb:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fz-hot-bar .fz-manga-title, .fz-new-bar .fz-manga-title {
    font-size: 0.9rem;
}

.fz-hot-bar .fz-hot-title {
    font-weight: bold;
    color: #ff4d4f;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.fz-hot-bar .fz-hot-title img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.fz-new-bar .fz-new-title {
    font-weight: bold;
    color: #28a745;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.fz-new-bar .fz-n-badge {
    background: #28a745;
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-right: 8px;
}

/* 标签按钮样式 */
.tab-button {
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: #ff4d4f !important;
    color: white !important;
}

.tab-button.active img {
    filter: brightness(0) invert(1);
}

/* 图片样式 */
.fz-img-50 {
    width: 150px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

/* 轮播图样式 */
.fz-carousel-img {
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* 右侧推荐图片样式 */
.fz-right-banner {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* 区块标题样式 */
.fz-section-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff4d4f;
    position: relative;
}

.fz-section-more {
    float: right;
    font-size: 0.9rem;
    font-weight: normal;
}

/* 友情链接样式 */
.fz-friend-link {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.fz-link-icon {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 5px;
}

/* 更新标题样式 */
.fz-update-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 新闻描述样式 */
.fz-news-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 面包屑导航样式 */
.fz-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.fz-breadcrumb .breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.fz-breadcrumb .breadcrumb-item.active {
    color: #333;
}

/* 标签按钮样式 */
.fz-tab-btn {
    display: inline-block;
    padding: 6px 12px;
    margin: 2px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.fz-tab-btn:hover {
    background: #e9ecef;
    color: #333;
    text-decoration: none;
}

.fz-tab-btn.active {
    background: #ff4d4f;
    color: white;
}

/* 排序按钮样式 */
.fz-sort-btn {
    display: inline-block;
    padding: 4px 8px;
    margin: 2px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.fz-sort-btn:hover {
    background: #e9ecef;
    color: #333;
    text-decoration: none;
}

.fz-sort-btn.active {
    background: #28a745;
    color: white;
}

/* 总数样式 */
.fz-total {
    color: #666;
    font-size: 0.9rem;
}

/* 漫画列表卡片样式 */
.fz-list-card {
    display: flex;
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.fz-list-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fz-list-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.fz-list-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.fz-list-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fz-list-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.fz-read-btn {
    display: inline-block;
    padding: 6px 16px;
    background: #ff4d4f;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.fz-read-btn:hover {
    background: #d9363e;
    color: white;
    text-decoration: none;
}

/* 分页样式 */
.fz-pagination {
    margin-top: 30px;
}

.fz-pagination .pagination {
    margin-bottom: 0;
}

.fz-pagination .page-link {
    color: #666;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
}

.fz-pagination .page-link:hover {
    color: #333;
    background: #e9ecef;
    border-color: #dee2e6;
}

.fz-pagination .active .page-link {
    background: #ff4d4f;
    border-color: #ff4d4f;
    color: white;
}

.fz-pagination .disabled .page-link {
    color: #6c757d;
    background: transparent;
    border-color: #dee2e6;
}

/* 搜索页面样式 */
.fz-search-key {
    color: #ff4d4f;
    font-weight: bold;
}

.fz-tab {
    margin: 20px 0;
    border-bottom: 1px solid #eee;
}

.fz-tab .btn {
    margin-right: 10px;
    border-radius: 20px;
    padding: 8px 20px;
}

.fz-tab .btn.active {
    background: #ff4d4f;
    color: white;
    border-color: #ff4d4f;
}

.fz-tab .btn-outline-danger {
    color: #ff4d4f;
    border-color: #ff4d4f;
}

.fz-tab .btn-outline-danger:hover {
    background: #ff4d4f;
    color: white;
}

/* 搜索结果卡片样式 */
.fz-result-card {
    display: flex;
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.fz-result-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fz-result-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.fz-result-info {
    flex: 1;
}

.fz-result-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.fz-result-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fz-result-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

/* 漫画详情页样式 */
.fz-left-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.fz-score {
    font-size: 1.1rem;
    color: #ff4d4f;
    font-weight: bold;
    margin-bottom: 15px;
}

.fz-cover {
    width: 100%;
    max-width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fz-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.fz-genre {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.fz-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.fz-tags {
    margin: 15px 0;
}

.fz-link-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.fz-link-btn:hover {
    background: #218838;
    color: white;
    text-decoration: none;
}

.fz-section {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.fz-preview-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fz-related-list {
    margin-top: 15px;
}

.fz-tab .nav-link {
    color: #666;
    border: none;
    padding: 8px 16px;
    margin-right: 5px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.fz-tab .nav-link.active {
    background: #ff4d4f;
    color: white;
}

.fz-tab .nav-link:hover {
    background: #e9ecef;
    color: #333;
}

/* 资讯页面样式 */
.fz-category-tabs {
    margin: 20px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.fz-category-tab {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 10px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.fz-category-tab:hover {
    background: #e9ecef;
    color: #333;
    text-decoration: none;
}

.fz-category-tab.active {
    background: #ff4d4f;
    color: white;
}

/* 资讯卡片样式 */
.fz-news-card {
    display: flex;
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    align-items: center;
}

.fz-news-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fz-news-img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
    flex-shrink: 0;
}

.fz-news-content {
    flex: 1;
}

.fz-news-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.fz-news-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fz-news-meta {
    font-size: 0.85rem;
    color: #888;
}

.fz-news-arrow {
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.fz-news-arrow:hover {
    transform: translateX(5px);
}

/* 专题页面样式 */
.fz-topic-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fz-topic-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fz-topic-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.fz-topic-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fz-topic-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.fz-topic-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fz-topic-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #ff4d4f;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: center;
}

.fz-topic-btn:hover {
    background: #d9363e;
    color: white;
    text-decoration: none;
}

/* 404错误页面样式 */
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f7f7f7;
    text-align: center;
    padding: 20px;
}

.error-code {
    font-size: 8rem;
    font-weight: bold;
    color: #ff4d4f;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.error-message {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}

.back-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff4d4f;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.3);
}

.back-btn:hover {
    background: #d9363e;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.4);
}

/* 标签页面样式 */
.fz-tag-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fz-tag-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.fz-tag-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.fz-tag-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fz-tag-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.fz-tag-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fz-tag-meta {
    margin-bottom: 15px;
}

.fz-picky {
    font-size: 0.85rem;
    color: #ff4d4f;
    font-weight: bold;
}

.fz-tag-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #ff4d4f;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: center;
}

.fz-tag-btn:hover {
    background: #d9363e;
    color: white;
    text-decoration: none;
}

/* 标签详情页面样式 */
.fz-featured-comic {
    display: flex;
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fz-featured-img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 20px;
    flex-shrink: 0;
}

.fz-featured-content {
    flex: 1;
}
.red-border{
    border: 2px #ff4d4f;
    width: 600px
}

.fz-featured-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.fz-featured-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}

.fz-featured-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.fz-comic-grid {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fz-total-count {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.fz-comic-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}

.fz-comic-item:last-child {
    border-bottom: none;
}

.fz-comic-thumb {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.fz-comic-info {
    flex: 1;
}

.fz-comic-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.fz-comic-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.fz-comic-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 资讯详情页面样式 */
.fz-article-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fz-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.fz-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.fz-content {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 30px;
}

.fz-prevnext {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.fz-prevnext a {
    color: #ff4d4f;
    text-decoration: none;
}

.fz-prevnext a:hover {
    text-decoration: underline;
}

.fz-related-comic {
    display: flex;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
}

.fz-related-comic-img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.fz-related-comic-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.fz-related-comic-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fz-related-comic-btn {
    display: inline-block;
    padding: 6px 16px;
    background: #ff4d4f;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.fz-related-comic-btn:hover {
    background: #d9363e;
    color: white;
    text-decoration: none;
}

/* 侧边栏样式 */
.fz-sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fz-sidebar-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #ff4d4f;
}

.fz-manga-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.fz-manga-item:last-child {
    border-bottom: none;
}

.fz-manga-info {
    flex: 1;
    margin-left: 10px;
}

.fz-manga-hot {
    font-size: 0.8rem;
    color: #ff4d4f;
    font-weight: bold;
}

.fz-news-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.fz-news-item:last-child {
    border-bottom: none;
}

.fz-news-thumb {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
    flex-shrink: 0;
}

.fz-news-title {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.3;
    margin-bottom: 4px;
}

.fz-news-date {
    font-size: 0.8rem;
    color: #888;
}

/* 专题详情页面样式 */
.fz-topic-header {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fz-topic-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.fz-topic-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}

.fz-topic-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.fz-comic-list {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fz-comic-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #f5f5f5;
}

.fz-comic-item:last-child {
    border-bottom: none;
}

.fz-comic-img {
    width: 100px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
    flex-shrink: 0;
}

.fz-comic-info {
    flex: 1;
}

.fz-comic-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.fz-comic-rank {
    font-size: 0.9rem;
    color: #ff4d4f;
    font-weight: bold;
}

.fz-comic-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fz-comic-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.fz-comic-tags {
    margin-bottom: 10px;
}

.fz-comic-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #f8f9fa;
    color: #666;
    border-radius: 10px;
    font-size: 0.8rem;
    margin-right: 5px;
    margin-bottom: 5px;
}

.fz-comic-btn {
    display: inline-block;
    padding: 6px 16px;
    background: #ff4d4f;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.fz-comic-btn:hover {
    background: #d9363e;
    color: white;
    text-decoration: none;
}

/* 专题侧边栏样式 */
.fz-sidebar {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fz-sidebar-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.fz-sidebar-item:last-child {
    border-bottom: none;
}

.fz-sidebar-img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 10px;
    flex-shrink: 0;
}

.fz-sidebar-info {
    flex: 1;
}

.fz-sidebar-title-small {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.3;
    margin-bottom: 4px;
}

.fz-sidebar-desc {
    font-size: 0.8rem;
    color: #888;
}

/* 移动端样式 */
.mobile-mode .container {
    max-width: 100%;
    padding: 0 10px;
}

.mobile-mode .fz-nav {
    padding: 0 10px;
}

.mobile-mode .fz-nav .nav {
    flex-wrap: wrap;
}

.mobile-mode .fz-nav .nav-item {
    margin-bottom: 5px;
}

.mobile-mode .fz-search-bar {
    max-width: 100%;
}

.mobile-mode .fz-app-btn {
    font-size: 0.8rem;
    padding: 2px 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0 10px;
    }

    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .fz-logo {
        height: 35px;
    }

    /* 移除可能冲突的导航样式 */
    /* .fz-nav .nav-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    } */

    .fz-nav {
        padding: 0 10px;
    }

    .fz-search-bar {
        max-width: 100%;
    }

    .fz-search-btn {
        padding: 0 8px;
        font-size: 0.9rem;
    }

    .fz-app-btn {
        font-size: 0.8rem;
        padding: 2px 8px;
    }

    .mt-1 {
        margin-top: 0.5rem !important;
    }

    .d-flex.justify-content-center.align-items-center.mt-3 {
        margin-top: 1rem !important;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding: 0 5px;
    }

    .container {
        max-width: 100%;
        padding: 0 10px;
    }

    .fz-logo {
        height: 30px;
    }

    /* 移除可能冲突的导航样式 */
    /* .fz-nav .nav-link {
        font-size: 0.85rem;
        padding: 4px 8px;
    } */

    .fz-nav {
        padding: 0 5px;
    }

    .fz-search-bar {
        max-width: 100%;
    }

    .fz-search-btn {
        padding: 0 6px;
        font-size: 0.85rem;
    }

    .fz-app-btn {
        font-size: 0.75rem;
        padding: 1px 6px;
    }

    .mt-1 {
        margin-top: 0.25rem !important;
    }

    .d-flex.justify-content-center.align-items-center.mt-3 {
        margin-top: 0.5rem !important;
    }

    .fz-app-btn:not(#mobileToggle) {
        display: none;
    }
}

@media (max-width: 480px) {
    .container-fluid {
        padding: 0 2px;
    }

    .container {
        max-width: 100%;
        padding: 0 5px;
    }

    .fz-logo {
        height: 25px;
    }

    /* 移除可能冲突的导航样式 */
    /* .fz-nav .nav-link {
        font-size: 0.8rem;
        padding: 3px 6px;
    } */

    .fz-nav {
        padding: 0 2px;
    }

    .fz-search-bar {
        max-width: 100%;
    }

    .fz-search-btn {
        padding: 0 4px;
        font-size: 0.8rem;
    }

    .fz-app-btn {
        font-size: 0.7rem;
        padding: 1px 4px;
    }

    .mt-1 {
        margin-top: 0.125rem !important;
    }

    .d-flex.justify-content-center.align-items-center.mt-3 {
        margin-top: 0.25rem !important;
    }
}

/* 资讯详情页章节图片样式 */
.news-pics-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.news-pic-item {
    width: 100%;
    display: flex;
    justify-content: center;
}

.news-pic-img {
    max-width: 70%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-pic-img:hover {
    transform: scale(1.02);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-pics-container {
        gap: 15px;
    }
    
    .news-pic-img {
        border-radius: 6px;
    }
}

/* 移动端返回按钮样式 */
.mobile-back-btn {
    display: none;
    position: fixed;
    top: 80px;
    left: 15px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mobile-back-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.mobile-back-btn:active {
    transform: scale(0.95);
}

/* 在移动端显示返回按钮 */
@media (max-width: 768px) {
    .mobile-back-btn {
        display: block;
    }
}
