﻿:root {
    --bg: #f7f8fb;
    --card: #fff;
    --text: #222;
    --muted: #737987;
    --line: #e9ecf2;
    --brand: #f45b69;
    --brand2: #ffb199;
    --hot: #e63946;
    --shadow: 0 8px 24px rgba(31, 41, 55, .07);
    --default-cover: url("https://image4.wmanhua.com/mh/abdf9ed7fdfc413b95b34ab64fecc9d2/cover.webp")
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    height: 100%
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.wrap {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
    flex-shrink: 0
}

main.wrap {
    flex: 1 0 auto
}

.top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line)
}

.nav {
    height: 64px;
    display: flex;
    align-items: center;
    gap: 26px
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--brand);
    letter-spacing: 0
}

.logo small {
    color: var(--brand2)
}

.links {
    display: flex;
    gap: 18px
}

.links a,
.tools a {
    color: #333
}

.links a.active,
.links a:hover {
    color: var(--brand);
    font-weight: 700
}

.search {
    margin-left: auto;
    width: 270px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    color: var(--muted)
}

.search span {
    font-size: 18px;
    line-height: 1;
    color: #9aa1ad
}

.search input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    min-width: 0;
    font: inherit;
    color: var(--text)
}

.search input::placeholder {
    color: #9aa1ad
}

.tools {
    display: flex;
    gap: 12px;
    color: var(--muted)
}

.menu {
    display: none;
    border: 0;
    background: transparent
}

.hero {
    padding: 28px 0 22px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.7fr .9fr;
    gap: 18px
}

.slider {
    min-height: 330px;
    border-radius: 8px;
    background: linear-gradient(120deg, #ecfff8, #fff7e5 55%, #ffe8ec);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative
}

.slider:before {
    content: "";
    position: absolute;
    right: 24%;
    top: 20px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(36, 180, 126, .16)
}

.slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 218px;
    align-items: end;
    gap: 24px;
    padding: 36px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(18px);
    transition: .35s ease
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0)
}

.hero-copy {
    position: relative
}

.eyebrow {
    color: var(--brand);
    font-weight: 800
}

.hero h1 {
    font-size: 34px;
    line-height: 1.2;
    margin: 8px 0 10px
}

.meta {
    color: var(--muted);
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 18px;
    border-radius: 20px;
    background: var(--brand);
    color: white;
    font-weight: 700;
    margin-top: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .2s
}

.btn.loading {
    opacity: .5;
    pointer-events: none;
    cursor: wait
}

.cover {
    aspect-ratio: 425/560;
    width: 100%;
    border-radius: 8px;
    background-image: var(--cover, var(--default-cover));
    background-size: cover;
    background-position: center;
    box-shadow: 0 14px 26px rgba(39, 54, 79, .25);
    position: relative;
    overflow: hidden
}

.cover:after {
    content: attr(data-title);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: rgba(0, 0, 0, .3);
    color: white;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.car-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 4px 14px rgba(31, 41, 55, .12);
    color: #4b5563;
    font-size: 26px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer
}

.car-btn:hover {
    background: #fff;
    color: var(--brand)
}

.car-btn.prev {
    left: 14px
}

.car-btn.next {
    right: 14px
}

.dots {
    position: absolute;
    left: 36px;
    bottom: 20px;
    z-index: 3;
    display: flex;
    gap: 7px
}

.dots button {
    width: 18px;
    height: 5px;
    border: 0;
    border-radius: 6px;
    background: #cdd3dc;
    padding: 0;
    cursor: pointer
}

.dots button.active {
    width: 28px;
    background: var(--brand)
}

.push {
    background: var(--card);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 18px
}

.push h2,
.section h2 {
    font-size: 21px;
    margin: 0 0 14px
}

.push-item {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px dashed var(--line)
}

.push-item:last-child {
    border-bottom: 0
}

.num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff2d8;
    color: #d88b00;
    display: grid;
    place-items: center;
    font-weight: 900
}

.tagline {
    color: var(--muted);
    font-size: 13px
}

.read {
    color: var(--brand);
    font-weight: 700
}

.chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 4px 0 22px
}

.chips a {
    padding: 7px 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    color: #565c68
}

.chips a.active,
.chips a:hover {
    background: #eafff6;
    border-color: #bfead9;
    color: #139262
}

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px
}

.section {
    background: var(--card);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow)
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px
}

.more {
    color: var(--muted);
    font-size: 13px
}

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

.book {
    min-width: 0
}

.thumb {
    aspect-ratio: 425/560;
    border-radius: 7px;
    background-image: var(--default-cover);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden
}

.thumb:after {
    content: attr(data-title);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 7px 8px;
    background: rgba(0, 0, 0, .3);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .35);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.book h3 {
    font-size: 15px;
    margin: 8px 0 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.list {
    display: grid;
    gap: 10px
}

.update-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0
}

.update-cols .list {
    padding-right: 22px
}

.update-cols .list+.list {
    padding-right: 0;
    padding-left: 22px;
    border-left: 1px solid var(--line)
}

.update {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 10px 0
}

.update:last-child {
    border-bottom: 0
}

.mini {
    aspect-ratio: 425/560;
    width: 52px;
    border-radius: 6px;
    background-image: var(--default-cover);
    background-size: cover;
    background-position: center
}

.update h3 {
    margin: 0;
    font-size: 15px
}

.update p {
    margin: 3px 0;
    color: var(--muted);
    font-size: 13px
}

.time {
    color: var(--brand);
    font-size: 13px;
    white-space: nowrap
}

.rank-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.home-ranks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.home-ranks .rank {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px
}

.home-ranks .rank h2 {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line)
}

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

.rank li {
    display: grid;
    grid-template-columns: 26px 1fr auto;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line)
}

.rank li:last-child {
    border-bottom: 0
}

.rank b {
    color: var(--hot)
}

.score {
    color: var(--brand);
    font-weight: 800
}

.zone {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.zone a {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px
}

.zone strong {
    display: block;
    font-size: 17px
}

.zone span {
    color: var(--muted)
}

.tab-nav {
    display: flex;
    gap: 2px;
    margin: 0 0 18px;
    border-bottom: 1px solid var(--line);
    overflow-x: auto
}

.tab-nav button {
    position: relative;
    height: 42px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: #565c68;
    font: inherit;
    white-space: nowrap;
    cursor: pointer
}

.tab-nav button:hover {
    color: var(--brand);
    background: #fff5f6
}

.tab-nav button.active {
    color: var(--brand);
    background: #fff0f2;
    font-weight: 800
}

.tab-nav button.active:after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--brand)
}

.tab-panel {
    display: none
}

.tab-panel.active {
    display: block
}

.filter {
    background: #fff;
    border-radius: 8px;
    padding: 18px;
    margin: 22px 0;
    box-shadow: var(--shadow)
}

.filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line)
}

.filter-title h1 {
    margin: 0;
    font-size: 25px
}

.filter-title span {
    color: #4b5563
}

.filter-row {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 10px;
    align-items: start;
    margin: 9px 0
}

.filter b {
    font-weight: 500;
    color: #4b5563;
    padding-top: 6px
}

.filter-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.filter-options a {
    min-width: 52px;
    text-align: center;
    padding: 5px 12px;
    background: #f4f1ed;
    border: 1px solid #e8e0d8;
    color: #111
}

.filter-options a.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff
}

.fold-btn {
    display: none
}

.crumb {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin: 18px 0;
    color: var(--muted);
    font-size: 13px
}

.crumb a {
    color: #4b5563
}

.crumb a:hover {
    color: var(--brand)
}

.catalog {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px
}

.detail {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 26px
}

.comic-profile {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 26px;
    align-items: start
}

.profile-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.profile-title h1 {
    font-size: 30px;
    margin: 0
}

.profile-title span {
    padding: 3px 10px;
    border-radius: 14px;
    background: #fff0f2;
    color: var(--brand);
    font-weight: 800
}

.profile-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 8px 22px;
    margin: 14px 0;
    color: #4b5563
}

.profile-meta p {
    margin: 0
}

.profile-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0
}

.profile-tags a {
    padding: 5px 11px;
    border-radius: 15px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: #565c68
}

.profile-desc {
    margin: 14px 0;
    color: #4b5563
}

.profile-latest {
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 6px
}

.profile-latest a {
    color: var(--brand);
    font-weight: 800
}

.info h1 {
    font-size: 30px;
    margin: 0 0 8px
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.outline {
    background: #fff;
    color: var(--brand);
    border: 1px solid #bfead9
}

.chapter-head {
    align-items: flex-start
}

.chapter-sort {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.chapter-sort button,
.chapter-more button {
    height: 32px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: #565c68;
    font: inherit;
    cursor: pointer
}

.chapter-sort button.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 800
}

.chapter-more {
    display: flex;
    justify-content: center;
    margin-top: 16px
}

.chapter-more button {
    color: var(--brand);
    border-color: #f5c4ca
}

.chapters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px
}

.chapters a {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px;
    text-align: center
}

.timeline {
    display: grid;
    gap: 0
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 104px 28px 64px 1fr;
    gap: 18px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
}

.timeline-item:last-child {
    border-bottom: 0
}

.timeline-item:before {
    content: "";
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 1px #bfead9;
    z-index: 1
}

.timeline-item:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 117px;
    width: 2px;
    background: var(--line)
}

.timeline time {
    grid-column: 1;
    grid-row: 1;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap
}

.timeline .mini {
    grid-column: 3;
    grid-row: 1
}

.timeline-item>div:last-child {
    grid-column: 4;
    grid-row: 1
}

.timeline h3 {
    margin: 0;
    font-size: 16px
}

.timeline p {
    margin: 3px 0 0;
    color: var(--muted)
}

.pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px
}

.pager a {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    display: grid;
    place-items: center;
    color: #565c68
}

.pager a.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 800
}

.pager a.disabled {
    opacity: .45
}

.pager-jump {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #565c68;
    font-size: 14px;
    white-space: nowrap
}

.pager-input {
    width: 48px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    text-align: center;
    font-size: 14px;
    color: #565c68;
    outline: none;
    -moz-appearance: textfield
}

.pager-input::-webkit-outer-spin-button,
.pager-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.pager-input:focus {
    border-color: var(--brand)
}
.badge {
    display: none;
    margin-left: 4px;
    padding: 0 5px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    vertical-align: top;
    font-weight: 800;
    box-shadow: 0 2px 7px rgba(244, 91, 105, .32)
}
.badge.show { display: inline-block; }
.chapter-reader {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto
}

.chapter-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    text-align: center
}

.chapter-title h1 {
    font-size: 26px;
    margin: 0
}

.chapter-title span {
    color: var(--brand);
    font-weight: 800
}

.reader-label {
    font-size: 18px;
    text-align: center;
    margin: 22px 0 14px
}

.reader-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px
}

.reader-bar select {
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0 12px;
    background: #fff
}

.comic-pages {
    width: min(840px, 100%);
    margin: auto
}

.page-img {
    min-height: 860px;
    background: linear-gradient(180deg, #fafafa, #dfe8ee);
    border-radius: 0;
    margin-bottom: 0;
    display: grid;
    place-items: center;
    color: #555;
    font-size: 28px;
    font-weight: 900
}

.page-img img {
    width: 100%;
    height: auto;
    display: block
}

.finish-box {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin: 24px 0
}

.finish-box h2,
.chapter-info h2 {
    margin-top: 0
}

.chapter-info {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px;
    margin-top: 18px
}

.chapter-info p {
    color: #4b5563
}

.chapter-info p:last-child {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.chapter-info a {
    color: var(--brand);
    font-weight: 800
}

.page-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px
}

.page-buttons span {
    color: var(--muted);
    margin-right: 4px
}

.page-buttons a {
    min-width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    display: grid;
    place-items: center
}

.page-buttons a.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff
}

.doc {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: var(--shadow);
    margin: 24px 0
}

.doc h1 {
    margin-top: 0
}

.foot {
    margin-top: 28px;
    background: #20242b;
    color: #ccd2dc;
    padding: 34px 0
}

.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px
}

.foot h3 {
    color: #fff;
    margin-top: 0
}

.bottom-nav {
    display: none
}

.read-tool {
    display: none
}

.mobile-side-tools {
    display: flex;
    position: fixed;
    right: 18px;
    top: 42%;
    z-index: 60;
    flex-direction: column;
    background: rgba(60, 62, 68, .9);
    border-radius: 14px;
    overflow: hidden
}

.mobile-side-tools button {
    width: 50px;
    min-height: 54px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer
}
.mobile-side-tools button:hover {
    background: rgba(255, 255, 255, .1)
}

.mobile-side-tools small {
    display: block;
    font-size: 12px;
    color: #fff
}

.chapter-page {
    background: #2b2d31;
    color: #f2f3f5;
    padding-bottom: 0
}

.chapter-shell {
    min-height: 100vh
}

.chapter-sticky-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 54px;
    background: rgba(43, 45, 49, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 22px
}

.chapter-brand {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    white-space: nowrap
}

.chapter-brand small {
    color: #ffd1d6
}

.chapter-sticky-nav nav {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c3c7cf
}

.chapter-sticky-nav nav a {
    color: #fff
}

.chapter-sticky-nav nav span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.chapter-sticky-nav em {
    margin-left: auto;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 15px;
    font-style: normal;
    color: #fff
}

.chapter-pc-head {
    max-width: 960px;
    margin: 0 auto;
    padding: 18px 12px 16px;
    text-align: center
}

.chapter-pc-head h1 {
    font-size: 24px;
    margin: 0 0 6px
}

.chapter-pc-head>span {
    color: #ffd1d6;
    font-weight: 800
}

.chapter-canvas {
    width: min(960px, 100%);
    margin: auto;
    background: #3a3d43
}

.chapter-canvas .comic-pages {
    width: 100%
}

.chapter-canvas .page-img {
    min-height: 900px;
    margin: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #fff, #e9eef5);
    border-bottom: 0
}

.chapter-canvas .page-img img {
    width: 100%;
    height: auto;
    display: block
}

.chapter-end {
    width: min(960px, calc(100% - 24px));
    margin: 24px auto;
    background: #fff;
    color: var(--text);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow)
}

.chapter-end h2 {
    text-align: center;
    margin-top: 0
}

.chapter-page.light-on {
    background: #e9ecf1;
    color: #222
}

.chapter-page.light-on .chapter-canvas {
    background: #d7dce3
}

.chapter-page.light-on .chapter-sticky-nav {
    background: rgba(255, 255, 255, .94);
    border-bottom-color: var(--line)
}

.chapter-page.light-on .chapter-brand,
.chapter-page.light-on .chapter-sticky-nav nav a,
.chapter-page.light-on .chapter-sticky-nav em {
    color: #222
}

.chapter-page.light-on .chapter-brand small {
    color: var(--brand)
}

.chapter-page.light-on .chapter-sticky-nav nav {
    color: #687080
}

.chapter-page.light-on .chapter-sticky-nav em {
    border-color: var(--line)
}

.chapter-page.light-on .chapter-pc-head>span {
    color: var(--brand)
}

.chapter-drawer {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none
}

.chapter-drawer.open {
    display: block
}

.chapter-drawer-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55)
}

.chapter-drawer aside {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(360px, 86vw);
    background: #fff;
    color: var(--text);
    box-shadow: -12px 0 30px rgba(0, 0, 0, .24);
    display: flex;
    flex-direction: column
}

.drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line)
}

.drawer-head h2 {
    margin: 0;
    font-size: 20px
}

.drawer-head button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    font-size: 22px;
    cursor: pointer
}

.drawer-list {
    padding: 12px 18px;
    overflow: auto
}

.drawer-list a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    color: #4b5563
}

.drawer-list a.active {
    color: var(--brand);
    font-weight: 800
}

.ranking-page {
    padding-top: 22px
}

.rank-hero {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 14px;
    padding-top: 15px
}

.rank-winner {
    background: #050505;
    color: #fff;
    padding: 18px
}

.winner-cover {
    height: 390px;
    background-image: var(--default-cover);
    background-size: cover;
    background-position: center;
    position: relative
}

.winner-cover:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(transparent, #050505)
}

.winner-cover span {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 58px;
    height: 64px;
    background: #ffd66b;
    color: #111;
    font-size: 30px;
    font-weight: 900;
    display: grid;
    place-items: center;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%)
}

.rank-winner h1 {
    font-size: 28px;
    line-height: 1.15;
    margin: 18px 0 12px
}

.rank-winner em {
    display: inline-block;
    background: #fff;
    color: #333;
    font-style: normal;
    padding: 4px 9px;
    margin-bottom: 12px
}

.rank-winner p {
    line-height: 1.8
}

.rank-winner b {
    display: block;
    margin: 14px 0
}

.rank-board {
    background: #fff;
    border: 1px solid #dedbd4;
    padding: 18px
}

.rank-board h2 {
    font-size: 22px;
    margin: 0 0 14px
}

.rank-table {
    display: grid
}

.rank-row {
    display: grid;
    grid-template-columns: 56px 1.7fr 1fr .7fr;
    gap: 12px;
    align-items: center;
    min-height: 72px;
    border-top: 1px solid var(--line);
    color: #4b5563
}

.rank-row.head {
    min-height: 34px;
    color: #333
}

.rank-row b {
    width: 28px;
    height: 28px;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center
}

.rank-row:nth-child(n+7) b {
    background: #bdb8af
}

.rank-row em {
    color: #ec0036;
    font-style: normal;
    text-align: right
}

.work {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 10px;
    align-items: center
}

.work i {
    grid-row: 1/3;
    width: 48px;
    height: 64px;
    background-image: var(--default-cover);
    background-size: cover;
    background-position: center
}

.work strong,
.work small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.work strong {
    color: #111
}

.work small {
    color: #64748b
}

.rising-board {
    background: #fff;
    border: 1px solid #dedbd4;
    margin: 20px 0;
    padding: 18px
}

.rising-board h2 {
    font-size: 22px;
    margin: 0 0 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line)
}

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

.rising-list a {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 10px;
    min-width: 0
}

.rising-list i {
    width: 78px;
    height: 104px;
    background-image: var(--default-cover);
    background-size: cover;
    background-position: center
}

.rising-list span {
    min-width: 0
}

.rising-list strong,
.rising-list em {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.rising-list strong {
    font-weight: 500;
    color: #222;
    line-height: 1.45
}

.rising-list em {
    color: #ec0036;
    font-style: normal;
    font-size: 13px;
    line-height: 1.35;
    margin-top: 8px
}

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

.rank-more .rank {
    background: #fff;
    border: 1px solid #dedbd4;
    padding: 18px
}

.rank-more .rank h2 {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line)
}

.rank-mobile-tabs {
    display: none
}

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

.rank-card .thumb span {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    padding: 4px 7px;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    border-radius: 0 0 6px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18)
}

@media (max-width:900px) {
    .wrap {
        width: min(100% - 22px, 760px)
    }

    .nav {
        gap: 12px
    }

    .links,
    .tools {
        display: none
    }

    .links.open {
        display: flex;
        position: absolute;
        left: 12px;
        right: 12px;
        top: 64px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
        padding: 14px;
        flex-wrap: wrap
    }

    .links.open a {
        padding: 6px 8px
    }

    .menu {
        width: 38px;
        height: 38px;
        margin-left: auto;
        border: 1px solid var(--line);
        border-radius: 50%;
        background: #fff;
        display: grid;
        place-content: center;
        gap: 4px;
        padding: 0
    }

    .menu span {
        display: block;
        width: 16px;
        height: 2px;
        border-radius: 2px;
        background: #4b5563
    }

    .search {
        width: 180px;
        margin-left: 0
    }

    .hero-grid,
    .split,
    .detail,
    .comic-profile,
    .rank-hero {
        grid-template-columns: 1fr
    }

    .comic-profile>.cover {
        width: min(220px, 62vw);
        justify-self: center
    }

    .slider {
        min-height: 300px;
        background: #1f2937
    }

    .slider:before {
        display: none
    }

    .slide {
        grid-template-columns: 1fr;
        align-items: end;
        background-image: linear-gradient(90deg, rgba(9, 14, 20, .78), rgba(9, 14, 20, .38)), var(--cover, var(--default-cover));
        background-size: cover;
        background-position: center
    }

    .slide .cover {
        display: none
    }

    .slide .hero-copy {
        max-width: 78%;
        color: #fff
    }

    .slide .eyebrow,
    .slide .meta {
        color: rgba(255, 255, 255, .78)
    }

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

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

    .rank-tabs,
    .home-ranks,
    .zone,
    .rank-more {
        grid-template-columns: 1fr 1fr
    }

    .chapters {
        grid-template-columns: repeat(2, 1fr)
    }

    .rising-list {
        grid-template-columns: repeat(2, 1fr)
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr
    }

    .bottom-nav {
        position: fixed;
        z-index: 30;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        border-top: 1px solid var(--line);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        height: 56px
    }

    .bottom-nav a {
        position: relative;
        display: grid;
        place-items: center;
        color: var(--muted);
        font-size: 12px
    }

    .bottom-nav .badge {
        position: absolute;
        top: 8px;
        left: calc(50% + 12px);
        margin-left: 0;
        vertical-align: initial;
        pointer-events: none
    }

    .bottom-nav a.active {
        color: var(--brand);
        font-weight: 800
    }

    body {
        padding-bottom: 58px
    }
}

@media (max-width:560px) {
    .logo {
        font-size: 20px
    }

    .search {
        flex: 1;
        height: 36px;
        padding: 0 11px
    }

    .search span {
        font-size: 16px
    }

    .hero {
        padding-top: 14px
    }

    .slide {
        padding: 24px 46px
    }

    .slide .hero-copy {
        max-width: 100%
    }

    .hero h1 {
        font-size: 28px
    }

    .car-btn {
        width: 30px;
        height: 30px;
        font-size: 23px
    }

    .car-btn.prev {
        left: 9px
    }

    .car-btn.next {
        right: 9px
    }

    .dots {
        left: 46px;
        bottom: 18px
    }

    .grid,
    .catalog {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px
    }

    .book h3 {
        font-size: 13px;
        margin-top: 6px
    }

    .thumb:after {
        padding: 6px;
        font-size: 12px
    }

    .update-cols {
        grid-template-columns: 1fr;
        gap: 0
    }

    .update-cols .list,
    .update-cols .list+.list {
        padding-left: 0;
        padding-right: 0;
        border-left: 0
    }

    .update {
        grid-template-columns: 58px minmax(0, 1fr) auto;
        align-items: center
    }

    .update>span:not(.time) {
        min-width: 0
    }

    .update h3 {
        display: inline;
        max-width: 62%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .update p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .update .time {
        grid-column: 3;
        grid-row: 1;
        align-self: start;
        padding-top: 2px;
        font-size: 12px
    }

    .mini {
        width: 54px;
        height: 100%;
        min-height: 64px;
        aspect-ratio: auto
    }

    .timeline-item {
        grid-template-columns: 54px 1fr;
        gap: 10px;
        padding: 14px 0 14px 24px
    }

    .timeline-item:before {
        position: absolute;
        left: 2px;
        grid-column: auto
    }

    .timeline-item:after {
        left: 8px
    }

    .timeline time {
        grid-column: 1/3;
        text-align: left
    }

    .timeline .mini {
        grid-column: 1;
        grid-row: 2
    }

    .timeline-item>div:last-child {
        grid-column: 2;
        grid-row: 2
    }

    .timeline h3 {
        font-size: 15px
    }

    .timeline p {
        font-size: 12px
    }

    .pager a {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px
    }
    .pager-jump { font-size: 12px; }
    .pager-input { width: 40px; height: 32px; font-size: 12px }

    .rank-tabs,
    .home-ranks,
    .zone,
    .foot-grid {
        grid-template-columns: 1fr
    }

    .rank-more {
        display: none
    }

    .rank-mobile-tabs {
        display: block;
        background: #fff;
        border: 1px solid #dedbd4;
        margin: 18px 0;
        padding: 14px
    }

    .rank-board {
        padding: 14px
    }

    .rank-row {
        grid-template-columns: 34px 1fr auto;
        gap: 8px;
        min-height: 68px
    }

    .rank-row.head,
    .rank-row>span:nth-child(3),
    .rank-row>span:nth-child(4) {
        display: none
    }

    .rank-row em {
        font-size: 12px
    }

    .rising-list {
        grid-template-columns: 1fr
    }

    .page-img {
        min-height: 620px
    }
    
    .page-img img {
        width: 100%;
        height: auto;
        display: block
    }

    .doc {
        padding: 20px
    }

    .filter {
        padding: 14px
    }

    .filter-title {
        display: block
    }

    .filter-title h1 {
        font-size: 22px
    }

    .filter-title span {
        display: block;
        margin-top: 4px;
        font-size: 12px
    }

    .filter-row {
        grid-template-columns: 42px 1fr 44px;
        align-items: start
    }

    .filter b {
        width: auto;
        padding-top: 4px
    }

    .filter-options {
        height: 32px;
        overflow: hidden;
        flex-wrap: wrap;
        gap: 7px
    }

    .filter-options a {
        min-width: 44px;
        padding: 4px 10px
    }

    .fold-row.open .filter-options {
        height: auto
    }

    .fold-btn {
        display: block;
        height: 28px;
        border: 1px solid var(--line);
        border-radius: 15px;
        background: #fff;
        color: var(--brand);
        font: inherit;
        font-size: 12px
    }

    .doc {
        padding: 20px
    }

    .chapter-reader {
        padding: 0;
        margin-left: -11px;
        margin-right: -11px;
        border-radius: 0
    }

    .chapter-title,
    .chapter-topbar,
    .reader-label {
        display: none
    }

    .comic-pages {
        width: 100%
    }

    .comic-pages .page-img {
        border-radius: 0;
        margin: 0;
        min-height: 620px
    }
    
    .comic-pages .page-img img {
        width: 100%;
        height: auto;
        display: block
    }

    .read-tool {
        display: flex;
        position: fixed;
        z-index: 60;
        opacity: 0;
        pointer-events: none;
        transition: .2s ease
    }

    .reader-tools-on .read-tool {
        opacity: 1;
        pointer-events: auto
    }

    .mobile-read-top {
        left: 0;
        right: 0;
        top: 0;
        height: 52px;
        align-items: center;
        gap: 8px;
        padding: 0 14px;
        background: rgba(54, 56, 62, .94);
        color: #fff
    }

    .mobile-read-top span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis
    }

    .mobile-read-top em {
        margin-left: auto;
        padding: 4px 12px;
        border: 1px solid rgba(255, 255, 255, .35);
        border-radius: 15px;
        font-style: normal
    }

    .mobile-side-tools {
        right: 12px;
        top: 38%;
        flex-direction: column;
        background: rgba(60, 62, 68, .9);
        border-radius: 14px;
        overflow: hidden
    }

    .mobile-side-tools button {
        width: 50px;
        min-height: 54px;
        border: 0;
        background: transparent;
        color: #fff;
        font: inherit;
        cursor: pointer
    }
    .mobile-side-tools button:hover {
        background: rgba(255, 255, 255, .1)
    }

    .mobile-side-tools small {
        display: block;
        font-size: 12px;
        color: #fff
    }

    .mobile-bottom-tools {
        left: 12px;
        right: 12px;
        bottom: 14px;
        height: 58px;
        align-items: center;
        justify-content: space-around;
        background: rgba(54, 56, 62, .96);
        border-radius: 14px
    }

    .mobile-bottom-tools a {
        display: grid;
        place-items: center;
        color: #fff;
        font-weight: 800
    }

    .mobile-bottom-tools span {
        display: block;
        font-size: 12px;
        font-weight: 400
    }

    .chapter-bottom-nav {
        display: none
    }

    .chapter-sticky-nav {
        display: none
    }
}.update-timeline{margin-top:24px}
