:root {
    --ink: #132238;
    --muted: #64748b;
    --paper: #fffdfa;
    --soft: #f4f7fb;
    --line: #e2e8f0;
    --coral: #ff5a5f;
    --coral-dark: #df3d49;
    --amber: #ffb703;
    --night: #101b2d;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(15, 31, 53, 0.09);
    --radius: 22px;
}

* {
    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.75;
}

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

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

button,
input {
    font: inherit;
}

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

.section-space {
    margin-top: 88px;
}

.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;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    background: rgba(255, 253, 250, 0.95);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    backdrop-filter: blur(16px);
}

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

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

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--coral);
    border: 3px solid var(--ink);
    border-radius: 14px 14px 6px 14px;
    box-shadow: 4px 4px 0 var(--amber);
    font-weight: 900;
    line-height: 1;
}

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

.brand-copy strong {
    font-size: 1.14rem;
    letter-spacing: 0.08em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.main-nav {
    display: flex;
    align-items: stretch;
    gap: 5px;
    margin-left: auto;
}

.nav-link {
    min-width: 72px;
    padding: 11px 10px;
    display: grid;
    justify-items: center;
    gap: 2px;
    color: #526176;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.3;
    transition: 0.2s ease;
}

.nav-icon {
    font-size: 1.05rem;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--coral-dark);
    background: #fff0ef;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
}

.hero {
    min-height: 560px;
    margin-top: 48px;
    padding: 58px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
    overflow: hidden;
    background: linear-gradient(135deg, #fff3e5 0%, #fffafa 50%, #edf5ff 100%);
    border: 1px solid #f5ded3;
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.eyebrow {
    display: block;
    color: var(--coral-dark);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: #ffd7a1;
}

.hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(3.7rem, 7vw, 6.5rem);
    line-height: 0.98;
    letter-spacing: -0.08em;
}

.hero h1 a {
    background: linear-gradient(100deg, var(--ink), var(--coral-dark));
    -webkit-background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 610px;
    margin: 24px 0 0;
    color: #4f5e72;
    font-size: 1.08rem;
}

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

.button,
.read-button,
.back-button {
    min-height: 48px;
    padding: 12px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: 800;
}

.button.primary {
    color: var(--white);
    background: var(--coral);
    box-shadow: 0 9px 24px rgba(255, 90, 95, 0.26);
}

.button.secondary {
    background: var(--white);
    border: 1px solid var(--line);
}

.button.pale {
    color: var(--night);
    background: var(--white);
}

.hero-stats {
    margin-top: 36px;
    display: flex;
    gap: 30px;
}

.hero-stats div {
    display: grid;
}

.hero-stats strong {
    font-size: 1.25rem;
}

.hero-stats span {
    color: var(--muted);
    font-size: 0.8rem;
}

.hero-collage {
    min-height: 430px;
    display: grid;
    grid-template-columns: 1.45fr 0.9fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
    transform: rotate(1.5deg);
}

.hero-cover {
    position: relative;
    overflow: hidden;
    border: 8px solid var(--white);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(30, 48, 72, 0.2);
}

.hero-cover-main {
    grid-row: 1 / 3;
}

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

.hero-cover span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 10px 12px;
    color: var(--white);
    background: rgba(16, 27, 45, 0.82);
    border-radius: 10px;
    font-weight: 800;
}

.hero-cover.accent {
    transform: translateX(-12px) rotate(-4deg);
}

.update-strip {
    min-height: 78px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--night);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.strip-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--white);
    white-space: nowrap;
}

.strip-title span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--night);
    background: var(--amber);
    border-radius: 50%;
}

.strip-title h2 {
    margin: 0;
    font-size: 0.95rem;
}

.strip-items {
    display: flex;
    gap: 22px;
    flex: 1;
    overflow: hidden;
}

.strip-items a {
    color: #d8e1ed;
    font-size: 0.88rem;
    white-space: nowrap;
}

.strip-more {
    color: var(--amber);
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
}

.section-heading {
    margin-bottom: 28px;
}

.section-heading h2,
.ranking-intro h2,
.korean-copy h2,
.bookshelf-grid h2,
.about-copy h2 {
    margin: 8px 0 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.split-heading,
.with-link {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.split-heading p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
}

.with-link > a,
.text-link {
    color: var(--coral-dark);
    border-bottom: 2px solid #ffd2d2;
    font-weight: 800;
}

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

.category-card {
    min-height: 160px;
    padding: 22px;
    display: grid;
    grid-template-columns: 50px 1fr auto;
    align-items: start;
    gap: 15px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 31, 53, 0.04);
    transition: 0.2s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--category-color);
}

.category-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--category-color);
    border-radius: 15px;
    font-size: 1.35rem;
    font-weight: 900;
}

.category-content {
    display: grid;
}

.category-content strong {
    font-size: 1.05rem;
}

.category-content small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.65;
}

.category-count {
    color: var(--category-color);
    font-weight: 900;
}

.editor-picks {
    padding: 76px 0;
    color: var(--white);
    background: var(--night);
}

.light-heading h2 {
    max-width: 620px;
}

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

.poster-card {
    overflow: hidden;
    background: #1b2a40;
    border: 1px solid #2c3c54;
    border-radius: 20px;
}

.cover-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

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

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

.cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    color: var(--white);
    background: var(--coral);
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 800;
}

.card-body {
    padding: 18px;
}

.card-category {
    color: var(--coral-dark);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.poster-card .card-category {
    color: #ffbd80;
}

.card-body h3 {
    margin: 6px 0 8px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.card-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.6;
}

.poster-card .card-body p,
.poster-card .card-meta {
    color: #adbbcc;
}

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

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

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

.comic-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.comic-card .card-body {
    padding: 16px;
}

.ranking-zone {
    padding: 48px;
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 58px;
    background: #fff5e4;
    border: 1px solid #ffe1b8;
    border-radius: 28px;
}

.ranking-intro {
    align-self: center;
}

.ranking-intro p {
    color: var(--muted);
}

.ranking-list {
    margin: 0;
    padding: 0;
    display: grid;
    list-style: none;
}

.ranking-list li {
    padding: 12px 0;
    display: grid;
    grid-template-columns: 42px 58px 1fr auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #f1d8ae;
}

.ranking-list li:last-child {
    border-bottom: 0;
}

.ranking-list img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
}

.rank-number {
    color: var(--coral-dark);
    font-size: 1.3rem;
    font-weight: 900;
}

.ranking-list div {
    display: grid;
}

.ranking-list a {
    font-weight: 800;
}

.ranking-list small {
    color: var(--muted);
}

.korean-feature {
    padding: 78px 0;
    color: var(--white);
    background: linear-gradient(120deg, #31245b, #193552);
}

.korean-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.korean-art {
    position: relative;
    max-height: 520px;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    transform: rotate(-2deg);
}

.korean-art img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.korean-art span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 7px 12px;
    color: #31245b;
    background: #ffd98e;
    border-radius: 9px;
    font-weight: 900;
}

.korean-copy p {
    color: #c7d1df;
}

.mini-titles {
    margin: 24px 0 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mini-titles a {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.85rem;
}

.centered-heading {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
}

.centered-heading p {
    color: var(--muted);
}

.completed-shelf {
    display: grid;
    gap: 12px;
}

.book-spine {
    min-height: 104px;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-left: 8px solid var(--ink);
    border-radius: 14px;
}

.book-spine:nth-child(even) {
    border-left-color: var(--coral);
}

.spine-index {
    color: #c4ccd7;
    font-size: 1.7rem;
    font-weight: 900;
}

.book-spine div > span,
.book-spine > strong {
    color: var(--coral-dark);
    font-size: 0.75rem;
    font-weight: 900;
}

.book-spine h3 {
    margin: 2px 0;
}

.book-spine p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.reading-guide {
    padding: 44px;
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 48px;
    color: var(--white);
    background: var(--coral);
    border-radius: 26px;
}

.guide-heading span {
    font-size: 2rem;
}

.guide-heading h2 {
    margin: 8px 0 0;
    font-size: 2rem;
    line-height: 1.2;
}

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

.guide-steps article {
    padding: 22px;
    color: var(--ink);
    background: var(--white);
    border-radius: 17px;
}

.guide-steps article > span {
    color: var(--coral);
    font-weight: 900;
}

.guide-steps h3 {
    margin: 8px 0 4px;
}

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

.bookshelf-zone {
    padding: 74px 0;
    background: var(--soft);
}

.bookshelf-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 70px;
}

.bookshelf-grid > div:first-child p {
    color: var(--muted);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.benefit-grid article {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.benefit-grid article > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--ink);
    border-radius: 12px;
}

.benefit-grid h3 {
    margin: 12px 0 2px;
}

.benefit-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.about-section {
    padding: 54px;
    display: grid;
    grid-template-columns: 0.45fr 1.55fr;
    gap: 58px;
    border: 1px solid var(--line);
    border-radius: 28px;
}

.about-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.about-label span {
    color: #cad2de;
    font-size: 3.6rem;
    font-weight: 900;
    writing-mode: vertical-rl;
}

.about-label strong {
    padding: 7px 12px;
    color: var(--white);
    background: var(--coral);
    border-radius: 8px;
}

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

.app-panel {
    margin-top: 88px;
    margin-bottom: -74px;
    position: relative;
    z-index: 2;
    padding: 48px 56px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
    color: var(--white);
    background: linear-gradient(125deg, #ff5a5f, #e63e67);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(218, 52, 75, 0.25);
}

.app-copy h2 {
    margin: 7px 0 4px;
    font-size: 2.2rem;
}

.app-copy p {
    margin: 8px 0;
    color: #ffe8e8;
}

.subscribe-form {
    max-width: 550px;
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    min-width: 0;
    padding: 13px 16px;
    flex: 1;
    background: var(--white);
    border: 0;
    border-radius: 12px;
}

.subscribe-form button {
    padding: 12px 20px;
    color: var(--white);
    background: var(--night);
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

.form-message {
    font-size: 0.78rem;
}

.brand-qr {
    width: 156px;
    height: 156px;
    display: grid;
    place-items: center;
    align-content: center;
    color: var(--night);
    background: repeating-linear-gradient(45deg, #ffffff 0 8px, #fff4e1 8px 16px);
    border: 10px solid var(--white);
    border-radius: 24px;
    box-shadow: 6px 6px 0 var(--night);
}

.brand-qr span {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--night);
    border-radius: 14px;
    font-size: 2rem;
    font-weight: 900;
}

.brand-qr small {
    margin-top: 6px;
    font-weight: 800;
}

.site-footer {
    margin-top: 80px;
    padding: 132px 0 24px;
    color: #b8c4d3;
    background: var(--night);
}

.reader + .site-footer,
.category-note + .site-footer {
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.9fr;
    gap: 70px;
}

.footer-brand {
    color: var(--white);
    font-size: 1.45rem;
    font-weight: 900;
}

.footer-grid h2 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 1rem;
}

.footer-grid p {
    margin: 8px 0;
    font-size: 0.85rem;
}

.footer-grid div:nth-child(2) {
    display: grid;
    align-content: start;
    gap: 5px;
}

.copyright {
    margin-top: 42px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #29364a;
    font-size: 0.78rem;
}

.breadcrumb {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--muted);
    font-size: 0.86rem;
}

.breadcrumb a:hover {
    color: var(--coral-dark);
}

.category-hero {
    margin-top: 26px;
    padding: 48px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    background: linear-gradient(125deg, color-mix(in srgb, var(--category-color) 11%, white), #ffffff);
    border: 1px solid color-mix(in srgb, var(--category-color) 32%, white);
    border-radius: 28px;
}

.category-hero-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--category-color);
    border-radius: 25px;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 6px 6px 0 var(--ink);
}

.category-hero h1 {
    margin: 6px 0;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.1;
}

.category-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
}

.category-summary {
    display: grid;
    justify-items: center;
}

.category-summary strong {
    color: var(--category-color);
    font-size: 2.6rem;
    line-height: 1;
}

.category-summary span {
    color: var(--muted);
    font-size: 0.78rem;
}

.update-date {
    color: var(--muted);
    font-size: 0.82rem;
}

.catalog-list {
    display: grid;
    gap: 18px;
}

.catalog-item {
    padding: 18px;
    display: grid;
    grid-template-columns: 154px 1fr auto;
    align-items: center;
    gap: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.catalog-cover {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
}

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

.catalog-cover span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--night);
    border-radius: 9px;
    font-size: 0.8rem;
    font-weight: 900;
}

.catalog-copy h2 {
    margin: 4px 0 6px;
    font-size: 1.35rem;
}

.catalog-copy p {
    margin: 0;
    color: var(--muted);
}

.tag-row {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-row span {
    padding: 4px 9px;
    color: #536174;
    background: var(--soft);
    border-radius: 999px;
    font-size: 0.74rem;
}

.read-button {
    color: var(--white);
    background: var(--ink);
    white-space: nowrap;
}

.category-note {
    padding: 34px;
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff4e2;
    border-radius: 22px;
}

.category-note > span {
    font-size: 2rem;
}

.category-note h2,
.category-note p {
    margin: 0;
}

.category-note p {
    color: var(--muted);
}

.reader {
    max-width: 960px;
    margin-top: 26px;
}

.reader-header {
    padding: 50px;
    text-align: center;
    background: linear-gradient(145deg, #fff4e7, #f4f8ff);
    border: 1px solid var(--line);
    border-radius: 28px;
}

.reader-category {
    color: var(--coral-dark);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.reader-header h1 {
    margin: 10px 0;
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.2;
}

.reader-synopsis {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
}

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

.reader-meta span {
    padding: 5px 11px;
    color: #566477;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.76rem;
}

.reading-notice {
    margin: 34px 0;
    padding: 24px 28px;
    display: flex;
    gap: 18px;
    background: var(--night);
    border-radius: 18px;
    color: var(--white);
}

.reading-notice > span {
    color: var(--amber);
    font-size: 1.4rem;
}

.reading-notice h2,
.reading-notice p {
    margin: 0;
}

.reading-notice h2 {
    font-size: 1rem;
}

.reading-notice p {
    color: #b9c6d7;
    font-size: 0.86rem;
}

.comic-pages {
    display: grid;
    gap: 30px;
}

.comic-pages figure {
    margin: 0;
    overflow: hidden;
    background: #0e1725;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.comic-pages img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.comic-pages figcaption {
    padding: 12px 18px;
    color: #c7d0dd;
    text-align: center;
    font-size: 0.78rem;
}

.chapter-end {
    margin-top: 42px;
    padding: 42px;
    text-align: center;
    background: #fff5e4;
    border: 1px dashed #eebd72;
    border-radius: 22px;
}

.chapter-end > span {
    width: 58px;
    height: 58px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--coral);
    border-radius: 50%;
    font-weight: 900;
}

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

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

.chapter-nav {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
}

.chapter-button {
    padding: 16px;
    display: grid;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
}

.chapter-button.next {
    text-align: right;
}

.chapter-button span {
    color: var(--muted);
    font-size: 0.75rem;
}

.chapter-button strong {
    font-size: 0.92rem;
}

.chapter-button.is-disabled {
    opacity: 0.55;
}

.back-button {
    color: var(--white);
    background: var(--coral);
}

@media (max-width: 1080px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .main-nav {
        width: 100%;
        display: none;
        grid-template-columns: repeat(4, 1fr);
        margin: 0;
    }

    .main-nav.is-open {
        display: grid;
    }

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

    .hero-collage {
        min-height: 380px;
    }

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

    .category-card:first-child {
        grid-column: span 1;
    }

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

    .comic-card:nth-child(4),
    .comic-card:nth-child(5) {
        grid-column: span 1;
    }

    .ranking-zone,
    .korean-layout,
    .bookshelf-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 760px) {
    .container,
    .header-inner,
    .footer-grid,
    .copyright,
    .app-panel {
        width: min(100% - 28px, 1200px);
    }

    .section-space {
        margin-top: 62px;
    }

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

    .nav-link {
        grid-template-columns: 24px 1fr;
        justify-items: start;
        text-align: left;
    }

    .hero {
        margin-top: 28px;
        padding: 34px 24px;
        gap: 34px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: 3.7rem;
    }

    .hero-stats {
        gap: 18px;
    }

    .hero-collage {
        min-height: 300px;
        gap: 10px;
    }

    .hero-cover {
        border-width: 5px;
        border-radius: 14px;
    }

    .update-strip {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .strip-items {
        width: 100%;
        flex-direction: column;
        gap: 6px;
    }

    .split-heading,
    .with-link {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .category-grid,
    .poster-row,
    .five-grid,
    .guide-steps,
    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card {
        min-height: 190px;
        grid-template-columns: 44px 1fr;
        padding: 18px;
    }

    .category-count {
        display: none;
    }

    .poster-row .poster-card:nth-child(4),
    .five-grid .comic-card:nth-child(5) {
        grid-column: span 2;
    }

    .five-grid .comic-card:nth-child(5) {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .five-grid .comic-card:nth-child(5) .cover-link {
        aspect-ratio: auto;
    }

    .ranking-zone,
    .reading-guide,
    .about-section {
        padding: 30px 22px;
    }

    .ranking-list li {
        grid-template-columns: 34px 48px 1fr;
    }

    .ranking-list img {
        width: 48px;
        height: 48px;
    }

    .ranking-list li > strong {
        display: none;
    }

    .korean-feature,
    .bookshelf-zone {
        padding: 58px 0;
    }

    .book-spine {
        grid-template-columns: 40px 1fr;
    }

    .book-spine > strong {
        display: none;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-label {
        flex-direction: row;
        align-items: center;
    }

    .about-label span {
        font-size: 2rem;
        writing-mode: initial;
    }

    .app-panel {
        margin-bottom: -58px;
        padding: 34px 24px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .brand-qr {
        width: 130px;
        height: 130px;
    }

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

    .copyright {
        flex-direction: column;
    }

    .category-hero {
        padding: 34px 24px;
        grid-template-columns: 1fr;
    }

    .category-summary {
        justify-items: start;
    }

    .catalog-item {
        grid-template-columns: 104px 1fr;
        gap: 18px;
    }

    .read-button {
        grid-column: 1 / -1;
    }

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

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

    .back-button {
        grid-column: 1 / -1;
        grid-row: 1;
    }
}

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

    .hero h1 {
        font-size: 3.1rem;
    }

    .hero-actions,
    .subscribe-form {
        flex-direction: column;
    }

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

    .hero-stats {
        justify-content: space-between;
        gap: 8px;
    }

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

    .category-grid,
    .poster-row,
    .five-grid,
    .guide-steps,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .poster-row .poster-card:nth-child(4),
    .five-grid .comic-card:nth-child(5) {
        grid-column: span 1;
    }

    .five-grid .comic-card:nth-child(5) {
        display: block;
    }

    .five-grid .comic-card:nth-child(5) .cover-link {
        aspect-ratio: 3 / 4;
    }

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

    .catalog-cover {
        aspect-ratio: 16 / 9;
    }

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

    .back-button,
    .chapter-button,
    .chapter-button.next {
        grid-column: auto;
        text-align: center;
    }
}
