:root {
    --ink: #201a24;
    --muted: #726a77;
    --paper: #fffaf7;
    --white: #ffffff;
    --rose: #ff5c7a;
    --rose-dark: #e23d60;
    --pink: #ffe5eb;
    --violet: #7b61c9;
    --yellow: #ffd66b;
    --line: #eadfe3;
    --shadow: 0 18px 50px rgba(69, 38, 53, 0.12);
    --radius: 24px;
    --shell: min(1180px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

body.reader-soft {
    --paper: #f4efe6;
    --white: #fbf7ef;
}

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

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

button {
    font: inherit;
}

.site-shell {
    width: var(--shell);
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    background: rgba(255, 250, 247, 0.93);
    border-bottom: 1px solid rgba(234, 223, 227, 0.8);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 210px;
    height: auto;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    display: flex;
    min-width: 64px;
    padding: 9px 10px;
    align-items: center;
    border-radius: 14px;
    color: var(--muted);
    flex-direction: column;
    font-size: 12px;
    line-height: 1.25;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--rose-dark);
    background: var(--pink);
}

.nav-icon {
    font-size: 18px;
    font-weight: 800;
}

.menu-button {
    display: none;
    padding: 9px 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--ink);
    background: var(--white);
    gap: 8px;
}

.hero {
    display: grid;
    min-height: 610px;
    margin-top: 48px;
    padding: 64px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 36px;
    background: radial-gradient(circle at 20% 15%, #fff 0, #fff 20%, transparent 45%), linear-gradient(135deg, #fff1f4, #f1eaff);
    box-shadow: var(--shadow);
    gap: 60px;
    grid-template-columns: 1.05fr 0.95fr;
}

.hero-kicker,
.eyebrow {
    color: var(--rose-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 16px 0 20px;
    font-size: clamp(52px, 8vw, 92px);
    letter-spacing: -0.08em;
    line-height: 1;
}

.hero h1 a {
    background: linear-gradient(90deg, var(--rose-dark), var(--violet));
    background-clip: text;
    color: transparent;
}

.hero-copy > p {
    max-width: 570px;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions,
.subscribe-actions {
    display: flex;
    margin-top: 30px;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 800;
}

.button-primary {
    color: var(--white);
    background: var(--rose);
    box-shadow: 0 12px 24px rgba(255, 92, 122, 0.28);
}

.button-ghost {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
}

.button-dark {
    color: var(--white);
    background: var(--ink);
}

.button-light {
    color: var(--ink);
    background: var(--white);
}

.hero-points {
    display: flex;
    margin: 28px 0 0;
    padding: 0;
    color: var(--muted);
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
}

.hero-points li::before {
    margin-right: 7px;
    color: var(--rose);
    content: "●";
}

.hero-art {
    position: relative;
    min-width: 0;
}

.hero-poster {
    overflow: hidden;
    border: 10px solid var(--white);
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(56, 35, 82, 0.2);
    transform: rotate(3deg);
}

.hero-poster img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.hero-note {
    position: absolute;
    right: -24px;
    bottom: 26px;
    display: flex;
    padding: 17px 20px;
    border-radius: 18px;
    background: var(--yellow);
    box-shadow: var(--shadow);
    flex-direction: column;
    transform: rotate(-3deg);
}

.hero-note span {
    font-size: 12px;
}

.ticker {
    display: grid;
    margin-top: 28px;
    padding: 20px 24px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    gap: 18px;
    grid-template-columns: auto 1fr auto;
}

.ticker strong {
    color: var(--rose-dark);
}

.ticker p {
    margin: 0;
    color: var(--muted);
}

.ticker a,
.text-link {
    color: var(--rose-dark);
    font-weight: 800;
}

.section-block {
    margin-top: 110px;
    margin-bottom: 110px;
}

.section-heading {
    display: flex;
    margin-bottom: 36px;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading h2,
.feature-copy h2,
.mood-intro h2,
.about-copy h2,
.subscribe-copy h2 {
    margin: 8px 0 8px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
}

.section-heading p,
.mood-intro p,
.about-copy p,
.subscribe-copy p {
    margin: 0;
    color: var(--muted);
}

.centered-heading {
    justify-content: center;
    text-align: center;
}

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

.book-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: 0.25s ease;
}

.book-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.cover-link img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.card-body {
    padding: 24px;
}

.card-body h3 {
    margin: 7px 0;
    font-size: 22px;
}

.card-body p {
    margin: 0;
    color: var(--muted);
}

.feature-split {
    display: grid;
    overflow: hidden;
    border-radius: 32px;
    background: #f5dfe5;
    grid-template-columns: 1fr 1fr;
}

.feature-image img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.feature-copy {
    padding: 70px;
    align-self: center;
}

.feature-copy > p {
    color: #5d5157;
}

.feature-meta {
    display: grid;
    margin: 28px 0;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
}

.feature-meta div {
    padding-top: 14px;
    border-top: 1px solid rgba(32, 26, 36, 0.16);
}

.feature-meta dt {
    color: var(--muted);
    font-size: 12px;
}

.feature-meta dd {
    margin: 2px 0 0;
    font-weight: 800;
}

.wide-band {
    padding: 100px 0;
    color: var(--white);
    background: #231d2b;
}

.heading-light p,
.heading-light .text-link {
    color: #c9bfce;
}

.rank-list {
    border-top: 1px solid #4c4352;
}

.rank-list > a {
    display: grid;
    padding: 22px 0;
    align-items: center;
    border-bottom: 1px solid #4c4352;
    gap: 22px;
    grid-template-columns: 62px 72px 1fr auto;
}

.rank-number {
    color: var(--rose);
    font-size: 28px;
    font-weight: 900;
}

.rank-list img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
}

.rank-copy {
    display: flex;
    flex-direction: column;
}

.rank-copy strong {
    font-size: 20px;
}

.rank-copy small {
    color: #a99dac;
}

.rank-arrow {
    font-size: 24px;
}

.category-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, 1fr);
}

.category-card {
    display: grid;
    padding: 26px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    gap: 18px;
    grid-template-columns: 58px 1fr auto;
}

.category-card:hover {
    border-color: var(--rose);
}

.category-icon,
.page-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: var(--rose-dark);
    background: var(--pink);
    font-size: 25px;
    font-weight: 900;
}

.category-card strong,
.category-card small {
    display: block;
}

.category-card strong {
    font-size: 19px;
}

.category-card small {
    color: var(--muted);
}

.arrow {
    font-size: 22px;
}

.mood-section {
    display: grid;
    padding: 58px;
    border-radius: 32px;
    background: #ffe8b8;
    gap: 50px;
    grid-template-columns: 0.8fr 1.2fr;
}

.mood-options {
    display: grid;
    gap: 12px;
}

.mood-options a {
    display: grid;
    padding: 18px 22px;
    align-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    gap: 18px;
    grid-template-columns: 42px 1fr auto;
}

.mood-options span {
    color: var(--rose-dark);
    font-weight: 900;
}

.mood-options small {
    color: var(--muted);
}

.story-strip {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, 1fr);
}

.story-strip a {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    border-radius: 24px;
}

.story-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-strip a:hover img {
    transform: scale(1.04);
}

.story-strip span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    padding: 16px;
    border-radius: 16px;
    color: var(--white);
    background: rgba(32, 26, 36, 0.78);
    flex-direction: column;
}

.shelf-demo {
    display: grid;
    padding: 64px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: var(--white);
    gap: 60px;
    grid-template-columns: 0.9fr 1.1fr;
}

.shelf-copy ul {
    padding-left: 20px;
    color: var(--muted);
}

.shelf-item {
    display: grid;
    padding: 14px 0;
    align-items: center;
    border-bottom: 1px solid var(--line);
    gap: 18px;
    grid-template-columns: 72px 1fr;
}

.shelf-item img {
    width: 72px;
    height: 92px;
    border-radius: 12px;
    object-fit: cover;
}

.shelf-item span {
    display: flex;
    flex-direction: column;
}

.shelf-item small {
    color: var(--muted);
}

.shelf-item i {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 6px;
    margin-top: 10px;
    border-radius: 99px;
    background: var(--pink);
}

.shelf-item i::after {
    display: block;
    width: var(--progress);
    height: 100%;
    border-radius: inherit;
    background: var(--rose);
    content: "";
}

.update-timeline {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(7, 1fr);
}

.update-timeline a {
    display: flex;
    min-height: 190px;
    padding: 22px 16px;
    border: 1px solid var(--line);
    background: var(--white);
    flex-direction: column;
    justify-content: space-between;
}

.update-timeline a:first-child {
    border-radius: 20px 0 0 20px;
}

.update-timeline a:last-child {
    border-radius: 0 20px 20px 0;
}

.update-timeline span {
    color: var(--rose-dark);
    font-weight: 800;
}

.update-timeline small {
    color: var(--muted);
}

.about-section {
    display: grid;
    padding: 70px;
    align-items: center;
    border-radius: 32px;
    color: var(--white);
    background: var(--violet);
    gap: 45px;
    grid-template-columns: auto 1fr 0.7fr;
}

.about-mark {
    display: grid;
    width: 110px;
    height: 110px;
    place-items: center;
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    font-size: 34px;
    font-weight: 900;
    transform: rotate(-6deg);
}

.about-section .eyebrow,
.about-section p {
    color: #eee9ff;
}

.about-numbers {
    display: grid;
    gap: 16px;
}

.about-numbers div {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.about-numbers strong,
.about-numbers span {
    display: block;
}

.about-numbers strong {
    font-size: 26px;
}

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

.review-grid blockquote {
    margin: 0;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--white);
}

.review-grid p {
    margin-top: 0;
    font-size: 18px;
}

.review-grid cite {
    color: var(--muted);
    font-style: normal;
}

.subscribe-section {
    display: grid;
    padding: 70px;
    align-items: center;
    border-radius: 32px;
    color: var(--white);
    background: linear-gradient(135deg, #e13e63, #8a55c8);
    gap: 50px;
    grid-template-columns: 1fr auto;
}

.subscribe-section .eyebrow,
.subscribe-section p,
.subscribe-status {
    color: #fff0f4;
}

.qr-card {
    display: flex;
    padding: 18px;
    align-items: center;
    border-radius: 24px;
    color: var(--ink);
    background: var(--white);
    flex-direction: column;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.qr-card img {
    width: 160px;
    height: 160px;
}

.site-footer {
    padding: 70px 0 20px;
    color: #d8cedb;
    background: #1b171f;
}

.footer-grid {
    display: grid;
    gap: 70px;
    grid-template-columns: 2fr 1fr 1fr;
}

.footer-grid img {
    width: 210px;
}

.footer-grid h2 {
    margin-top: 0;
    color: var(--white);
    font-size: 16px;
}

.footer-grid a {
    display: block;
    margin: 8px 0;
}

.copyright {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #3d3541;
    font-size: 13px;
}

.page-hero {
    margin-top: 48px;
    padding: 46px 54px;
    border-radius: 30px;
    background: linear-gradient(130deg, #ffe8ee, #eee8ff);
}

.breadcrumb {
    display: flex;
    margin-bottom: 28px;
    color: var(--muted);
    flex-wrap: wrap;
    gap: 9px;
    font-size: 14px;
}

.breadcrumb a:hover {
    color: var(--rose-dark);
}

.page-hero-grid {
    display: grid;
    align-items: end;
    gap: 40px;
    grid-template-columns: 1fr auto;
}

.page-hero h1 {
    margin: 16px 0 8px;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.1;
}

.page-hero p {
    max-width: 720px;
    color: var(--muted);
}

.page-hero-stat {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.page-hero-stat strong {
    color: var(--rose-dark);
    font-size: 54px;
    line-height: 1;
}

.category-list {
    display: grid;
    gap: 28px;
}

.category-list article {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--white);
    grid-template-columns: 300px 1fr;
}

.category-cover {
    position: relative;
}

.category-cover img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.category-cover > span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 6px 12px;
    border-radius: 99px;
    color: var(--white);
    background: rgba(32, 26, 36, 0.8);
}

.category-list article > div {
    padding: 42px;
    align-self: center;
}

.category-list h2 {
    margin: 8px 0;
    font-size: 30px;
}

.category-list p {
    color: var(--muted);
}

.category-list ul {
    display: flex;
    margin: 18px 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 9px;
    list-style: none;
}

.category-list li {
    padding: 5px 11px;
    border-radius: 99px;
    color: var(--violet);
    background: #eee8ff;
    font-size: 12px;
    font-weight: 800;
}

.seo-note {
    padding: 40px;
    border-left: 5px solid var(--rose);
    border-radius: 0 24px 24px 0;
    background: var(--white);
}

.seo-note p {
    margin-bottom: 0;
    color: var(--muted);
}

.reader-page {
    max-width: 980px;
    margin-top: 48px;
}

.reader-header {
    padding: 38px 0 28px;
    text-align: center;
}

.reader-header h1 {
    margin: 10px 0;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.2;
}

.reader-meta {
    display: flex;
    margin-top: 20px;
    color: var(--muted);
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
}

.reading-note {
    display: grid;
    margin: 32px 0 42px;
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    gap: 18px;
    grid-template-columns: auto 1fr;
}

.reading-note > span {
    color: var(--rose);
    font-size: 28px;
}

.reading-note h2,
.reading-note p {
    margin: 0;
}

.reading-note h2 {
    font-size: 17px;
}

.reading-note p {
    color: var(--muted);
}

.comic-chapter {
    display: grid;
    gap: 46px;
}

.comic-chapter figure {
    overflow: hidden;
    margin: 0;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.comic-chapter img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.comic-chapter figcaption {
    padding: 26px 30px 30px;
}

.comic-chapter figcaption span {
    color: var(--rose-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.comic-chapter figcaption p {
    margin-bottom: 0;
    font-size: 17px;
}

.chapter-end {
    margin: 70px 0 42px;
    padding: 60px 30px;
    border-radius: 28px;
    color: var(--white);
    background: var(--ink);
    text-align: center;
}

.chapter-end span {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.chapter-end h2 {
    margin: 10px 0;
    font-size: 32px;
}

.chapter-end p {
    margin: 0;
    color: #cfc4d3;
}

.chapter-nav {
    display: grid;
    margin-bottom: 110px;
    align-items: stretch;
    gap: 16px;
    grid-template-columns: 1fr auto 1fr;
}

.chapter-nav > a {
    display: flex;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    flex-direction: column;
}

.chapter-nav > a:last-child {
    text-align: right;
}

.chapter-nav span {
    color: var(--muted);
    font-size: 12px;
}

.chapter-nav .back-category {
    align-items: center;
    justify-content: center;
    color: var(--rose-dark);
    font-weight: 800;
}

.theme-toggle {
    position: fixed;
    z-index: 10;
    right: 22px;
    bottom: 22px;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: var(--ink);
    box-shadow: var(--shadow);
    cursor: pointer;
}

@media (max-width: 1060px) {
    .header-inner {
        position: relative;
    }

    .menu-button {
        display: inline-flex;
    }

    .primary-nav {
        position: absolute;
        top: 74px;
        right: 0;
        left: 0;
        display: none;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: var(--white);
        box-shadow: var(--shadow);
        grid-template-columns: repeat(4, 1fr);
    }

    .primary-nav.is-open {
        display: grid;
    }

    .hero {
        padding: 50px;
        gap: 35px;
    }

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

    .feature-copy {
        padding: 45px;
    }

    .story-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .update-timeline {
        grid-template-columns: repeat(4, 1fr);
    }

    .update-timeline a,
    .update-timeline a:first-child,
    .update-timeline a:last-child {
        border-radius: 16px;
    }

    .about-section {
        grid-template-columns: auto 1fr;
    }

    .about-numbers {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    :root {
        --shell: min(100% - 24px, 1180px);
    }

    .header-inner {
        min-height: 70px;
    }

    .brand img {
        width: 172px;
    }

    .primary-nav {
        top: 64px;
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        min-height: 0;
        margin-top: 28px;
        padding: 34px 24px;
        border-radius: 26px;
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-note {
        right: 8px;
    }

    .ticker {
        grid-template-columns: 1fr;
    }

    .section-block {
        margin-top: 72px;
        margin-bottom: 72px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .book-grid,
    .category-grid,
    .review-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-split,
    .mood-section,
    .shelf-demo,
    .about-section,
    .subscribe-section {
        grid-template-columns: 1fr;
    }

    .feature-copy,
    .mood-section,
    .shelf-demo,
    .about-section,
    .subscribe-section {
        padding: 34px 24px;
    }

    .feature-image img {
        min-height: 320px;
    }

    .rank-list > a {
        gap: 12px;
        grid-template-columns: 42px 58px 1fr;
    }

    .rank-list img {
        width: 58px;
        height: 58px;
    }

    .rank-arrow {
        display: none;
    }

    .category-card {
        padding: 20px;
    }

    .mood-options a {
        align-items: start;
        grid-template-columns: 34px 1fr;
    }

    .mood-options small {
        grid-column: 2;
    }

    .story-strip,
    .update-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-mark {
        width: 80px;
        height: 80px;
    }

    .about-numbers {
        grid-template-columns: 1fr;
    }

    .qr-card {
        justify-self: center;
    }

    .page-hero {
        margin-top: 28px;
        padding: 32px 24px;
    }

    .page-hero-grid,
    .category-list article {
        grid-template-columns: 1fr;
    }

    .page-hero-stat {
        text-align: left;
    }

    .category-cover img {
        min-height: 280px;
        aspect-ratio: 4 / 3;
    }

    .category-list article > div {
        padding: 28px 24px;
    }

    .reader-meta {
        align-items: center;
        flex-direction: column;
        gap: 4px;
    }

    .comic-chapter {
        gap: 28px;
    }

    .comic-chapter figcaption {
        padding: 20px;
    }

    .chapter-nav {
        grid-template-columns: 1fr 1fr;
    }

    .chapter-nav .back-category {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 430px) {
    .book-grid,
    .story-strip,
    .update-timeline {
        grid-template-columns: 1fr;
    }

    .hero-actions .button {
        width: 100%;
    }

    .feature-meta {
        grid-template-columns: 1fr;
    }

    .category-card {
        grid-template-columns: 48px 1fr;
    }

    .category-card .arrow {
        display: none;
    }

    .category-icon {
        width: 48px;
        height: 48px;
    }
}