/* ============================================
   全站通用样式
   ============================================ */

:root {
    --primary: #FF7D3C;
    --primary-light: #FFA06B;
    --primary-dark: #E66A28;
    --bg-soft: #FFF5EE;
    --bg-card: #FFFFFF;
    --text-main: #333;
    --text-sub: #666;
    --text-light: #999;
    --border: #eee;
    --shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #FFA06B 0%, #FF7D3C 100%);
    --gradient-soft: linear-gradient(135deg, #FFF5EE 0%, #FFE8D6 100%);
    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;
}

/* ============ 通用容器 ============ */

.site-container {
    width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.site-full-section {
    background: #F4F5F5;
    min-height: 60vh;
    padding: 20px 0;
}

.page-wrapper {
    width: 1200px;
    margin: 0 auto;
}

.main-row {
    display: flex;
    gap: 25px;
}

.main-left {
    flex: 1;
    min-width: 0;
}

.main-right {
    width: 300px;
    flex-shrink: 0;
}

/* ============ 面包屑 ============ */

.breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: var(--text-sub);
}

.breadcrumb a {
    color: var(--text-sub);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-sep {
    margin: 0 6px;
    color: #ccc;
}

.breadcrumb-current {
    color: var(--text-main);
    font-weight: 500;
}

/* ============ 页面标题 ============ */

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.page-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-main);
    margin: 10px 0;
}

.page-subtitle {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* ============ 区块标题 ============ */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-main);
    margin: 0;
}

.section-icon {
    margin-right: 6px;
    font-size: 15px;
}

.section-more {
    color: var(--text-light);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-more:hover {
    color: var(--primary);
}

/* ============ 游戏列表项（列表式） ============ */

.game-list {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 10px 15px;
    border: 1px solid var(--border);
}

.game-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #f0f0f0;
    transition: background 0.2s ease;
}

.game-item:last-child {
    border-bottom: none;
}

.game-item:hover {
    background: #fafafa;
}

.game-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 12px;
    color: #999;
    margin-right: 12px;
    flex-shrink: 0;
    font-weight: bold;
}

.game-item:nth-child(1) .game-num,
.game-item:nth-child(2) .game-num,
.game-item:nth-child(3) .game-num {
    background: var(--primary);
    color: #fff;
}

.game-cover {
    width: 50px;
    height: 65px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info {
    flex: 1;
    min-width: 0;
}

.game-title {
    font-size: 14px;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.game-title a:hover {
    color: var(--primary);
}

.game-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.game-meta .score {
    color: #FF9F43;
    font-weight: 600;
}

.game-desc {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* ============ 分类筛选条 ============ */

.filter-bar {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px 0;
}

.filter-row + .filter-row {
    border-top: 1px dashed var(--border);
    margin-top: 6px;
    padding-top: 12px;
}

.filter-label {
    font-size: 13px;
    color: var(--text-sub);
    margin-right: 8px;
    flex-shrink: 0;
}

.filter-tag {
    display: inline-block;
    padding: 4px 14px;
    background: #f5f5f5;
    color: var(--text-sub);
    font-size: 12px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.filter-tag:hover {
    background: var(--primary-light);
    color: #fff;
}

.filter-tag.active {
    background: var(--gradient);
    color: #fff;
}

/* ============ 列表页漫画网格卡片（52pkvr风格） ============ */

.manga-grid-list {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px 15px 10px 15px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.manga-grid-list::after {
    content: '';
    display: block;
    clear: both;
}

.manga-card {
    float: left;
    width: 174px;
    height: 256px;
    margin: 0 10px 20px 10px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    transition: all 0.2s ease;
    overflow: hidden;
}

.manga-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(255, 125, 60, 0.15);
    transform: translateY(-2px);
}

.manga-card-link {
    display: block;
    text-decoration: none;
    padding: 10px;
}

.manga-card-cover {
    width: 154px;
    height: 190px;
    margin: 0 auto 8px auto;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.manga-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.manga-card-status {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 7px;
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
    z-index: 2;
    font-weight: 500;
    line-height: 1.3;
}

.manga-card-status.status-ongoing {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--primary);
}

.manga-card-status.status-end {
    color: #fff;
    background: var(--primary);
    border: 1px solid var(--primary);
}

.manga-card-score {
    position: absolute;
    bottom: 6px;
    right: 6px;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.6);
    color: #FFD4BF;
    font-size: 10px;
    border-radius: 3px;
    z-index: 2;
    font-weight: 600;
}

.manga-card-body {
    padding: 0 4px;
}

.manga-card-title {
    font-size: 13px;
    color: var(--text-main);
    text-align: left;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    height: 18px;
    margin-bottom: 4px;
    transition: color 0.2s ease;
    font-weight: 500;
}

.manga-card:hover .manga-card-title {
    color: var(--primary);
}

.manga-card-author {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 6px;
}

.manga-card-tag {
    display: inline-block;
    padding: 1px 6px;
    background: var(--bg-soft);
    color: var(--primary);
    font-size: 10px;
    border-radius: 3px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ============ 漫画卡片网格 ============ */

.comic-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.comic-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border);
}

.comic-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.comic-card .card-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.comic-card .cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.comic-card:hover .cover-img {
    transform: scale(1.08);
}

.comic-card .card-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    background: var(--gradient);
    color: #fff;
    font-size: 10px;
    border-radius: 8px;
    z-index: 2;
}

.comic-card .card-info {
    padding: 10px 12px;
}

.comic-card .card-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comic-card .card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.comic-card .card-title a:hover {
    color: var(--primary);
}

.comic-card .card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    font-size: 11px;
    color: var(--text-light);
}

.comic-card .card-meta .score {
    color: #FF9F43;
    font-weight: 600;
}

/* ============ 资讯卡片（用于 news 列表 / topic / tags） ============ */

.info-card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.info-card-cover {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.info-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.info-card:hover .info-card-cover img {
    transform: scale(1.08);
}

.info-card-body {
    padding: 12px 15px;
}

.info-card-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    margin: 0 0 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.info-card-title a {
    color: var(--text-main);
    text-decoration: none;
}

.info-card-title a:hover {
    color: var(--primary);
}

.info-card-desc {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ============ 标签页 / 专题页的卡片网格 ============ */

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.topic-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border);
}

.topic-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.topic-card-cover {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.topic-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.topic-card:hover .topic-card-cover img {
    transform: scale(1.08);
}

.topic-card-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.6) 100%);
}

.topic-card-title {
    position: absolute;
    bottom: 10px;
    left: 12px;
    right: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    z-index: 2;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topic-card-body {
    padding: 12px 15px;
}

.topic-card-desc {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.5;
    margin: 0 0 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.topic-card-link {
    color: var(--primary);
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.topic-card-link:hover {
    color: var(--primary-dark);
}

/* ============ 分页 ============ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    background: var(--bg-card);
    color: var(--text-sub);
    font-size: 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.pagination .page-info {
    display: inline-block;
    line-height: 30px; /* 与你的 .page-num 高度保持一致 */
    font-size: 14px;
    color: #666;
    background: none;
    border: none;
    width: auto;
    min-width: auto;
    padding: 0;
}
.pagination .page-info:after{
    content: '|';
    margin-left: 5px;
}

.pagination .current,
.pagination .active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    cursor: default;
}

.pagination .disabled,
.pagination .noclick {
    color: var(--text-light);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.pagination .inde {
    padding: 0 12px;
}

/* ============ 详情页通用 ============ */

.detail-layout {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.detail-main {
    flex: 1;
    min-width: 0;
}

.detail-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.detail-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    border: 1px solid var(--border);
}

/* ============ 漫画库主页样式 ============ */

.mh-home-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.section-title-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title-row .section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.section-tabs {
    display: flex;
    gap: 10px;
}

.section-tabs .tab-item {
    padding: 5px 15px;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.2s;
}

.section-tabs .tab-item:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.section-tabs .tab-item.active {
    color: #fff;
    background: var(--gradient);
}

.section-more {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.section-more:hover {
    color: var(--primary-dark);
}

.mh-home-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.mh-grid-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.mh-section-content {
    display: flex;
    gap: 20px;
}

.mh-home-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 12px;
}

.sidebar-icon {
    font-size: 16px;
}

.sidebar-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.sidebar-hot-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.hot-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.2s;
}

.hot-item:last-child {
    border-bottom: none;
}

.hot-item:hover {
    background: rgba(255, 102, 0, 0.05);
    padding-left: 5px;
}

.hot-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background: #999;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

.hot-item:nth-child(1) .hot-num {
    background: #FF4757;
}

.hot-item:nth-child(2) .hot-num {
    background: #FF6B81;
}

.hot-item:nth-child(3) .hot-num {
    background: #FFA502;
}

.hot-item:nth-child(n+4) .hot-num {
    background: #999;
}

.hot-item a {
    flex: 1;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.hot-item a:hover {
    color: var(--primary);
}

.mh-home-card {
    width: calc(16.666% - 12.5px);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.mh-home-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.mh-home-card .card-cover {
    position: relative;
    display: block;
    text-decoration: none;
}

.mh-home-card .card-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.mh-home-card .card-status {
    position: absolute;
    top: 4px;
    left: 4px;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 3px;
    font-weight: 500;
    line-height: 1.3;
}

.mh-home-card .card-status.status-ongoing {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--primary);
}

.mh-home-card .card-status.status-end {
    color: #fff;
    background: var(--primary);
}

.mh-home-card .card-info {
    padding: 8px 10px;
}

.mh-home-card .card-title {
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mh-home-card .card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.mh-home-card .card-title a:hover {
    color: var(--primary);
}

.mh-home-card .card-author {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* 漫画库主页热门排行 */
.section-topic .topic-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.section-topic .topic-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.2s;
}

.section-topic .topic-item:last-child {
    border-bottom: none;
}

.section-topic .topic-item:hover {
    background: rgba(255, 102, 0, 0.05);
    padding-left: 5px;
}

.section-topic .topic-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background: #999;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

.section-topic .topic-item:nth-child(1) .topic-num {
    background: #FF4757;
}

.section-topic .topic-item:nth-child(2) .topic-num {
    background: #FF6B81;
}

.section-topic .topic-item:nth-child(3) .topic-num {
    background: #FFA502;
}

.section-topic .topic-item:nth-child(n+4) .topic-num {
    background: #999;
}

.section-topic .topic-item a {
    flex: 1;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.section-topic .topic-item a:hover {
    color: var(--primary);
}

/* ============ 漫画详情头部 ============ */

.manga-header {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.manga-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
}

.manga-cover {
    width: 180px;
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.manga-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manga-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.manga-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-main);
    margin: 0 0 10px 0;
}

.manga-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.manga-tag {
    padding: 2px 8px;
    background: var(--bg-soft);
    color: var(--primary);
    font-size: 11px;
    border-radius: 8px;
    text-decoration: none;
}

.manga-info-row {
    display: flex;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px dashed #eee;
}

.manga-info-row:last-child {
    border-bottom: none;
}

.manga-info-label {
    width: 60px;
    color: var(--text-light);
    flex-shrink: 0;
}

.manga-info-value {
    color: var(--text-main);
    flex: 1;
}

.manga-desc {
    margin-top: 12px;
    padding: 12px;
    background: #f8f8f8;
    border-radius: var(--radius-sm);
    color: var(--text-sub);
    font-size: 12px;
    line-height: 1.6;
    max-height: 80px;
    overflow: hidden;
    position: relative;
}

.manga-desc::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(to bottom, transparent, #f8f8f8);
}

.manga-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* 评分星星 */

.stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.star {
    width: 14px;
    height: 14px;
    background: url('../images/star.png') center no-repeat;
    background-size: contain;
    display: inline-block;
}

.star.empty {
    background: url('../images/star2.png') center no-repeat;
    background-size: contain;
    opacity: 0.5;
}

/* 按钮 */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    line-height: 1;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 3px 10px rgba(255, 125, 60, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 125, 60, 0.35);
    color: #fff;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
}

/* 章节列表 */

.chapter-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.chapter-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.chapter-item {
    padding: 8px 10px;
    background: #f5f5f5;
    color: var(--text-sub);
    border-radius: var(--radius-sm);
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chapter-item:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

/* 资讯详情 */

.article-detail {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 25px 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.article-detail-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0 0 15px 0;
    text-align: center;
}

.article-detail-meta {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px dashed var(--border);
}

.article-detail-meta span {
    margin: 0 10px;
}

.article-detail-body {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.8;
    word-break: break-word;
}

.article-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 10px 0;
}

.article-detail-body p {
    margin: 0 0 12px 0;
}

/* 相关推荐卡片 */

.related-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--gradient-soft);
    border-radius: var(--radius);
    margin-top: 25px;
    gap: 15px;
}

.related-card-cover {
    width: 80px;
    height: 110px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.related-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-card-info {
    flex: 1;
    min-width: 0;
}

.related-card-name {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-main);
    margin: 0 0 6px 0;
}

.related-card-name a {
    color: var(--text-main);
    text-decoration: none;
}

.related-card-name a:hover {
    color: var(--primary);
}

.related-card-meta {
    font-size: 11px;
    color: var(--text-sub);
    margin-bottom: 6px;
}

.related-card-meta span {
    margin-right: 10px;
}

.related-card-desc {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}

.related-card-action {
    flex-shrink: 0;
}

/* 专题头部 */

.feature-header {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    background: #1a1a1a;
}

.feature-header-cover {
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
}

.feature-header-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-header-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.92) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 30%);
    pointer-events: none;
}

.feature-header-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 28px 22px;
    z-index: 2;
}

.feature-header-title {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.3;
}

.feature-header-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
}

.feature-header-meta .meta-item {
    display: inline-flex;
    align-items: center;
}

.feature-header-meta .meta-item em {
    font-style: normal;
    opacity: 0.85;
    margin-right: 4px;
}

.feature-header-meta .meta-item strong {
    font-weight: 600;
    color: #FFD4BF;
}

.feature-header-meta .meta-divider {
    margin: 0 12px;
    opacity: 0.45;
    color: #fff;
}

.feature-header-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 6px 0 0 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 侧边栏通用 */

.side-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    border: 1px solid var(--border);
}

.side-card-title {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-main);
    margin: 0 0 12px 0;
    padding-left: 10px;
    border-left: 3px solid var(--primary);
}

/* 推荐列表 */

.recommend-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recommend-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}

.recommend-item:last-child {
    border-bottom: none;
}

.recommend-cover {
    width: 50px;
    height: 65px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 8px;
    flex-shrink: 0;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.recommend-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommend-info {
    flex: 1;
    min-width: 0;
}

.recommend-title {
    font-size: 12px;
    color: var(--text-main);
    margin: 0 0 3px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recommend-title a {
    color: var(--text-main);
    text-decoration: none;
}

.recommend-title a:hover {
    color: var(--primary);
}

.recommend-meta {
    font-size: 11px;
    color: var(--text-light);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.related-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.related-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(255, 125, 60, 0.12);
    transform: translateY(-2px);
}

.related-card-cover {
    position: relative;
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    text-decoration: none;
}

.related-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.related-card:hover .related-card-cover img {
    transform: scale(1.06);
}

.related-card-status {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 2px 7px;
    color: #fff;
    font-size: 11px;
    border-radius: 3px;
    z-index: 2;
    font-weight: 500;
    line-height: 1.3;
}

.related-card-status.status-ongoing {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--primary);
}

.related-card-status.status-end {
    color: #fff;
    background: var(--primary);
    border: 1px solid var(--primary);
}

.related-card-score {
    position: absolute;
    bottom: 6px;
    right: 6px;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.6);
    color: #FFD4BF;
    font-size: 10px;
    border-radius: 3px;
    z-index: 2;
    font-weight: 600;
}

.related-card-body {
    padding: 10px 12px 12px;
}

.related-card-title {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 6px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 20px;
}

.related-card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-card-title a:hover {
    color: var(--primary);
}

.related-card-author {
    font-size: 12px;
    color: var(--text-light);
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-card-source {
    display: inline-block;
    font-size: 11px;
    color: var(--text-sub);
    padding: 1px 6px;
    background: #f5f5f5;
    border-radius: 3px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 排行列表 */

.rank-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}

.rank-item:last-child {
    border-bottom: none;
}

.rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #f0f0f0;
    color: var(--text-light);
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

.rank-item:nth-child(1) .rank-num {
    background: #FF6B9D;
    color: #fff;
}

.rank-item:nth-child(2) .rank-num {
    background: #FFA06B;
    color: #fff;
}

.rank-item:nth-child(3) .rank-num {
    background: #FF7D3C;
    color: #fff;
}

.rank-link {
    flex: 1;
    color: var(--text-sub);
    font-size: 12px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.rank-link:hover {
    color: var(--primary);
}

/* 标签云 */

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-cloud a {
    padding: 3px 10px;
    background: var(--bg-soft);
    color: var(--text-sub);
    font-size: 11px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-cloud a:hover {
    background: var(--gradient);
    color: #fff;
}

/* 搜索页标签 */

.search-tabs {
    display: flex;
    gap: 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 4px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    width: fit-content;
    border: 1px solid var(--border);
}

.search-tab {
    padding: 6px 20px;
    color: var(--text-sub);
    font-size: 13px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.search-tab.active {
    background: var(--gradient);
    color: #fff;
}

/* 专题/标签 详情页 - 漫画行列表 */

.manga-row {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px dashed var(--border);
}

.manga-row:last-child {
    border-bottom: none;
}

.manga-row-cover {
    width: 110px;
    height: 150px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-soft);
    border: 1px solid var(--border);
}

.manga-row-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manga-row-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.manga-row-title {
    font-size: 15px;
    font-weight: bold;
    color: var(--text-main);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
}

.manga-row-title .row-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gradient);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

.manga-row-title a {
    color: var(--text-main);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manga-row-title a:hover {
    color: var(--primary);
}

.manga-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: var(--text-sub);
    margin-bottom: 8px;
}

.manga-row-meta span {
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 8px;
}

.manga-row-desc {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0 0 10px 0;
}

.manga-row-action {
    margin-top: auto;
}

/* ============ 右侧栏通用区块 ============ */

.section-tags,
.section-topic,
.section-news {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.section-tags .section-header,
.section-topic .section-header,
.section-news .section-header {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.section-tags .section-title,
.section-topic .section-title,
.section-news .section-title {
    font-size: 14px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-item {
    padding: 3px 10px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 11px;
    color: var(--text-sub);
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-item:hover {
    background: var(--primary);
    color: #fff;
}

.topic-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.topic-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
    transition: background 0.2s ease;
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-item:hover {
    background: #fafafa;
}

.topic-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 11px;
    color: #999;
    margin-right: 8px;
    flex-shrink: 0;
    font-weight: bold;
}

.topic-item:nth-child(1) .topic-num,
.topic-item:nth-child(2) .topic-num,
.topic-item:nth-child(3) .topic-num {
    background: var(--primary);
    color: #fff;
}

.topic-item a {
    flex: 1;
    color: var(--text-main);
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topic-item a:hover {
    color: var(--primary);
}

.news-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
    transition: background 0.2s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #fafafa;
}

.news-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 11px;
    color: #999;
    margin-right: 8px;
    flex-shrink: 0;
    font-weight: bold;
}

.news-item:nth-child(1) .news-num,
.news-item:nth-child(2) .news-num,
.news-item:nth-child(3) .news-num {
    background: var(--primary);
    color: #fff;
}

.news-title {
    flex: 1;
    color: var(--text-main);
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.news-title:hover {
    color: var(--primary);
}

/* ============ 分类标签列表 ============ */

.class-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.class-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.class-title {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-main);
    margin: 0;
    display: flex;
    align-items: center;
}

.class-icon {
    color: var(--primary);
    margin-right: 5px;
}

.class-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.class-title a:hover {
    color: var(--primary);
}

.class-more {
    color: #999;
    font-size: 11px;
    text-decoration: none;
}

.class-more:hover {
    color: var(--primary);
}

.class-game-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.class-game-item {
    padding: 3px 10px;
    background: #f5f5f5;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-sub);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.class-game-item:hover {
    background: var(--primary);
    color: #fff;
}

/* ============ 响应式 ============ */

@media (max-width: 1200px) {
    .site-container,
    .page-wrapper,
    .breadcrumb,
    .article-list,
    .game-list,
    .manga-grid-list {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }

    .comic-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .info-card-list,
    .topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .manga-card {
        width: calc(20% - 20px);
        margin: 0 10px 20px 10px;
    }
}

@media (max-width: 768px) {
    .comic-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .info-card-list,
    .topic-grid {
        grid-template-columns: 1fr;
    }

    .detail-layout,
    .main-row {
        flex-direction: column;
    }

    .detail-sidebar,
    .main-right {
        width: 100%;
    }

    .manga-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-header-cover {
        height: 280px;
    }

    .feature-header-body {
        padding: 14px 16px 16px;
    }

    .feature-header-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .feature-header-meta {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .feature-header-meta .meta-divider {
        margin: 0 8px;
    }

    .feature-header-desc {
        font-size: 12px;
        line-height: 1.6;
    }

    .article-list {
        padding: 10px 15px;
    }

    .article-item {
        flex-wrap: wrap;
    }

    .article-cover {
        width: 80px;
        height: 60px;
    }

    .chapter-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .game-item {
        flex-wrap: wrap;
    }

    .game-item .btn {
        margin-top: 8px;
        width: 100%;
    }

    .manga-card {
        width: calc(33.33% - 20px);
        height: auto;
        min-height: 220px;
    }

    .manga-card-cover {
        width: 100%;
        height: 130px;
        border-radius: 4px;
    }
}

/* ============================================
   52pkvr风格 - 专题相关样式
   ============================================ */

/* ---------- 面包屑导航 ---------- */
.pk-breadcrumb {
    padding: 12px 0;
    font-size: 13px;
    color: #666;
}

.pk-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pk-breadcrumb a:hover {
    color: #FF7D3C;
}

.pk-breadcrumb-sep {
    margin: 0 8px;
    color: #ccc;
}

.pk-breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* ---------- 主布局 ---------- */
.pk-main-layout {
    display: flex;
    gap: 20px;
}

.pk-main-content {
    flex: 1;
    min-width: 0;
}

.pk-sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* ---------- 区块标题 - 左侧橙色装饰条 ---------- */
.pk-section {
    background: #fff;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.pk-section-header {
    padding: 0 15px;
    border-bottom: 2px solid #FF7D3C;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pk-section-title {
    margin: 0;
    padding: 12px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-left: 12px;
}

.pk-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: #FF7D3C;
    border-radius: 2px;
}

/* ---------- 专题列表网格卡片 ---------- */
.pk-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px;
}

.pk-topic-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pk-topic-card:hover {
    border-color: #FF7D3C;
    box-shadow: 0 4px 12px rgba(255, 125, 60, 0.15);
    transform: translateY(-2px);
}

.pk-topic-card-link {
    display: block;
    text-decoration: none;
}

.pk-topic-card-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.pk-topic-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pk-topic-card:hover .pk-topic-card-cover img {
    transform: scale(1.08);
}

.pk-topic-card-info {
    padding: 12px 14px;
}

.pk-topic-card-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0 0 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.pk-topic-card:hover .pk-topic-card-title {
    color: #FF7D3C;
}

.pk-topic-card-desc {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 36px;
}

/* ---------- 分页 ---------- */
.pk-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.pk-pagination a,
.pk-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 10px;
    background: #fff;
    color: #666;
    font-size: 12px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.pk-pagination a:hover {
    border-color: #FF7D3C;
    color: #FF7D3C;
}

.pk-pagination .current,
.pk-pagination .active {
    background: #FF7D3C;
    color: #fff;
    border-color: #FF7D3C;
    cursor: default;
}

.pk-pagination .disabled,
.pk-pagination .noclick {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.pk-pagination .inde {
    padding: 0 12px;
}

/* ---------- 专题详情页横幅 ---------- */
.pk-topic-banner {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    background: #1a1a1a;
}

.pk-topic-banner-bg {
    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
}

.pk-topic-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pk-topic-banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,0.55) 75%, rgba(0,0,0,0.92) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 30%);
    pointer-events: none;
}

.pk-topic-banner-overlay {
    display: none;
}

.pk-topic-banner-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 28px 22px;
    z-index: 2;
}

.pk-topic-banner-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.3;
}

.pk-topic-banner-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
}

.pk-topic-banner-meta .meta-item {
    display: inline-flex;
    align-items: center;
}

.pk-topic-banner-meta .meta-item em {
    font-style: normal;
    opacity: 0.85;
    margin-right: 4px;
}

.pk-topic-banner-meta .meta-item strong {
    font-weight: 600;
    color: #FFD4BF;
}

.pk-topic-banner-meta .meta-divider {
    margin: 0 12px;
    opacity: 0.45;
    color: #fff;
}

.pk-topic-banner-meta .meta-ico {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.9;
}

.meta-ico-time {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7V7z'/%3E%3C/svg%3E");
}

.meta-ico-book {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z'/%3E%3C/svg%3E");
}

.meta-ico-tag {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M21.41 11.58L12.43 2.6c-.37-.37-.88-.58-1.42-.58H4c-1.1 0-2 .9-2 2v7.01c0 .53.21 1.04.59 1.41l8.98 8.99c.78.78 2.05.78 2.83 0l7.01-7.01c.78-.78.78-2.04 0-2.83z'/%3E%3C/svg%3E");
}

.pk-topic-banner-desc {
    font-size: 13px;
    line-height: 1.7;
    margin: 6px 0 0 0;
    color: rgba(255, 255, 255, 0.95);
    max-width: 100%;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ---------- 漫画列表（专题详情页） ---------- */
.pk-manga-list {
    padding: 10px 15px;
}

.pk-manga-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #f0f0f0;
    transition: background 0.2s ease;
}

.pk-manga-item:last-child {
    border-bottom: none;
}

.pk-manga-item:hover {
    background: #fafafa;
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
}

.pk-manga-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: #999;
    margin-right: 12px;
    flex-shrink: 0;
    font-weight: bold;
}

.pk-manga-item:nth-child(1) .pk-manga-rank,
.pk-manga-item:nth-child(2) .pk-manga-rank,
.pk-manga-item:nth-child(3) .pk-manga-rank {
    background: #FF7D3C;
    color: #fff;
}

.pk-manga-cover {
    width: 55px;
    height: 72px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
    border: 1px solid #eee;
    display: block;
    text-decoration: none;
}

.pk-manga-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pk-manga-info {
    flex: 1;
    min-width: 0;
}

.pk-manga-title {
    font-size: 14px;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pk-manga-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pk-manga-title a:hover {
    color: #FF7D3C;
}

.pk-manga-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
    align-items: center;
}

.pk-manga-status {
    display: inline-block;
    padding: 2px 7px;
    font-size: 11px;
    border-radius: 3px;
    font-weight: 500;
    line-height: 1.3;
    border: 1px solid var(--primary);
}

.pk-manga-status.status-ongoing {
    color: var(--primary);
    background: #fff;
    border: 1px solid var(--primary);
}

.pk-manga-status.status-end {
    color: #fff;
    background: var(--primary);
    border: 1px solid var(--primary);
}

.pk-manga-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.pk-manga-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background: #FF7D3C;
    color: #fff;
    font-size: 12px;
    border-radius: 15px;
    text-decoration: none;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.pk-manga-btn:hover {
    background: #E66A28;
    color: #fff;
    transform: translateY(-1px);
}

/* ---------- 侧边栏区块 ---------- */
.pk-side-section {
    background: #fff;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #eee;
}

.pk-side-header {
    padding: 0 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pk-side-title {
    margin: 0;
    padding: 12px 0;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-left: 10px;
}

.pk-side-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 14px;
    background: #FF7D3C;
    border-radius: 2px;
}

.pk-side-more {
    color: #999;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pk-side-more:hover {
    color: #FF7D3C;
}

/* ---------- 侧边栏标签云 ---------- */
.pk-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 15px;
}

.pk-tag-item {
    padding: 4px 12px;
    background: #f5f5f5;
    color: #666;
    font-size: 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pk-tag-item:hover {
    background: #FF7D3C;
    color: #fff;
}

/* ---------- 侧边栏专题列表 ---------- */
.pk-side-topic-list {
    padding: 8px 15px;
    margin: 0;
    list-style: none;
}

.pk-side-topic-item {
    display: flex;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px dashed #f0f0f0;
    transition: background 0.2s ease;
}

.pk-side-topic-item:last-child {
    border-bottom: none;
}

.pk-side-topic-item:hover {
    background: #fafafa;
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
}

.pk-side-topic-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 11px;
    color: #999;
    margin-right: 8px;
    flex-shrink: 0;
    font-weight: bold;
}

.pk-side-topic-item:nth-child(1) .pk-side-topic-num,
.pk-side-topic-item:nth-child(2) .pk-side-topic-num,
.pk-side-topic-item:nth-child(3) .pk-side-topic-num {
    background: #FF7D3C;
    color: #fff;
}

.pk-side-topic-item a {
    flex: 1;
    color: #333;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.pk-side-topic-item a:hover {
    color: #FF7D3C;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
    .pk-main-layout {
        flex-direction: column;
    }

    .pk-sidebar {
        width: 100%;
    }

    .pk-topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pk-topic-grid {
        grid-template-columns: 1fr;
    }

    .pk-topic-banner-bg {
        height: 280px;
    }

    .pk-topic-banner-content {
        padding: 14px 16px 16px;
    }

    .pk-topic-banner-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .pk-topic-banner-meta {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .pk-topic-banner-meta .meta-divider {
        margin: 0 8px;
    }

    .pk-topic-banner-desc {
        font-size: 12px;
        line-height: 1.6;
    }

    .pk-manga-item {
        flex-wrap: wrap;
    }

    .pk-manga-btn {
        margin-top: 10px;
        width: 100%;
    }
}

/* ============================================
   资讯详情页 - 52pkvr风格
   ============================================ */

.news-breadcrumb {
    padding: 15px 0;
    font-size: 13px;
    color: #666;
}

.news-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-breadcrumb a:hover {
    color: #FF7D3C;
}

.news-breadcrumb .breadcrumb-sep {
    margin: 0 6px;
    color: #ccc;
}

.news-breadcrumb .breadcrumb-current {
    color: #333;
}

.news-main-row {
    display: flex;
    gap: 20px;
}

.news-main-left {
    flex: 1;
    min-width: 0;
}

.news-main-right {
    width: 300px;
    flex-shrink: 0;
}

/* ============================================
   统一面包屑导航 .crumb-bar
   用于所有内页（列表/详情/搜索/专题/标签/资讯/漫画详情）
   ============================================ */
.crumb-bar {
    padding: 16px 0;
    font-size: 13px;
    color: #888;
    line-height: 22px;
}

.crumb-bar__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.crumb-bar__ico {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF7D3C'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
}

.crumb-bar a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.crumb-bar a:hover {
    color: #FF7D3C;
}

.crumb-bar__sep {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 8px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cccccc'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
    font-style: normal;
}

.crumb-bar__cur {
    color: #333;
    font-weight: 500;
    max-width: 480px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .crumb-bar {
        padding: 12px 0;
        font-size: 12px;
    }

    .crumb-bar__cur {
        max-width: 60vw;
    }
}

.news-article-detail {
    background: #fff;
    border-radius: 6px;
    padding: 25px 30px;
    border: 1px solid #e5e5e5;
}

.news-article-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin: 0 0 15px 0;
    text-align: left;
}

.news-article-meta {
    text-align: left;
    font-size: 12px;
    color: #999;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.news-article-meta span {
    margin-right: 20px;
}

.news-article-body {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    word-break: break-word;
}

.news-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
    display: block;
}

.news-article-body p {
    margin: 0 0 15px 0;
    text-indent: 2em;
}

.news-article-body h1,
.news-article-body h2,
.news-article-body h3,
.news-article-body h4,
.news-article-body h5,
.news-article-body h6 {
    margin: 20px 0 15px 0;
    font-weight: bold;
    color: #333;
}

.news-article-body h1 {
    font-size: 22px;
}

.news-article-body h2 {
    font-size: 20px;
}

.news-article-body h3 {
    font-size: 18px;
}

.news-article-body h4 {
    font-size: 16px;
}

.news-article-body ul,
.news-article-body ol {
    margin: 15px 0;
    padding-left: 2em;
}

.news-article-body li {
    margin: 8px 0;
}

.news-article-body blockquote {
    margin: 15px 0;
    padding: 10px 15px;
    background: #f5f5f5;
    border-left: 3px solid #FF7D3C;
    color: #666;
}

.news-article-body a {
    color: #FF7D3C;
    text-decoration: none;
}

.news-article-body a:hover {
    text-decoration: underline;
}

.news-block-title {
    display: flex;
    align-items: center;
    height: 36px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.news-block-title .title-bar {
    width: 4px;
    height: 16px;
    background: #FF7D3C;
    margin-right: 10px;
    border-radius: 2px;
}

.news-block-title h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
    flex: 1;
}

.news-block-more {
    color: #999;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-block-more:hover {
    color: #FF7D3C;
}

.news-related-manga {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.news-related-card {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #fafafa;
    border-radius: 6px;
    gap: 15px;
    border: 1px solid #eee;
}

.news-related-cover {
    width: 90px;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
}

.news-related-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-related-info {
    flex: 1;
    min-width: 0;
}

.news-related-name {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
}

.news-related-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-related-name a:hover {
    color: #FF7D3C;
}

.news-related-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.news-related-meta span {
    margin-right: 15px;
}

.news-related-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}

.news-related-action {
    flex-shrink: 0;
    align-self: center;
}

.news-related-news {
    background: #fff;
    border-radius: 6px;
    padding: 20px 25px;
    margin-top: 20px;
    border: 1px solid #e5e5e5;
}

.news-related-news .news-block-title {
    margin-bottom: 10px;
}

.news-related-news .news-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.news-related-news .news-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dotted #eee;
    transition: background 0.2s ease;
}

.news-related-news .news-item:last-child {
    border-bottom: none;
}

.news-related-news .news-item:hover {
    background: #fafafa;
}

.news-related-news .news-item-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #f0f0f0;
    border-radius: 3px;
    font-size: 11px;
    color: #999;
    margin-right: 10px;
    flex-shrink: 0;
    font-weight: bold;
}

.news-related-news .news-item:nth-child(1) .news-item-num,
.news-related-news .news-item:nth-child(2) .news-item-num,
.news-related-news .news-item:nth-child(3) .news-item-num {
    background: #FF7D3C;
    color: #fff;
}

.news-related-news .news-item a {
    flex: 1;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.news-related-news .news-item a:hover {
    color: #FF7D3C;
}

.news-related-news .news-item-date {
    color: #bbb;
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 10px;
}

@media (max-width: 1200px) {
    .news-breadcrumb {
        width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .news-main-row {
        flex-direction: column;
    }

    .news-main-right {
        width: 100%;
    }

    .news-article-detail {
        padding: 15px 20px;
    }

    .news-article-title {
        font-size: 20px;
    }

    .news-related-card {
        flex-wrap: wrap;
    }

    .news-related-action {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   右侧边栏 - 52pkvr风格
   ============================================ */

.sd-card {
    background: #fff;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
}

.sd-card-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px 0;
    padding-left: 10px;
    border-left: 4px solid #FF7D3C;
    height: 16px;
    line-height: 16px;
}

.sd-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sd-card-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dotted #eee;
}

.sd-card-item:last-child {
    border-bottom: none;
}

.sd-card-cover {
    width: 50px;
    height: 65px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 10px;
    flex-shrink: 0;
    border: 1px solid #e5e5e5;
}

.sd-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sd-card-info {
    flex: 1;
    min-width: 0;
}

.sd-card-title-item {
    font-size: 13px;
    color: #333;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sd-card-title-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sd-card-title-item a:hover {
    color: #FF7D3C;
}

.sd-card-meta {
    font-size: 11px;
    color: #999;
    margin: 0;
}

.sd-rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sd-rank-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dotted #eee;
}

.sd-rank-item:last-child {
    border-bottom: none;
}

.sd-rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #f0f0f0;
    border-radius: 3px;
    font-size: 11px;
    color: #999;
    margin-right: 10px;
    flex-shrink: 0;
    font-weight: bold;
}

.sd-rank-item:nth-child(1) .sd-rank-num,
.sd-rank-item:nth-child(2) .sd-rank-num,
.sd-rank-item:nth-child(3) .sd-rank-num {
    background: #FF7D3C;
    color: #fff;
}

.sd-rank-link {
    flex: 1;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.sd-rank-link:hover {
    color: #FF7D3C;
}

.sd-topic-list {
    margin-bottom: 0;
}

/* ============ 资讯主页样式 ============ */

.news-home-content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.news-home-grid {
    width: 100%;
}

.news-home-card {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}

.news-home-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: #FF7D3C;
}

.news-home-card .card-cover {
    display: block;
    width: 200px;
    height: 140px;
    flex-shrink: 0;
    overflow: hidden;
    text-decoration: none;
}

.news-home-card .card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.news-home-card:hover .card-cover img {
    transform: scale(1.05);
}

.news-home-card .card-info {
    flex: 1;
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.news-home-card .card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-home-card .card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.news-home-card .card-title a:hover {
    color: #FF7D3C;
}

.news-home-card .card-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
}

.news-home-card .card-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.back-top {
    position: fixed;
    right: 30px;
    bottom: 80px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #FF7D3C 0%, #FF6B35 100%);
    border-radius: 12px;
    text-align: center;
    line-height: 52px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(255, 125, 60, 0.35);
    border: none;
}

.back-top:hover {
    background: linear-gradient(135deg, #E66A28 0%, #D95A1F 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 22px rgba(255, 125, 60, 0.5);
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top::before {
    content: '▲';
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}
