:root {
    --ink: #25233a;
    --muted: #77758b;
    --pink: #ff6f91;
    --pink-soft: #fff0f4;
    --violet: #6760b8;
    --paper: #fffdfb;
    --line: #eeeaf0;
    --shadow: 0 16px 38px rgba(51, 42, 92, .09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fffafd;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

button {
    font: inherit;
}

.shell {
    width: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(238, 234, 240, .9);
    background: rgba(255, 253, 251, .94);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px 14px 14px 4px;
    color: #fff;
    background: linear-gradient(135deg, var(--pink), #f5a04e);
    font-size: 21px;
    font-weight: 800;
    box-shadow: 0 6px 15px rgba(255, 111, 145, .3);
}

.brand-copy {
    display: grid;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 19px;
    letter-spacing: .05em;
}

.brand-copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .12em;
}

.main-nav {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 6px;
    padding: 0 11px;
    border-radius: 10px;
    color: #5d5a70;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-current {
    color: var(--pink);
    background: var(--pink-soft);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
}

.hero {
    display: grid;
    min-height: 450px;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 60px;
    margin-top: 52px;
    padding: 44px 68px;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(120deg, #fff0f4, #f3f1ff 75%);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--pink);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.hero h1,
.channel-hero h1,
.reader-head h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.1;
    letter-spacing: .05em;
}

.hero h1 a:hover {
    color: var(--pink);
}

.hero-copy > p:not(.eyebrow) {
    max-width: 500px;
    margin: 22px 0 28px;
    color: #5d5a70;
    font-size: 17px;
}

.hero-actions,
.chapter-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.button {
    display: inline-flex;
    min-height: 47px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
}

.button.primary {
    color: #fff;
    background: var(--pink);
    box-shadow: 0 8px 18px rgba(255, 111, 145, .25);
}

.button.ghost {
    border-color: #dfd8e6;
    background: rgba(255, 255, 255, .65);
}

.button.dark {
    color: #fff;
    background: var(--ink);
}

.hero-art {
    position: relative;
}

.hero-art img {
    height: 330px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.float-note {
    position: absolute;
    right: -15px;
    bottom: 22px;
    padding: 12px 17px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    font-size: 14px;
}

.float-note strong {
    color: var(--pink);
    font-size: 20px;
}

.quick-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 26px;
}

.quick-strip a {
    padding: 15px 18px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #fff;
    font-weight: 700;
    transition: transform .2s ease;
}

.quick-strip a:hover,
.category-card:hover,
.topic-grid a:hover {
    transform: translateY(-3px);
}

.quick-strip span {
    margin-right: 9px;
    color: var(--pink);
}

.section-block {
    margin-top: 82px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.section-heading h2,
.spotlight h2,
.finished-copy h2,
.about-area h2,
.subscribe-box h2 {
    margin: 0;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.25;
}

.section-heading > a,
.finished-copy > a {
    color: var(--violet);
    font-size: 14px;
    font-weight: 800;
}

.centered {
    justify-content: center;
    text-align: center;
}

.story-grid {
    display: grid;
    gap: 20px;
}

.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.story-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.story-card:hover,
.channel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.cover {
    position: relative;
}

.cover img {
    aspect-ratio: 3 / 4;
}

.cover span {
    position: absolute;
    top: 11px;
    left: 11px;
    padding: 3px 9px;
    border-radius: 999px;
    color: #fff;
    background: rgba(37, 35, 58, .8);
    font-size: 12px;
}

.story-copy {
    padding: 15px;
}

.story-copy p,
.channel-card p {
    margin: 0;
    color: var(--pink);
    font-size: 12px;
    font-weight: 800;
}

.story-copy h3,
.channel-card h2 {
    margin: 5px 0;
    font-size: 18px;
}

.story-copy small,
.channel-card small {
    color: var(--muted);
    font-size: 12px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.category-card {
    display: flex;
    min-height: 137px;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    transition: transform .2s ease;
}

.category-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 14px;
    color: var(--violet);
    background: #f0efff;
    font-size: 20px;
}

.category-card > span:nth-child(2) {
    display: grid;
    gap: 3px;
}

.category-card small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.category-card b {
    margin-left: auto;
    color: var(--pink);
}

.spotlight {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 44px;
    align-items: center;
    padding: 36px;
    border-radius: 28px;
    color: #fff;
    background: #454070;
}

.spotlight-cover img {
    height: 330px;
    border-radius: 18px;
}

.spotlight-copy p:not(.eyebrow) {
    color: #dedbea;
}

.spotlight-copy ul {
    padding: 0;
    list-style: none;
    color: #dedbea;
}

.rank-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
}

.rank-panel,
.quote-panel {
    padding: 30px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
}

.section-heading.compact {
    margin-bottom: 12px;
}

.section-heading.compact h2 {
    font-size: 25px;
}

.rank-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rank-list li {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px dashed var(--line);
}

.rank-list b {
    color: var(--pink);
    font-size: 20px;
}

.rank-list a {
    font-weight: 800;
}

.rank-list span {
    color: var(--muted);
    font-size: 12px;
}

.quote-panel {
    background: linear-gradient(140deg, #fff1d8, #ffe5ec);
}

.quote-panel > span {
    color: var(--pink);
    font-family: Georgia, serif;
    font-size: 55px;
    line-height: 1;
}

.quote-panel p {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.6;
}

.quote-panel small {
    color: #806e75;
}

.wide-story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wide-story {
    position: relative;
    min-height: 245px;
    overflow: hidden;
    border-radius: 20px;
    background: #453d65;
}

.wide-story::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 65%;
    content: "";
    background: linear-gradient(transparent, rgba(25, 20, 48, .85));
}

.wide-story img {
    position: absolute;
    height: 100%;
}

.wide-story span {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 15px;
    left: 18px;
    display: grid;
    color: #fff;
}

.wide-story small {
    color: #e9e4ef;
}

.reading-guide {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--line);
}

.reading-guide > div {
    padding: 30px;
    background: #fff;
}

.reading-guide span {
    color: var(--pink);
    font-size: 13px;
    font-weight: 900;
}

.reading-guide h3 {
    margin: 7px 0;
    font-size: 22px;
}

.reading-guide p {
    margin: 0;
    color: var(--muted);
}

.finished-row {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.finished-copy p:not(.eyebrow) {
    color: var(--muted);
}

.mini-covers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mini-covers img {
    aspect-ratio: 3 / 4;
    border-radius: 16px;
}

.mini-covers a:nth-child(2) {
    transform: translateY(24px);
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.topic-grid a {
    display: grid;
    gap: 6px;
    padding: 23px;
    border-radius: 18px;
    color: #fff;
    background: #766cc1;
    transition: transform .2s ease;
}

.topic-grid a:nth-child(2) {
    background: #ee8e74;
}

.topic-grid a:nth-child(3) {
    background: #4e9ca0;
}

.topic-grid a:nth-child(4) {
    background: #d17fa4;
}

.topic-grid span {
    font-size: 25px;
}

.topic-grid small {
    color: rgba(255, 255, 255, .8);
    line-height: 1.45;
}

.about-area {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 44px;
    align-items: center;
    padding: 44px;
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--shadow);
}

.about-stamp {
    display: grid;
    width: 120px;
    height: 180px;
    place-items: center;
    border: 5px solid var(--pink);
    border-radius: 50%;
    color: var(--pink);
    font-size: 23px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: .18em;
}

.about-area p:not(.eyebrow) {
    color: var(--muted);
}

.subscribe-box {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 27px;
    align-items: center;
    margin-top: 82px;
    margin-bottom: 82px;
    padding: 31px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffe2ea, #e5e3ff);
}

.subscribe-box p:not(.eyebrow) {
    margin-bottom: 0;
    color: #625d78;
}

.qr-mark {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 110px;
    height: 110px;
    padding: 10px;
    border-radius: 16px;
    background: #fff;
}

.qr-mark span {
    display: grid;
    grid-row: span 2;
    place-items: center;
    border-radius: 7px;
    color: #fff;
    background: var(--pink);
    font-weight: 900;
}

.qr-mark i {
    border-radius: 3px;
    background: var(--ink);
}

.site-footer {
    padding: 46px 0 22px;
    color: #dcd8ee;
    background: #292641;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 50px;
}

.footer-brand {
    color: #fff;
    font-size: 23px;
    font-weight: 900;
}

.footer-grid h3 {
    margin-top: 0;
    color: #fff;
    font-size: 15px;
}

.footer-grid p,
.footer-grid a {
    display: block;
    margin: 5px 0;
    color: #bdb8d2;
    font-size: 14px;
}

.copyright {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid #494568;
    color: #a9a3c2;
    font-size: 12px;
}

.channel-page,
.reader {
    padding-top: 30px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--violet);
}

.channel-hero {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 24px;
    padding: 35px 42px;
    border-radius: 24px;
    background: linear-gradient(125deg, #ffe9ef, #efedff);
}

.channel-hero > span {
    display: grid;
    width: 84px;
    height: 84px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 26px;
    color: #fff;
    background: var(--pink);
    font-size: 35px;
}

.channel-hero h1 {
    font-size: 38px;
}

.channel-hero p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.channel-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 36px 0 22px;
}

.channel-toolbar p {
    margin: 0;
}

.channel-toolbar strong {
    color: var(--pink);
}

.channel-toolbar button {
    margin-left: 7px;
    padding: 7px 11px;
    border: 0;
    border-radius: 8px;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
}

.channel-toolbar .filter-active {
    color: var(--pink);
    background: var(--pink-soft);
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.channel-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.channel-card img {
    aspect-ratio: 3 / 4;
}

.channel-card > div {
    padding: 13px;
}

.channel-card h2 {
    line-height: 1.3;
}

.seo-copy {
    margin: 70px 0 80px;
    padding: 26px 32px;
    border-left: 4px solid var(--pink);
    background: #fff;
}

.seo-copy h2 {
    margin-top: 0;
    font-size: 22px;
}

.seo-copy p {
    margin-bottom: 0;
    color: var(--muted);
}

.reader {
    max-width: 900px;
}

.reader-head {
    padding: 28px 0 20px;
    text-align: center;
}

.reader-head > p {
    margin: 0 0 8px;
    color: var(--pink);
    font-weight: 800;
}

.reader-head h1 {
    font-size: clamp(33px, 5vw, 46px);
}

.reader-head div {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 13px;
}

.reading-note {
    margin: 18px 0;
    padding: 17px 20px;
    border-radius: 12px;
    background: #fff5e5;
    color: #765c38;
}

.reading-note p {
    margin: 4px 0 0;
    font-size: 14px;
}

.chapter-nav {
    justify-content: space-between;
    padding: 14px 0;
    color: var(--violet);
    font-size: 14px;
    font-weight: 800;
}

.chapter-nav span {
    color: var(--muted);
}

.comic-pages {
    display: grid;
    gap: 18px;
}

.comic-pages figure {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f0eef3;
}

.comic-pages img {
    min-height: 360px;
    max-height: 760px;
}

.comic-pages figcaption {
    padding: 7px 12px;
    color: var(--muted);
    background: #fff;
    font-size: 12px;
}

.chapter-end {
    margin: 35px 0 20px;
    text-align: center;
}

.chapter-end span {
    color: var(--pink);
    font-size: 30px;
}

.chapter-end h2 {
    margin: 0;
    font-size: 25px;
}

.chapter-end p {
    margin: 5px 0;
    color: var(--muted);
}

.chapter-nav.bottom {
    justify-content: center;
    margin: 24px 0 72px;
}

@media (max-width: 900px) {
    .main-nav {
        display: none;
    }

    .main-nav.is-open {
        position: absolute;
        top: 78px;
        right: 20px;
        left: 20px;
        display: grid;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 16px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    .menu-toggle {
        display: grid;
        gap: 4px;
        padding: 10px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 23px;
        height: 2px;
        background: var(--ink);
    }

    .hero {
        gap: 30px;
        padding: 38px;
    }

    .category-grid,
    .topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .channel-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 650px) {
    .shell {
        width: min(100% - 28px, 1200px);
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-mark {
        width: 37px;
        height: 37px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        margin-top: 28px;
        padding: 30px 22px;
        border-radius: 22px;
    }

    .hero-art img {
        height: 240px;
    }

    .quick-strip,
    .four-col,
    .wide-story-grid,
    .reading-guide,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-block {
        margin-top: 56px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .category-grid,
    .topic-grid {
        gap: 11px;
    }

    .category-card {
        min-height: 125px;
        padding: 13px;
    }

    .category-card b {
        display: none;
    }

    .spotlight,
    .rank-layout,
    .finished-row,
    .about-area,
    .subscribe-box {
        grid-template-columns: 1fr;
    }

    .spotlight {
        gap: 25px;
        padding: 22px;
    }

    .spotlight-cover img {
        height: 260px;
    }

    .rank-layout {
        gap: 14px;
    }

    .rank-panel,
    .quote-panel,
    .about-area {
        padding: 23px;
    }

    .wide-story-grid {
        grid-template-columns: 1fr;
    }

    .wide-story {
        min-height: 210px;
    }

    .reading-guide {
        grid-template-columns: 1fr;
    }

    .mini-covers {
        padding-bottom: 22px;
    }

    .channel-hero {
        align-items: start;
        padding: 25px;
    }

    .channel-hero > span {
        width: 55px;
        height: 55px;
        border-radius: 17px;
        font-size: 23px;
    }

    .channel-hero h1 {
        font-size: 31px;
    }

    .channel-toolbar {
        align-items: start;
        flex-direction: column;
    }

    .channel-toolbar button {
        margin: 0 7px 0 0;
    }

    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .reader-head div {
        flex-direction: column;
        gap: 3px;
    }

    .chapter-nav.top {
        font-size: 12px;
    }

    .comic-pages img {
        min-height: 250px;
    }

    .footer-grid {
        gap: 25px;
    }
}
