:root {
    --ink: #25213a;
    --muted: #716e82;
    --paper: #fffdf9;
    --pink: #ff6e91;
    --pink-deep: #e95178;
    --lavender: #eeeaff;
    --sun: #ffd969;
    --line: #e9e4ee;
    --shadow: 0 18px 45px rgba(68, 49, 99, 0.10);
}

* {
    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;
    line-height: 1.75;
}

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

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

.site-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(233, 228, 238, 0.85);
    background: rgba(255, 253, 249, 0.94);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    min-height: 78px;
    gap: 28px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px 12px 12px 3px;
    color: #fff;
    background: var(--pink);
    box-shadow: 4px 4px 0 var(--sun);
}

.main-nav {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 8px;
    border-radius: 10px;
    color: #666176;
    font-size: 13px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--pink-deep);
    background: #fff0f4;
}

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

.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    min-height: 430px;
    margin-top: 54px;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(118deg, #f1edff, #fff6e7);
}

.hero-copy {
    padding: 64px 10% 64px 12%;
}

.section-kicker,
.eyebrow {
    margin: 0 0 5px;
    color: var(--pink-deep);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.3;
}

.hero h1 {
    margin-bottom: 16px;
    font-size: clamp(38px, 5vw, 62px);
}

.hero h1 a {
    text-decoration: underline;
    text-decoration-color: var(--pink);
    text-decoration-thickness: 5px;
    text-underline-offset: 9px;
}

.hero-copy > p:not(.section-kicker) {
    max-width: 570px;
    color: var(--muted);
}

.hero-actions,
.chapter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 27px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    padding: 9px 19px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
}

.button-primary {
    color: #fff;
    background: var(--pink);
}

.button-ghost {
    border-color: #dcd5e2;
    background: #fff;
}

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

.hero-art {
    position: relative;
    min-height: 380px;
}

.hero-book {
    position: absolute;
    right: 23%;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 196px;
    height: 276px;
    padding: 20px;
    border: 8px solid #fff;
    border-radius: 22px 22px 22px 3px;
    color: #fff;
    background: linear-gradient(145deg, #ff718f, #7859c7);
    box-shadow: 16px 16px 0 rgba(255, 217, 105, 0.9);
    transform: rotate(8deg);
}

.hero-book span {
    width: 45px;
    height: 45px;
    padding-top: 8px;
    border-radius: 50%;
    text-align: center;
    background: var(--sun);
}

.hero-book strong {
    font-size: 42px;
    line-height: 1.05;
}

.bubble {
    position: absolute;
    display: grid;
    width: 67px;
    height: 67px;
    place-items: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 12px;
}

.bubble-one {
    top: 49px;
    left: 12%;
    color: #fff;
    background: var(--ink);
}

.bubble-two {
    right: 8%;
    bottom: 73px;
    background: var(--sun);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
}

.stats-strip div {
    padding: 19px 24px;
    border-right: 1px solid var(--line);
}

.stats-strip div:last-child {
    border-right: 0;
}

.stats-strip strong,
.stats-strip span {
    display: block;
}

.stats-strip span {
    color: var(--muted);
    font-size: 13px;
}

.section-block {
    margin-top: 90px;
}

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

.section-heading h2,
.page-hero h1,
.reader-header h1 {
    margin-bottom: 0;
    font-size: clamp(26px, 3vw, 36px);
}

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

.text-link {
    color: var(--pink-deep);
    font-weight: 700;
    font-size: 14px;
}

.comic-grid {
    display: grid;
    gap: 20px;
}

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

.five-up {
    grid-template-columns: repeat(5, 1fr);
}

.comic-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(65, 49, 88, 0.05);
}

.comic-card:hover {
    transform: translateY(-4px);
    transition: transform 0.2s ease;
}

.cover-link {
    position: relative;
    display: block;
    aspect-ratio: 0.72;
    overflow: hidden;
    background: #eeeaff;
}

.cover-link img {
    height: 100%;
}

.cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 9px;
    border-radius: 99px;
    color: #fff;
    background: rgba(37, 33, 58, 0.82);
    font-size: 11px;
}

.card-copy {
    padding: 15px;
}

.card-copy h3 {
    margin-bottom: 7px;
    font-size: 17px;
}

.card-copy > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 12px;
}

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

.category-card {
    display: flex;
    min-height: 185px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 17px 10px;
    border: 1px solid var(--line);
    border-radius: 17px;
    text-align: center;
    background: #fff;
}

.category-card:hover {
    border-color: var(--pink);
    box-shadow: var(--shadow);
}

.category-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 13px;
    place-items: center;
    border-radius: 15px;
    color: var(--pink-deep);
    background: #fff0f4;
    font-size: 22px;
}

.category-name {
    font-weight: 800;
}

.category-desc {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.editorial-layout,
.ranking-layout,
.korean-feature,
.about-layout,
.app-panel {
    display: grid;
    gap: 28px;
}

.editorial-layout {
    grid-template-columns: 2fr 1fr;
}

.feature-story {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    overflow: hidden;
    border-radius: 22px;
    background: #eef8f7;
}

.feature-story img {
    height: 100%;
    min-height: 280px;
}

.feature-story > div {
    padding: 36px;
}

.feature-story h2,
.korean-copy h2,
.about-layout h2,
.app-panel h2 {
    margin-bottom: 14px;
    font-size: 29px;
}

.reading-note {
    padding: 33px;
    border-radius: 22px;
    color: #fff;
    background: var(--ink);
}

.reading-note h3 {
    margin: 14px 0 8px;
}

.reading-note p {
    color: #ded8e8;
}

.reading-note a {
    color: var(--sun);
    font-weight: 700;
}

.note-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: var(--sun);
}

.ranking-layout {
    grid-template-columns: 1.4fr 0.6fr;
}

.rank-panel {
    padding: 31px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}

.trend-row {
    display: grid;
    grid-template-columns: 65px 1fr auto;
    align-items: center;
    padding: 13px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
}

.trend-number {
    color: var(--pink-deep);
    font-weight: 800;
    font-size: 20px;
}

.trend-row > span:last-child {
    color: var(--muted);
    font-size: 12px;
}

.rank-spotlight {
    display: flex;
    min-height: 310px;
    flex-direction: column;
    justify-content: end;
    padding: 30px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(160deg, #7456c9, #ff718f);
}

.rank-spotlight p {
    margin-bottom: 10px;
    color: var(--sun);
    font-weight: 800;
}

.rank-spotlight h3 {
    font-size: 24px;
}

.rank-spotlight a {
    margin-top: 20px;
    color: #fff;
    font-weight: 700;
}

.korean-feature {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding: 54px;
    border-radius: 25px;
    background: #fff3ea;
}

.korean-copy p:not(.section-kicker) {
    color: var(--muted);
}

.korean-covers {
    display: flex;
    justify-content: center;
    align-items: center;
}

.korean-covers img {
    width: 44%;
    aspect-ratio: 0.72;
    border: 6px solid #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.korean-covers img:last-child {
    margin-left: -10%;
    transform: translateY(28px) rotate(7deg);
}

.schedule-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    padding: 38px 44px;
    border-left: 5px solid var(--pink);
    background: #f7f5fc;
}

.schedule-layout p:not(.section-kicker) {
    color: var(--muted);
}

.schedule-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.schedule-list li {
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    background: #fff;
}

.quote-band {
    margin-top: 90px;
    padding: 50px 12%;
    border-radius: 24px;
    text-align: center;
    background: var(--lavender);
}

.quote-band > span {
    display: block;
    height: 35px;
    color: var(--pink);
    font-size: 65px;
    line-height: 1;
}

.quote-band p {
    margin: 20px 0 8px;
    font-size: 22px;
    font-weight: 700;
}

.quote-band small {
    color: var(--muted);
}

.about-layout {
    grid-template-columns: 160px 1fr;
    align-items: center;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.about-symbol {
    display: grid;
    width: 130px;
    height: 130px;
    place-items: center;
    border-radius: 45px 45px 45px 4px;
    color: #fff;
    background: var(--pink);
    box-shadow: 12px 12px 0 var(--sun);
    font-size: 58px;
    font-weight: 800;
}

.about-layout p:not(.section-kicker),
.app-panel p:not(.section-kicker),
.page-hero > p,
.seo-copy p {
    color: var(--muted);
}

.app-panel {
    grid-template-columns: 150px 1fr auto;
    align-items: center;
    margin-bottom: 90px;
    padding: 39px;
    border-radius: 24px;
    color: #fff;
    background: var(--ink);
}

.app-panel .section-kicker {
    color: var(--sun);
}

.app-panel p:not(.section-kicker) {
    color: #d7d1e3;
}

.app-qr {
    position: relative;
    display: grid;
    width: 116px;
    height: 116px;
    place-items: center;
    border: 9px solid #fff;
    border-radius: 14px;
    color: var(--ink);
    background: #fff;
    font-weight: 800;
    font-size: 30px;
}

.app-qr i {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 5px solid var(--ink);
}

.app-qr i:nth-of-type(1) {
    top: 7px;
    left: 7px;
}

.app-qr i:nth-of-type(2) {
    top: 7px;
    right: 7px;
}

.app-qr i:nth-of-type(3) {
    bottom: 7px;
    left: 7px;
}

.app-qr i:nth-of-type(4) {
    right: 7px;
    bottom: 7px;
}

.app-points {
    display: grid;
    gap: 8px;
    color: var(--sun);
    font-size: 13px;
}

.site-footer {
    padding: 56px 0 22px;
    color: #d8d2e1;
    background: #1d1a2c;
}

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

.footer-grid p {
    color: #bdb5ca;
    font-size: 14px;
}

.footer-brand {
    margin-bottom: 8px;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 800;
}

.footer-title {
    margin-bottom: 8px;
    color: #fff !important;
    font-weight: 700;
}

.footer-grid a {
    display: block;
    margin: 5px 0;
    font-size: 14px;
}

.copyright {
    margin-top: 31px;
    padding-top: 17px;
    border-top: 1px solid #3a354b;
}

.copyright p {
    margin: 0;
    font-size: 12px;
}

.page-hero {
    margin-top: 54px;
    padding: 47px;
    border-radius: 24px;
    background: linear-gradient(120deg, #eeeaff, #fff5e6);
}

.page-hero > p {
    max-width: 700px;
    margin-top: 16px;
    margin-bottom: 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a {
    color: var(--pink-deep);
}

.listing-toolbar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 13px;
}

.seo-copy {
    max-width: 850px;
    padding: 32px;
    border-radius: 18px;
    background: #f7f5fc;
}

.seo-copy h2 {
    margin-bottom: 10px;
    font-size: 23px;
}

.seo-copy p {
    margin-bottom: 0;
}

.reader-article {
    max-width: 850px;
    margin-top: 45px;
}

.reader-header {
    margin-bottom: 26px;
    text-align: center;
}

.reader-header h1 {
    margin-bottom: 10px;
    font-size: clamp(28px, 4vw, 42px);
}

.reader-header > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.reading-guide {
    display: flex;
    align-items: start;
    gap: 16px;
    margin-bottom: 32px;
    padding: 22px;
    border-radius: 15px;
    background: #fff3ea;
}

.reading-guide > span {
    color: var(--pink-deep);
    font-size: 23px;
}

.reading-guide h2 {
    margin-bottom: 5px;
    font-size: 18px;
}

.reading-guide p,
.chapter-copy p {
    margin-bottom: 0;
    color: var(--muted);
}

.chapter-copy {
    margin-bottom: 28px;
}

.chapter-copy h2 {
    margin-bottom: 13px;
    font-size: 25px;
}

.chapter-copy p + p {
    margin-top: 14px;
}

.reader-frame {
    margin: 0 0 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
}

.reader-frame img {
    aspect-ratio: 1.5;
}

.reader-frame figcaption {
    padding: 8px 14px;
    color: var(--muted);
    font-size: 12px;
}

.chapter-end {
    padding: 28px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.chapter-end span {
    color: var(--pink);
    font-size: 26px;
}

.chapter-end p {
    margin: 5px 0 0;
    color: var(--muted);
}

.chapter-nav {
    justify-content: center;
    margin: 30px 0 0;
}

@media (max-width: 920px) {
    .header-inner {
        min-height: 68px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: grid;
        gap: 4px;
        margin-left: auto;
        padding: 10px;
    }

    .menu-toggle span {
        display: block;
        width: 23px;
        height: 2px;
        background: var(--ink);
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-basis: 100%;
        flex-wrap: wrap;
        justify-content: start;
        padding-bottom: 14px;
    }

    .site-header.nav-open .main-nav {
        display: flex;
    }

    .hero,
    .editorial-layout,
    .ranking-layout,
    .korean-feature,
    .schedule-layout {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 280px;
    }

    .hero-book {
        right: 32%;
    }

    .four-up,
    .five-up {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .korean-feature {
        padding: 38px;
    }

    .app-panel {
        grid-template-columns: 130px 1fr;
    }

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

@media (max-width: 620px) {
    .site-shell {
        width: min(100% - 28px, 1200px);
    }

    .brand-text {
        font-size: 17px;
    }

    .hero {
        margin-top: 28px;
        border-radius: 22px;
    }

    .hero-copy {
        padding: 43px 25px 20px;
    }

    .hero-art {
        min-height: 250px;
    }

    .hero-book {
        right: 23%;
        width: 160px;
        height: 220px;
    }

    .hero-book strong {
        font-size: 35px;
    }

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

    .stats-strip div:nth-child(2) {
        border-right: 0;
    }

    .stats-strip div:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .section-block,
    .quote-band {
        margin-top: 62px;
    }

    .section-heading {
        align-items: start;
    }

    .four-up,
    .five-up {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

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

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

    .feature-story > div,
    .reading-note,
    .rank-panel,
    .korean-feature,
    .schedule-layout,
    .about-layout,
    .app-panel,
    .page-hero {
        padding: 25px;
    }

    .trend-row {
        grid-template-columns: 45px 1fr;
    }

    .trend-row > span:last-child {
        display: none;
    }

    .schedule-list {
        grid-template-columns: 1fr;
    }

    .quote-band {
        padding: 37px 25px;
    }

    .quote-band p {
        font-size: 18px;
    }

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

    .about-symbol {
        width: 94px;
        height: 94px;
        font-size: 43px;
    }

    .app-panel {
        grid-template-columns: 1fr;
    }

    .app-qr {
        width: 100px;
        height: 100px;
    }

    .app-points {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .listing-toolbar {
        gap: 8px;
        flex-direction: column;
    }

    .reader-article {
        margin-top: 28px;
    }

    .chapter-nav {
        align-items: stretch;
        flex-direction: column;
    }
}

