/* 漫蛙漫画(网页入口)全站样式 */
:root {
    --banana: #ffd83d;
    --banana-deep: #f0b90b;
    --ink: #171914;
    --muted: #666b61;
    --paper: #fffdf5;
    --mint: #baf7d0;
    --cream: #fff7cf;
    --line: #e6e2d3;
    --white: #ffffff;
    --shadow: 0 20px 55px rgba(35, 32, 18, 0.1);
    --radius-lg: 28px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

.section-space {
    margin-top: 100px;
    margin-bottom: 100px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(23, 25, 20, 0.08);
    background: rgba(255, 253, 245, 0.94);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50% 45% 52% 42%;
    background: var(--banana);
    font-weight: 900;
    transform: rotate(-5deg);
}

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

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

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

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

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 11px;
    border-radius: 12px;
    color: #4e524a;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink);
    background: var(--banana);
}

.ui-icon {
    display: inline-grid;
    place-items: center;
    min-width: 1.25em;
    font-style: normal;
    font-weight: 900;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
}

.hero {
    position: relative;
    min-height: 590px;
    margin-top: 48px;
    padding: 70px;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 64px;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 36px;
    background: linear-gradient(135deg, var(--cream), #ffffff 62%);
    box-shadow: 10px 10px 0 var(--ink);
}

.hero::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    left: -80px;
    bottom: -90px;
    border-radius: 50%;
    background: var(--mint);
}

.hero-copy,
.hero-art {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #7b6500;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.hero h1 {
    margin: 0;
    font-size: clamp(3.8rem, 8vw, 6.8rem);
    line-height: 0.98;
    letter-spacing: -0.08em;
}

.hero h1 a {
    display: inline-block;
}

.hero-lead {
    max-width: 590px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.button-row {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.button {
    min-height: 50px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 4px 5px 0 var(--ink);
}

.button-primary {
    background: var(--banana);
}

.button-ghost,
.button-outline {
    background: var(--white);
}

.button-light {
    border-color: var(--white);
    color: var(--ink);
    background: var(--white);
}

.hero-art {
    min-width: 0;
}

.hero-frame {
    position: relative;
    padding: 12px;
    border: 2px solid var(--ink);
    border-radius: 25px;
    background: var(--white);
    transform: rotate(2deg);
}

.hero-frame img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 15px;
}

.art-label {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--banana);
    font-size: 0.78rem;
    font-weight: 900;
}

.hero-note {
    position: absolute;
    right: -20px;
    bottom: -38px;
    min-width: 190px;
    padding: 16px 18px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 8px;
    border: 2px solid var(--ink);
    border-radius: 16px;
    background: var(--mint);
    box-shadow: 5px 5px 0 var(--ink);
}

.hero-note .ui-icon {
    grid-row: 1 / 3;
    font-size: 1.5rem;
}

.hero-note span:last-child {
    color: #3e4c43;
    font-size: 0.78rem;
}

.pulse-bar {
    margin-top: 50px;
    padding: 24px 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.pulse-item {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    border-right: 1px solid var(--line);
}

.pulse-item:last-child {
    border-right: 0;
}

.pulse-item strong {
    font-size: 1.7rem;
}

.pulse-item span {
    color: var(--muted);
}

.feature-story {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.feature-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    box-shadow: 12px 12px 0 var(--banana);
}

.feature-copy h2,
.section-heading h2,
.app-copy h2,
.about-title h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.feature-copy > p,
.section-heading > p {
    color: var(--muted);
}

.feature-points {
    margin: 24px 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.feature-points li {
    display: flex;
    gap: 10px;
}

.feature-points .ui-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--mint);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid var(--ink);
    font-weight: 900;
}

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

.section-heading > p {
    max-width: 520px;
    margin: 0;
    text-align: right;
}

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

.comic-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.cover-link img {
    width: 100%;
    aspect-ratio: 3 / 4;
    transition: transform 0.35s ease;
}

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

.cover-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 9px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--banana);
    font-size: 0.72rem;
    font-weight: 900;
}

.card-body {
    padding: 18px;
}

.card-kicker {
    color: #8c7100;
    font-size: 0.78rem;
    font-weight: 800;
}

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

.card-body p {
    min-height: 72px;
    margin: 0;
    color: var(--muted);
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 0.9rem;
}

.card-meta {
    margin-top: 14px;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.76rem;
}

.section-action {
    margin-top: 34px;
    text-align: center;
}

.ranking-section {
    padding: 85px 0;
    color: var(--white);
    background: var(--ink);
}

.ranking-section .eyebrow {
    color: var(--banana);
}

.ranking-section .section-heading > p {
    color: #b8bdb3;
}

.ranking-board {
    border-top: 1px solid #3a3d36;
}

.rank-row {
    padding: 17px 8px;
    display: grid;
    grid-template-columns: 72px 64px 1fr auto;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid #3a3d36;
    transition: background 0.2s ease;
}

.rank-row:hover {
    background: #22251f;
}

.rank-number {
    color: var(--banana);
    font-size: 1.55rem;
}

.rank-row img {
    width: 64px;
    height: 64px;
    border-radius: 13px;
}

.rank-copy {
    display: grid;
}

.rank-copy b {
    font-size: 1.05rem;
}

.rank-copy small {
    color: #aeb3a9;
}

.rank-rise {
    color: var(--mint);
    font-weight: 800;
}

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

.category-card {
    min-height: 245px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--ink);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 var(--ink);
}

.category-card > .ui-icon {
    width: 44px;
    height: 44px;
    border: 2px solid var(--ink);
    border-radius: 12px;
    background: var(--white);
    font-size: 1.2rem;
}

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

.category-card p {
    margin: 0;
    color: #4f554c;
    font-size: 0.9rem;
}

.category-more {
    margin-top: auto;
    padding-top: 16px;
    font-weight: 900;
}

.category-tone-1,
.category-tone-5 {
    background: var(--cream);
}

.category-tone-2,
.category-tone-6 {
    background: var(--mint);
}

.category-tone-3,
.category-tone-7 {
    background: #dcecff;
}

.category-tone-4 {
    background: #ffe4e8;
}

.korean-strip {
    padding: 55px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: #313a89;
}

.strip-intro h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.1;
}

.strip-intro p {
    color: #d6d9ff;
}

.mini-cover-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mini-cover-row a {
    min-width: 0;
}

.mini-cover-row img {
    width: 100%;
    aspect-ratio: 5 / 7;
    border-radius: 14px;
}

.mini-cover-row span {
    display: block;
    margin-top: 9px;
    overflow: hidden;
    font-size: 0.84rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.timeline-item {
    padding: 24px;
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.timeline-item time {
    font-size: 1.2rem;
    font-weight: 900;
}

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

.timeline-item p {
    color: var(--muted);
    font-size: 0.84rem;
}

.status-dot {
    padding: 4px 9px;
    border-radius: 999px;
    color: #13552b;
    background: var(--mint);
    font-size: 0.76rem;
    font-weight: 800;
}

.reading-guide {
    padding: 65px;
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    background: var(--banana);
}

.reading-guide .section-heading > p {
    color: #665400;
}

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

.step-card {
    position: relative;
    padding: 30px;
    border: 2px solid var(--ink);
    border-radius: var(--radius-md);
    background: var(--white);
}

.step-number {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #d5d1c2;
    font-size: 2rem;
    font-weight: 900;
}

.step-card > .ui-icon {
    font-size: 1.6rem;
}

.step-card h3 {
    margin: 30px 0 6px;
}

.step-card p {
    margin: 0;
    color: var(--muted);
}

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

.editorial-card {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: var(--ink);
}

.editorial-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 15%, rgba(0, 0, 0, 0.9));
}

.editorial-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.editorial-card > div {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 28px;
}

.collection-count {
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--ink);
    background: var(--banana);
    font-size: 0.75rem;
    font-weight: 900;
}

.editorial-card h3 {
    margin: 12px 0 4px;
    font-size: 1.5rem;
}

.editorial-card p {
    margin: 0 0 12px;
    color: #dbded6;
}

.editorial-card a {
    font-weight: 900;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.quote-grid blockquote {
    margin: 0;
    padding: 30px;
    border-left: 6px solid var(--banana);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: var(--white);
    box-shadow: 0 12px 35px rgba(25, 25, 15, 0.06);
}

.quote-grid p {
    margin-top: 0;
    font-size: 1.05rem;
}

.quote-grid cite {
    color: var(--muted);
    font-style: normal;
    font-weight: 800;
}

.about-section {
    padding: 70px;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 70px;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
}

.about-content {
    columns: 2;
    column-gap: 36px;
}

.about-content p {
    margin-top: 0;
    color: var(--muted);
    break-inside: avoid;
}

.app-panel {
    padding: 60px 70px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
    border-radius: var(--radius-lg);
    color: var(--white);
    background: var(--ink);
}

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

.update-note {
    color: #c7cbc2;
    font-size: 0.86rem;
}

.brand-qr {
    position: relative;
    width: 170px;
    height: 170px;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    border: 8px solid var(--white);
    border-radius: 20px;
    background: var(--white);
}

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

.brand-qr i:nth-child(3n) {
    background: var(--banana);
}

.qr-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 5px solid var(--white);
    border-radius: 50%;
    color: var(--ink);
    background: var(--banana);
    font-weight: 900;
    transform: translate(-50%, -50%);
}

.site-footer {
    padding: 50px 0;
    border-top: 1px solid var(--line);
    background: #f3f0e4;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px 50px;
    align-items: center;
}

.footer-inner p {
    margin: 4px 0 0;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 24px;
    font-weight: 800;
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid #d6d2c4;
    font-size: 0.82rem;
}

.inner-main,
.reader-main {
    padding: 42px 0 70px;
}

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

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

.category-hero {
    min-height: 300px;
    padding: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, var(--banana), var(--cream));
    box-shadow: 9px 9px 0 var(--ink);
}

.category-hero > div:first-child {
    max-width: 720px;
}

.large-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 15px;
    background: var(--white);
    font-size: 1.45rem;
    font-weight: 900;
}

.category-hero h1 {
    margin: 18px 0 8px;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    line-height: 1;
}

.category-hero p {
    margin: 0;
    color: #514914;
    font-size: 1.05rem;
}

.category-summary {
    min-width: 145px;
    min-height: 145px;
    display: grid;
    place-content: center;
    text-align: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--white);
}

.category-summary strong {
    font-size: 2.8rem;
    line-height: 1;
}

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

.catalog-grid .card-body p {
    min-height: 94px;
    -webkit-line-clamp: 4;
}

.category-seo {
    padding: 45px;
    border-left: 8px solid var(--banana);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: var(--white);
}

.category-seo h2 {
    margin-top: 0;
    font-size: 2rem;
}

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

.reader-shell {
    width: min(960px, calc(100% - 40px));
    margin-inline: auto;
}

.reader-header {
    padding: 45px;
    text-align: center;
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    background: var(--cream);
}

.reader-header h1 {
    margin: 4px 0 20px;
    font-size: clamp(2.5rem, 6vw, 4.4rem);
    line-height: 1.15;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    color: var(--muted);
    font-size: 0.88rem;
}

.reading-notice {
    margin: 34px 0;
    padding: 24px;
    display: flex;
    gap: 18px;
    border: 1px solid #a8dcb8;
    border-radius: var(--radius-md);
    background: #edfff3;
}

.reading-notice > .ui-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--mint);
}

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

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

.reading-notice p {
    color: #43604b;
    font-size: 0.9rem;
}

.chapter-content > h2 {
    margin: 58px 0 24px;
    text-align: center;
    font-size: 1.5rem;
}

.comic-panel {
    margin: 0 0 42px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 16px 45px rgba(35, 32, 18, 0.08);
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #e9e6da;
}

.comic-panel figcaption {
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
}

.comic-panel figcaption strong {
    color: #806900;
}

.comic-panel figcaption span {
    color: var(--muted);
}

.chapter-end {
    margin-top: 65px;
    padding: 45px;
    text-align: center;
    border: 2px dashed var(--ink);
    border-radius: var(--radius-lg);
    background: var(--banana);
}

.chapter-end > .ui-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--white);
    font-size: 1.4rem;
}

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

.chapter-end p {
    margin: 0;
}

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

.chapter-button,
.back-button {
    min-height: 76px;
    padding: 14px 18px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

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

.chapter-button small {
    color: var(--muted);
}

.chapter-button.is-disabled {
    color: #a6a79f;
    background: #f2f0e9;
}

.back-button {
    min-width: 180px;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    border: 2px solid var(--ink);
    background: var(--banana);
    font-weight: 900;
}

@media (max-width: 1080px) {
    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .header-inner {
        position: relative;
    }

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

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

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

    .hero {
        padding: 55px;
        gap: 40px;
    }

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

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

@media (max-width: 820px) {
    .section-space {
        margin-top: 72px;
        margin-bottom: 72px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 48px;
    }

    .hero-art {
        margin-top: 10px;
    }

    .pulse-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 0;
    }

    .pulse-item:nth-child(2) {
        border-right: 0;
    }

    .feature-story,
    .korean-strip,
    .about-section {
        grid-template-columns: 1fr;
    }

    .feature-story {
        gap: 45px;
    }

    .korean-strip,
    .reading-guide,
    .about-section,
    .app-panel {
        padding: 44px;
    }

    .timeline,
    .editorial-grid,
    .quote-grid {
        grid-template-columns: 1fr;
    }

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

    .about-content {
        columns: 1;
    }

    .app-panel {
        grid-template-columns: 1fr;
    }

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

    .category-hero {
        padding: 42px;
    }

    .category-summary {
        display: none;
    }

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

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

@media (max-width: 560px) {
    .shell,
    .reader-shell {
        width: min(100% - 24px, 1200px);
    }

    .header-inner {
        min-height: 70px;
    }

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

    .brand-copy small {
        display: none;
    }

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

    .hero {
        margin-top: 26px;
        padding: 34px 24px 46px;
        border-radius: 24px;
        box-shadow: 5px 6px 0 var(--ink);
    }

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

    .hero-note {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -14px 12px 0;
    }

    .button {
        width: 100%;
    }

    .pulse-bar {
        padding: 20px 12px;
    }

    .pulse-item {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 14px;
        text-align: left;
    }

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

    .catalog-grid .comic-card:last-child {
        grid-column: auto;
        width: 100%;
    }

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

    .rank-row {
        grid-template-columns: 44px 52px 1fr;
        gap: 10px;
    }

    .rank-row img {
        width: 52px;
        height: 52px;
    }

    .rank-rise {
        display: none;
    }

    .korean-strip,
    .reading-guide,
    .about-section,
    .app-panel {
        padding: 32px 24px;
    }

    .mini-cover-row {
        gap: 8px;
    }

    .timeline-item {
        grid-template-columns: 58px 1fr;
        padding: 18px;
    }

    .status-dot {
        grid-column: 2;
        justify-self: start;
    }

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

    .footer-links {
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .category-hero {
        min-height: 260px;
        padding: 34px 24px;
        box-shadow: 5px 6px 0 var(--ink);
    }

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

    .comic-panel figcaption {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .chapter-end {
        padding: 34px 22px;
    }

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

    .back-button,
    .chapter-button {
        grid-column: 1;
    }

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

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