/* ============================================
   天堂漫画官网 — 主样式
   主题：墨水蓝 #1e40af + 金黄 #f59e0b
   风格：漫画书页·简约优雅·深夜阅读
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* 主色：墨水蓝 */
    --blue:         #1e40af;
    --blue-light:   #60a5fa;
    --blue-pale:    #eff6ff;
    --blue-dark:    #1e3a8a;
    /* 辅色：金黄 */
    --gold:         #f59e0b;
    --gold-dark:    #d97706;
    --gold-pale:    #fffbeb;
    /* 渐变 */
    --grad-main:    linear-gradient(135deg, #1e40af, #3b82f6);
    --grad-gold:    linear-gradient(135deg, #f59e0b, #d97706);
    --grad-mix:     linear-gradient(135deg, #1e40af, #f59e0b);
    /* 文字 */
    --text:         #0f172a;
    --text-mid:     #334155;
    --text-light:   #94a3b8;
    /* 背景 */
    --bg:           #f8faff;
    --bg-card:      #ffffff;
    --bg-dark:      #0f172a;
    --bg-dark2:     #1e293b;
    --bg-soft:      #f0f4ff;
    /* 边框 */
    --border:       #e2e8f0;
    /* 阴影 */
    --shadow-sm:    0 1px 4px rgba(0,0,0,0.06);
    --shadow:       0 4px 16px rgba(0,0,0,0.08);
    --shadow-md:    0 8px 28px rgba(0,0,0,0.12);
    --shadow-blue:  0 4px 16px rgba(30,64,175,0.22);
    --shadow-gold:  0 4px 16px rgba(245,158,11,0.28);
    /* 圆角 */
    --r:    10px;
    --r-sm: 6px;
    --r-xs: 4px;
    /* 动画 */
    --ease: 0.22s ease;
    /* 字体 */
    --font: 'PingFang SC','Microsoft YaHei',Arial,sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.loaded { opacity: 1; }
a { color: inherit; text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--blue); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
ul { list-style: none; padding: 0; margin: 0; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 20px; }

/* ============================================
   顶部通知栏
============================================ */
.topbar {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(30,64,175,0.2);
}
.topbar .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.topbar-left { color: rgba(255,255,255,0.45); }
.topbar-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}
.topbar-right a { color: rgba(255,255,255,0.4); transition: color var(--ease); }
.topbar-right a:hover { color: var(--blue-light); }
.topbar-right .divider { color: rgba(255,255,255,0.15); }

/* ============================================
   Header
============================================ */
.header {
    background: var(--bg-dark2);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 20px rgba(0,0,0,0.35);
    border-bottom: 1px solid rgba(30,64,175,0.18);
}
.header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 18px;
    padding: 11px 0;
    min-height: 64px;
}

/* Logo */
.logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.logo-text {
    font-size: 19px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1.5px;
    line-height: 1.2;
    white-space: nowrap;
}
.logo-text em {
    font-style: normal;
    color: var(--gold);
}
.logo-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.4px;
    white-space: nowrap;
}

/* 搜索 */
.search-wrap {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.search-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(30,64,175,0.25);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.search-box:focus-within {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(30,64,175,0.15);
    background: rgba(255,255,255,0.09);
}
.search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    padding: 9px 16px;
    font-size: 14px;
    color: #ffffff;
    font-family: var(--font);
}
.search-input::placeholder { color: rgba(255,255,255,0.26); }
.search-btn {
    flex-shrink: 0;
    background: var(--blue);
    border: none;
    padding: 9px 18px;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font);
    transition: background var(--ease);
    white-space: nowrap;
}
.search-btn:hover { background: var(--blue-dark); }

.search-hot {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    flex-wrap: nowrap;
}
.search-hot span {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    flex-shrink: 0;
}
.search-hot a {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
    padding: 2px 8px;
    background: rgba(30,64,175,0.15);
    border-radius: 4px;
    white-space: nowrap;
    transition: all var(--ease);
    flex-shrink: 0;
}
.search-hot a:hover { background: var(--blue); color: white; }

/* VIP 按钮 */
.header-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}
.btn-vip {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 5px;
    padding: 8px 18px;
    background: var(--grad-gold);
    color: white;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: all var(--ease);
    text-decoration: none;
    box-shadow: var(--shadow-gold);
}
.btn-vip:hover {
    opacity: 0.9;
    color: white;
    transform: translateY(-1px);
}

/* 汉堡 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    transition: all var(--ease);
}

/* ============================================
   面包屑
============================================ */
.breadcrumb-wrap {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
}
.breadcrumb ol {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    padding: 0; margin: 0;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-light);
}
.breadcrumb li + li::before {
    content: '›';
    margin-right: 4px;
    color: var(--text-light);
}
.breadcrumb li a {
    color: var(--text-light);
    transition: color var(--ease);
    text-decoration: none;
}
.breadcrumb li a:hover { color: var(--blue); }
.breadcrumb li:last-child { color: var(--blue); font-weight: 600; }

/* ============================================
   主导航
============================================ */
.main-nav {
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(30,64,175,0.12);
    position: sticky;
    top: 64px;
    z-index: 190;
}
.nav-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    list-style: none !important;
    margin: 0 !important; padding: 0 !important;
    overflow-x: auto; overflow-y: visible;
    scrollbar-width: none; -ms-overflow-style: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-item {
    position: relative;
    flex-shrink: 0;
    display: block !important;
    width: auto !important;
}
.nav-item > a {
    display: block !important;
    padding: 11px 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
    transition: all var(--ease);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}
.nav-item > a:hover,
.nav-item.active > a {
    color: #ffffff;
    border-bottom-color: var(--gold);
    background: rgba(30,64,175,0.1);
}
.nav-highlight > a {
    color: var(--gold) !important;
    font-weight: 700;
}
.nav-highlight > a:hover {
    color: white !important;
    background: var(--blue) !important;
    border-bottom-color: transparent !important;
}

/* 下拉菜单 */
.drop-menu {
    display: none;
    position: absolute !important;
    top: 100%; left: 0;
    background: var(--bg-dark2);
    border: 1px solid rgba(30,64,175,0.18);
    border-radius: var(--r-sm);
    min-width: 130px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    z-index: 9999;
    padding: 6px 0;
    list-style: none;
}
.has-drop:hover .drop-menu { display: block; }
.drop-menu li a {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    transition: all var(--ease);
    text-decoration: none;
}
.drop-menu li a:hover {
    color: white;
    background: rgba(30,64,175,0.2);
    padding-left: 20px;
}

/* ============================================
   Banner
============================================ */
.banner-section { padding: 20px 0; background: var(--bg); }
.banner-wrap {
    display: grid;
    grid-template-columns: 1fr 265px;
    gap: 16px;
    align-items: stretch;
}
.banner-main {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    height: 330px;
    box-shadow: var(--shadow-md);
}
.banner-track {
    display: flex;
    flex-direction: row;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}
.slide { min-width: 100%; position: relative; height: 100%; flex-shrink: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 30px 26px 22px;
    background: linear-gradient(transparent, rgba(15,23,42,0.88));
    color: white;
}
.slide-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 4px;
    margin-bottom: 9px;
    letter-spacing: 0.5px;
}
.tag-blue { background: var(--blue); color: white; }
.tag-gold { background: var(--gold); color: white; }
.slide-info h2 {
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 7px;
    line-height: 1.35;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.slide-info p { font-size: 13px; opacity: 0.75; margin-bottom: 13px; }
.slide-btn {
    display: inline-block;
    background: var(--blue);
    color: white;
    padding: 7px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    transition: all var(--ease);
    text-decoration: none;
    box-shadow: var(--shadow-blue);
}
.slide-btn:hover {
    background: var(--blue-dark);
    color: white;
    transform: translateY(-1px);
}
.slide-prev, .slide-next {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(15,23,42,0.5);
    color: white;
    border: 1px solid rgba(30,64,175,0.3);
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ease);
}
.slide-prev:hover, .slide-next:hover {
    background: var(--blue);
    border-color: var(--blue);
}
.slide-prev { left: 12px; }
.slide-next { right: 12px; }
.slide-dots {
    position: absolute;
    bottom: 12px; right: 16px;
    display: flex; flex-direction: row; gap: 5px; z-index: 10;
}
.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all var(--ease);
}
.dot.active { background: var(--gold); width: 20px; border-radius: 3px; }

/* 侧边栏 */
.banner-side { display: flex; flex-direction: column; gap: 8px; }
.side-title {
    font-size: 13px; font-weight: 700;
    color: var(--text-mid);
    padding-bottom: 5px;
    border-bottom: 2px solid var(--blue);
    display: inline-block;
    margin-bottom: 2px;
}
.side-card {
    flex: 1; position: relative;
    border-radius: var(--r-sm);
    overflow: hidden; display: block; min-height: 0;
    transition: transform var(--ease), box-shadow var(--ease);
    box-shadow: var(--shadow-sm);
}
.side-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.side-card img { width: 100%; height: 100%; object-fit: cover; }
.side-mask {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 8px 10px;
    background: linear-gradient(transparent, rgba(15,23,42,0.75));
    display: flex; flex-direction: row; align-items: center; gap: 6px;
}
.side-mask p { font-size: 12px; color: white; font-weight: 600; }
.badge {
    font-size: 9px; font-weight: 800;
    padding: 2px 7px; border-radius: 4px;
    flex-shrink: 0; letter-spacing: 0.5px;
}
.badge.hot { background: #dc2626; color: white; }
.badge.new { background: var(--blue); color: white; }
.badge.vip { background: var(--grad-gold); color: white; }

/* ============================================
   分类快捷入口
============================================ */
.cat-section {
    padding: 14px 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.cat-grid {
    display: flex; flex-direction: row; gap: 6px;
    overflow-x: auto; scrollbar-width: none; padding: 4px 2px;
}
.cat-grid::-webkit-scrollbar { display: none; }
.cat-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 6px;
    flex-shrink: 0; cursor: pointer;
    transition: transform var(--ease);
    text-decoration: none; min-width: 68px;
}
.cat-item:hover { transform: translateY(-3px); }
.cat-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    box-shadow: var(--shadow);
    transition: box-shadow var(--ease);
}
.cat-item:hover .cat-icon { box-shadow: var(--shadow-md); }
.cat-item span {
    font-size: 11px; color: var(--text-mid);
    font-weight: 600; white-space: nowrap; text-align: center;
}

/* ============================================
   通用 Section
============================================ */
.section { padding: 36px 0; }
.bg-dark-soft { background: var(--bg-soft); }
.sec-head {
    display: flex; flex-direction: row;
    align-items: flex-start; gap: 14px;
    margin-bottom: 20px; flex-wrap: wrap;
}
.sec-title-wrap { display: flex; flex-direction: column; gap: 2px; }
.sec-title {
    font-size: 20px; font-weight: 800;
    color: var(--text);
    padding-left: 12px;
    position: relative; white-space: nowrap; line-height: 1.3;
}
.sec-title::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 20px;
    background: var(--grad-mix);
    border-radius: 2px;
}
.sec-desc { font-size: 12px; color: var(--text-light); padding-left: 12px; }
.more-link {
    margin-left: auto;
    font-size: 13px; color: var(--blue-dark);
    padding: 5px 14px;
    border: 1.5px solid rgba(30,64,175,0.28);
    border-radius: 6px;
    transition: all var(--ease);
    white-space: nowrap; text-decoration: none;
    align-self: center; flex-shrink: 0;
}
.more-link:hover { background: var(--blue); color: white; border-color: var(--blue); }

/* 筛选标签 */
.tabs { display: flex; flex-direction: row; gap: 6px; flex-wrap: wrap; align-self: center; }
.tab {
    padding: 5px 14px; border-radius: 6px; font-size: 13px;
    border: 1.5px solid var(--border);
    background: var(--bg-card); color: var(--text-mid);
    cursor: pointer; transition: all var(--ease);
    font-family: var(--font); white-space: nowrap;
}
.tab:hover, .tab.active {
    background: var(--blue); border-color: var(--blue);
    color: white; box-shadow: var(--shadow-blue);
}

/* ============================================
   漫画卡片（专属样式）
============================================ */
.manga-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.mcard {
    background: var(--bg-card);
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--ease);
    display: block;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.mcard:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30,64,175,0.3);
    color: inherit;
}
.mthumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-soft);
}
.mthumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.mcard:hover .mthumb img { transform: scale(1.06); }
.mhover {
    position: absolute; inset: 0;
    background: rgba(30,64,175,0.55);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--ease);
}
.mhover span {
    color: white; font-size: 14px; font-weight: 700;
    padding: 8px 20px;
    border: 2px solid white;
    border-radius: 6px;
}
.mthumb:hover .mhover { opacity: 1; }
/* 漫画标签 */
.mtag-hot {
    position: absolute; top: 8px; left: 8px;
    background: rgba(220,38,38,0.92);
    color: white; font-size: 10px; font-weight: 800;
    padding: 2px 7px; border-radius: var(--r-xs);
}
.mtag-new {
    position: absolute; top: 8px; left: 8px;
    background: rgba(30,64,175,0.92);
    color: white; font-size: 10px; font-weight: 800;
    padding: 2px 7px; border-radius: var(--r-xs);
}
.mtag-fin {
    position: absolute; top: 8px; left: 8px;
    background: rgba(5,150,105,0.92);
    color: white; font-size: 10px; font-weight: 800;
    padding: 2px 7px; border-radius: var(--r-xs);
}
.minfo { padding: 11px 12px 13px; }
.mtitle {
    font-size: 14px; font-weight: 700;
    color: var(--text); line-height: 1.4;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 4px;
    transition: color var(--ease);
}
.mcard:hover .mtitle { color: var(--blue); }
.mmeta { font-size: 11px; color: var(--text-light); margin-bottom: 6px; }
.mfoot {
    display: flex; flex-direction: row;
    align-items: center; justify-content: space-between;
}
.mviews { font-size: 11px; color: var(--text-light); }
.mupdate {
    font-size: 11px; color: var(--blue);
    font-weight: 600;
}

/* ============================================
   双栏
============================================ */
.two-col {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px; align-items: start;
}
.rank-list, .new-list {
    background: var(--bg-card);
    border-radius: var(--r);
    border: 1px solid var(--border);
    overflow: hidden; box-shadow: var(--shadow-sm);
}
.rank-item, .new-item {
    display: flex; flex-direction: row;
    align-items: center; gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: background var(--ease);
    text-decoration: none; color: inherit;
}
.rank-item:last-child,
.new-item:last-child { border-bottom: none; }
.rank-item:hover,
.new-item:hover { background: var(--blue-pale); }
.rnum {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800;
    color: var(--text-light); flex-shrink: 0;
}
.r1 { background: linear-gradient(135deg,#FFD700,#FFA500);
      color: white; box-shadow: 0 2px 8px rgba(255,165,0,0.4); }
.r2 { background: linear-gradient(135deg,#C0C0C0,#909090); color: white; }
.r3 { background: linear-gradient(135deg,#CD7F32,#A0522D); color: white; }
.rank-item img {
    width: 60px; height: 80px;
    object-fit: cover;
    border-radius: var(--r-sm);
    flex-shrink: 0; display: block;
}
.rinfo, .new-info { flex: 1; min-width: 0; }
.rtitle, .new-title {
    font-size: 13px; font-weight: 600; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 4px; transition: color var(--ease);
}
.rank-item:hover .rtitle,
.new-item:hover .new-title { color: var(--blue); }
.rmeta, .new-meta { font-size: 11px; color: var(--text-light); }
.new-item img {
    width: 52px; height: 68px;
    object-fit: cover;
    border-radius: var(--r-sm);
    flex-shrink: 0; display: block;
}

/* ============================================
   文章区
============================================ */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.acard {
    background: var(--bg-card);
    border-radius: var(--r); overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--ease);
    display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm);
    text-decoration: none; color: inherit;
}
.acard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30,64,175,0.28);
    color: inherit;
}
.acard-large { grid-column: span 2; flex-direction: row; }
.acard-large .aimg { width: 40%; flex-shrink: 0; min-height: 230px; height: auto; }
.aimg { height: 175px; overflow: hidden; flex-shrink: 0; }
.aimg img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.45s ease;
}
.acard:hover .aimg img { transform: scale(1.04); }
.abody { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ameta { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.atag {
    background: var(--blue-pale); color: var(--blue-dark);
    border: 1px solid rgba(30,64,175,0.2);
    padding: 2px 10px; border-radius: 4px;
    font-size: 11px; font-weight: 700;
}
.adate { font-size: 12px; color: var(--text-light); margin-left: auto; }
.atitle {
    font-size: 16px; font-weight: 700;
    color: var(--text); line-height: 1.5;
    transition: color var(--ease);
}
.acard:hover .atitle { color: var(--blue); }
.atext {
    font-size: 13px; color: var(--text-mid); line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-links {
    display: flex; flex-direction: row;
    align-items: center; flex-wrap: wrap;
    gap: 6px; font-size: 12px; color: var(--text-light);
    padding: 8px 10px;
    background: var(--bg-soft);
    border-radius: var(--r-sm);
    border-left: 3px solid var(--blue);
}
.related-links a {
    color: var(--blue-dark); font-weight: 600;
    text-decoration: none; transition: color var(--ease);
}
.related-links a:hover { color: var(--blue); text-decoration: underline; }
.amore {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--blue-dark); font-size: 13px; font-weight: 600;
    margin-top: auto; text-decoration: none;
    transition: gap var(--ease);
}
.amore:hover { gap: 8px; color: var(--blue); }

/* ============================================
   经典漫画回顾
============================================ */
.classic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.classic-item {
    position: relative; border-radius: var(--r);
    overflow: hidden; height: 180px; display: block;
    box-shadow: var(--shadow-sm); transition: all var(--ease);
    text-decoration: none;
}
.classic-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.classic-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.45s ease;
}
.classic-item:hover img { transform: scale(1.06); }
.classic-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 10px 12px;
    background: linear-gradient(transparent, rgba(15,23,42,0.85));
    color: white;
}
.classic-tag {
    display: inline-block;
    background: var(--blue); color: white;
    font-size: 10px; font-weight: 700;
    padding: 1px 8px; border-radius: 3px; margin-bottom: 4px;
}
.classic-info p {
    font-size: 13px; font-weight: 600; line-height: 1.4;
    margin-bottom: 3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.classic-heat { font-size: 11px; opacity: 0.7; }

/* ============================================
   页脚
============================================ */
.footer-top {
    background: var(--bg-dark);
    padding: 48px 0 36px;
    border-top: 3px solid var(--blue);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    gap: 36px;
}
.footer-brand .f-logo {
    display: flex; flex-direction: row;
    align-items: center; gap: 10px; margin-bottom: 14px;
}
.footer-brand .f-logo span {
    font-size: 15px; font-weight: 900; color: white; letter-spacing: 1px;
}
.footer-brand p {
    font-size: 13px; color: rgba(255,255,255,0.34);
    line-height: 2; margin-bottom: 18px;
}
.f-stats { display: flex; flex-direction: row; gap: 20px; }
.f-stat  { display: flex; flex-direction: column; gap: 2px; }
.f-stat strong { font-size: 16px; font-weight: 800; color: var(--gold); }
.f-stat span   { font-size: 11px; color: rgba(255,255,255,0.28); }
.footer-col h4 {
    font-size: 13px; font-weight: 700; color: white;
    margin-bottom: 14px; padding-bottom: 8px;
    border-bottom: 1px solid rgba(30,64,175,0.18);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
    font-size: 13px; color: rgba(255,255,255,0.38);
    transition: all var(--ease); text-decoration: none; display: inline-block;
}
.footer-col ul li a:hover { color: var(--blue-light); padding-left: 4px; }
.footer-bottom {
    background: rgba(0,0,0,0.4); padding: 14px 0; text-align: center;
}
.footer-bottom p {
    font-size: 12px; color: rgba(255,255,255,0.2);
    margin-bottom: 4px; line-height: 1.8;
}
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color var(--ease); }
.footer-bottom a:hover { color: var(--blue-light); }

/* ============================================
   回到顶部
============================================ */
.back-top {
    position: fixed; bottom: 28px; right: 28px;
    width: 42px; height: 42px;
    background: var(--blue); color: white;
    border: none; border-radius: 8px;
    font-size: 18px; cursor: pointer;
    z-index: 999; opacity: 0; visibility: hidden;
    transition: all var(--ease);
    box-shadow: var(--shadow-blue);
    display: flex; align-items: center; justify-content: center;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

/* ============================================
   响应式
============================================ */
@media screen and (min-width: 769px) {
    .nav-toggle { display: none !important; }
    .main-nav   { display: block !important; }
    .nav-list   { display: flex !important; flex-direction: row !important; }
    .nav-item   { display: block !important; width: auto !important; }
    .drop-menu  { position: absolute !important; display: none !important; }
    .has-drop:hover .drop-menu { display: block !important; }
    .has-drop.open  .drop-menu { display: none  !important; }
}
@media screen and (max-width: 1100px) {
    .manga-grid   { grid-template-columns: repeat(3, 1fr); }
    .two-col      { grid-template-columns: 1fr 300px; }
    .classic-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid  { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: span 3; }
}
@media screen and (max-width: 900px) {
    .banner-wrap  { grid-template-columns: 1fr; }
    .banner-side  { flex-direction: row; height: 90px; }
    .banner-main  { height: 270px; }
    .two-col      { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .acard-large  { flex-direction: column; grid-column: span 1; }
    .acard-large .aimg { width: 100%; min-height: 185px; }
    .footer-grid  { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}
@media screen and (max-width: 768px) {
    .topbar          { display: none; }
    .nav-toggle      { display: flex !important; }
    .search-wrap     { max-width: 200px; }
    .search-hot      { display: none; }
    .btn-vip span    { display: none; }
    .btn-vip         { padding: 8px 12px; }
    .logo-sub        { display: none; }
    .breadcrumb-wrap { display: none; }
    .main-nav { display: none !important; top: 0; position: static; }
    .main-nav.open   { display: block !important; }
    .nav-list  { flex-direction: column !important; flex-wrap: wrap !important; overflow-x: visible !important; }
    .nav-item  { width: 100% !important; }
    .nav-item > a { padding: 12px 18px !important; border-bottom: 1px solid rgba(30,64,175,0.08) !important; }
    .drop-menu {
        position: static !important; display: none !important;
        box-shadow: none !important; border: none !important;
        border-radius: 0 !important;
        background: rgba(30,64,175,0.05) !important;
        padding-left: 16px !important;
    }
    .has-drop.open .drop-menu       { display: block !important; }
    .has-drop:hover .drop-menu      { display: none  !important; }
    .has-drop.open:hover .drop-menu { display: block !important; }
    .manga-grid   { grid-template-columns: repeat(2, 1fr); }
    .classic-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-side  { display: none; }
    .footer-grid  { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}
@media screen and (max-width: 480px) {
    .manga-grid    { grid-template-columns: repeat(2, 1fr); }
    .classic-grid  { grid-template-columns: 1fr; }
    .footer-grid   { grid-template-columns: 1fr; }
    .footer-brand  { grid-column: auto; }
    .search-wrap   { max-width: 140px; }
    .banner-main   { height: 210px; }
    .slide-info h2 { font-size: 16px; }
    .slide-info p  { display: none; }
    .section       { padding: 24px 0; }
    .logo-text     { font-size: 16px; }
    .cat-item      { min-width: 60px; }
    .cat-icon      { width: 42px; height: 42px; font-size: 20px; }
    .f-stats       { gap: 14px; }
}
