:root {
    --pink: #d93268;
    --pink-soft: #fff0f5;
    --ink: #222738;
    --muted: #687080;
    --line: #e9eaf0;
    --paper: #ffffff;
    --surface: #f7f8fb;
    --radius: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

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

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

a:hover {
    color: var(--pink);
}

button,
input {
    font: inherit;
}

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

button {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid #bf2760;
    outline-offset: 4px;
}

button,
.button {
    border: 0;
    border-radius: 10px;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #e8e9f1;
    color: #32394c;
}

h1,
h2,
h3,
p,
figure {
    margin: 0;
}

h1,
h2,
h3 {
    line-height: 1.5;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 800;
}

h2 {
    font-size: 25px;
}

h3 {
    font-size: 19px;
}

p + p {
    margin-top: 16px;
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.icon {
    display: inline-block;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    vertical-align: -4px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 16px 16px 16px 4px;
    color: #fff;
    background: var(--pink);
}

.brand-mark .icon {
    width: 34px;
    height: 34px;
}

.brand strong {
    display: block;
    font-size: 23px;
    letter-spacing: 0.03em;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.06em;
}

.search-form {
    display: flex;
    align-items: center;
    width: 365px;
    gap: 10px;
    padding: 5px 6px 5px 15px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 12px;
}

.search-form input {
    width: 100%;
    min-width: 0;
    background: transparent;
    border: 0;
    color: var(--ink);
    font-size: 14px;
    padding: 6px 0;
}

.search-form button {
    padding: 6px 12px;
    flex-shrink: 0;
    color: #fff;
    background: var(--pink);
    font-size: 14px;
}

.nav-wrap {
    border-top: 1px solid var(--line);
}

.navigation {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 4px;
    padding-block: 12px;
}

.navigation a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 4px;
    border-radius: 8px;
    font-size: 14px;
}

.navigation a.active {
    color: var(--pink);
    background: var(--pink-soft);
    font-weight: 700;
}

.menu-button {
    display: none;
    padding: 8px;
    color: var(--ink);
    background: var(--surface);
}

main.container {
    padding-block: 36px 0;
}

main > section {
    margin-bottom: 64px;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 30px;
    padding: 38px;
    border: 1px solid #f6dfe7;
    border-radius: 24px;
    background: linear-gradient(110deg, #fff0f5 0%, #fff6f8 46%, #eff3ff 100%);
    overflow: hidden;
}

.eyebrow {
    display: block;
    color: var(--pink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 13px;
}

.eyebrow .icon {
    margin-right: 7px;
}

.hero h1 {
    font-size: clamp(29px, 3vw, 40px);
}

.hero-slogan {
    margin-top: 13px;
    font-size: 29px;
    line-height: 1.65;
    font-weight: 650;
}

.hero-slogan span {
    display: block;
}

.hero-desc {
    max-width: 470px;
    color: #636471;
    margin-top: 18px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--pink);
    color: #fff;
    font-size: 15px;
    font-weight: 650;
}

.button:hover {
    background: #bc2558;
    color: #fff;
}

.button.secondary {
    background: var(--paper);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line);
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    color: #717484;
    margin-top: 25px;
}

.hero-feature {
    position: relative;
    min-height: 375px;
    overflow: hidden;
    border-radius: 16px;
    background: #343b56;
    color: #fff;
}

.hero-feature img {
    height: 100%;
    position: absolute;
    inset: 0;
    aspect-ratio: 4 / 3;
}

.hero-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(12, 19, 40, 0.92), rgba(12, 19, 40, 0) 90%);
}

.hero-feature-copy {
    position: absolute;
    z-index: 1;
    bottom: 25px;
    left: 26px;
    right: 26px;
    color: #fff;
}

.hero-feature-copy h2 {
    font-size: 30px;
    margin: 7px 0;
}

.hero-feature-copy > span,
.hero-feature-copy p {
    font-size: 14px;
}

.hero-read {
    display: inline-block;
    margin-top: 14px;
    border-bottom: 1px solid #ffffff90;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

h2 .icon {
    color: var(--pink);
    margin-right: 10px;
    width: 25px;
    height: 25px;
}

.muted,
.section-heading p {
    color: var(--muted);
    font-size: 14px;
}

.section-heading p {
    margin-top: 7px;
}

.text-link {
    color: var(--pink);
    font-size: 14px;
    font-weight: 650;
    flex-shrink: 0;
}

.bookshelf {
    padding: 24px 30px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid var(--pink);
    border-radius: 12px;
}

.bookshelf p {
    color: var(--muted);
    margin: 5px 0 10px;
    font-size: 14px;
}

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

.bookshelf li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.bookshelf button {
    padding: 6px 12px;
    background: var(--pink-soft);
    color: var(--pink);
    margin-top: 12px;
}

.comic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.comic-card {
    min-width: 0;
    border-radius: 15px;
    background: var(--paper);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.comic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px #2227380a;
}

.cover {
    display: block;
    position: relative;
}

.cover img {
    aspect-ratio: 3 / 3.7;
}

.cover-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #fffef3ee;
    color: #363a47;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 6px;
}

.card-copy {
    padding: 18px;
}

.clamp {
    min-height: 78px;
    margin-top: 7px;
    font-size: 14px;
    color: var(--muted);
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--muted);
}

.pink-text {
    color: var(--pink);
}

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

.category {
    display: block;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #00000005;
}

.category > .icon {
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
}

.category p {
    font-size: 14px;
    margin: 9px 0 15px;
    min-height: 76px;
    color: #59616f;
}

.category > span {
    font-size: 13px;
    font-weight: 650;
}

.mint {
    background: #eaf5f1;
    color: #2f6d5a;
}

.peach {
    background: #fff1e8;
    color: #94512d;
}

.blue {
    background: #ebeffa;
    color: #4c5899;
}

.pink {
    background: #fcecf3;
    color: #9b3b67;
}

.editor-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #252c40;
    color: #fff;
    overflow: hidden;
    border-radius: var(--radius);
}

.editor-image img {
    height: 100%;
    aspect-ratio: 5 / 4;
}

.editor-copy {
    padding: 42px;
}

.editor-copy h3 {
    font-size: 28px;
    margin-bottom: 18px;
}

.editor-copy p {
    color: #cbd0df;
}

.editor-copy .eyebrow,
.editor-copy .text-link {
    color: #ffacc6;
}

blockquote {
    border-left: 2px solid #ee7da1;
    padding-left: 18px;
    margin: 24px 0;
    color: #f5d9e3;
}

.rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 40px;
    background: var(--paper);
    border-radius: var(--radius);
    padding-inline: 28px;
    border: 1px solid var(--line);
}

.rank-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.rank-list li:nth-last-child(-n+2) {
    border: 0;
}

.rank-list li > div {
    flex: 1;
}

.rank-no {
    font-size: 33px;
    font-style: italic;
    font-weight: 800;
    color: #df7296;
}

.rank-list p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 5px;
}

.korean-feature {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    border-radius: var(--radius);
    overflow: hidden;
    background: #f0edf9;
}

.korean-visual img {
    height: 100%;
    aspect-ratio: 1;
}

.korean-copy {
    padding: 35px;
}

.korean-copy h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.chapter-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 25px;
}

.chapter-pills a {
    padding: 11px 14px;
    font-size: 14px;
    border-radius: 10px;
    background: #ffffffaa;
}

.timeline {
    padding: 0 26px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.timeline article {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.timeline article:last-child {
    border: 0;
}

.timeline time {
    font-size: 20px;
    font-weight: 650;
    color: var(--pink);
}

.timeline p,
.timeline article > a {
    font-size: 14px;
    color: var(--muted);
}

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

.finished-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    background: var(--paper);
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 15px;
}

.landscape-thumb img {
    border-radius: 9px;
    height: 100%;
}

.finished-card p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
}

.finished-card .eyebrow {
    margin-bottom: 8px;
    font-size: 12px;
}

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

.reading-steps article {
    border-top: 2px solid #e6bdce;
    padding-top: 20px;
}

.step-num {
    font-size: 27px;
    color: var(--pink);
    font-weight: 750;
    display: block;
    margin-bottom: 12px;
}

.reading-steps p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 10px;
}

.about-panel {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    border-top: 1px solid var(--line);
    padding-top: 48px;
}

.about-panel h2 {
    margin-bottom: 18px;
}

.about-panel p {
    color: var(--muted);
}

details {
    background: var(--paper);
    margin-bottom: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

summary {
    cursor: pointer;
    font-weight: 650;
}

details p {
    margin-top: 14px;
    font-size: 14px;
}

.subscribe-panel {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 40px 48px;
    margin-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: #cd396c;
    color: #fff;
}

.subscribe-panel > div:first-child {
    max-width: 730px;
}

.subscribe-panel .eyebrow,
.subscribe-panel h2 .icon {
    color: #fff;
}

.subscribe-panel p {
    margin-top: 13px;
    color: #fff1f7;
}

.subscribe-panel .button {
    background: #fff;
    color: #a72151;
    margin-top: 20px;
}

.subscribe-panel .small {
    font-size: 12px;
}

.subscription-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 10px;
    width: 200px;
    border: 1px solid #ffffff55;
    border-radius: 18px;
    padding: 20px;
    transform: rotate(3deg);
}

.subscription-brand .icon {
    width: 65px;
    height: 65px;
    flex: 0 0 65px;
}

.subscription-brand span {
    font-size: 13px;
    letter-spacing: 0.05em;
}

.site-footer {
    background: var(--paper);
    margin-top: 0;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-block: 32px;
}

.footer-inner > div:nth-child(2) {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 14px;
}

.footer-inner > div > p {
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 26px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li + li::before {
    content: "/";
    color: #a0a5b4;
    margin-right: 12px;
}

.page-intro {
    background: linear-gradient(110deg, #fff0f5, #f0f3ff);
    padding: 38px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.page-intro p {
    margin-top: 15px;
    color: #636471;
    max-width: 850px;
}

.series-detail {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 38px;
    align-items: center;
    background: var(--paper);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--line);
}

.series-cover img {
    border-radius: 12px;
}

.series-detail h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.series-detail p {
    color: var(--muted);
}

.chapter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.chapter-card {
    padding: 25px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 15px;
}

.chapter-card p {
    margin-top: 12px;
    font-size: 15px;
    color: var(--muted);
    min-height: 108px;
}

.note-panel {
    padding: 30px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 15px;
}

.note-panel h2 {
    margin-bottom: 18px;
}

.reader {
    max-width: 820px;
    margin: 0 auto 60px;
}

.reader-heading {
    text-align: center;
    margin-bottom: 30px;
}

.reader-heading h1 {
    font-size: clamp(26px, 3vw, 36px);
}

.reader-heading p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 16px;
}

.reader-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 22px;
}

.reader-controls button {
    padding: 9px 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 14px;
}

.reading-note {
    border-left: 3px solid var(--pink);
    padding: 20px 24px;
    background: var(--pink-soft);
    margin-bottom: 35px;
    border-radius: 0 12px 12px 0;
}

.reading-note h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.reading-note p {
    font-size: 14px;
}

.story-panel {
    padding: 30px;
    margin-bottom: 35px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.story-panel h2 {
    font-size: 17px;
    color: var(--pink);
    letter-spacing: 0.04em;
}

.story-text {
    font-size: 19px;
    line-height: 2;
    margin: 18px 0 24px;
}

.story-panel img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #e9ebf2;
    border-radius: 8px;
}

figcaption {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin-top: 12px;
}

.chapter-end {
    text-align: center;
    padding: 36px 24px;
    border-radius: 18px;
    background: var(--pink-soft);
}

.chapter-end > .icon {
    width: 34px;
    height: 34px;
    color: var(--pink);
    margin-bottom: 14px;
}

.chapter-end p {
    margin: 15px 0 25px;
}

.chapter-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.chapter-nav a {
    text-align: center;
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.night-mode {
    --ink: #e9eaf2;
    --muted: #b5bac9;
    --paper: #252b3a;
    --surface: #191e2a;
    --line: #394153;
    --pink: #ff9bbe;
    --pink-soft: #332633;
}

.large-text .story-text {
    font-size: 24px;
}

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

.subscription-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 32px;
    border-radius: 16px;
}

.subscription-option > .icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    color: var(--pink);
}

.subscription-option code {
    max-width: 100%;
    padding: 8px 10px;
    background: var(--surface);
    font-size: 14px;
    word-break: break-all;
}

.search-panel {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 26px;
    margin-top: 28px;
    border-radius: 16px;
}

.search-panel[hidden] {
    display: none;
}

.search-panel button {
    padding: 7px 14px;
}

#search-results a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 32px);
    background: #252c40;
    color: #fff;
    padding: 12px 22px;
    border-radius: 12px;
    z-index: 20;
    box-shadow: 0 5px 20px #0002;
}

.toast:empty {
    display: none;
}

.sr-only,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    display: block;
    padding: 10px;
    background: var(--paper);
}

@media (max-width: 1050px) {
    .navigation a {
        flex-direction: column;
        gap: 4px;
    }

    .hero {
        padding: 28px;
        gap: 22px;
    }

    .hero-slogan {
        font-size: 25px;
    }

    .hero-feature {
        min-height: 405px;
    }

    .category-grid,
    .comic-grid,
    .reading-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category p {
        min-height: 50px;
    }

    .editor-copy {
        padding: 28px;
    }

    .editor-copy h3 {
        font-size: 23px;
    }

    .finished-card {
        grid-template-columns: 100px 1fr;
        gap: 15px;
    }

    .rank-list {
        gap: 0 25px;
    }

    .rank-list li {
        gap: 12px;
    }

    .rank-list .text-link {
        display: none;
    }

    .korean-feature {
        grid-template-columns: 0.7fr 1.3fr;
    }

    .korean-copy {
        padding: 24px;
    }

    .about-panel {
        gap: 28px;
    }

    .subscribe-panel {
        padding: 30px;
    }

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

@media (max-width: 680px) {
    .container {
        width: calc(100% - 32px);
    }

    .topbar {
        flex-wrap: wrap;
        gap: 16px;
        padding-block: 18px;
    }

    .brand strong {
        font-size: 20px;
    }

    .brand small {
        font-size: 11px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-mark .icon {
        width: 28px;
        height: 28px;
    }

    .menu-button {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 14px;
    }

    .search-form {
        order: 3;
        width: 100%;
    }

    .navigation {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        padding-block: 12px;
    }

    .navigation a {
        flex-direction: row;
        padding: 10px 4px;
    }

    .js-ready .navigation:not(.is-open) {
        display: none;
    }

    main.container {
        padding-top: 26px;
    }

    main > section {
        margin-bottom: 44px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 23px;
        gap: 26px;
    }

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

    .hero-slogan {
        font-size: 25px;
    }

    .hero-desc {
        font-size: 15px;
    }

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

    .hero-feature-copy {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .hero-feature-copy h2 {
        font-size: 27px;
    }

    .hero-facts {
        gap: 10px;
    }

    .actions {
        gap: 9px;
    }

    .button {
        font-size: 14px;
        padding: 10px 16px;
    }

    h2 {
        font-size: 22px;
    }

    .section-heading {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 20px;
    }

    .bookshelf {
        padding: 20px;
    }

    .comic-grid,
    .category-grid,
    .reading-steps {
        gap: 14px;
    }

    .card-copy {
        padding: 13px;
    }

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

    .clamp {
        min-height: 126px;
    }

    .category {
        padding: 17px;
    }

    .category h3 {
        font-size: 17px;
    }

    .category p {
        min-height: 101px;
    }

    .editor-feature,
    .korean-feature,
    .about-panel,
    .two-grid {
        grid-template-columns: 1fr;
    }

    .editor-image img {
        aspect-ratio: 4 / 3;
    }

    .editor-copy {
        padding: 24px;
    }

    .rank-list {
        grid-template-columns: 1fr;
        padding-inline: 20px;
    }

    .rank-list li:nth-last-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .rank-list .text-link {
        display: block;
    }

    .korean-visual img {
        aspect-ratio: 16 / 10;
    }

    .chapter-pills {
        gap: 10px;
    }

    .chapter-pills a {
        padding: 10px;
    }

    .timeline {
        padding: 0 18px;
    }

    .timeline article {
        grid-template-columns: 1fr auto;
        gap: 8px;
    }

    .timeline time {
        grid-column: 1 / -1;
        font-size: 15px;
    }

    .timeline h3 {
        font-size: 17px;
    }

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

    .finished-card {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 15px;
    }

    .landscape-thumb img {
        aspect-ratio: 3 / 4;
    }

    .finished-card h3 {
        font-size: 17px;
    }

    .finished-card p {
        min-height: 126px;
    }

    .about-panel {
        padding-top: 30px;
    }

    .subscribe-panel {
        flex-direction: column;
        padding: 26px;
        gap: 26px;
        margin-bottom: 0;
    }

    .subscription-brand {
        flex-direction: row;
        flex-wrap: wrap;
        transform: none;
        width: 100%;
        padding: 12px;
        gap: 10px;
    }

    .subscription-brand .icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .subscription-brand strong {
        font-size: 15px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .page-intro {
        padding: 26px;
    }

    .series-detail {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 24px;
    }

    .series-cover {
        max-width: 210px;
        width: 100%;
        margin-inline: auto;
    }

    .chapter-grid {
        gap: 14px;
    }

    .chapter-card {
        padding: 17px;
    }

    .chapter-card h3 {
        font-size: 18px;
    }

    .chapter-card p {
        min-height: 190px;
        font-size: 14px;
    }

    .note-panel {
        padding: 24px;
    }

    .story-panel {
        padding: 20px 16px;
    }

    .story-text {
        font-size: 18px;
    }

    .chapter-nav {
        gap: 12px;
    }

    .chapter-nav a {
        font-size: 14px;
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
