@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800&display=swap');
:root {
    --ink: #232c2b;
    --muted: #687371;
    --paper: #f7f4ed;
    --white: #fffdfa;
    --line: #e5e3db;
    --green: #2e5d52;
    --dark: #183c37;
    --mint: #d7e5d9;
    --peach: #f2d7bb;
    --radius: 22px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.7 'Noto Sans SC','Microsoft YaHei',sans-serif
}

img {
    display: block;
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

button,input {
    font: inherit
}

button {
    cursor: pointer
}

.wrap {
    width: min(1180px,calc(100% - 48px));
    margin-inline: auto
}

section[id] {
    scroll-margin-top: 100px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(247,244,237,.95);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px)
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.brand {
    flex: none
}

.brand img {
    width: 174px;
    height: auto
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 3px
}

.primary-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 11px;
    border-radius: 12px;
    color: #52615d;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: .2s
}

.primary-nav a:hover,.primary-nav a.is-active {
    background: #e5eee6;
    color: var(--dark)
}

.nav-icon {
    font-size: 18px;
    line-height: 1
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 10px
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0
}

.hero {
    margin-top: 48px;
    min-height: 560px;
    display: grid;
    grid-template-columns: 1fr .93fr;
    background: #e8eee6;
    border-radius: 30px;
    overflow: hidden
}

.hero-copy {
    padding: 74px 5vw 58px;
    align-self: center
}

.eyebrow {
    display: block;
    color: #bb7658;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase
}

.hero h1 {
    font-size: clamp(58px,7vw,100px);
    letter-spacing: -.07em;
    line-height: 1.15;
    margin: 15px 0 22px;
    color: var(--dark)
}

.hero-lead {
    font-size: 19px;
    max-width: 480px;
    line-height: 1.85;
    color: #4e635d
}

.hero-search {
    display: flex;
    max-width: 470px;
    margin-top: 33px;
    background: #fff;
    border: 1px solid #d7e0d8;
    border-radius: 15px;
    padding: 6px;
    box-shadow: 0 12px 28px #26534812
}

.hero-search input {
    border: 0;
    background: transparent;
    min-width: 0;
    flex: 1;
    padding: 12px;
    outline: 0;
    color: var(--ink)
}

.hero-search button {
    border: 0;
    border-radius: 10px;
    background: var(--dark);
    color: #fff;
    padding: 0 22px;
    font-weight: 700
}

.hero-note {
    font-size: 12px;
    color: #71827a;
    margin-top: 15px
}

.hero-art {
    position: relative;
    min-height: 560px;
    overflow: hidden
}

.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1
}

.hero-art:after {
    content: '';
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent,#0d2a29bd)
}

.hero-art-caption {
    position: absolute;
    left: 36px;
    bottom: 30px;
    color: #fff;
    z-index: 1;
    display: grid;
    gap: 5px
}

.hero-art-caption small {
    letter-spacing: .2em
}

.hero-art-caption strong {
    font-size: 38px
}

.hero-art-caption span {
    font-size: 14px
}

.section {
    padding-top: 88px;
    padding-bottom: 10px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 27px
}

.section-heading h2,.editorial h2,.completed-panel h2,.about-inner h2,.korean-inner h2,.subscribe h2 {
    font-size: clamp(27px,3vw,41px);
    letter-spacing: -.05em;
    line-height: 1.32;
    margin: 8px 0 0
}

.text-link {
    font-weight: 800;
    color: var(--green);
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
    white-space: nowrap
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px
}

.card-grid {
    display: grid;
    gap: 20px
}

.card-grid.four {
    grid-template-columns: repeat(4,1fr)
}

.comic-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 22px #24443908
}

.card-cover {
    position: relative;
    display: block;
    overflow: hidden;
    background: #d9e4d9;
    aspect-ratio: 3/4
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s
}

.comic-card:hover .card-cover img {
    transform: scale(1.045)
}

.cover-label {
    position: absolute;
    left: 14px;
    top: 14px;
    background: #fffef3ee;
    border-radius: 20px;
    padding: 3px 11px;
    font-size: 11px;
    font-weight: 800;
    color: var(--dark)
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px
}

.card-meta {
    color: #b06a4e;
    font-size: 12px;
    font-weight: 700
}

.card-body h3 {
    font-size: 22px;
    line-height: 1.4;
    margin: 7px 0
}

.card-body p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
    margin: 0 0 18px;
    flex: 1
}

.card-action {
    color: var(--green);
    font-size: 13px;
    font-weight: 800
}

.card-featured .card-cover {
    aspect-ratio: 1.03/1
}

.card-featured .card-body {
    min-height: 160px
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px
}

.category-tile {
    min-height: 210px;
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .2s,box-shadow .2s
}

.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px #1c45321b
}

.category-1,.category-6 {
    background: #dfe9e1
}

.category-2,.category-7 {
    background: #f2e5d8
}

.category-3,.category-8 {
    background: #e7e4d6
}

.category-4,.category-5 {
    background: #dfebe8
}

.category-num {
    font-size: 12px;
    font-weight: 800;
    color: #6d8178
}

.category-tag {
    font-size: 12px;
    color: #9a705b;
    margin-top: 12px
}

.category-tile h3 {
    font-size: 22px;
    margin: 2px 0
}

.category-tile p {
    font-size: 12px;
    color: #64716a;
    line-height: 1.6;
    margin: 0;
    flex: 1
}

.category-cta {
    font-size: 12px;
    font-weight: 800;
    color: var(--dark);
    margin-top: 14px
}

.updates-list {
    border-top: 1px solid var(--line)
}

.update-row {
    display: grid;
    grid-template-columns: 56px 1.2fr 1.5fr 110px 80px;
    gap: 15px;
    align-items: center;
    padding: 18px 5px;
    border-bottom: 1px solid var(--line);
    transition: background .2s
}

.update-row:hover {
    background: #e9eee6
}

.update-index {
    color: #b3bdb4;
    font-size: 21px;
    font-weight: 800
}

.update-row strong {
    font-size: 17px
}

.update-chapter,.update-tag {
    color: var(--muted);
    font-size: 13px
}

.update-arrow {
    color: var(--green);
    font-weight: 800;
    font-size: 13px;
    text-align: right
}

.section-tinted {
    background: #eeeae0;
    margin-top: 90px;
    padding-bottom: 90px
}

.section-tinted .section {
    padding-top: 0
}

.editorial {
    display: grid;
    grid-template-columns: 1fr .9fr;
    align-items: center;
    gap: 70px
}

.editorial-image {
    border-radius: 26px;
    overflow: hidden;
    background: #dce6dd
}

.editorial-image img {
    aspect-ratio: 1.3/1;
    object-fit: cover;
    width: 100%
}

.editorial-copy p,.completed-panel p,.about-inner p,.korean-inner p {
    color: var(--muted);
    line-height: 1.9
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 11px;
    padding: 12px 21px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s
}

.button:hover {
    transform: translateY(-2px)
}

.button-dark {
    background: var(--dark);
    color: #fff
}

.button-light {
    background: #fffdf7;
    color: var(--dark)
}

.button-soft {
    background: #e2eae1;
    color: var(--dark)
}

.button-outline {
    border: 1px solid #e5eee3;
    color: #fff
}

.button-outline-dark {
    border: 1px solid #a8b8af;
    color: var(--dark)
}

.editorial .button {
    margin-top: 18px
}

.rank-shell {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 25px
}

.rank-controls {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px
}

.rank-controls button {
    border: 0;
    background: transparent;
    border-radius: 9px;
    padding: 9px 17px;
    color: var(--muted);
    font-weight: 700
}

.rank-controls button[aria-selected=true] {
    background: var(--dark);
    color: #fff
}

.rank-item {
    display: grid;
    grid-template-columns: 56px 72px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 13px 4px;
    border-bottom: 1px solid var(--line)
}

.rank-item:last-child {
    border-bottom: 0
}

.rank-number {
    font-size: 27px;
    font-weight: 800;
    color: #b9c6ba
}

.rank-item:nth-child(-n+3) .rank-number {
    color: #bc7d57
}

.rank-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 9px
}

.rank-item strong {
    display: block;
    font-size: 18px
}

.rank-item small {
    color: var(--muted)
}

.rank-item .rank-go {
    color: var(--green);
    font-size: 13px;
    font-weight: 800
}

.section-dark {
    background: #173b36;
    color: #f6f2e8;
    margin-top: 90px;
    padding-bottom: 0;
    overflow: hidden
}

.korean-inner {
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: center;
    gap: 70px
}

.korean-inner>div {
    padding: 50px 0
}

.korean-inner h2 {
    font-size: clamp(36px,4vw,56px)
}

.korean-inner p {
    color: #c7d6ce;
    max-width: 490px;
    margin: 24px 0
}

.korean-inner img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 24px 24px 0 0
}

.completed-panel {
    display: grid;
    grid-template-columns: 1fr 400px;
    align-items: center;
    gap: 60px;
    background: #e6e9dc;
    border-radius: 24px;
    padding: 45px;
    margin-top: 88px
}

.completed-panel img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 18px
}

.completed-panel .text-link {
    display: inline-block;
    margin-top: 10px
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.guide-step {
    border-top: 2px solid var(--dark);
    padding: 22px 10px 0
}

.guide-number {
    color: #b67d5f;
    font-size: 13px;
    font-weight: 800
}

.guide-step h3 {
    font-size: 21px;
    margin: 9px 0
}

.guide-step p {
    color: var(--muted);
    font-size: 14px
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px
}

.about-inner p:first-child {
    margin-top: 0
}

.subscribe {
    background: #d8e5db;
    margin-top: 90px
}

.subscribe-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-top: 70px;
    padding-bottom: 70px
}

.subscribe p {
    color: #526a5e;
    max-width: 610px
}

.subscribe-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.subscribe .button-outline {
    border-color: #335d51;
    color: var(--dark)
}

.site-footer {
    background: #d8e5db;
    border-top: 1px solid #bfd1c2;
    padding: 20px 0;
    color: #5a7466;
    font-size: 12px
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.inner-main {
    padding-top: 37px
}

.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    color: #738078;
    font-size: 13px;
    margin-bottom: 24px
}

.breadcrumb a:hover {
    color: var(--green);
    text-decoration: underline
}

.category-hero {
    display: grid;
    grid-template-columns: 1fr 42%;
    gap: 35px;
    align-items: center;
    min-height: 390px;
    background: #e5ece3;
    border-radius: 25px;
    overflow: hidden
}

.category-hero>div {
    padding: 50px
}

.category-hero h1 {
    font-size: clamp(40px,5vw,67px);
    line-height: 1.2;
    margin: 12px 0
}

.category-hero p {
    max-width: 590px;
    color: #4e6058;
    font-size: 17px
}

.category-hero-meta {
    font-size: 13px!important;
    color: #87958b!important;
    margin-bottom: 25px
}

.category-hero img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    aspect-ratio: 1/1
}

.chapter-catalog {
    padding-top: 65px
}

.chapter-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px
}

.chapter-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    min-height: 155px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: .2s
}

.chapter-card:hover {
    border-color: #87aa91;
    transform: translateY(-3px)
}

.chapter-no {
    color: #b7c6b8;
    font-size: 21px;
    font-weight: 800
}

.chapter-card strong {
    font-size: 18px;
    line-height: 1.4
}

.chapter-link {
    font-size: 12px;
    font-weight: 800;
    color: var(--green)
}

.category-after {
    padding-top: 40px;
    padding-bottom: 55px;
    max-width: 800px
}

.category-after h2 {
    font-size: 25px
}

.category-after p {
    color: var(--muted)
}

.article-wrap {
    max-width: 920px;
    padding-top: 34px
}

.reading-page {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: clamp(22px,5vw,60px)
}

.article-header {
    text-align: center
}

.article-header h1 {
    font-size: clamp(29px,4vw,45px);
    line-height: 1.35;
    margin: 14px 0
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 13px
}

.reading-note {
    background: #eef3eb;
    border-left: 3px solid var(--green);
    padding: 16px 19px;
    border-radius: 8px;
    margin: 34px 0;
    color: #53675c
}

.reading-note strong {
    font-size: 14px
}

.reading-note p {
    font-size: 13px;
    margin: 5px 0 0
}

.story-scene {
    margin: 0 auto 48px;
    max-width: 760px
}

.scene-label {
    color: #bc7759;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em
}

.story-scene h2 {
    font-size: 24px;
    margin: 8px 0
}

.story-scene p {
    font-size: 17px;
    line-height: 2.05;
    color: #4b5954
}

.story-scene figure {
    margin: 24px 0 0
}

.story-scene img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    background: #e2e9e1;
    border-radius: 12px
}

.story-scene figcaption {
    text-align: center;
    color: #88958d;
    font-size: 12px;
    margin-top: 8px
}

.chapter-end {
    text-align: center;
    border-top: 1px solid var(--line);
    padding: 31px 0 20px;
    color: var(--green);
    font-weight: 800
}

.chapter-end p {
    font-weight: 400;
    font-size: 13px;
    color: var(--muted)
}

.chapter-nav {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px
}

.chapter-nav .button {
    white-space: nowrap
}

@media(max-width:1080px) {
    .primary-nav a {
        padding: 10px 7px;
        font-size: 12px
    }

    .nav-icon {
        font-size: 15px
    }

    .card-grid.four {
        grid-template-columns: repeat(2,1fr)
    }

    .category-grid,.chapter-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .hero-copy {
        padding: 50px 4vw
    }

    .hero,.hero-art {
        min-height: 500px
    }

    .editorial {
        gap: 35px
    }

}

@media(max-width:760px) {
    .wrap {
        width: min(100% - 32px,580px)
    }

    .header-inner {
        min-height: 68px
    }

    .brand img {
        width: 148px
    }

    .menu-toggle {
        display: block
    }

    .primary-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 68px;
        background: var(--paper);
        padding: 12px 16px 20px;
        box-shadow: 0 18px 25px #1a35201c;
        grid-template-columns: repeat(2,1fr)
    }

    .primary-nav.is-open {
        display: grid
    }

    .primary-nav a {
        padding: 12px;
        font-size: 13px
    }

    .hero {
        margin-top: 26px;
        display: block;
        min-height: 0
    }

    .hero-copy {
        padding: 38px 28px
    }

    .hero h1 {
        font-size: 61px
    }

    .hero-lead {
        font-size: 16px
    }

    .hero-art {
        display: block;
        min-height: 0;
        height: 270px
    }

    .hero-art img {
        aspect-ratio: auto
    }

    .hero-art-caption {
        left: 24px;
        bottom: 20px
    }

    .hero-art-caption strong {
        font-size: 26px
    }

    .section {
        padding-top: 65px
    }

    .section-heading {
        align-items: start
    }

    .section-heading h2 {
        font-size: 29px
    }

    .featured-grid,.guide-grid {
        grid-template-columns: 1fr
    }

    .card-featured .card-cover {
        aspect-ratio: 1.5/1
    }

    .category-grid,.card-grid.four,.chapter-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 12px
    }

    .category-tile {
        padding: 16px;
        min-height: 200px
    }

    .category-tile h3 {
        font-size: 19px
    }

    .update-row {
        grid-template-columns: 30px 1fr auto;
        gap: 8px
    }

    .update-chapter {
        grid-column: 2
    }

    .update-tag {
        display: none
    }

    .update-arrow {
        grid-column: 3;
        grid-row: 1/3
    }

    .section-tinted,.section-dark {
        margin-top: 65px
    }

    .editorial,.korean-inner,.about-inner,.completed-panel,.category-hero {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .editorial-image img {
        aspect-ratio: 1.4/1
    }

    .korean-inner img {
        height: 290px
    }

    .completed-panel {
        padding: 26px
    }

    .completed-panel img {
        height: 200px
    }

    .about-inner {
        gap: 12px
    }

    .subscribe {
        margin-top: 65px
    }

    .subscribe-inner {
        display: block;
        padding: 50px 0
    }

    .subscribe-actions {
        margin-top: 20px
    }

    .footer-inner {
        display: block
    }

    .category-hero>div {
        padding: 30px 30px 0
    }

    .category-hero img {
        max-height: 280px
    }

    .chapter-grid .chapter-card {
        min-height: 145px
    }

    .article-wrap {
        width: min(100% - 20px,580px)
    }

    .reading-page {
        padding: 24px
    }

    .article-meta {
        gap: 6px 16px
    }

    .story-scene p {
        font-size: 15px
    }

    .chapter-nav {
        gap: 7px
    }

    .chapter-nav .button {
        font-size: 11px;
        padding: 11px 7px
    }

}

@media(max-width:420px) {
    .hero h1 {
        font-size: 51px
    }

    .category-grid,.card-grid.four {
        grid-template-columns: 1fr 1fr
    }

    .card-body {
        padding: 13px
    }

    .card-body h3 {
        font-size: 17px
    }

    .card-body p {
        font-size: 11px
    }

    .card-action {
        font-size: 11px
    }

    .category-tile p {
        font-size: 11px
    }

    .rank-shell {
        padding: 13px
    }

    .rank-controls button {
        padding: 8px 10px;
        font-size: 12px
    }

    .rank-item {
        grid-template-columns: 30px 55px 1fr;
        gap: 9px
    }

    .rank-item img {
        width: 55px;
        height: 55px
    }

    .rank-item strong {
        font-size: 15px
    }

    .rank-go {
        display: none
    }

    .chapter-grid {
        gap: 9px
    }

    .chapter-card {
        padding: 14px
    }

    .chapter-card strong {
        font-size: 15px
    }

}
