:root {
    --ink: #141414;
    --paper: #f8f8f3;
    --surface: #ffffff;
    --muted: #696969;
    --line: #d9d9d1;
    --lime: #b7ff3c;
    --cyan: #66d9ff;
    --coral: #ff6b4a;
    --radius: 20px;
    --shadow: 8px 8px 0 #141414;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.theme-dark,
body.reader-soft {
    --ink: #f5f5ef;
    --paper: #161817;
    --surface: #232624;
    --muted: #b6bbb6;
    --line: #3d423e;
    --shadow: 8px 8px 0 #b7ff3c;
}

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

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

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container,
.header-shell,
.footer-grid,
.footer-bottom {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 46px;
    height: 42px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 5px 7px;
    border: 2px solid var(--ink);
    border-radius: 12px 12px 12px 2px;
    background: var(--lime);
    color: #141414;
    box-shadow: 3px 3px 0 var(--ink);
    font-weight: 950;
    line-height: 1;
    transform: rotate(-2deg);
}

.brand-y-offset {
    transform: translateY(4px);
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 1.12rem;
}

.brand-copy small {
    margin-top: 4px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.main-nav {
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: var(--ink);
    color: var(--paper);
}

.main-nav a.is-active .icon {
    color: var(--lime);
}

.theme-toggle,
.nav-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    background: var(--surface);
    cursor: pointer;
}

.nav-toggle {
    display: none;
}

.menu-close {
    display: none;
}

.hero {
    min-height: 600px;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 70px;
    align-items: center;
    margin-top: 48px;
    padding: 58px;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 32px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-stamp,
.eyebrow {
    display: inline-block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-stamp {
    padding: 7px 12px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    color: #141414;
    background: var(--lime);
    transform: rotate(-2deg);
}

.hero h1 {
    margin: 18px 0 8px;
    font-size: clamp(4.7rem, 8vw, 7.8rem);
    line-height: 0.92;
    letter-spacing: -0.09em;
}

.hero h1 a::after {
    content: "®";
    margin-left: 12px;
    font-size: 1rem;
    vertical-align: top;
    letter-spacing: 0;
}

.hero-lead {
    max-width: 560px;
    margin: 24px 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-search {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 7px 7px 7px 18px;
    border: 2px solid var(--ink);
    border-radius: 16px;
    background: var(--paper);
}

.hero-search input {
    min-width: 0;
    padding: 11px 4px;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
}

.hero-search button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 18px;
    border: 2px solid var(--ink);
    border-radius: 12px;
    font-weight: 850;
    cursor: pointer;
}

.hero-search button,
.btn-primary {
    color: #141414;
    background: var(--lime);
}

.btn-dark {
    color: var(--paper);
    background: var(--ink);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
}

.text-link,
.section-link,
.read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 850;
}

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

.hero-panel {
    position: absolute;
    inset: 0 20px 0 40px;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 80px 24px 80px 24px;
    background: var(--cyan);
    transform: rotate(3deg);
}

.hero-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-panel-caption {
    position: absolute;
    inset: auto 18px 18px;
    display: grid;
    padding: 18px;
    border: 2px solid #141414;
    border-radius: 14px;
    color: #141414;
    background: rgba(255, 255, 255, 0.9);
    transform: rotate(-3deg);
}

.hero-panel-caption strong {
    font-size: 1.5rem;
}

.burst {
    position: absolute;
    top: -24px;
    right: -12px;
    z-index: 3;
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    border: 2px solid #141414;
    border-radius: 50%;
    color: #141414;
    background: var(--coral);
    font-weight: 950;
    line-height: 1.1;
    text-align: center;
    transform: rotate(9deg);
}

.dot-field {
    position: absolute;
    inset: auto auto -30px 0;
    width: 160px;
    height: 130px;
    background-image: radial-gradient(var(--ink) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
}

.section-gap {
    margin-top: 104px;
}

.signal-strip {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    border: 2px solid var(--ink);
    border-radius: 16px;
    background: var(--lime);
    color: #141414;
    box-shadow: 5px 5px 0 var(--ink);
}

.signal-label,
.signal-strip a {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.signal-strip p {
    margin: 0;
    flex: 1;
}

.signal-strip a {
    font-weight: 900;
}

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

.section-heading h2 {
    margin: 4px 0 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.section-heading p {
    max-width: 620px;
    margin: 12px 0 0;
    color: var(--muted);
}

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

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

.comic-card {
    min-width: 0;
}

.cover-link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 18px;
    background: var(--line);
}

.cover-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.comic-card:hover img {
    transform: scale(1.04);
}

.cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border: 1px solid #141414;
    border-radius: 999px;
    color: #141414;
    background: var(--lime);
    font-size: 0.74rem;
    font-weight: 850;
}

.card-body h3 {
    margin: 16px 0 6px;
    font-size: 1.25rem;
}

.card-body p {
    min-height: 52px;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.card-meta,
.catalog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 13px;
    color: var(--muted);
    font-size: 0.82rem;
}

.card-meta span,
.card-meta button,
.catalog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-meta .icon,
.catalog-meta .icon {
    width: 15px;
    height: 15px;
}

.bookmark-btn {
    border: 0;
    color: var(--muted);
    background: transparent;
    cursor: pointer;
}

.bookmark-btn.is-saved {
    color: #e34a71;
}

.ranking-section,
.editorial-section,
.mood-section {
    padding: 90px 0;
    color: #f8f8f3;
    background: #171717;
}

.ranking-section .eyebrow,
.editorial-section .eyebrow,
.mood-section .eyebrow,
.ranking-section .section-heading p,
.editorial-section .section-heading p,
.mood-section .section-heading p {
    color: #aeb1aa;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 52px;
}

.rank-champion {
    position: relative;
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 28px;
    align-items: center;
}

.rank-champion > img {
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border: 2px solid #f8f8f3;
    border-radius: 120px 20px 120px 20px;
}

.rank-champion h3 {
    margin: 8px 0;
    font-size: 2.3rem;
}

.rank-number {
    position: absolute;
    top: -34px;
    left: -6px;
    z-index: 2;
    color: var(--lime);
    font-size: 5.4rem;
    font-weight: 950;
    line-height: 1;
    -webkit-text-stroke: 2px #171717;
}

.rank-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rank-list li {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #3d3d3d;
}

.rank-index {
    color: var(--lime);
    font-size: 1.25rem;
    font-weight: 900;
}

.rank-list div {
    display: grid;
}

.rank-list small {
    color: #aeb1aa;
}

.korean-feature {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 70px;
    align-items: center;
    padding: 58px;
    border: 2px solid var(--ink);
    border-radius: 30px;
    background: var(--cyan);
    color: #141414;
    box-shadow: var(--shadow);
}

.feature-copy h2 {
    margin: 8px 0;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1;
}

.feature-copy .eyebrow,
.feature-copy p {
    color: #2c3f43;
}

.feature-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 34px 0 0;
}

.feature-stats div {
    display: grid;
}

.feature-stats dt {
    font-size: 1.25rem;
    font-weight: 900;
}

.feature-stats dd {
    margin: 0;
    font-size: 0.8rem;
}

.scroll-covers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: end;
}

.scroll-covers a {
    position: relative;
    overflow: hidden;
    border: 2px solid #141414;
    border-radius: 80px 80px 14px 14px;
    background: #ffffff;
}

.scroll-covers a:nth-child(2) {
    transform: translateY(-30px);
}

.scroll-covers img {
    width: 100%;
    aspect-ratio: 3 / 5;
    object-fit: cover;
}

.scroll-covers span {
    position: absolute;
    inset: auto 8px 8px;
    padding: 8px;
    border: 1px solid #141414;
    border-radius: 9px;
    background: var(--lime);
    font-size: 0.84rem;
    font-weight: 900;
    text-align: center;
}

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

.category-card {
    position: relative;
    min-height: 280px;
    padding: 24px;
    border: 2px solid var(--ink);
    border-radius: 18px;
    background: var(--surface);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 6px 6px 0 var(--category-color);
}

.category-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 14px;
    color: #141414;
    background: var(--category-color);
}

.category-count {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.category-card h3 {
    margin: 22px 0 8px;
    font-size: 1.35rem;
}

.category-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.category-action {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    font-weight: 850;
}

.editorial-mosaic {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: repeat(2, 260px);
    gap: 20px;
}

.editorial-mosaic a {
    position: relative;
    overflow: hidden;
    border: 2px solid #f8f8f3;
    border-radius: 22px;
}

.editorial-mosaic .mosaic-large {
    grid-row: span 2;
}

.editorial-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-mosaic a > span {
    position: absolute;
    inset: auto 18px 18px;
    display: grid;
    padding: 12px 16px;
    border-radius: 12px;
    color: #141414;
    background: var(--lime);
}

.editorial-mosaic strong {
    font-size: 1.25rem;
}

.update-list {
    border-top: 2px solid var(--ink);
}

.update-list article {
    display: grid;
    grid-template-columns: 70px 16px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 20px 4px;
    border-bottom: 1px solid var(--line);
}

.update-list time {
    font-weight: 900;
}

.update-dot {
    width: 10px;
    height: 10px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--lime);
}

.update-list h3,
.update-list p {
    margin: 0;
}

.update-list p {
    color: var(--muted);
    font-size: 0.88rem;
}

.update-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 850;
}

.marathon {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 70px;
    padding: 56px;
    border: 2px solid var(--ink);
    border-radius: 28px;
    background: #ffd43b;
    color: #141414;
    box-shadow: var(--shadow);
}

.marathon h2 {
    margin: 8px 0;
    font-size: 3rem;
    line-height: 1.05;
}

.marathon a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
}

.spine-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.spine-list a {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    border: 2px solid #141414;
    border-radius: 8px 22px 22px 8px;
    background: #f8f8f3;
}

.spine-list a:nth-child(even) {
    background: var(--cyan);
}

.spine-list strong {
    writing-mode: vertical-rl;
    align-self: center;
    letter-spacing: 0.08em;
}

.spine-list small {
    color: #454545;
}

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

.mood-row a {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    border: 1px solid #484848;
    border-radius: 90px 90px 18px 18px;
    background: #242424;
}

.mood-row a:hover {
    color: #141414;
    background: var(--lime);
}

.mood-row .icon {
    width: 32px;
    height: 32px;
    margin-bottom: auto;
}

.mood-row strong {
    font-size: 1.15rem;
}

.mood-row span {
    color: #aeb1aa;
    font-size: 0.82rem;
}

.mood-row a:hover span {
    color: #37401f;
}

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

.guide-steps article {
    padding: 28px;
    border-top: 5px solid var(--ink);
    background: var(--surface);
}

.guide-steps article > span {
    color: var(--coral);
    font-size: 2.2rem;
    font-weight: 950;
}

.guide-steps h3 {
    margin: 18px 0 6px;
}

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

.about-section {
    display: grid;
    grid-template-columns: 0.45fr 1fr;
    gap: 70px;
    padding-block: 72px;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
}

.about-title h2 {
    margin: 8px 0;
    font-size: 3rem;
    line-height: 1.05;
}

.about-copy p:first-child {
    margin-top: 0;
}

.about-values {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.about-values div {
    display: grid;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.about-values strong {
    font-size: 1.4rem;
}

.about-values span {
    color: var(--muted);
    font-size: 0.82rem;
}

.subscribe-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    margin-bottom: 104px;
    padding: 54px 68px;
    border: 2px solid #141414;
    border-radius: 28px;
    color: #141414;
    background: var(--lime);
    box-shadow: 8px 8px 0 #141414;
}

.subscribe-copy h2 {
    margin: 8px 0;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1;
}

.subscribe-copy p {
    max-width: 620px;
}

.subscribe-copy small {
    display: block;
    margin-top: 12px;
}

.qr-card {
    min-width: 190px;
    padding: 18px;
    border: 2px solid #141414;
    border-radius: 18px;
    background: #ffffff;
    text-align: center;
}

.qr-pattern {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    width: 140px;
    height: 140px;
    margin: 0 auto 12px;
    padding: 8px;
    border: 2px solid #141414;
}

.qr-pattern span {
    background: #ffffff;
}

.qr-pattern .filled {
    background: #141414;
}

.qr-card strong,
.qr-card > span {
    display: block;
}

.qr-card > span {
    font-size: 0.8rem;
}

.site-footer {
    padding: 64px 0 28px;
    color: #f8f8f3;
    background: #141414;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr 0.6fr;
    gap: 60px;
}

.footer-brand .brand-copy strong {
    color: #f8f8f3;
}

.footer-brand p {
    max-width: 380px;
    color: #aeb1aa;
}

.footer-grid h2 {
    margin-top: 0;
    font-size: 1rem;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: #aeb1aa;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid #343434;
    color: #888d88;
    font-size: 0.78rem;
}

.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    max-width: min(360px, calc(100% - 48px));
    padding: 14px 18px;
    border: 2px solid #141414;
    border-radius: 12px;
    color: #141414;
    background: var(--lime);
    box-shadow: 5px 5px 0 #141414;
    font-weight: 800;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: 180ms ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.inner-main,
.reader-main {
    padding-top: 30px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 0.86rem;
}

.breadcrumbs a:hover {
    color: var(--ink);
}

.category-hero {
    padding: 72px 0;
    border-block: 2px solid var(--ink);
    color: #141414;
    background: var(--category-color);
}

.category-hero-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 34px;
    align-items: center;
}

.category-hero-icon {
    width: 94px;
    height: 94px;
    display: grid;
    place-items: center;
    border: 2px solid #141414;
    border-radius: 26px;
    background: #f8f8f3;
    box-shadow: 6px 6px 0 #141414;
    transform: rotate(-4deg);
}

.category-hero-icon .icon {
    width: 44px;
    height: 44px;
}

.category-hero h1 {
    margin: 6px 0;
    font-size: clamp(3rem, 7vw, 6.2rem);
    line-height: 1;
    letter-spacing: -0.07em;
}

.category-hero p {
    max-width: 700px;
    margin: 12px 0 0;
}

.category-hero dl {
    display: flex;
    gap: 30px;
    margin: 0;
}

.category-hero dl div {
    display: grid;
}

.category-hero dt {
    font-size: 1.8rem;
    font-weight: 950;
}

.category-hero dd {
    margin: 0;
    font-size: 0.78rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.catalog-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 24px;
    padding: 18px;
    border: 2px solid var(--ink);
    border-radius: 20px;
    background: var(--surface);
}

.catalog-cover {
    position: relative;
    aspect-ratio: 10 / 13;
    overflow: hidden;
    border-radius: 12px;
}

.catalog-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-cover span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 4px 8px;
    border-radius: 7px;
    color: #141414;
    background: var(--lime);
    font-weight: 950;
}

.catalog-tag {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 850;
}

.catalog-card h2 {
    margin: 6px 0;
    font-size: 1.45rem;
}

.catalog-card p {
    margin: 6px 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.catalog-card .read-link {
    margin-top: 14px;
}

.category-seo {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 26px;
    margin-bottom: 104px;
    padding: 34px;
    border-left: 6px solid var(--lime);
    background: var(--surface);
}

.category-seo > div:first-child {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #141414;
    background: var(--lime);
}

.category-seo h2,
.category-seo p:first-of-type {
    margin-top: 0;
}

.reader-header {
    max-width: 900px;
    padding: 56px 0 36px;
    text-align: center;
}

.reader-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    color: #141414;
    background: var(--lime);
    font-size: 0.82rem;
    font-weight: 850;
}

.reader-header h1 {
    margin: 22px 0 8px;
    font-size: clamp(2.6rem, 6vw, 5.6rem);
    line-height: 1.04;
    letter-spacing: -0.06em;
}

.reader-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 1.2rem;
}

.reader-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 0.84rem;
}

.reader-tools {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.btn-tool {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    background: var(--surface);
}

.reading-note {
    max-width: 900px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    margin-bottom: 42px;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.reading-note strong {
    color: #141414;
    background: var(--lime);
    align-self: start;
    padding: 3px 9px;
    border-radius: 6px;
}

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

.chapter-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 18px;
    color: #161616;
    background: #ffffff;
}

.chapter-content figure {
    margin: 0 0 18px;
}

.chapter-content img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid #dadada;
}

.chapter-content figcaption {
    padding: 7px 2px;
    color: #777777;
    font-size: 0.76rem;
    text-align: center;
}

.chapter-narration {
    margin: 0 0 24px;
    padding: 20px 28px;
    border-left: 4px solid #141414;
    background: #f2f2ec;
    line-height: 1.9;
}

.chapter-end {
    max-width: 900px;
    padding: 70px 20px;
    text-align: center;
}

.chapter-end > span {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    color: #141414;
    background: var(--lime);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.16em;
}

.chapter-end h2 {
    margin: 16px 0 4px;
}

.chapter-end p {
    color: var(--muted);
}

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

.chapter-nav > a,
.chapter-nav > span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

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

.chapter-nav small {
    color: var(--muted);
}

.chapter-nav strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chapter-nav .back-category {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    color: #141414;
    background: var(--lime);
    font-weight: 850;
    text-align: center;
}

.nav-disabled {
    opacity: 0.5;
}

.no-results {
    grid-column: 1 / -1;
    padding: 40px;
    border: 2px dashed var(--line);
    border-radius: 18px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 1100px) {
    .header-shell {
        flex-wrap: wrap;
        padding-block: 12px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
    }

    .main-nav ul {
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .theme-toggle {
        margin-left: auto;
    }

    .hero {
        grid-template-columns: 1fr 0.8fr;
        gap: 34px;
        padding: 42px;
    }

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

    .catalog-card {
        grid-template-columns: 150px 1fr;
    }
}

@media (max-width: 820px) {
    .container,
    .header-shell,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 28px, 1200px);
    }

    .header-shell {
        min-height: 70px;
        flex-wrap: nowrap;
    }

    .nav-toggle {
        display: grid;
        margin-left: auto;
    }

    .theme-toggle {
        margin-left: 0;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        left: 14px;
        right: 14px;
        width: auto;
        max-height: 0;
        overflow: hidden;
        border-radius: 16px;
        background: var(--surface);
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
        transition: max-height 220ms ease;
    }

    .site-header.nav-open .main-nav {
        max-height: 560px;
        border: 1px solid var(--line);
    }

    .site-header.nav-open .menu-open {
        display: none;
    }

    .site-header.nav-open .menu-close {
        display: block;
    }

    .main-nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        padding: 12px;
    }

    .main-nav a {
        padding: 12px;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        margin-top: 30px;
        padding: 32px;
    }

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

    .hero h1 {
        font-size: clamp(4rem, 18vw, 6.6rem);
    }

    .signal-strip {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .signal-strip p {
        flex-basis: calc(100% - 130px);
    }

    .ranking-layout,
    .korean-feature,
    .marathon,
    .about-section {
        grid-template-columns: 1fr;
    }

    .ranking-layout,
    .korean-feature,
    .marathon,
    .about-section {
        gap: 42px;
    }

    .scroll-covers a:nth-child(2) {
        transform: translateY(-15px);
    }

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

    .editorial-mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: 410px 240px 240px;
    }

    .editorial-mosaic .mosaic-large {
        grid-row: span 1;
    }

    .about-values {
        grid-column: 1;
    }

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

    .category-hero-inner {
        grid-template-columns: auto 1fr;
    }

    .category-hero dl {
        grid-column: 1 / -1;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .brand-copy small {
        display: none;
    }

    .section-gap {
        margin-top: 76px;
    }

    .hero {
        padding: 24px 20px 28px;
        border-radius: 22px;
        box-shadow: 5px 5px 0 var(--ink);
    }

    .hero-search {
        grid-template-columns: auto 1fr;
    }

    .hero-search button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .hero-actions,
    .section-heading,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

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

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

    .hero-panel {
        inset: 0 6px 0 10px;
    }

    .four-grid,
    .category-grid,
    .guide-steps,
    .mood-row,
    .about-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .comic-card .card-body p {
        display: none;
    }

    .card-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .rank-champion {
        grid-template-columns: 1fr;
    }

    .ranking-section,
    .editorial-section,
    .mood-section {
        padding: 70px 0;
    }

    .korean-feature,
    .marathon {
        padding: 30px 22px;
    }

    .feature-stats,
    .spine-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .scroll-covers {
        gap: 7px;
    }

    .category-card {
        min-height: 245px;
        padding: 18px;
    }

    .category-card p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .update-list article {
        grid-template-columns: 52px 10px 1fr;
        gap: 10px;
    }

    .update-list article > a {
        grid-column: 3;
    }

    .spine-list a {
        min-height: 150px;
        padding: 11px;
    }

    .mood-row a {
        min-height: 160px;
        padding: 18px;
    }

    .guide-steps article {
        padding: 20px;
    }

    .guide-steps article:last-child {
        grid-column: 1 / -1;
    }

    .about-section {
        padding-block: 54px;
    }

    .subscribe-section {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 34px 24px;
        text-align: center;
    }

    .category-hero {
        padding: 48px 0;
    }

    .category-hero-inner {
        grid-template-columns: 1fr;
    }

    .category-hero-icon {
        width: 70px;
        height: 70px;
    }

    .category-hero dl {
        grid-column: 1;
    }

    .catalog-card {
        grid-template-columns: 120px 1fr;
        gap: 14px;
        padding: 12px;
    }

    .catalog-card p,
    .catalog-meta span:last-child {
        display: none;
    }

    .category-seo {
        grid-template-columns: 1fr;
    }

    .reader-header {
        padding-top: 34px;
    }

    .reading-note {
        grid-template-columns: 1fr;
    }

    .chapter-content {
        width: 100%;
        padding: 8px;
    }

    .chapter-narration {
        padding: 18px;
    }

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

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

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

    .footer-brand {
        grid-column: 1;
    }
}
