:root {
    --ink: #12243a;
    --ink-soft: #415169;
    --paper: #fffdf8;
    --paper-deep: #f5f0e7;
    --coral: #ff6559;
    --coral-dark: #e74c42;
    --mint: #43b8a9;
    --yellow: #ffd45d;
    --line: #ded9cf;
    --white: #ffffff;
    --shadow: 0 20px 50px rgba(18, 36, 58, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    pointer-events: none;
    background-image: radial-gradient(circle at 18% 12%, rgba(255, 101, 89, 0.08), transparent 22%), radial-gradient(circle at 82% 30%, rgba(67, 184, 169, 0.08), transparent 20%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 999;
    padding: 10px 18px;
    color: var(--white);
    background: var(--ink);
    border-radius: 10px;
}

.skip-link:focus {
    top: 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 248, 0.94);
    border-bottom: 1px solid rgba(18, 36, 58, 0.08);
    backdrop-filter: blur(18px);
}

.header-inner,
.hero-grid,
.pulse-inner,
.section-space,
.footer-inner,
.page-banner,
.reader-shell,
.app-subscribe {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-mark {
    display: inline-grid;
    width: 46px;
    aspect-ratio: 1;
    color: var(--white);
    background: var(--coral);
    border: 3px solid var(--ink);
    border-radius: 14px 14px 14px 4px;
    place-items: center;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 4px 4px 0 var(--ink);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 19px;
    letter-spacing: 1px;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--ink-soft);
    font-size: 11px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-link {
    display: flex;
    min-width: 72px;
    padding: 9px 8px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--ink-soft);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink);
    background: #ffe9e4;
}

.nav-link.is-active {
    box-shadow: inset 0 -3px 0 var(--coral);
}

.nav-icon {
    font-size: 16px;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--white);
    background: var(--ink);
    border: 0;
    border-radius: 12px;
    padding: 9px 13px;
    cursor: pointer;
}

.section-space {
    margin-top: 96px;
}

.hero {
    margin-top: 42px;
}

.hero-grid {
    display: grid;
    min-height: 610px;
    padding: 68px 72px;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 72px;
    background: var(--ink);
    border-radius: 36px;
    position: relative;
    overflow: hidden;
}

.hero-grid::before {
    position: absolute;
    width: 360px;
    height: 360px;
    right: -100px;
    top: -120px;
    content: "";
    border: 60px solid rgba(255, 212, 93, 0.15);
    border-radius: 50%;
}

.hero-copy {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--coral-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(46px, 7vw, 88px);
    line-height: 1.08;
    letter-spacing: -5px;
}

.hero h1 a {
    display: inline-block;
}

.hero-lead {
    max-width: 580px;
    margin: 28px 0 0;
    color: #dce5ef;
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 22px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--ink);
    background: var(--yellow);
    box-shadow: 5px 5px 0 var(--coral);
}

.button-light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.button-dark {
    color: var(--white);
    background: var(--ink);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.hero-tags li {
    padding: 5px 11px;
    color: #b9c7d8;
    border: 1px dashed rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-size: 12px;
}

.hero-art {
    position: relative;
    min-height: 470px;
}

.hero-poster {
    position: absolute;
    inset: 18px 50px 18px 24px;
    z-index: 2;
    overflow: hidden;
    background: var(--paper-deep);
    border: 5px solid var(--white);
    border-radius: 22px;
    transform: rotate(3deg);
    box-shadow: 18px 24px 0 rgba(255, 101, 89, 0.85);
}

.hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.poster-caption {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    padding: 15px 18px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.92);
    border-radius: 12px;
}

.poster-caption span,
.poster-caption strong {
    display: block;
}

.poster-caption span {
    color: var(--coral-dark);
    font-size: 11px;
    font-weight: 900;
}

.ink-bubble {
    position: absolute;
    z-index: 3;
    display: grid;
    width: 68px;
    aspect-ratio: 1;
    color: var(--ink);
    background: var(--yellow);
    border: 4px solid var(--ink);
    border-radius: 50%;
    place-items: center;
    font-size: 25px;
    font-weight: 900;
}

.bubble-one {
    top: 2px;
    right: 0;
}

.bubble-two {
    right: 18px;
    bottom: 0;
    background: var(--mint);
}

.pulse-bar {
    margin-top: 24px;
}

.pulse-inner {
    display: grid;
    padding: 17px 28px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    background: #fff0ed;
    border: 1px solid #ffd2cc;
    border-radius: 18px;
}

.pulse-inner strong span {
    color: var(--coral);
}

.pulse-inner p {
    margin: 0;
    color: var(--ink-soft);
}

.pulse-inner a,
.text-link,
.section-more {
    color: var(--coral-dark);
    font-weight: 900;
}

.spotlight {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    background: var(--paper-deep);
    border-radius: var(--radius);
}

.spotlight-image {
    position: relative;
    min-height: 480px;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.issue-label {
    position: absolute;
    top: 25px;
    left: 25px;
    padding: 8px 14px;
    color: var(--white);
    background: var(--ink);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 900;
}

.spotlight-copy {
    padding: 64px 58px;
}

.spotlight-copy h2,
.section-heading h2,
.ranking-copy h2,
.korean-heading h2,
.shelf-intro h2,
.guide-copy h2,
.about-copy h2,
.app-copy h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.22;
    letter-spacing: -1.5px;
}

.spotlight-copy > p:not(.eyebrow) {
    color: var(--ink-soft);
}

.detail-grid {
    display: grid;
    margin: 28px 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.detail-grid div {
    padding: 14px;
    background: var(--white);
    border-radius: 12px;
}

.detail-grid dt {
    color: var(--ink-soft);
    font-size: 11px;
}

.detail-grid dd {
    margin: 2px 0 0;
    font-weight: 900;
}

.section-heading {
    display: flex;
    margin-bottom: 34px;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading p:not(.eyebrow) {
    max-width: 650px;
    color: var(--ink-soft);
}

.centered-heading {
    justify-content: center;
    text-align: center;
}

.comic-grid {
    display: grid;
    gap: 22px;
}

.five-grid {
    grid-template-columns: repeat(5, 1fr);
}

.comic-card {
    min-width: 0;
}

.comic-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--paper-deep);
    border-radius: 18px;
}

.comic-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.comic-card:hover .comic-cover img {
    transform: scale(1.04);
}

.comic-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 5px 9px;
    color: var(--white);
    background: rgba(18, 36, 58, 0.88);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
}

.comic-info {
    padding: 15px 3px 0;
}

.comic-info h3 {
    margin: 2px 0 8px;
    font-size: 17px;
    line-height: 1.4;
}

.comic-info > p:not(.comic-type) {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--ink-soft);
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.comic-type {
    margin: 0;
    color: var(--coral-dark);
    font-size: 11px;
    font-weight: 900;
}

.comic-meta {
    display: flex;
    margin-top: 12px;
    justify-content: space-between;
    color: var(--ink-soft);
    font-size: 11px;
}

.category-section {
    padding: 70px 58px;
    background: var(--ink);
    border-radius: 30px;
}

.category-section .section-heading h2,
.category-section .section-heading p:not(.eyebrow) {
    color: var(--white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-card {
    min-height: 245px;
    padding: 26px;
    background: var(--white);
    border-top: 6px solid var(--accent);
    border-radius: 18px;
    transition: transform 0.2s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-icon {
    display: grid;
    width: 48px;
    aspect-ratio: 1;
    color: var(--white);
    background: var(--accent);
    border-radius: 14px;
    place-items: center;
    font-size: 23px;
}

.category-card h3 {
    margin: 18px 0 7px;
}

.category-card p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.category-go {
    display: block;
    margin-top: 18px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.ranking-section {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.ranking-copy > p:not(.eyebrow) {
    color: var(--ink-soft);
}

.ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-list li {
    display: grid;
    padding: 14px 0;
    grid-template-columns: 54px 64px 1fr 36px;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--line);
}

.rank-number {
    color: var(--coral);
    font-size: 24px;
    font-weight: 900;
}

.ranking-list img {
    width: 64px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
}

.ranking-list a {
    display: block;
    font-weight: 900;
}

.ranking-list small {
    color: var(--ink-soft);
}

.rank-trend {
    color: var(--mint);
    font-size: 20px;
}

.korean-feature {
    padding: 58px;
    background: #eeeafd;
    border-radius: 30px;
}

.korean-heading {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 24px;
    align-items: start;
}

.korean-heading p:not(.eyebrow) {
    color: var(--ink-soft);
}

.vertical-label {
    padding: 14px 8px;
    color: var(--white);
    background: #7c6df2;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
}

.korean-strip {
    display: grid;
    margin-top: 32px;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.strip-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
}

.strip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.strip-card span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 10px 12px;
    color: var(--white);
    background: rgba(18, 36, 58, 0.82);
    border-radius: 10px;
    font-weight: 800;
}

.mood-grid {
    display: grid;
    min-height: 620px;
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 18px;
}

.mood-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.mood-wide {
    grid-row: 1 / 3;
}

.mood-tall {
    grid-row: 1 / 3;
}

.mood-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mood-card:hover img {
    transform: scale(1.04);
}

.mood-card span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 12px 14px;
    color: var(--white);
    background: rgba(18, 36, 58, 0.82);
    border-radius: 10px;
    font-weight: 900;
}

.complete-shelf {
    display: grid;
    padding: 62px;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: end;
    gap: 60px;
    background: #dff3ee;
    border-radius: 30px;
}

.shelf-intro p:not(.eyebrow) {
    color: var(--ink-soft);
}

.book-spines {
    display: flex;
    min-height: 360px;
    align-items: end;
    gap: 10px;
    border-bottom: 14px solid #795d45;
}

.book-spine {
    display: flex;
    width: 20%;
    height: calc(270px + var(--spine-index) * 16px);
    padding: 18px 12px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    background: hsl(calc(205 + var(--spine-index) * 20), 48%, calc(35% + var(--spine-index) * 4%));
    border-radius: 9px 9px 2px 2px;
    writing-mode: vertical-rl;
}

.book-spine strong {
    letter-spacing: 2px;
}

.spine-number,
.book-spine small {
    opacity: 0.8;
}

.reading-guide {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 90px;
}

.guide-illustration {
    position: relative;
    display: grid;
    min-height: 560px;
    background: var(--yellow);
    border-radius: 50% 50% 24px 24px;
    place-items: center;
}

.phone-frame {
    width: 250px;
    padding: 11px;
    overflow: hidden;
    background: var(--ink);
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.phone-frame img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 25px;
}

.swipe-note {
    position: absolute;
    right: 28px;
    bottom: 40px;
    padding: 9px 13px;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.guide-steps {
    margin-top: 34px;
}

.guide-steps article {
    display: grid;
    padding: 22px 0;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    border-bottom: 1px solid var(--line);
}

.guide-steps article > span {
    color: var(--coral);
    font-size: 24px;
    font-weight: 900;
}

.guide-steps h3,
.guide-steps p {
    margin: 0;
}

.guide-steps p {
    color: var(--ink-soft);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day {
    min-height: 180px;
    padding: 19px 13px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
}

.calendar-day span,
.calendar-day strong,
.calendar-day p {
    display: block;
}

.calendar-day span {
    color: var(--coral-dark);
    font-size: 12px;
    font-weight: 900;
}

.calendar-day strong {
    margin-top: 30px;
}

.calendar-day p {
    margin: 6px 0 0;
    color: var(--ink-soft);
    font-size: 12px;
}

.calendar-day.is-featured {
    color: var(--white);
    background: var(--coral);
    border-color: var(--coral);
    transform: translateY(-10px);
}

.calendar-day.is-featured span,
.calendar-day.is-featured p {
    color: var(--white);
}

.about-section {
    display: grid;
    padding: 70px;
    grid-template-columns: 0.5fr 1.5fr;
    align-items: center;
    gap: 70px;
    color: var(--white);
    background: var(--ink);
    border-radius: 30px;
}

.about-stamp {
    display: grid;
    width: 210px;
    aspect-ratio: 1;
    border: 4px solid var(--yellow);
    border-radius: 50%;
    place-items: center;
    align-content: center;
    transform: rotate(-7deg);
}

.about-stamp span {
    color: var(--yellow);
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
}

.about-stamp small {
    margin-top: 10px;
    letter-spacing: 4px;
}

.about-copy p:not(.eyebrow) {
    color: #c9d5e2;
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.about-values span {
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-size: 12px;
}

.app-subscribe {
    display: grid;
    margin-top: 96px;
    margin-bottom: 70px;
    padding: 62px 74px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
    color: var(--white);
    background: var(--coral);
    border-radius: 30px;
}

.app-copy {
    max-width: 720px;
}

.app-copy > p:not(.eyebrow):not(.subscribe-status) {
    color: #fff0ed;
}

.light-eyebrow {
    color: var(--yellow);
}

.subscribe-button {
    margin-top: 14px;
    color: var(--ink);
    background: var(--yellow);
}

.subscribe-status {
    margin: 12px 0 0;
    font-size: 12px;
}

.qr-card {
    width: 210px;
    padding: 18px;
    color: var(--ink);
    background: var(--white);
    border-radius: 20px;
    text-align: center;
}

.qr-pattern {
    display: grid;
    aspect-ratio: 1;
    background: repeating-conic-gradient(var(--ink) 0 12.5%, var(--white) 0 25%);
    border: 10px solid var(--white);
    place-items: center;
}

.qr-pattern span {
    display: grid;
    width: 68px;
    aspect-ratio: 1;
    color: var(--white);
    background: var(--coral);
    border: 5px solid var(--white);
    border-radius: 14px;
    place-items: center;
    font-size: 30px;
    font-weight: 900;
}

.qr-card strong,
.qr-card small {
    display: block;
}

.qr-card strong {
    margin-top: 8px;
}

.qr-card small {
    color: var(--ink-soft);
}

.site-footer {
    padding: 54px 0 30px;
    color: var(--white);
    background: #0b192a;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-brand p {
    margin: 3px 0 0;
    color: #aebccc;
    font-size: 13px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #c9d5e2;
    font-size: 13px;
}

.copyright {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 24px;
    color: #8292a5;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    display: grid;
    width: 44px;
    aspect-ratio: 1;
    color: var(--white);
    background: var(--ink);
    border: 0;
    border-radius: 50%;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.page-banner {
    margin-top: 42px;
    padding: 42px 54px 58px;
    background: color-mix(in srgb, var(--accent) 12%, white);
    border-left: 8px solid var(--accent);
    border-radius: 24px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--coral-dark);
}

.banner-content {
    display: flex;
    margin-top: 35px;
    align-items: center;
    gap: 28px;
}

.banner-icon {
    display: grid;
    width: 92px;
    aspect-ratio: 1;
    flex: 0 0 auto;
    color: var(--white);
    background: var(--accent);
    border-radius: 26px;
    place-items: center;
    font-size: 46px;
    box-shadow: 8px 8px 0 var(--ink);
}

.banner-content h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.1;
}

.banner-content p:not(.eyebrow) {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--ink-soft);
}

.listing-layout {
    display: grid;
    margin-bottom: 100px;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 55px;
}

.listing-cards {
    display: grid;
    gap: 28px;
}

.horizontal-card {
    display: grid;
    padding-bottom: 28px;
    grid-template-columns: 180px 1fr;
    gap: 26px;
    border-bottom: 1px solid var(--line);
}

.horizontal-card .comic-cover {
    aspect-ratio: 3 / 4;
}

.horizontal-card .comic-info {
    padding-top: 12px;
}

.horizontal-card .comic-info h3 {
    font-size: 24px;
}

.horizontal-card .comic-info > p:not(.comic-type) {
    display: block;
    font-size: 14px;
}

.result-count {
    color: var(--ink-soft);
    font-size: 13px;
}

.listing-aside {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 24px;
}

.aside-note,
.aside-links {
    padding: 25px;
    background: var(--paper-deep);
    border-radius: 18px;
}

.aside-note h2,
.aside-links h3 {
    margin: 10px 0;
}

.aside-note p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.aside-icon {
    color: var(--coral);
    font-size: 26px;
}

.aside-links a {
    display: flex;
    padding: 10px 0;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    font-weight: 800;
}

.reader-shell {
    margin-top: 42px;
    margin-bottom: 100px;
}

.reader-breadcrumb {
    padding: 16px 22px;
    background: var(--paper-deep);
    border-radius: 14px;
}

.reader-header {
    max-width: 900px;
    margin: 70px auto 0;
    text-align: center;
}

.reader-header h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.15;
}

.chapter-name {
    margin: 16px 0 0;
    color: var(--coral-dark);
    font-size: 20px;
    font-weight: 900;
}

.reader-meta {
    display: flex;
    margin-top: 24px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.reader-meta span {
    padding: 6px 11px;
    color: var(--ink-soft);
    background: var(--paper-deep);
    border-radius: 999px;
    font-size: 12px;
}

.reading-note,
.chapter-prose,
.chapter-ending,
.chapter-nav {
    max-width: 900px;
    margin-inline: auto;
}

.reading-note {
    display: grid;
    margin-top: 52px;
    padding: 22px 26px;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    background: #fff0ed;
    border: 1px solid #ffd2cc;
    border-radius: 16px;
}

.reading-note > span {
    color: var(--coral);
    font-size: 24px;
}

.reading-note h2,
.reading-note p {
    margin: 0;
}

.reading-note h2 {
    font-size: 17px;
}

.reading-note p {
    color: var(--ink-soft);
    font-size: 13px;
}

.chapter-prose {
    margin-top: 48px;
}

.chapter-prose h2 {
    font-size: 30px;
}

.chapter-prose p {
    color: var(--ink-soft);
    font-size: 16px;
}

.comic-reader {
    display: grid;
    max-width: 900px;
    margin: 54px auto 0;
    gap: 30px;
}

.comic-panel {
    margin: 0;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.comic-panel figcaption {
    padding: 14px 18px;
    color: var(--ink-soft);
    font-size: 12px;
}

.chapter-ending {
    display: grid;
    margin-top: 62px;
    padding: 30px;
    grid-template-columns: 70px 1fr;
    align-items: center;
    gap: 24px;
    color: var(--white);
    background: var(--ink);
    border-radius: 20px;
}

.ending-mark {
    display: grid;
    width: 64px;
    aspect-ratio: 1;
    color: var(--ink);
    background: var(--yellow);
    border-radius: 50%;
    place-items: center;
    font-size: 24px;
    font-weight: 900;
}

.chapter-ending h2,
.chapter-ending p {
    margin: 0;
}

.chapter-ending p {
    color: #c9d5e2;
}

.chapter-nav {
    display: grid;
    margin-top: 28px;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.chapter-button {
    display: flex;
    min-height: 58px;
    padding: 12px 16px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--paper-deep);
    border-radius: 13px;
    font-weight: 900;
}

.chapter-button.back {
    color: var(--white);
    background: var(--coral);
}

.chapter-button.is-disabled {
    color: #9aa4ae;
    cursor: not-allowed;
}

@media (max-width: 1080px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 14px 0;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        padding-top: 10px;
        grid-template-columns: repeat(4, 1fr);
    }

    .main-nav.is-open {
        display: grid;
    }

    .hero-grid {
        padding: 54px;
        gap: 40px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .calendar-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 820px) {
    .header-inner,
    .hero-grid,
    .pulse-inner,
    .section-space,
    .footer-inner,
    .page-banner,
    .reader-shell,
    .app-subscribe {
        width: min(100% - 28px, 1200px);
    }

    .section-space {
        margin-top: 68px;
    }

    .hero {
        margin-top: 28px;
    }

    .hero-grid,
    .spotlight,
    .ranking-section,
    .complete-shelf,
    .reading-guide,
    .about-section,
    .app-subscribe,
    .listing-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 46px 34px;
    }

    .hero-art {
        min-height: 420px;
    }

    .pulse-inner {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .spotlight-copy {
        padding: 42px 34px;
    }

    .category-section,
    .korean-feature,
    .complete-shelf,
    .about-section,
    .app-subscribe {
        padding: 44px 32px;
    }

    .korean-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .mood-grid {
        min-height: 900px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .mood-wide,
    .mood-tall {
        grid-row: auto;
    }

    .book-spines {
        min-height: 310px;
    }

    .guide-illustration {
        min-height: 500px;
    }

    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stamp {
        width: 170px;
    }

    .qr-card {
        width: 100%;
        max-width: 240px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .page-banner {
        padding: 32px 30px 44px;
    }

    .listing-aside {
        position: static;
    }
}

@media (max-width: 560px) {
    .brand-copy small {
        display: none;
    }

    .brand-mark {
        width: 40px;
    }

    .main-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-link {
        justify-content: flex-start;
        padding-inline: 14px;
    }

    .hero-grid {
        min-height: auto;
        padding: 38px 23px;
        border-radius: 24px;
    }

    .hero h1 {
        font-size: 46px;
        letter-spacing: -3px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-art {
        min-height: 350px;
    }

    .hero-poster {
        inset: 15px 28px 15px 5px;
    }

    .five-grid,
    .category-grid,
    .korean-strip,
    .mood-grid,
    .calendar-grid,
    .detail-grid,
    .chapter-nav {
        grid-template-columns: 1fr;
    }

    .five-grid {
        gap: 36px;
    }

    .comic-cover {
        aspect-ratio: 4 / 5;
    }

    .category-section,
    .korean-feature,
    .complete-shelf,
    .about-section,
    .app-subscribe {
        padding: 36px 22px;
        border-radius: 22px;
    }

    .mood-grid {
        min-height: auto;
        grid-template-rows: none;
    }

    .mood-card {
        aspect-ratio: 4 / 3;
    }

    .book-spines {
        min-height: 250px;
        gap: 5px;
    }

    .book-spine {
        height: calc(210px + var(--spine-index) * 8px);
        padding: 10px 5px;
        font-size: 12px;
    }

    .calendar-day.is-featured {
        transform: none;
    }

    .banner-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .banner-icon {
        width: 72px;
        font-size: 34px;
    }

    .horizontal-card {
        grid-template-columns: 110px 1fr;
        gap: 16px;
    }

    .horizontal-card .comic-info h3 {
        font-size: 18px;
    }

    .horizontal-card .comic-info > p:not(.comic-type) {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .reader-header {
        margin-top: 48px;
    }

    .reading-note,
    .chapter-ending {
        grid-template-columns: 1fr;
    }

    .comic-panel img {
        aspect-ratio: 4 / 3;
    }

    .chapter-button.back {
        grid-row: 1;
    }

    .chapter-nav {
        display: flex;
        flex-wrap: wrap;
    }

    .chapter-button {
        flex: 1 1 calc(50% - 6px);
    }

    .chapter-button.back {
        flex-basis: 100%;
    }
}
