:root {
    --yellow: #ffd84d;
    --yellow-strong: #ffbf1c;
    --ink: #171711;
    --muted: #6b6a60;
    --cream: #fffdf5;
    --paper: #ffffff;
    --line: #e9e4d5;
    --soft: #f7f3e6;
    --radius: 22px;
    --shadow: 0 16px 40px rgba(30, 27, 15, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(23, 23, 17, 0.08);
    background: rgba(255, 253, 245, 0.94);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 15px;
    background: var(--yellow);
    box-shadow: 4px 4px 0 var(--ink);
    font-size: 1.55rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 9px;
    border-radius: 12px;
    color: #4f4e45;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink);
    background: var(--yellow);
}

.nav-icon {
    font-size: 1rem;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid var(--ink);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
}

.hero {
    display: grid;
    min-height: 590px;
    margin-top: 42px;
    padding: 58px;
    align-items: center;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 55px;
    border: 2px solid var(--ink);
    border-radius: 34px;
    background: linear-gradient(135deg, #fff8cd 0%, #ffd84d 100%);
    box-shadow: 10px 10px 0 var(--ink);
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    color: #796000;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 12px 0 16px;
    font-size: clamp(3.4rem, 8vw, 6.6rem);
    line-height: 0.98;
    letter-spacing: -0.09em;
}

.hero-copy > p {
    max-width: 570px;
    margin: 0;
    color: #4f451e;
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 2px solid var(--ink);
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
}

.button.primary,
.button.dark {
    color: #ffffff;
    background: var(--ink);
    box-shadow: 4px 4px 0 rgba(23, 23, 17, 0.25);
}

.button.secondary {
    background: rgba(255, 255, 255, 0.65);
}

.button.yellow {
    background: var(--yellow);
}

.hero-metrics {
    display: flex;
    margin-top: 34px;
    gap: 28px;
}

.hero-metrics div {
    display: flex;
    flex-direction: column;
}

.hero-metrics strong {
    font-size: 1.35rem;
}

.hero-metrics span {
    color: #6a5b25;
    font-size: 0.82rem;
}

.hero-art {
    position: relative;
    min-height: 440px;
}

.main-panel {
    position: absolute;
    inset: 16px 32px 18px 15px;
    overflow: hidden;
    transform: rotate(2.5deg);
    border: 3px solid var(--ink);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: 12px 12px 0 rgba(23, 23, 17, 0.85);
}

.main-panel img {
    height: 100%;
}

.speech-bubble {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 12px 18px;
    border: 2px solid var(--ink);
    border-radius: 20px 20px 20px 3px;
    background: var(--paper);
    font-weight: 900;
}

.banana-sticker {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    transform: rotate(-10deg);
    border: 3px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
    font-size: 3.5rem;
}

.section {
    margin-top: 96px;
    margin-bottom: 96px;
}

.section-heading {
    display: flex;
    margin-bottom: 30px;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading.compact {
    margin-bottom: 18px;
}

.section-heading.centered {
    justify-content: center;
    text-align: center;
}

.section-heading h2,
.experience h2,
.faq-layout h2,
.about-layout h2,
.app-section h2,
.seo-copy h2 {
    margin: 5px 0 4px;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.section-heading p,
.experience p,
.faq-layout > div > p {
    margin: 4px 0 0;
    color: var(--muted);
}

.text-link {
    color: #6f5700;
    font-weight: 900;
    white-space: nowrap;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill-row a {
    padding: 11px 17px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    font-weight: 800;
    box-shadow: 0 7px 20px rgba(30, 27, 15, 0.05);
}

.pill-row a:hover {
    border-color: var(--yellow-strong);
    background: #fff8d6;
}

.comic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.comic-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 10px 30px rgba(30, 27, 15, 0.06);
}

.cover-link img {
    aspect-ratio: 4 / 5;
    transition: transform 0.35s ease;
}

.comic-card:hover img {
    transform: scale(1.035);
}

.card-body {
    padding: 18px;
}

.tag {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    color: #675100;
    background: #fff2b8;
    font-size: 0.78rem;
    font-weight: 900;
}

.tag.hot {
    color: #9b251b;
    background: #ffe2dc;
}

.card-body h3,
.landscape-card h3,
.editorial-layout h3,
.category-card h3,
.list-content h2 {
    margin: 10px 0 4px;
    line-height: 1.35;
}

.card-body p,
.landscape-card p,
.category-card p,
.list-content p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.dark-section {
    padding: 78px 0;
    color: #ffffff;
    background: var(--ink);
}

.ranking-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.section-kicker.light {
    color: var(--yellow);
}

.ranking-feature h2 {
    margin: 10px 0;
    font-size: 3.2rem;
    line-height: 1.05;
}

.ranking-feature p {
    max-width: 450px;
    color: #c8c5b8;
}

.ranking-feature .button {
    margin-top: 20px;
}

.ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-list li {
    display: grid;
    padding: 15px 0;
    align-items: center;
    grid-template-columns: 48px 1fr 30px;
    gap: 10px;
    border-bottom: 1px solid #3a3931;
}

.rank-number {
    color: var(--yellow);
    font-size: 1.2rem;
    font-weight: 900;
}

.ranking-list a {
    font-size: 1.08rem;
    font-weight: 800;
}

.trend {
    color: #a9d991;
}

.landscape-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.landscape-card {
    display: grid;
    overflow: hidden;
    grid-template-columns: 42% 58%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.landscape-card img {
    height: 100%;
    min-height: 210px;
    aspect-ratio: 4 / 3;
}

.landscape-card > div {
    padding: 24px;
}

.landscape-card span,
.editorial-layout span {
    color: #806400;
    font-size: 0.8rem;
    font-weight: 900;
}

.editorial-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 24px;
}

.editorial-main {
    position: relative;
    min-height: 480px;
    overflow: hidden;
    border-radius: 28px;
}

.editorial-main img {
    height: 100%;
    min-height: 480px;
}

.editorial-main::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(transparent 35%, rgba(0, 0, 0, 0.9));
}

.editorial-main > div {
    position: absolute;
    right: 32px;
    bottom: 28px;
    left: 32px;
    z-index: 2;
    color: #ffffff;
}

.editorial-main span {
    color: var(--yellow);
}

.editorial-main h3 {
    font-size: 2rem;
}

.editorial-side {
    display: grid;
    gap: 24px;
}

.editorial-side a {
    display: flex;
    padding: 30px;
    flex-direction: column;
    justify-content: end;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
}

.editorial-side a:first-child {
    background: #fff0ed;
}

.editorial-side a:last-child {
    background: #edf5ff;
}

.soft-section {
    padding: 70px 0;
    background: var(--soft);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.schedule-grid div {
    display: flex;
    min-height: 130px;
    padding: 18px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
}

.schedule-grid strong {
    color: #7a6000;
}

.schedule-grid span {
    font-weight: 800;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.category-card {
    display: flex;
    min-height: 270px;
    padding: 25px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 16px;
    background: var(--yellow);
    font-size: 1.4rem;
}

.category-card strong {
    margin-top: auto;
    color: #6f5700;
    font-size: 0.88rem;
}

.experience {
    display: grid;
    padding: 52px;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
    border-radius: 30px;
    background: #fff4bf;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.steps div {
    padding: 24px;
    border: 1px solid rgba(23, 23, 17, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
}

.steps span {
    font-size: 1.4rem;
    font-weight: 900;
}

.steps h3 {
    margin: 26px 0 3px;
}

.steps p {
    font-size: 0.9rem;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.quote-grid blockquote {
    margin: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
}

.quote-grid p {
    margin-top: 0;
    font-size: 1.06rem;
}

.quote-grid footer {
    color: var(--muted);
    font-size: 0.85rem;
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 60px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
}

.faq-list summary {
    font-weight: 900;
    cursor: pointer;
}

.faq-list p {
    margin: 10px 0 0;
    color: var(--muted);
}

.about-section {
    padding: 78px 0;
    color: #ffffff;
    background: #2b3a2a;
}

.about-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 55px;
    align-items: center;
}

.about-mark {
    display: grid;
    height: 250px;
    place-items: center;
    transform: rotate(-4deg);
    border: 3px solid #ffffff;
    border-radius: 60px 20px 60px 20px;
    background: var(--yellow);
    font-size: 7rem;
    box-shadow: 12px 12px 0 rgba(255, 255, 255, 0.2);
}

.about-layout p {
    color: #e1e8dc;
}

.about-points {
    display: flex;
    margin-top: 22px;
    flex-wrap: wrap;
    gap: 10px;
}

.about-points span {
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
}

.app-section {
    display: grid;
    padding: 54px;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
    align-items: center;
    border: 2px solid var(--ink);
    border-radius: 30px;
    background: var(--yellow);
    box-shadow: 8px 8px 0 var(--ink);
}

.app-copy > p {
    max-width: 690px;
}

.app-copy small {
    display: block;
    margin-top: 12px;
    color: #66551e;
}

.qr-placeholder {
    padding: 22px;
    border: 2px solid var(--ink);
    border-radius: 22px;
    background: var(--paper);
    text-align: center;
}

.qr-grid {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    margin-bottom: 12px;
    border: 12px dashed var(--ink);
    background: repeating-linear-gradient(45deg, #ffffff, #ffffff 8px, #171711 8px, #171711 16px);
}

.qr-grid span {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border: 5px solid var(--ink);
    border-radius: 18px;
    background: var(--yellow);
    font-size: 3rem;
}

.qr-placeholder p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.site-footer {
    padding-top: 58px;
    color: #d3d1c8;
    background: var(--ink);
}

.footer-grid {
    display: grid;
    padding-bottom: 40px;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 35px;
}

.footer-brand {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 900;
}

.footer-grid h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
}

.footer-grid p {
    margin: 8px 0 0;
    font-size: 0.88rem;
}

.copyright {
    padding: 20px 0;
    border-top: 1px solid #333229;
    font-size: 0.8rem;
}

.copyright p {
    margin: 0;
}

.breadcrumb {
    display: flex;
    margin-top: 36px;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #705900;
    font-weight: 800;
}

.category-hero {
    display: grid;
    margin-top: 28px;
    padding: 48px;
    grid-template-columns: 125px 1fr;
    gap: 34px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: linear-gradient(120deg, #fff4b7, #ffffff);
}

.category-hero-icon {
    display: grid;
    width: 125px;
    height: 125px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 34px;
    background: var(--yellow);
    box-shadow: 6px 6px 0 var(--ink);
    font-size: 3.5rem;
}

.category-hero h1 {
    margin: 5px 0 7px;
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 1.05;
}

.category-hero p {
    max-width: 800px;
    margin: 0;
    color: var(--muted);
}

.result-count {
    color: var(--muted);
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.list-card {
    display: grid;
    overflow: hidden;
    grid-template-columns: 210px 1fr;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
}

.list-cover img {
    height: 100%;
    min-height: 320px;
    aspect-ratio: 4 / 5;
}

.list-content {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
}

.list-content h2 {
    font-size: 1.35rem;
}

.list-meta {
    display: flex;
    margin: 18px 0;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--muted);
    font-size: 0.82rem;
}

.list-content .text-link {
    margin-top: auto;
}

.seo-copy {
    padding: 38px;
    border-left: 6px solid var(--yellow-strong);
    border-radius: 0 22px 22px 0;
    background: var(--soft);
}

.seo-copy p {
    margin-bottom: 0;
    color: var(--muted);
}

.reader {
    max-width: 980px;
    padding-bottom: 95px;
}

.reader-header {
    padding: 45px 0 30px;
    text-align: center;
}

.reader-header h1 {
    margin: 14px 0 12px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
}

.reader-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    color: var(--muted);
    font-size: 0.88rem;
}

.reading-note {
    margin-bottom: 38px;
    padding: 24px 28px;
    border: 1px solid #eed77f;
    border-radius: 18px;
    background: #fff9dc;
}

.reading-note h2 {
    margin: 0 0 5px;
    font-size: 1.15rem;
}

.reading-note p {
    margin: 0;
    color: #62592f;
}

.chapter-content > h2 {
    margin-bottom: 4px;
    text-align: center;
}

.chapter-intro {
    max-width: 760px;
    margin: 0 auto 28px;
    color: var(--muted);
    text-align: center;
}

.reader-stack {
    display: grid;
    gap: 28px;
}

.reader-panel {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.reader-panel img {
    aspect-ratio: 4 / 5;
    background: var(--soft);
}

.reader-panel figcaption {
    padding: 12px 18px;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: center;
}

.chapter-end {
    margin-top: 55px;
    padding: 42px;
    border: 2px solid var(--ink);
    border-radius: 24px;
    background: var(--yellow);
    text-align: center;
    box-shadow: 7px 7px 0 var(--ink);
}

.chapter-end > span {
    font-size: 3rem;
}

.chapter-end h2 {
    margin: 5px 0;
}

.chapter-end p {
    max-width: 650px;
    margin: 5px auto 20px;
}

.chapter-nav {
    display: grid;
    margin-top: 42px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.chapter-button {
    display: flex;
    min-height: 66px;
    padding: 14px 18px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    font-weight: 800;
}

.chapter-button.next {
    justify-content: flex-end;
    text-align: right;
}

.chapter-button.disabled {
    color: #99968a;
    background: #f2f0e9;
}

@media (max-width: 1080px) {
    .header-inner {
        min-height: 72px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 72px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 16px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--paper);
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: grid;
    }

    .nav-link {
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding: 44px;
        gap: 32px;
    }

    .hero-art {
        min-height: 370px;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .schedule-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .list-card {
        grid-template-columns: 165px 1fr;
    }
}

@media (max-width: 780px) {
    .container {
        width: min(100% - 28px, 1200px);
    }

    .hero {
        margin-top: 26px;
        padding: 34px 24px;
        grid-template-columns: 1fr;
        box-shadow: 6px 6px 0 var(--ink);
    }

    .hero h1 {
        font-size: 3.8rem;
    }

    .hero-art {
        min-height: 360px;
    }

    .section {
        margin-top: 70px;
        margin-bottom: 70px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .comic-grid,
    .quote-grid,
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ranking-layout,
    .editorial-layout,
    .experience,
    .faq-layout,
    .about-layout,
    .app-section,
    .footer-grid,
    .list-grid {
        grid-template-columns: 1fr;
    }

    .landscape-grid {
        grid-template-columns: 1fr;
    }

    .experience,
    .app-section {
        padding: 34px 24px;
    }

    .about-mark {
        width: 210px;
        height: 210px;
        margin: 0 auto;
    }

    .category-hero {
        padding: 34px 24px;
        grid-template-columns: 88px 1fr;
    }

    .category-hero-icon {
        width: 88px;
        height: 88px;
        border-radius: 24px;
        font-size: 2.4rem;
    }
}

@media (max-width: 540px) {
    .site-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brand-text {
        font-size: 1.05rem;
    }

    .hero h1 {
        font-size: 3.1rem;
    }

    .hero-art {
        min-height: 310px;
    }

    .hero-metrics {
        gap: 16px;
    }

    .comic-grid,
    .quote-grid,
    .steps,
    .category-grid,
    .schedule-grid,
    .chapter-nav {
        grid-template-columns: 1fr;
    }

    .landscape-card,
    .list-card {
        grid-template-columns: 1fr;
    }

    .landscape-card img {
        max-height: 260px;
    }

    .editorial-main,
    .editorial-main img {
        min-height: 400px;
    }

    .category-hero {
        grid-template-columns: 1fr;
    }

    .category-hero h1 {
        font-size: 2.7rem;
    }

    .reader-header {
        padding-top: 32px;
    }

    .chapter-end {
        padding: 30px 20px;
    }
}
