@charset "UTF-8";

/* CSS 变量定义 - 统一明亮活力风 */
:root {
    --primary-color: #FF5252;
    --primary-light: #FF7B54;
    --primary-soft: rgba(255, 82, 82, 0.1);
    --secondary-color: #4ECDC4;
    --dark-color: #2C3E50;
    --light-color: #F7F9FC;
    --gray-color: #95A5A6;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    --primary-gradient: linear-gradient(135deg, #FF5252, #FF7B54);
}

/* 覆盖旧版头部样式，统一为明亮活力风 */
.in-header {
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    border-bottom: none !important;
}

.in-header__logo.text-logo {
    color: var(--primary-color) !important;
}

.in-header__nav ul li a {
    color: var(--dark-color) !important;
}

.in-header__nav ul li.active a,
.in-header__nav ul li a:hover {
    color: var(--primary-color) !important;
}

.in-header__nav ul li .underline {
    background: white !important;
}

.in-header__search .input {
    background: #f5f6f8 !important;
    border-color: #e8e8e8 !important;
    color: var(--dark-color) !important;
}

.in-header__search .input::placeholder {
    color: var(--gray-color);
}

.in-header__search .input:focus {
    background: #fff !important;
    border-color: var(--primary-color) !important;
}

.in-header__search .icon-ic_head_search {
    color: var(--gray-color) !important;
}

.in-header__user .user-item a {
    color: var(--dark-color) !important;
}

.in-header__user .user-item a:hover {
    color: var(--primary-color) !important;
}

.in-header__user .user-item .iconfont {
    color: var(--dark-color) !important;
}

.in-header__user .item-text {
    color: var(--dark-color) !important;
}

.in-header__avatar .text-avatar {
    background: var(--primary-gradient) !important;
    color: white !important;
    border-color: transparent !important;
}

/* 底部样式调整 */
.footer-wrapper {
    background-color: var(--dark-color);
    margin-top: 60px;
}

.footer-bottom {
    padding: 40px 0 20px;
}

.footer-bottom p,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom a:hover {
    color: white;
}

/* 侧边栏调整 */
.in-aside-handle {
    z-index: 999;
}

.in-aside-handle .aside__item {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.in-aside-handle .aside__item:hover {
    background-color: var(--primary-color);
}

.in-aside-handle .aside__item:hover i {
    color: white;
}

/* 详情页样式 */

/* 页面主体 - 为固定头部留出空间 */
body.p-detail {
    padding-top: 64px;
}

/* 漫画头部信息 */
.comic-header {
    display: flex;
    gap: 30px;
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.comic-cover-large {
    flex-shrink: 0;
    width: 280px;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.comic-info-large {
    flex: 1;
}

.comic-info-large h1.comic-title-large {text-align: left;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1px;
    color: var(--dark-color);
	padding:0px;
}

.comic-author-info {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.comic-description-inline {
    margin-bottom: 25px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px 20px;
}

.comic-description-inline__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.comic-description-inline__content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.comic-tags-large {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tag-large {
    background-color: rgba(255, 82, 82, 0.08);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
}

.comic-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.action-btn {
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 1rem;
}

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

.action-btn.primary:hover {
    background-color: #ff5252;
}

/* 章节列表 */
.chapters-section {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

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

.chapters-header h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.chapters-sort {
    display: flex;
    gap: 10px;
}

.sort-btn {
    padding: 8px 16px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.sort-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.chapters-list {
    max-height: 500px;
    overflow-y: auto;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
}

.chapter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
}

.chapter-item:hover {
    background-color: #f9f9f9;
}

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

.chapter-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chapter-number {
    font-weight: 700;
    color: var(--dark-color);
    min-width: 60px;
}

.chapter-title {
    font-size: 1.05rem;
}

.chapter-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.chapter-action {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.chapter-action:hover {
    background-color: #e04848;
}

.chapter-vip {
    background-color: #fff3e0;
    color: #e67e22;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* 推荐漫画 */
.recommendations {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}
.recommendations h2{padding-bottom: 25px;}

.recommendations h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    padding: 10px 0 5px 0;
	text-align: center;
    border-bottom: 1px solid #f0f0f0;
}
.comic-update{text-align: center;padding-bottom: 10px;}

.comic-info-small {
    padding: 20px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .comic-header {
        flex-direction: column;
    }
    
    .comic-cover-large {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .comic-title-large {
        font-size: 1.8rem;
    }

    .comic-description-inline {
        padding: 12px 15px;
    }
    
    .comic-actions {
        flex-wrap: wrap;
    }
    
    .action-btn {
        flex: 1;
        min-width: 150px;
    }
    
    .chapters-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .chapter-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .chapter-meta {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    .comic-cover-large {
        height: 320px;
    }
}

/* 漫画卡片网格 - 用于推荐区域 */
.comic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.comic-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.comic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.comic-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.comic-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.comic-author {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 10px;
}

.comic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.tag {
    background-color: rgba(255, 82, 82, 0.08);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.comic-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* 响应式 - 漫画网格 */
@media (max-width: 992px) {
    .comic-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .comic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .comic-cover {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .comic-cover {
        height: 220px;
    }
}

/* App Download Banner */
.app-download-banner,.reader-content {text-align:center;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 10px 0;
    padding: 20px 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.reader-nav {
  margin: 20px auto;
  text-align: center;
  clear: both;
}

.reader-nav a,
.reader-nav span {
  display: inline-block;
  min-width: 42px;
  height: 20px;
  line-height: 20px;
  padding: 0 16px;
  margin: 0 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

.chapter-page-nav{
    
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.chapter-page-nav a,
.chapter-page-nav span{
    padding: 4px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}
.chapter-page-nav a:hover{
    border-color: #007bff;
    color: #007bff;
}
.chapter-page-nav .page-disabled{
    color: #999;
    background: #f5f5f5;
    cursor: not-allowed;
}
.chapter-page-nav .page-select{
    padding: 4px 6px;
    border: 1px solid #ddd;
    border-radius: 3px;
    height: 28px;
}

.app-download-banner__text {
    text-align: center;
}

.app-download-banner__title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
}

.app-download-banner h1,
.app-download-banner__desc {
    color: #ff6699;
}

.app-download-banner__desc {
    margin-top: 6px;
    font-size: 15px;
    color: #666;
}

.app-download-banner__qrcode img {
    display: block;
    width: 110px;
    height: 110px;
    border: 1px solid #eee;
    border-radius: 6px;
}

@media (max-width: 576px) {
    .app-download-banner {
        flex-direction: column;
        gap: 6px;
        padding: 0px;
    }

    
}
.container h1 {
        font-size: 18px;padding: 30px 0px;text-align:center;color: #FF5252;;
    }
/* ===== SEO 面包屑 ===== */
.breadcrumb{
    padding: 14px 0 6px;
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}
.breadcrumb a{
    color: #666;
    text-decoration: none;
    transition: color .2s;
}
.breadcrumb a:hover{ color: #FF5252; }
.breadcrumb-sep{
    margin: 0 6px;
    color: #ccc;
}
.breadcrumb-current{ color: #333; }
.container{max-width: 1200px}
.container{margin: 0 auto;}

/*内容分页*/
.mh_list{text-align:center;background:#fff;padding:10px;margin:10px 0;}
.mh_list p{font-size:15px;line-height:40p;text-align:center;clear: both ;}
.mh_list p.d1{font-size:16px;font-weight:bold;color:green;margin-top:20px;}
.mh_list p.d2{font-size:20px;font-weight:bold;color:#289cde;margin:20px 0 20px 0;}
.mh_list p.d2 a{color:#ff9900;}
.mh_list .tcnr_dialogue{position:absolute;}
.mh_list .tcnr_content{ background-color: #ffffbd;border: 1px solid #7e7e7e; margin-top: -1px;font-size: 12px;line-height: 20px;min-height: 1px;overflow: hidden;padding: 3px 5px;position: relative;text-align: left;word-wrap: break-word;}
.mh_list a img{max-width:99%;text-align:center;}

.page{text-align:center;padding:20px 0;color:#888;clear: both ;}
.page a,.pages a,.page strong,.page span,.pages strong{display:inline-block;vertical-align:middle;padding:0 11px;line-height:26px;margin:0 5px}
.page a,.page select{border:1px solid #ccc;background:#fff;color:#666}
.page select{display:inline-block;vertical-align:middle;padding:3px 0 3px 10px;line-height:26px;font-size:16px;}
.page a:hover,.page strong,.pages strong{color:#fff;background:#0d8f72;border:1px solid #208181;text-decoration:none}
.page span{cursor:pointer;border:1px solid #fff}