:root {
    --banana: #ffd633;
    --banana-deep: #f5b800;
    --ink: #101828;
    --ink-soft: #344054;
    --paper: #fffdf5;
    --white: #ffffff;
    --line: #e9e5d8;
    --blue: #3857ff;
    --coral: #ff6b57;
    --mint: #4fd1b5;
    --shadow: 0 18px 50px rgba(16, 24, 40, 0.10);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.shell {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    background: rgba(255, 253, 245, 0.94);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 15px 15px 20px 12px;
    background: var(--banana);
    font-size: 25px;
    transform: rotate(-4deg);
}

.brand-words {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-words strong {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
}

.brand-words small {
    margin-top: 5px;
    color: #6b7280;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 11px;
    border-radius: 12px;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--ink);
    background: var(--banana);
}

.nav-icon {
    font-size: 1rem;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
}

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 620px;
    margin-top: 42px;
    padding: 64px;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 36px;
    background: var(--banana);
    box-shadow: 12px 12px 0 var(--ink);
}

.hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
}

.hero-kicker,
.eyebrow {
    display: inline-block;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.hero h1 {
    margin: 16px 0 10px;
    font-size: clamp(3.5rem, 7vw, 6.8rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.hero h1 a {
    display: inline-block;
}

.hero-lead {
    max-width: 580px;
    margin: 26px 0;
    color: #2c2b24;
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border: 2px solid var(--ink);
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
}

.button-primary {
    color: var(--white);
    background: var(--ink);
}

.button-ghost {
    background: transparent;
}

.button-light {
    color: var(--ink);
    background: var(--white);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 34px;
    font-size: 0.84rem;
    font-weight: 700;
}

.hero-proof span::before {
    content: "✓";
    margin-right: 6px;
}

.hero-covers {
    position: relative;
    min-height: 480px;
}

.hero-cover {
    position: absolute;
    width: 245px;
    margin: 0;
    overflow: hidden;
    border: 3px solid var(--ink);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 8px 8px 0 rgba(16, 24, 40, 0.96);
}

.hero-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.hero-cover figcaption {
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 800;
}

.hero-cover-1 {
    top: 12px;
    left: 8%;
    transform: rotate(-8deg);
}

.hero-cover-2 {
    z-index: 2;
    top: 86px;
    right: 2%;
    transform: rotate(7deg);
}

.hero-cover-3 {
    bottom: -50px;
    left: 25%;
    transform: rotate(1deg);
}

.update-strip {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 52px;
    padding: 18px 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    white-space: nowrap;
}

.strip-label {
    padding: 3px 10px;
    border-radius: 8px;
    color: var(--white);
    background: var(--coral);
    font-weight: 800;
}

.content-section {
    margin-top: 100px;
    margin-bottom: 100px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.section-heading h2,
.editorial-copy h2,
.tools-intro h2,
.about-section h2,
.app-section h2 {
    margin: 8px 0;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-heading p {
    max-width: 680px;
    margin: 0;
    color: #667085;
}

.text-link {
    flex: 0 0 auto;
    color: var(--blue);
    font-weight: 800;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-card {
    display: flex;
    min-height: 235px;
    flex-direction: column;
    padding: 24px;
    border: 1px solid rgba(16, 24, 40, 0.14);
    border-radius: var(--radius);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-card:last-child {
    grid-column: span 2;
}

.category-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 16px;
    font-size: 1.25rem;
}

.category-card h3 {
    margin: 20px 0 6px;
    font-size: 1.22rem;
}

.category-card p {
    margin: 0;
    color: #475467;
    font-size: 0.92rem;
}

.category-count {
    margin-top: auto;
    padding-top: 14px;
    font-weight: 800;
}

.tone-1,
.tone-5 {
    background: #fff0d8;
}

.tone-2,
.tone-6 {
    background: #e8edff;
}

.tone-3,
.tone-7 {
    background: #ffe8e3;
}

.tone-4 {
    background: #ddf8f0;
}

.latest-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: end;
}

.comic-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.comic-cover {
    position: relative;
    display: block;
    overflow: hidden;
}

.comic-cover img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 250ms ease;
}

.comic-card:hover .comic-cover img {
    transform: scale(1.035);
}

.cover-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(16, 24, 40, 0.86);
    font-size: 0.78rem;
    font-weight: 800;
}

.comic-body {
    padding: 18px;
}

.comic-body h3 {
    margin: 0 0 8px;
    font-size: 1.18rem;
    line-height: 1.35;
}

.comic-body p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #667085;
    font-size: 0.9rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.comic-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    color: #667085;
    font-size: 0.8rem;
}

.comic-feature {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
}

.comic-feature .comic-cover img {
    height: 100%;
}

.comic-feature .comic-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
}

.comic-feature .comic-body h3 {
    font-size: 1.7rem;
}

.chapter-list {
    border-top: 1px solid var(--line);
}

.chapter-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 24px 10px;
    border-bottom: 1px solid var(--line);
}

.chapter-row:hover {
    background: rgba(255, 214, 51, 0.13);
}

.chapter-no {
    color: var(--coral);
    font-size: 1.25rem;
    font-weight: 900;
}

.chapter-info {
    display: flex;
    flex-direction: column;
}

.chapter-info small,
.chapter-time {
    color: #667085;
    font-size: 0.8rem;
}

.dark-section {
    padding: 96px 0;
    color: var(--white);
    background: var(--ink);
}

.dark-section .section-heading p {
    color: #aeb7c6;
}

.dark-section .eyebrow,
.dark-section .text-link {
    color: var(--banana);
}

.ranking-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-list li {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.rank-number {
    color: var(--banana);
    font-size: 2rem;
    font-weight: 900;
}

.ranking-list a {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ranking-list img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
}

.ranking-list a span {
    display: flex;
    flex-direction: column;
}

.ranking-list small {
    color: #aeb7c6;
}

.rank-trend {
    color: var(--mint);
    font-size: 0.85rem;
    font-weight: 800;
}

.mood-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.mood-board a {
    display: flex;
    min-height: 185px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    border: 2px solid var(--ink);
    border-radius: 80px 24px 24px 24px;
    background: var(--white);
}

.mood-board a:nth-child(2) {
    background: var(--banana);
}

.mood-board a:nth-child(3) {
    color: var(--white);
    background: var(--blue);
}

.mood-board a:nth-child(4) {
    background: #ddf8f0;
}

.mood-board a > span {
    margin-bottom: auto;
    font-size: 1.7rem;
}

.mood-board strong {
    font-size: 1.18rem;
}

.horizontal-shelf {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.shelf-card .comic-body p {
    display: none;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.schedule-grid a {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    padding: 18px;
    border-right: 1px solid var(--line);
}

.schedule-grid a:last-child {
    border-right: 0;
}

.schedule-grid a:hover {
    background: #fff7c7;
}

.schedule-day {
    margin-bottom: auto;
    color: var(--blue);
    font-weight: 900;
}

.schedule-grid small {
    margin-top: 6px;
    color: #667085;
}

.editorial-section {
    padding: 90px 0;
    background: var(--blue);
}

.editorial-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.editorial-copy {
    color: var(--white);
}

.editorial-copy .eyebrow {
    color: var(--banana);
}

.editorial-copy p {
    margin: 24px 0 30px;
    color: #e4e8ff;
}

.editorial-art {
    margin: 0;
    overflow: hidden;
    border: 3px solid var(--ink);
    border-radius: 26px;
    background: var(--white);
    box-shadow: 10px 10px 0 var(--ink);
    transform: rotate(2deg);
}

.editorial-art img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.editorial-art figcaption {
    padding: 16px 20px;
    font-weight: 800;
}

.completed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.compact-card .comic-body p {
    min-height: 52px;
}

.reading-tools {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 60px;
    padding: 54px;
    border: 2px solid var(--ink);
    border-radius: 30px;
    background: var(--white);
}

.tools-intro p,
.about-section p,
.app-section p {
    color: #667085;
}

.tool-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tool-list article {
    padding: 20px;
    border-radius: 18px;
    background: #f5f4ee;
}

.tool-icon {
    color: var(--blue);
    font-size: 1.4rem;
}

.tool-list h3 {
    margin: 10px 0 4px;
}

.tool-list p {
    margin: 0;
    color: #667085;
    font-size: 0.9rem;
}

.about-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    padding: 60px;
    border-radius: 32px;
    background: #ddf8f0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    align-items: center;
}

.about-stats div {
    text-align: center;
}

.about-stats dt {
    color: var(--blue);
    font-size: 2.6rem;
    font-weight: 900;
}

.about-stats dd {
    margin: 0;
    font-size: 0.84rem;
}

.app-section {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 70px;
    align-items: center;
    padding: 60px 72px;
    border-radius: 34px;
    background: var(--banana);
}

.subscribe-form {
    display: flex;
    max-width: 560px;
    gap: 10px;
    margin-top: 24px;
}

.subscribe-form input {
    min-width: 0;
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--ink);
    border-radius: 14px;
    background: var(--white);
}

.form-note {
    margin-bottom: 0;
    font-size: 0.84rem;
}

.brand-qr {
    display: grid;
    min-height: 220px;
    place-items: center;
    align-content: center;
    border: 10px solid var(--white);
    outline: 3px solid var(--ink);
    background-image: repeating-linear-gradient(45deg, var(--ink) 0 9px, var(--white) 9px 18px);
    text-align: center;
}

.brand-qr span,
.brand-qr strong,
.brand-qr small {
    padding: 3px 12px;
    background: var(--white);
}

.brand-qr span {
    font-size: 2.2rem;
}

.site-footer {
    margin-top: 110px;
    padding: 55px 0;
    color: #d0d5dd;
    background: var(--ink);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
}

.footer-brand {
    color: var(--banana);
    font-size: 1.4rem;
}

.footer-grid p {
    margin: 6px 0 0;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.copyright {
    grid-column: 1 / -1;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 34px;
    color: #667085;
    font-size: 0.88rem;
}

.breadcrumb a:hover {
    color: var(--blue);
}

.listing-hero {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    gap: 34px;
    align-items: center;
    margin-top: 34px;
    padding: 50px;
    border: 2px solid var(--ink);
    border-radius: 30px;
    background: var(--banana);
    box-shadow: 9px 9px 0 var(--ink);
}

.listing-icon {
    display: grid;
    width: 110px;
    height: 110px;
    place-items: center;
    border: 3px solid var(--ink);
    border-radius: 50%;
    background: var(--white);
    font-size: 3rem;
}

.listing-hero h1 {
    margin: 4px 0 8px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
}

.listing-hero p {
    max-width: 650px;
    margin: 0;
}

.listing-count {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.listing-count strong {
    font-size: 3.5rem;
    line-height: 1;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--white);
}

.filter-bar span {
    color: #667085;
    font-size: 0.86rem;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.listing-card .comic-body p {
    min-height: 52px;
}

.category-note {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 50px;
    padding: 46px;
    border-radius: 26px;
    background: #e8edff;
}

.category-note h2 {
    margin: 8px 0;
}

.category-note p {
    margin: 0;
    color: #475467;
}

.note-points {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
}

.reader {
    max-width: 960px;
    margin-top: 34px;
}

.reader-header {
    padding: 56px;
    border: 2px solid var(--ink);
    border-radius: 30px;
    background: var(--banana);
    box-shadow: 8px 8px 0 var(--ink);
    text-align: center;
}

.reader-category {
    color: var(--blue);
    font-weight: 900;
}

.reader-header h1 {
    margin: 12px 0;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.15;
}

.reader-summary {
    max-width: 700px;
    margin: 0 auto;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    margin-top: 24px;
    font-size: 0.86rem;
    font-weight: 700;
}

.reading-notice {
    display: flex;
    gap: 18px;
    margin: 62px 0 34px;
    padding: 24px;
    border: 1px solid #cfd6ff;
    border-radius: 18px;
    background: #f0f2ff;
}

.notice-icon {
    font-size: 1.8rem;
}

.reading-notice h2,
.reading-notice p {
    margin: 0;
}

.comic-chapter {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.comic-panel {
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.comic-panel img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #ececec;
}

.comic-panel figcaption {
    padding: 20px 24px;
}

.comic-panel figcaption span {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.comic-panel figcaption p {
    margin: 5px 0 0;
    color: #667085;
}

.chapter-end {
    margin: 70px 0 36px;
    padding: 52px;
    border: 2px dashed var(--ink);
    border-radius: 24px;
    text-align: center;
}

.end-mark {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--banana);
    font-weight: 900;
}

.chapter-end h2 {
    margin-bottom: 0;
}

.chapter-end p {
    color: #667085;
}

.chapter-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 14px;
    align-items: stretch;
}

.chapter-button {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.chapter-button small {
    color: #667085;
}

.chapter-button strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chapter-button.next {
    text-align: right;
}

@media (max-width: 1024px) {
    .nav-toggle {
        display: grid;
        place-items: center;
        margin-left: auto;
    }

    .main-nav {
        position: absolute;
        top: 78px;
        right: 20px;
        left: 20px;
        display: none;
        grid-template-columns: repeat(4, 1fr);
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: grid;
    }

    .main-nav a {
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: 920px;
    }

    .hero-covers {
        margin-top: 35px;
    }

    .category-grid,
    .completed-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card:last-child {
        grid-column: span 2;
    }

    .horizontal-shelf,
    .listing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .horizontal-shelf .comic-card:last-child,
    .listing-grid .comic-card:last-child {
        grid-column: 2;
    }

    .schedule-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .schedule-grid a {
        border-bottom: 1px solid var(--line);
    }

    .schedule-grid a:last-child {
        grid-column: span 2;
    }

    .about-card,
    .reading-tools {
        grid-template-columns: 1fr;
    }

    .listing-hero {
        grid-template-columns: 110px 1fr;
    }

    .listing-count {
        display: none;
    }
}

@media (max-width: 760px) {
    .shell {
        width: min(100% - 24px, 1200px);
    }

    .brand-words small {
        display: none;
    }

    .main-nav {
        grid-template-columns: repeat(2, 1fr);
        max-height: calc(100vh - 96px);
        overflow-y: auto;
    }

    .main-nav a {
        justify-content: flex-start;
        padding: 12px;
    }

    .hero {
        min-height: 740px;
        margin-top: 24px;
        padding: 34px 22px;
        border-radius: 24px;
        box-shadow: 6px 6px 0 var(--ink);
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-proof {
        gap: 7px 14px;
    }

    .hero-covers {
        min-height: 300px;
    }

    .hero-cover {
        width: 145px;
        border-width: 2px;
        box-shadow: 5px 5px 0 var(--ink);
    }

    .hero-cover figcaption {
        display: none;
    }

    .hero-cover-1 {
        left: 3%;
    }

    .hero-cover-2 {
        top: 55px;
        right: 2%;
    }

    .hero-cover-3 {
        bottom: -18px;
        left: 29%;
    }

    .update-strip {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        white-space: normal;
    }

    .content-section {
        margin-top: 72px;
        margin-bottom: 72px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .category-grid,
    .mood-board,
    .completed-grid,
    .horizontal-shelf,
    .listing-grid,
    .tool-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-card:last-child,
    .horizontal-shelf .comic-card:last-child,
    .listing-grid .comic-card:last-child {
        grid-column: span 2;
    }

    .category-card {
        min-height: 220px;
        padding: 20px;
    }

    .category-card:last-child {
        min-height: 180px;
    }

    .latest-layout,
    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .comic-feature {
        grid-template-columns: 1fr;
    }

    .comic-feature .comic-cover img {
        aspect-ratio: 4 / 3;
    }

    .chapter-time,
    .rank-trend {
        display: none;
    }

    .chapter-row {
        grid-template-columns: 46px 1fr;
    }

    .ranking-list li {
        grid-template-columns: 48px 1fr;
    }

    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-grid a:last-child {
        grid-column: span 2;
    }

    .editorial-grid {
        gap: 40px;
    }

    .reading-tools,
    .about-card,
    .app-section {
        padding: 34px 22px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .app-section {
        grid-template-columns: 1fr;
    }

    .brand-qr {
        width: 220px;
        min-height: 220px;
        margin: auto;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .listing-hero {
        grid-template-columns: 1fr;
        padding: 34px 24px;
    }

    .listing-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .filter-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .category-note {
        grid-template-columns: 1fr;
        padding: 30px 22px;
    }

    .reader-header {
        padding: 38px 20px;
    }

    .reader-meta {
        align-items: center;
        flex-direction: column;
        gap: 4px;
    }

    .chapter-nav {
        grid-template-columns: 1fr 1fr;
    }

    .return-button {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 460px) {
    .category-grid,
    .mood-board,
    .completed-grid,
    .horizontal-shelf,
    .listing-grid,
    .tool-list {
        grid-template-columns: 1fr;
    }

    .category-card:last-child,
    .horizontal-shelf .comic-card:last-child,
    .listing-grid .comic-card:last-child {
        grid-column: auto;
    }

    .comic-body {
        padding: 14px;
    }

    .chapter-button strong {
        font-size: 0.85rem;
    }
}
