:root {
    --ink: #15243e;
    --muted: #64748b;
    --paper: #f5f7fb;
    --white: #ffffff;
    --line: #e1e7f0;
    --orange: #ff7148;
    --orange-dark: #e8532e;
    --navy: #101d35;
    --shadow: 0 18px 48px rgba(20, 36, 62, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    width: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(225, 231, 240, 0.9);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    min-height: 78px;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    color: var(--white);
    background: var(--orange);
    border-radius: 12px 12px 12px 3px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1;
    place-items: center;
}

.brand-copy {
    display: grid;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 19px;
    letter-spacing: 0.04em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.primary-nav {
    flex: 1;
}

.primary-nav ul {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 9px;
    border-radius: 9px;
    color: #526176;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-current {
    color: var(--orange-dark);
    background: #fff0eb;
}

.nav-icon {
    font-size: 15px;
    line-height: 1;
}

.header-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    color: var(--orange-dark);
    border: 1px solid #ffd7ca;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
    min-height: 510px;
    margin-top: 42px;
    padding: 55px 68px;
    overflow: hidden;
    background: linear-gradient(120deg, #fff9f6 0%, #fff 55%, #eef5ff 100%);
    border: 1px solid #e8edf5;
    border-radius: 26px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.25;
}

.hero h1 {
    margin-bottom: 18px;
    font-size: clamp(42px, 6vw, 68px);
    letter-spacing: -0.04em;
}

.hero h1 a:hover {
    color: var(--orange-dark);
}

.hero-text {
    max-width: 535px;
    margin-bottom: 28px;
    color: #53647c;
    font-size: 18px;
}

.hero-actions,
.chapter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 20px;
    color: var(--white);
    background: var(--orange);
    border-radius: 12px;
    font-weight: 800;
    box-shadow: 0 9px 20px rgba(255, 113, 72, 0.21);
    transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.button-light {
    color: var(--navy);
    background: var(--white);
    box-shadow: none;
}

.button-muted {
    color: var(--ink);
    background: #edf1f7;
    box-shadow: none;
}

.text-link {
    color: var(--orange-dark);
    font-weight: 800;
}

.hero-art {
    position: relative;
}

.hero-image {
    width: 100%;
    aspect-ratio: 0.87;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.hero-note {
    position: absolute;
    right: -22px;
    bottom: 34px;
    display: grid;
    gap: 0;
    padding: 16px 20px;
    color: var(--white);
    background: var(--navy);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.hero-note span,
.hero-note small {
    color: #b7c4d8;
    font-size: 12px;
}

.hero-note strong {
    color: #ff9a7d;
    font-size: 32px;
    line-height: 1.1;
}

.quick-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 30px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.quick-strip > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--white);
}

.quick-strip > div > span {
    display: grid;
    width: 34px;
    height: 34px;
    color: var(--orange-dark);
    background: #fff1eb;
    border-radius: 10px;
    place-items: center;
}

.quick-strip p {
    display: grid;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.quick-strip strong {
    color: var(--ink);
    font-size: 14px;
}

.content-section,
.ranking-board,
.reading-path,
.update-timeline,
.shelf-panel,
.about-panel,
.app-panel,
.spotlight,
.seo-copy {
    margin-top: 92px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 26px;
}

.section-heading h2,
.spotlight h2,
.ranking-intro h2,
.shelf-panel h2,
.about-panel h2,
.app-copy h2,
.seo-copy h2 {
    margin-bottom: 0;
    font-size: 31px;
    letter-spacing: -0.025em;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 96px;
    padding: 17px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 30, 57, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
    border-color: #ffb39c;
    transform: translateY(-3px);
}

.category-icon {
    display: grid;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    color: var(--orange-dark);
    background: #fff0ea;
    border-radius: 14px;
    font-size: 22px;
    place-items: center;
}

.category-card span:last-child {
    display: grid;
    gap: 2px;
}

.category-card strong {
    font-size: 15px;
}

.category-card small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.violet .category-icon,
.violet.channel-symbol {
    color: #7252c9;
    background: #f0edff;
}

.pink .category-icon,
.rose .category-icon {
    color: #dd4d74;
    background: #fff0f4;
}

.gold .category-icon {
    color: #a66b00;
    background: #fff7df;
}

.blue .category-icon {
    color: #3681b9;
    background: #edf8ff;
}

.green .category-icon {
    color: #228060;
    background: #eaf9f1;
}

.cyan .category-icon {
    color: #258ca0;
    background: #e9fbfc;
}

.comic-grid {
    display: grid;
    gap: 20px;
}

.four-column {
    grid-template-columns: repeat(4, 1fr);
}

.five-column {
    grid-template-columns: repeat(5, 1fr);
}

.comic-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: 0 9px 22px rgba(15, 30, 57, 0.04);
    transition: transform 0.2s ease;
}

.comic-card:hover {
    transform: translateY(-5px);
}

.cover-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    aspect-ratio: 0.72;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.comic-card:hover .cover-image {
    transform: scale(1.04);
}

.chapter-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 4px 9px;
    color: var(--white);
    background: rgba(16, 29, 53, 0.84);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.card-content {
    padding: 15px;
}

.card-type {
    margin-bottom: 5px;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 800;
}

.card-content h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.card-content h3 a:hover {
    color: var(--orange-dark);
}

.card-content p:last-child {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: var(--navy);
    border-radius: 24px;
}

.spotlight-image {
    min-height: 390px;
}

.wide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 58px;
    color: #dce6f5;
}

.spotlight-copy .eyebrow {
    color: #ff9e83;
}

.spotlight-copy h2 {
    color: var(--white);
}

.spotlight-copy p:not(.eyebrow) {
    margin-top: 20px;
    margin-bottom: 26px;
}

.ranking-board {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 60px;
    padding: 48px;
    background: #eaf1fb;
    border-radius: 24px;
}

.ranking-intro p:not(.eyebrow) {
    margin: 18px 0;
    color: var(--muted);
}

.rank-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rank-list li {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 13px;
    align-items: center;
    padding: 17px;
    background: var(--white);
    border-radius: 14px;
}

.rank-list li > span {
    color: var(--orange-dark);
    font-size: 20px;
    font-weight: 900;
}

.rank-list div {
    display: grid;
}

.rank-list small {
    color: var(--muted);
    font-size: 12px;
}

.rank-list em {
    color: #40516a;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.centered-heading {
    justify-content: center;
    text-align: center;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.path-grid a {
    display: grid;
    gap: 5px;
    padding: 26px;
    color: var(--white);
    background: linear-gradient(135deg, #314c75, #15243e);
    border-radius: 18px;
    transition: transform 0.2s ease;
}

.path-grid a:nth-child(2) {
    background: linear-gradient(135deg, #8d5b78, #4d2945);
}

.path-grid a:nth-child(3) {
    background: linear-gradient(135deg, #467d83, #21464f);
}

.path-grid a:hover {
    transform: translateY(-4px);
}

.path-grid span {
    color: #ffaf96;
    font-size: 25px;
}

.path-grid strong {
    font-size: 21px;
}

.path-grid small {
    color: #ced9eb;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.timeline-grid article {
    position: relative;
    padding: 21px 18px;
    background: var(--white);
    border-top: 3px solid var(--orange);
    border-radius: 0 0 14px 14px;
}

.timeline-grid time {
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 900;
}

.timeline-grid h3 {
    margin: 8px 0 5px;
    font-size: 17px;
}

.timeline-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.shelf-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;
    padding: 54px;
    background: #fff7f3;
    border: 1px solid #ffdfd4;
    border-radius: 23px;
}

.shelf-panel p:not(.eyebrow),
.about-panel p:not(.eyebrow) {
    margin-top: 18px;
    margin-bottom: 0;
    color: var(--muted);
}

.shelf-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.shelf-stats div {
    display: grid;
    gap: 3px;
    padding: 18px 12px;
    text-align: center;
    background: var(--white);
    border-radius: 13px;
}

.shelf-stats strong {
    color: var(--orange-dark);
    font-size: 29px;
    line-height: 1.1;
}

.shelf-stats span {
    color: var(--muted);
    font-size: 12px;
}

.about-panel {
    display: grid;
    grid-template-columns: 0.4fr 1fr;
    gap: 58px;
    align-items: center;
    padding: 52px 68px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
}

.about-stamp {
    display: grid;
    width: 180px;
    height: 180px;
    align-content: center;
    justify-content: center;
    color: var(--orange-dark);
    border: 2px dashed #ff9b7f;
    border-radius: 50%;
    text-align: center;
    transform: rotate(-8deg);
}

.about-stamp span {
    font-size: 36px;
    font-weight: 900;
}

.about-stamp small {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.app-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 47px 68px;
    color: var(--white);
    background: linear-gradient(130deg, #ff7953, #f45143);
    border-radius: 25px;
}

.app-copy {
    max-width: 670px;
}

.app-copy .eyebrow,
.app-copy p {
    color: #fff1ed;
}

.app-copy p:not(.eyebrow) {
    margin: 16px 0 23px;
}

.qr-card {
    display: grid;
    gap: 6px;
    min-width: 150px;
    padding: 15px;
    color: var(--ink);
    background: var(--white);
    border-radius: 16px;
    text-align: center;
}

.qr-grid {
    display: grid;
    width: 100px;
    height: 100px;
    margin: auto;
    background: repeating-linear-gradient(45deg, var(--navy) 0, var(--navy) 7px, var(--white) 7px, var(--white) 14px);
    place-items: center;
}

.qr-grid span {
    display: grid;
    width: 34px;
    height: 34px;
    color: var(--white);
    background: var(--orange);
    font-weight: 900;
    place-items: center;
}

.qr-card strong {
    font-size: 14px;
}

.qr-card small {
    color: var(--muted);
    font-size: 11px;
}

.site-footer {
    margin-top: 25px;
    padding: 25px 0 35px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: var(--muted);
    font-size: 13px;
}

.footer-inner p {
    margin: 0;
}

.footer-inner a {
    color: var(--orange-dark);
    font-weight: 800;
}

.inner-main,
.reader-main {
    padding-top: 22px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a {
    color: var(--orange-dark);
}

.channel-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
    padding: 46px 60px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 23px;
}

.channel-hero h1 {
    margin-bottom: 14px;
    font-size: 43px;
}

.channel-hero p:not(.eyebrow) {
    max-width: 700px;
    margin-bottom: 0;
    color: var(--muted);
}

.channel-symbol {
    display: grid;
    flex: 0 0 110px;
    width: 110px;
    height: 110px;
    color: var(--orange-dark);
    background: #fff0ea;
    border-radius: 30px;
    font-size: 50px;
    place-items: center;
}

.count-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.seo-copy {
    padding: 34px 42px;
    background: var(--white);
    border-left: 4px solid var(--orange);
    border-radius: 0 16px 16px 0;
}

.seo-copy p {
    margin: 15px 0 0;
    color: var(--muted);
}

.reader-header {
    margin-top: 22px;
    text-align: center;
}

.reader-header h1 {
    margin-bottom: 15px;
    font-size: clamp(30px, 4vw, 45px);
}

.reader-meta {
    display: flex;
    justify-content: center;
    gap: 18px;
    color: var(--muted);
    font-size: 13px;
}

.reader-intro {
    max-width: 740px;
    margin: 19px auto 0;
    color: var(--muted);
}

.reader-stage {
    max-width: 820px;
    margin-top: 42px;
}

.comic-panel {
    margin: 0 0 25px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.reader-image {
    width: 100%;
    aspect-ratio: 1.33;
    object-fit: cover;
}

.comic-panel figcaption {
    padding: 10px 15px;
    color: var(--muted);
    font-size: 12px;
}

.chapter-end {
    max-width: 820px;
    margin-top: 42px;
    padding: 40px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.chapter-end > span {
    color: var(--orange);
    font-size: 28px;
}

.chapter-end h2 {
    margin: 6px 0 9px;
    font-size: 26px;
}

.chapter-end p {
    margin-bottom: 23px;
    color: var(--muted);
}

.chapter-end .chapter-nav {
    justify-content: center;
}

@media (max-width: 1040px) {
    .header-inner {
        gap: 12px;
    }

    .primary-nav {
        overflow-x: auto;
    }

    .primary-nav ul {
        justify-content: flex-start;
        min-width: max-content;
    }

    .header-action {
        display: none;
    }

    .hero {
        gap: 35px;
        padding: 45px;
    }

    .five-column {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .page-shell {
        width: min(100% - 28px, 1200px);
    }

    .header-inner {
        min-height: 64px;
    }

    .brand-copy small {
        display: none;
    }

    .brand-copy strong {
        font-size: 16px;
    }

    .brand-mark {
        width: 33px;
        height: 33px;
        font-size: 18px;
    }

    .nav-link {
        padding: 7px 8px;
        font-size: 13px;
    }

    .nav-icon {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 26px;
        min-height: auto;
        margin-top: 25px;
        padding: 32px 24px;
        border-radius: 20px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-art {
        max-width: 380px;
        margin: auto;
    }

    .hero-note {
        right: -8px;
        bottom: 16px;
    }

    .quick-strip,
    .category-grid,
    .four-column,
    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-section,
    .ranking-board,
    .reading-path,
    .update-timeline,
    .shelf-panel,
    .about-panel,
    .app-panel,
    .spotlight,
    .seo-copy {
        margin-top: 62px;
    }

    .section-heading h2,
    .spotlight h2,
    .ranking-intro h2,
    .shelf-panel h2,
    .about-panel h2,
    .app-copy h2,
    .seo-copy h2 {
        font-size: 26px;
    }

    .section-heading {
        align-items: start;
    }

    .spotlight,
    .ranking-board,
    .shelf-panel,
    .about-panel {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .spotlight-image {
        min-height: 260px;
    }

    .spotlight-copy,
    .ranking-board,
    .shelf-panel,
    .about-panel,
    .app-panel {
        padding: 30px 24px;
    }

    .path-grid {
        grid-template-columns: 1fr;
    }

    .about-stamp {
        width: 130px;
        height: 130px;
    }

    .about-stamp span {
        font-size: 28px;
    }

    .app-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .channel-hero {
        padding: 30px 25px;
    }

    .channel-hero h1 {
        font-size: 35px;
    }

    .channel-symbol {
        flex-basis: 74px;
        width: 74px;
        height: 74px;
        border-radius: 22px;
        font-size: 34px;
    }

    .five-column {
        grid-template-columns: repeat(2, 1fr);
    }

    .reader-meta {
        flex-direction: column;
        gap: 3px;
    }

    .reader-stage {
        margin-top: 28px;
    }

    .chapter-end {
        padding: 30px 20px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .quick-strip,
    .category-grid,
    .four-column,
    .five-column,
    .timeline-grid,
    .shelf-stats {
        grid-template-columns: 1fr;
    }

    .section-heading {
        flex-direction: column;
    }

    .category-card {
        min-height: 78px;
    }
}
