:root {
    --ink: #11152a;
    --ink-soft: #5d6275;
    --paper: #f5f7fb;
    --surface: #ffffff;
    --navy: #10142c;
    --navy-light: #20264a;
    --coral: #ff5d5d;
    --coral-dark: #de3e4c;
    --cyan: #4dd7dd;
    --gold: #ffc857;
    --violet: #896dff;
    --mint: #62d6a7;
    --line: #dfe3ee;
    --shadow: 0 18px 50px rgba(27, 34, 66, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

button {
    font: inherit;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(223, 227, 238, 0.85);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner,
.content-section,
.hero,
.breadcrumb-wrap,
.catalog-hero,
.reader-page {
    width: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

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

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

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 14px 4px 14px 4px;
    color: #ffffff;
    background: var(--coral);
    box-shadow: 4px 4px 0 var(--ink);
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    transform: rotate(-3deg);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

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

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

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.nav-link {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 12px;
    color: #4b5062;
    font-size: 0.88rem;
    font-weight: 700;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink);
    background: #eef0f7;
    transform: translateY(-1px);
}

.nav-link.is-active {
    box-shadow: inset 0 -3px 0 var(--coral);
}

.nav-icon {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: var(--coral-dark);
    font-size: 1rem;
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 7px;
    border: 0;
    border-radius: 10px;
    padding: 9px 12px;
    color: #ffffff;
    background: var(--navy);
    cursor: pointer;
}

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

.hero {
    overflow: hidden;
    border-radius: 34px;
    color: #ffffff;
    background: var(--navy);
    box-shadow: var(--shadow);
}

.hero-grid {
    display: grid;
    min-height: 590px;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 68px 36px 68px 72px;
}

.hero-kicker,
.eyebrow {
    margin: 0 0 10px;
    color: var(--coral-dark);
    font-size: 0.77rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-kicker {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--cyan);
}

.hero h1 {
    margin: 18px 0;
    font-size: clamp(3.8rem, 7vw, 6.8rem);
    font-weight: 950;
    letter-spacing: -0.07em;
    line-height: 0.98;
}

.hero h1 a {
    color: #ffffff;
}

.hero-lead {
    max-width: 620px;
    margin: 0;
    color: #cdd2e5;
    font-size: 1.08rem;
    line-height: 1.9;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #ffffff;
    background: var(--coral);
    box-shadow: 0 10px 24px rgba(255, 93, 93, 0.28);
}

.button-ghost {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.button-dark {
    color: #ffffff;
    background: var(--navy);
}

.button-light {
    color: var(--navy);
    background: #ffffff;
}

.hero-metrics {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.hero-metrics div {
    display: flex;
    flex-direction: column;
}

.hero-metrics strong {
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
}

.hero-metrics span {
    margin-top: 7px;
    color: #939ab7;
    font-size: 0.78rem;
}

.hero-art {
    position: relative;
    align-self: stretch;
    overflow: hidden;
    background: radial-gradient(circle at 62% 38%, #364071 0, #1d2348 40%, #10142c 72%);
}

.hero-art::before {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    content: "";
}

.hero-poster {
    position: absolute;
    overflow: hidden;
    width: 245px;
    border: 8px solid #ffffff;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 30px 55px rgba(0, 0, 0, 0.38);
}

.hero-poster img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.poster-back {
    top: 95px;
    left: 45px;
    transform: rotate(-11deg);
}

.poster-front {
    z-index: 2;
    top: 55px;
    right: 38px;
    transform: rotate(6deg);
}

.poster-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 6px 4px;
    color: var(--ink);
    font-size: 0.82rem;
}

.poster-caption span {
    color: var(--coral-dark);
    font-weight: 800;
}

.hero-sticker {
    position: absolute;
    z-index: 3;
    right: 40px;
    bottom: 70px;
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: var(--gold);
    box-shadow: 6px 6px 0 var(--coral);
    font-size: 1.2rem;
    font-weight: 950;
    transform: rotate(-10deg);
}

.content-section {
    margin-top: 92px;
}

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

.section-heading h2,
.feature-copy h2,
.ranking-intro h2,
.topic-copy h2,
.guide-heading h2,
.journal-head h2,
.about-copy h2,
.app-copy h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    letter-spacing: -0.045em;
    line-height: 1.2;
}

.section-heading > p {
    max-width: 390px;
    margin: 0;
    color: var(--ink-soft);
    text-align: right;
}

.text-link {
    color: var(--coral-dark);
    font-weight: 800;
}

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

.category-card {
    display: grid;
    min-height: 180px;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px;
    background: var(--surface);
    box-shadow: 0 8px 28px rgba(27, 34, 66, 0.06);
    transition: border 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

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

.category-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: #ffffff;
    background: var(--navy);
    font-size: 1.2rem;
}

.category-card strong,
.category-card small {
    display: block;
}

.category-card strong {
    margin-bottom: 7px;
    font-size: 1.08rem;
}

.category-card small {
    color: var(--ink-soft);
    font-size: 0.82rem;
    line-height: 1.6;
}

.category-card .arrow {
    color: var(--coral-dark);
    font-weight: 900;
}

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

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

.comic-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(30, 38, 73, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.comic-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.comic-cover {
    position: relative;
    display: block;
    overflow: hidden;
}

.comic-cover img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 400ms ease;
}

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

.cover-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    border-radius: 999px;
    padding: 5px 10px;
    color: #ffffff;
    background: rgba(16, 20, 44, 0.9);
    font-size: 0.76rem;
    font-weight: 800;
}

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

.comic-card-body h3 {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.35;
}

.comic-card-body > p:not(.eyebrow) {
    min-height: 70px;
    margin: 10px 0 14px;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.card-meta span:first-child {
    color: #bd7a00;
    font-weight: 800;
}

.ranking-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--gold);
}

.ranking-intro {
    padding: 55px;
    background: linear-gradient(145deg, #ffd777, #ffbe43);
}

.ranking-intro p:not(.eyebrow) {
    margin: 18px 0 28px;
    color: #4b3b18;
}

.ranking-list {
    margin: 0;
    padding: 24px 38px;
    list-style: none;
    background: #ffffff;
}

.ranking-list li {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding: 17px 0;
}

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

.rank-number {
    font-family: Georgia, serif;
    font-size: 1.7rem;
    font-style: italic;
    font-weight: 800;
}

.ranking-list a {
    display: flex;
    flex-direction: column;
}

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

.rank-trend {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: #13845a;
    background: #dff8ed;
    font-weight: 900;
}

.korean-feature {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #dff9fa;
}

.feature-image {
    position: relative;
    min-height: 510px;
}

.feature-image img {
    height: 100%;
    object-fit: cover;
}

.image-note {
    position: absolute;
    bottom: 24px;
    left: 24px;
    border-radius: 999px;
    padding: 8px 15px;
    color: #ffffff;
    background: var(--navy);
    font-size: 0.82rem;
    font-weight: 800;
}

.feature-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 55px;
}

.feature-copy > p:not(.eyebrow) {
    margin: 20px 0;
    color: #39415a;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.feature-tags span {
    border: 1px solid rgba(16, 20, 44, 0.18);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.78rem;
}

.schedule-section {
    border-radius: var(--radius-lg);
    padding: 46px;
    color: #ffffff;
    background: var(--navy);
}

.light-heading .eyebrow {
    color: var(--cyan);
}

.light-heading > p {
    color: #aeb4ca;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.schedule-grid a {
    display: flex;
    min-height: 170px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.055);
    transition: background 180ms ease, transform 180ms ease;
}

.schedule-grid a:hover {
    background: var(--navy-light);
    transform: translateY(-3px);
}

.schedule-grid span {
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
}

.schedule-grid strong {
    line-height: 1.35;
}

.schedule-grid small {
    color: #aeb4ca;
}

.compact-card .comic-card-body > p:not(.eyebrow) {
    display: none;
}

.reading-benefits {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: center;
}

.benefit-title {
    display: flex;
    align-items: center;
    gap: 22px;
}

.benefit-title h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
}

.oversized-number {
    color: transparent;
    -webkit-text-stroke: 2px var(--coral);
    font-size: 5.2rem;
    font-weight: 950;
    line-height: 1;
}

.benefit-list {
    display: grid;
    gap: 14px;
}

.benefit-list article {
    display: grid;
    grid-template-columns: 46px 150px 1fr;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}

.benefit-list article > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--coral);
}

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

.benefit-list p {
    color: var(--ink-soft);
}

.topic-section {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 46px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 52px;
    background: #ffffff;
}

.topic-copy p:not(.eyebrow) {
    color: var(--ink-soft);
}

.topic-cloud {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.topic-cloud a {
    border: 2px solid var(--ink);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
    box-shadow: 3px 3px 0 var(--ink);
}

.topic-cloud a:nth-child(2n) {
    background: var(--cyan);
}

.topic-cloud a:nth-child(3n) {
    background: var(--gold);
}

.topic-cloud .topic-large {
    padding: 16px 25px;
    color: #ffffff;
    background: var(--coral);
    font-size: 1.25rem;
}

.guide-section {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 50px;
}

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

.guide-steps article {
    border-top: 5px solid var(--coral);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 24px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(27, 34, 66, 0.08);
}

.guide-steps article:nth-child(2) {
    border-color: var(--cyan);
}

.guide-steps article:nth-child(3) {
    border-color: var(--gold);
}

.guide-steps span {
    color: var(--ink-soft);
    font-family: Georgia, serif;
    font-size: 1.4rem;
    font-style: italic;
}

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

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

.update-journal {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #e9e5ff;
}

.journal-head {
    padding: 48px;
    color: #ffffff;
    background: var(--violet);
}

.journal-head .eyebrow {
    color: #ffffff;
}

.timeline {
    padding: 28px 42px;
}

.timeline article {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    border-bottom: 1px solid rgba(16, 20, 44, 0.12);
    padding: 18px 0;
}

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

.timeline time {
    color: var(--violet);
    font-weight: 900;
}

.timeline h3,
.timeline p {
    margin: 0;
}

.timeline p {
    color: var(--ink-soft);
}

.about-section {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: center;
    gap: 55px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-top: 70px;
    padding-bottom: 70px;
}

.about-mark {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    border: 6px solid var(--ink);
    border-radius: 50% 10% 50% 10%;
    color: #ffffff;
    background: var(--coral);
    box-shadow: 16px 16px 0 var(--cyan);
    font-size: 7rem;
    font-weight: 950;
    transform: rotate(-5deg);
}

.about-copy p:not(.eyebrow) {
    margin: 18px 0 0;
    color: var(--ink-soft);
}

.app-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 55px 70px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--coral-dark), #742b76);
}

.app-copy .eyebrow {
    color: #ffffff;
}

.app-copy > p:not(.eyebrow) {
    max-width: 680px;
    color: #ffe5eb;
}

.subscribe-status {
    margin-bottom: 0;
    font-size: 0.84rem;
}

.brand-code {
    display: grid;
    grid-template-columns: repeat(2, 70px);
    justify-content: center;
    gap: 8px;
    border: 10px solid #ffffff;
    border-radius: 20px;
    padding: 24px;
    color: var(--ink);
    background: #ffffff;
    box-shadow: 12px 12px 0 rgba(16, 20, 44, 0.35);
    transform: rotate(3deg);
}

.brand-code span {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    background: var(--navy);
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 950;
}

.brand-code span:nth-child(2),
.brand-code span:nth-child(3) {
    background: var(--coral);
}

.brand-code strong {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 0.75rem;
}

.breadcrumb-wrap {
    margin-top: 32px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.breadcrumb a {
    color: var(--coral-dark);
    font-weight: 700;
}

.catalog-hero {
    display: grid;
    min-height: 320px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    margin-top: 24px;
    border-radius: var(--radius-lg);
    padding: 52px 65px;
    color: #ffffff;
    background: var(--navy);
}

.catalog-hero h1 {
    margin: 0;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1.1;
}

.catalog-hero p:not(.eyebrow) {
    max-width: 760px;
    margin: 20px 0 0;
    color: #cbd0e2;
}

.catalog-hero .eyebrow {
    color: var(--cyan);
}

.catalog-icon {
    display: grid;
    width: 160px;
    height: 160px;
    place-items: center;
    border: 3px solid #ffffff;
    border-radius: 35% 65% 45% 55%;
    color: var(--navy);
    background: var(--gold);
    box-shadow: 12px 12px 0 var(--coral);
    font-size: 4rem;
    transform: rotate(8deg);
}

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

.catalog-grid .comic-card-body > p:not(.eyebrow) {
    min-height: 96px;
}

.catalog-note {
    display: grid;
    grid-template-columns: 0.55fr 1.45fr;
    align-items: center;
    gap: 40px;
    border-left: 6px solid var(--cyan);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 36px 42px;
    background: #ffffff;
}

.catalog-note > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.catalog-note span {
    color: var(--coral);
    font-size: 2rem;
}

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

.catalog-note p {
    color: var(--ink-soft);
}

.reader-page {
    margin-top: 24px;
}

.reader-header {
    border-radius: var(--radius-lg);
    padding: 55px 70px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--navy), #252c56);
    text-align: center;
}

.reader-header .eyebrow {
    color: var(--cyan);
}

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

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    color: #aeb4ca;
    font-size: 0.88rem;
}

.reader-summary {
    max-width: 800px;
    margin: 26px auto 0;
    color: #d8dced;
}

.reading-notice {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    border: 1px solid #ead89e;
    border-radius: var(--radius-md);
    padding: 26px 30px;
    background: #fff8dc;
}

.reading-notice > span {
    flex: 0 0 auto;
    color: #bf7900;
    font-size: 2rem;
}

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

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

.reading-notice p {
    color: #665a38;
}

.chapter-content {
    width: min(900px, 100%);
    margin: 52px auto 0;
}

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

.chapter-heading span {
    color: var(--coral-dark);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.chapter-heading h2 {
    margin: 0;
    font-size: 2rem;
}

.reader-panel {
    overflow: hidden;
    margin: 0 0 36px;
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.reader-panel img {
    aspect-ratio: 3 / 4;
    background: #e8ebf2;
    object-fit: cover;
}

.reader-panel figcaption {
    padding: 13px 18px;
    color: var(--ink-soft);
    font-size: 0.82rem;
    text-align: center;
}

.chapter-end {
    width: min(760px, 100%);
    margin: 65px auto 0;
    text-align: center;
}

.end-mark {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    place-items: center;
    border: 3px solid var(--ink);
    border-radius: 50%;
    color: #ffffff;
    background: var(--coral);
    box-shadow: 5px 5px 0 var(--ink);
    font-weight: 950;
}

.chapter-end h2,
.chapter-end p {
    margin: 0;
}

.chapter-end p {
    margin-top: 12px;
    color: var(--ink-soft);
}

.chapter-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 45px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
}

.chapter-button,
.chapter-home {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 800;
}

.chapter-button {
    justify-self: start;
    color: #ffffff;
    background: var(--navy);
}

.chapter-next {
    justify-self: end;
}

.chapter-home {
    color: var(--coral-dark);
    background: #ffe8e8;
}

.site-footer {
    margin-top: 92px;
    color: #ffffff;
    background: var(--navy);
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 34px;
}

.footer-brand p {
    margin: 2px 0 0;
    color: #9ca3bd;
    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 20px;
    color: #c6cbe0;
    font-size: 0.86rem;
}

.footer-links a:hover {
    color: var(--cyan);
}

.copyright {
    grid-column: 1 / -1;
    margin: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
    color: #8f96b1;
    font-size: 0.78rem;
    text-align: center;
}

@media (max-width: 1080px) {
    .menu-toggle {
        display: inline-flex;
    }

    .header-inner {
        position: relative;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        border: 1px solid var(--line);
        border-radius: 0 0 18px 18px;
        padding: 14px;
        background: #ffffff;
        box-shadow: var(--shadow);
    }

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

    .nav-link {
        justify-content: center;
    }

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

    .hero-copy {
        padding-left: 48px;
    }

    .poster-back {
        left: 18px;
    }

    .poster-front {
        right: 18px;
    }

    .hero-poster {
        width: 210px;
    }

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

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

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

@media (max-width: 760px) {
    .header-inner,
    .footer-inner,
    .content-section,
    .hero,
    .breadcrumb-wrap,
    .catalog-hero,
    .reader-page {
        width: min(100% - 24px, 1200px);
    }

    .brand-copy small {
        display: none;
    }

    .main-nav {
        grid-template-columns: repeat(2, 1fr);
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

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

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

    .hero-copy {
        padding: 45px 26px;
    }

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

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

    .hero-metrics {
        justify-content: space-between;
        gap: 12px;
    }

    .hero-poster {
        width: 180px;
    }

    .poster-back {
        top: 70px;
        left: 8%;
    }

    .poster-front {
        top: 35px;
        right: 7%;
    }

    .hero-sticker {
        right: 12%;
        bottom: 32px;
    }

    .content-section {
        margin-top: 66px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .section-heading > p {
        text-align: left;
    }

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

    .category-card {
        min-height: 155px;
        grid-template-columns: 1fr auto;
        padding: 17px;
    }

    .category-icon {
        display: none;
    }

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

    .comic-card-body h3 {
        font-size: 1rem;
    }

    .comic-card-body > p:not(.eyebrow) {
        display: none;
    }

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

    .ranking-section,
    .korean-feature,
    .reading-benefits,
    .topic-section,
    .guide-section,
    .update-journal,
    .about-section,
    .app-section,
    .catalog-note {
        grid-template-columns: 1fr;
    }

    .ranking-intro,
    .feature-copy,
    .journal-head {
        padding: 34px 25px;
    }

    .ranking-list {
        padding: 15px 24px;
    }

    .feature-image {
        min-height: 360px;
    }

    .schedule-section {
        padding: 30px 20px;
    }

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

    .schedule-grid a {
        min-height: 140px;
    }

    .benefit-title {
        align-items: flex-start;
    }

    .oversized-number {
        font-size: 3.6rem;
    }

    .benefit-list article {
        grid-template-columns: 46px 1fr;
    }

    .benefit-list p {
        grid-column: 2;
    }

    .topic-section,
    .app-section {
        padding: 36px 24px;
    }

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

    .timeline {
        padding: 20px 24px;
    }

    .about-section {
        gap: 44px;
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .about-mark {
        width: 190px;
        margin: 0 auto;
        font-size: 5rem;
    }

    .brand-code {
        justify-self: center;
    }

    .catalog-hero {
        min-height: auto;
        padding: 38px 28px;
    }

    .catalog-icon {
        display: none;
    }

    .catalog-note {
        padding: 28px;
    }

    .reader-header {
        padding: 42px 22px;
    }

    .reading-notice {
        padding: 22px;
    }

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

    .chapter-home {
        grid-row: 2;
        grid-column: 1 / -1;
        justify-content: center;
    }

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

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 390px) {
    .header-inner {
        min-height: 70px;
    }

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

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

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

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

    .hero-poster {
        width: 155px;
    }

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