:root {
    --ink: #17132c;
    --muted: #6d6881;
    --paper: #fffaf4;
    --surface: #ffffff;
    --primary: #4b32a7;
    --primary-dark: #33246f;
    --accent: #ff657d;
    --accent-soft: #ffe7eb;
    --mint: #68c9bd;
    --yellow: #ffd76a;
    --line: #e9e3ee;
    --shadow: 0 18px 50px rgba(41, 29, 80, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    line-height: 1.7;
}

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

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

button,
input {
    font: inherit;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 999;
    padding: 10px 16px;
    border-radius: 10px;
    color: #ffffff;
    background: var(--primary-dark);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(75, 50, 167, 0.09);
    background: rgba(255, 250, 244, 0.94);
    backdrop-filter: blur(18px);
}

.header-inner,
.section-shell,
.inner-main,
.reader-main,
.footer-inner {
    width: min(1200px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

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

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

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 3px solid var(--ink);
    border-radius: 14px 14px 20px 14px;
    color: #ffffff;
    background: var(--accent);
    box-shadow: 4px 4px 0 var(--yellow);
    font-size: 20px;
    font-weight: 900;
    transform: rotate(-4deg);
}

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

.brand-copy strong {
    font-size: 20px;
    letter-spacing: 0.03em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.site-nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 4px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: 12px;
    color: #4f4a61;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--primary);
    background: #eee8ff;
}

.nav-icon {
    font-size: 15px;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: #ffffff;
}

#main-content {
    padding-top: 42px;
}

.hero {
    position: relative;
    display: grid;
    min-height: 560px;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 56px;
    padding: 64px 72px;
    overflow: hidden;
    border: 1px solid rgba(75, 50, 167, 0.08);
    border-radius: 32px;
    background: linear-gradient(135deg, #fffdf9 0%, #f1ebff 58%, #ffe9ed 100%);
    box-shadow: var(--shadow);
}

.hero::before {
    position: absolute;
    top: -110px;
    right: 26%;
    width: 240px;
    height: 240px;
    border: 1px dashed rgba(75, 50, 167, 0.26);
    border-radius: 50%;
    content: "";
}

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

.hero-kicker,
.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.hero h1 {
    margin: 0;
    font-size: clamp(54px, 7vw, 92px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.hero h1 a {
    background: linear-gradient(120deg, var(--ink), var(--primary), var(--accent));
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 620px;
    margin: 28px 0 0;
    color: #565067;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

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

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

.button-primary {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 10px 24px rgba(75, 50, 167, 0.25);
}

.button-secondary {
    border: 1px solid #ddd4ee;
    background: rgba(255, 255, 255, 0.78);
}

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

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.hero-note span:first-child {
    color: #43877f;
}

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

.hero-card {
    position: absolute;
    border: 3px solid var(--ink);
    border-radius: 24px;
    box-shadow: 13px 14px 0 rgba(23, 19, 44, 0.12);
}

.hero-card-back {
    top: 50px;
    right: 8px;
    width: 68%;
    height: 330px;
    background: var(--yellow);
    transform: rotate(8deg);
}

.hero-card-back span {
    position: absolute;
    right: 18px;
    bottom: 14px;
    font-weight: 900;
}

.hero-card-main {
    top: 0;
    left: 4%;
    width: 72%;
    overflow: hidden;
    background: #ffffff;
    transform: rotate(-5deg);
}

.hero-cover {
    width: 100%;
    aspect-ratio: 4 / 4.2;
    object-fit: cover;
}

.hero-card-main > div {
    display: flex;
    flex-direction: column;
    padding: 16px 18px 18px;
    line-height: 1.35;
}

.hero-card-main span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
}

.hero-card-main strong {
    margin-top: 5px;
    font-size: 19px;
}

.hero-spark {
    position: absolute;
    right: -5px;
    bottom: 12px;
    color: var(--accent);
    font-size: 62px;
    text-shadow: 4px 4px 0 #ffffff;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 38px;
    padding: 24px 30px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
}

.stats-strip div {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--line);
}

.stats-strip div:last-child {
    border-right: 0;
}

.stats-strip strong {
    color: var(--primary);
    font-size: 25px;
}

.stats-strip span {
    color: var(--muted);
    font-size: 13px;
}

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

.section-heading {
    display: flex;
    max-width: 760px;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 34px;
}

.heading-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 14px;
    background: var(--yellow);
    box-shadow: 4px 4px 0 var(--ink);
    font-size: 20px;
    font-weight: 900;
}

.section-heading .eyebrow,
.category-hero .eyebrow,
.app-copy .eyebrow,
.about-copy .eyebrow {
    margin-bottom: 3px;
}

.section-heading h2,
.category-hero h1,
.app-subscribe h2,
.about-section h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 8px 0 0;
    color: var(--muted);
}

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

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

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

.comic-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(33, 23, 66, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.comic-cover {
    width: 100%;
    aspect-ratio: 4 / 5.5;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(51, 36, 111, 0.9);
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.card-body {
    padding: 17px;
}

.card-body h2,
.card-body h3 {
    margin: 0;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-body p {
    display: -webkit-box;
    min-height: 48px;
    margin: 10px 0 14px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #8c869b;
    font-size: 11px;
}

.section-more {
    display: table;
    margin: 30px auto 0;
    color: var(--primary);
    font-weight: 800;
}

.ranking-section {
    padding: 54px;
    border-radius: 30px;
    background: #efeaff;
}

.ranking-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
}

.ranking-feature {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    overflow: hidden;
    border-radius: 24px;
    color: #ffffff;
    background: var(--primary-dark);
}

.ranking-cover {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.ranking-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.ranking-feature-copy h3 {
    margin: 12px 0 10px;
    font-size: 28px;
}

.ranking-feature-copy p {
    color: #ddd5ff;
}

.pill {
    align-self: flex-start;
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--ink);
    background: var(--yellow);
    font-size: 11px;
    font-weight: 900;
}

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

.ranking-feature .text-link {
    color: var(--yellow);
}

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

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

.rank-number {
    color: var(--primary);
    font-size: 20px;
    font-weight: 900;
}

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

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

.trend-up {
    color: #31887c;
    font-size: 12px;
    font-weight: 800;
}

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

.category-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
    transition: 0.2s ease;
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: 7px 7px 0 var(--accent-soft);
    transform: translate(-3px, -3px);
}

.category-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    color: #ffffff;
    background: var(--primary);
    font-size: 20px;
}

.category-card:nth-child(2n) .category-icon {
    color: var(--ink);
    background: var(--yellow);
}

.category-card h3 {
    margin: 18px 0 8px;
}

.category-card p {
    min-height: 70px;
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
}

.korean-feature {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 46px;
    padding: 58px;
    border-radius: 30px;
    color: #ffffff;
    background: linear-gradient(135deg, #2e2363, #5a3bba);
}

.korean-copy h2 {
    margin: 0;
    font-size: 40px;
}

.korean-copy p {
    margin: 18px 0 26px;
    color: #ddd7fa;
}

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

.portrait-cover {
    width: 100%;
    aspect-ratio: 3 / 4.5;
    border: 3px solid #ffffff;
    border-radius: 16px;
    object-fit: cover;
    transform: rotate(2deg);
}

.offset-cover {
    transform: translateY(-22px) rotate(-3deg);
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
}

.update-table {
    width: 100%;
    border-collapse: collapse;
}

.update-table th,
.update-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

.update-table th {
    color: var(--muted);
    background: #faf7ff;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.update-table td:nth-child(2) a {
    color: var(--primary);
    font-weight: 800;
}

.mosaic-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.mosaic-card {
    display: flex;
    min-height: 220px;
    align-items: center;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
}

.mosaic-large {
    position: relative;
    grid-row: 1 / 3;
    min-height: 460px;
    overflow: hidden;
    color: #ffffff;
    background: #231943;
}

.mosaic-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.52;
    object-fit: cover;
}

.mosaic-large > div {
    position: relative;
    align-self: flex-end;
}

.mosaic-card span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.mosaic-card h3 {
    margin: 8px 0;
    font-size: 26px;
}

.mosaic-symbol {
    font-size: 42px;
}

.mosaic-dark {
    color: #ffffff;
    background: var(--primary-dark);
}

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

.steps-grid article {
    position: relative;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #ffffff;
}

.steps-grid article > span {
    color: var(--accent);
    font-size: 34px;
    font-weight: 900;
}

.steps-grid h3 {
    margin: 14px 0 6px;
}

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

.quotes-grid blockquote {
    margin: 0;
    padding: 28px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 9px 26px rgba(41, 29, 80, 0.07);
}

.quotes-grid p {
    margin: 0 0 18px;
    font-size: 16px;
}

.quotes-grid footer {
    color: var(--muted);
    font-size: 13px;
}

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

.faq-list details {
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 800;
}

.faq-list p {
    margin: 12px 0 0;
    color: var(--muted);
}

.about-section {
    display: grid;
    grid-template-columns: 0.35fr 1.65fr;
    align-items: center;
    gap: 48px;
    padding: 52px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #ffffff;
}

.about-badge {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    border: 4px solid var(--ink);
    border-radius: 48% 52% 42% 58%;
    color: #ffffff;
    background: var(--accent);
    box-shadow: 12px 12px 0 var(--yellow);
    font-size: 58px;
    font-weight: 900;
    transform: rotate(-6deg);
}

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

.about-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.about-points li {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    font-size: 13px;
    font-weight: 700;
}

.about-points span {
    color: var(--accent);
}

.app-subscribe {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    align-items: center;
    gap: 40px;
    margin-top: 100px;
    margin-bottom: 90px;
    padding: 54px 64px;
    border-radius: 30px;
    color: #ffffff;
    background: linear-gradient(120deg, #211841, #4b32a7);
}

.app-copy > p {
    max-width: 700px;
    color: #ddd7fa;
}

.subscribe-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 800;
}

.subscribe-form > div {
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    width: min(360px, 100%);
    padding: 0 16px;
    border: 0;
    border-radius: 13px;
    outline: 0;
}

.subscribe-form .button-primary {
    background: var(--accent);
}

.form-status {
    margin: 9px 0 0;
    color: #bfb6e8;
    font-size: 12px;
}

.brand-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    border-radius: 22px;
    color: var(--ink);
    background: #ffffff;
}

.qr-grid {
    display: grid;
    width: 128px;
    height: 128px;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    padding: 10px;
    border: 2px solid var(--ink);
    border-radius: 12px;
    background: #ffffff;
}

.qr-grid span {
    border-radius: 3px;
    background: var(--ink);
}

.qr-grid span:nth-child(2),
.qr-grid span:nth-child(4),
.qr-grid span:nth-child(8) {
    background: var(--accent);
}

.brand-qr strong {
    margin-top: 14px;
}

.brand-qr small {
    color: var(--muted);
}

.site-footer {
    padding: 42px 0;
    color: #d7d0f2;
    background: #17132c;
}

.footer-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.footer-inner strong {
    color: #ffffff;
    font-size: 21px;
}

.footer-inner p {
    margin: 6px 0 0;
    font-size: 13px;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 12px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a {
    color: var(--primary);
}

.category-hero {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 30px;
    padding: 46px 52px;
    border-radius: 28px;
    background: linear-gradient(130deg, #ffffff, #eee8ff);
    box-shadow: var(--shadow);
}

.category-hero-icon {
    display: grid;
    width: 110px;
    height: 110px;
    place-items: center;
    border: 3px solid var(--ink);
    border-radius: 30px;
    color: #ffffff;
    background: var(--accent);
    box-shadow: 8px 8px 0 var(--yellow);
    font-size: 48px;
}

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

.compact-heading {
    margin-top: 80px;
}

.channel-note {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    margin: 80px 0 100px;
    padding: 28px;
    border-left: 5px solid var(--accent);
    border-radius: 16px;
    background: #ffffff;
}

.channel-note > div:first-child {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    color: var(--primary);
    background: #eee8ff;
    font-size: 22px;
}

.channel-note h2 {
    margin: 0 0 6px;
}

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

.reader-main {
    max-width: 980px;
}

.reader-article {
    margin-bottom: 100px;
}

.article-header {
    padding: 46px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: var(--shadow);
    text-align: center;
}

.article-label {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 999px;
    color: var(--primary);
    background: #eee8ff;
    font-size: 12px;
    font-weight: 900;
}

.article-header h1 {
    margin: 18px 0 10px;
    font-size: clamp(32px, 6vw, 52px);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.article-intro {
    max-width: 720px;
    margin: 0 auto;
    color: var(--muted);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin-top: 22px;
    color: #8b8599;
    font-size: 12px;
}

.article-meta a {
    color: var(--primary);
    font-weight: 800;
}

.reading-notice {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 15px;
    margin: 36px 0;
    padding: 22px 26px;
    border-radius: 16px;
    background: #fff3d3;
}

.reading-notice > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    font-size: 21px;
}

.reading-notice h2 {
    margin: 0;
    font-size: 17px;
}

.reading-notice p {
    margin: 4px 0 0;
    color: #776a42;
    font-size: 13px;
}

.comic-reader > h2 {
    margin: 52px 0 24px;
    text-align: center;
}

.reader-frame {
    margin: 0 auto 32px;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 15px 45px rgba(31, 22, 58, 0.12);
}

.reader-frame img {
    width: 100%;
    aspect-ratio: 5 / 7;
    object-fit: cover;
}

.reader-frame figcaption {
    padding: 12px 18px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.chapter-end {
    margin-top: 56px;
    padding: 38px;
    border: 2px dashed #cfc4ec;
    border-radius: 22px;
    text-align: center;
}

.chapter-end > span {
    color: var(--accent);
    font-size: 30px;
}

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

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

.chapter-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.chapter-button {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    font-weight: 800;
}

.chapter-home {
    color: #ffffff;
    border-color: var(--primary);
    background: var(--primary);
}

.chapter-button.is-disabled {
    color: #aaa4b5;
    background: #f1edf3;
}

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

    .site-nav {
        width: 100%;
        flex-basis: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero {
        padding: 50px;
    }

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

@media (max-width: 820px) {
    .header-inner,
    .section-shell,
    .inner-main,
    .reader-main,
    .footer-inner {
        width: min(100% - 28px, 1200px);
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .site-nav {
        display: none;
        flex-wrap: wrap;
        overflow: visible;
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-link {
        flex: 1 1 calc(25% - 8px);
        justify-content: center;
    }

    #main-content {
        padding-top: 28px;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 42px 34px;
    }

    .hero-art {
        width: min(420px, 100%);
        min-height: 360px;
        margin: 0 auto;
    }

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

    .five-columns .comic-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 12px);
        justify-self: center;
    }

    .ranking-section {
        padding: 36px 24px;
    }

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

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

    .mosaic-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .mosaic-large {
        grid-row: auto;
    }

    .about-badge {
        width: 160px;
    }

    .app-subscribe {
        padding: 42px 34px;
    }

    .brand-qr {
        width: 240px;
        margin: 0 auto;
    }

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

    .category-hero-icon {
        width: 80px;
        height: 80px;
        font-size: 34px;
    }
}

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

    .nav-link {
        flex-basis: calc(50% - 6px);
    }

    .hero {
        padding: 34px 22px;
        border-radius: 22px;
    }

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

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

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

    .button,
    .subscribe-form input {
        width: 100%;
        min-height: 48px;
    }

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

    .hero-card-main {
        width: 76%;
    }

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

    .stats-strip div:nth-child(2) {
        border-right: 0;
    }

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

    .section-heading {
        align-items: flex-start;
    }

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

    .five-columns .comic-card:last-child {
        width: calc(50% - 6px);
    }

    .card-body {
        padding: 12px;
    }

    .card-body h2,
    .card-body h3 {
        font-size: 15px;
    }

    .card-body p {
        display: none;
    }

    .card-meta {
        margin-top: 8px;
        flex-direction: column;
    }

    .ranking-feature {
        grid-template-columns: 1fr;
    }

    .ranking-cover {
        min-height: 280px;
    }

    .ranking-list li {
        grid-template-columns: 36px 1fr auto;
    }

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

    .category-card p {
        min-height: auto;
    }

    .korean-feature {
        padding: 38px 22px;
    }

    .korean-copy h2 {
        font-size: 30px;
    }

    .update-table th,
    .update-table td {
        padding: 12px;
        font-size: 12px;
    }

    .mosaic-card {
        padding: 22px;
    }

    .about-section {
        gap: 34px;
        padding: 34px 24px;
    }

    .app-subscribe {
        padding: 34px 24px;
    }

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

    .footer-meta {
        align-items: flex-start;
    }

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

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

    .article-header {
        padding: 32px 20px;
    }

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

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