:root {
    --ink: #10172a;
    --navy: #101b36;
    --navy-soft: #1b2a4d;
    --coral: #ff654d;
    --coral-dark: #dc432e;
    --paper: #f7f8fc;
    --white: #ffffff;
    --muted: #68728a;
    --line: #e4e8f0;
    --sky: #dff2ff;
    --lime: #dff6b8;
    --shadow: 0 18px 50px rgba(23, 34, 64, 0.1);
    --radius-lg: 30px;
    --radius-md: 20px;
    --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: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

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

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

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

button {
    font: inherit;
}

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

.site-header {
    position: sticky;
    z-index: 30;
    top: 0;
    border-bottom: 1px solid rgba(228, 232, 240, 0.88);
    background: rgba(247, 248, 252, 0.94);
    backdrop-filter: blur(18px);
}

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

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

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    color: var(--white);
    border-radius: 15px 15px 15px 4px;
    background: var(--coral);
    box-shadow: 0 8px 20px rgba(255, 101, 77, 0.28);
    font-weight: 900;
    place-items: center;
}

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

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

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

.main-nav {
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 5px;
    list-style: none;
}

.nav-link {
    display: grid;
    min-width: 60px;
    padding: 8px 7px;
    color: #4e5870;
    border-radius: 12px;
    font-size: 0.78rem;
    line-height: 1.2;
    text-align: center;
    transition: 0.2s ease;
    place-items: center;
}

.nav-icon {
    display: grid;
    width: 26px;
    height: 26px;
    margin-bottom: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    font-size: 0.75rem;
    place-items: center;
}

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

.nav-link.is-active .nav-icon,
.nav-link:hover .nav-icon {
    color: var(--navy);
    border-color: var(--white);
    background: var(--lime);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    padding: 9px 12px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
}

.hero {
    display: grid;
    min-height: 590px;
    margin-top: 54px;
    overflow: hidden;
    color: var(--white);
    border-radius: 38px;
    background: var(--navy);
    box-shadow: var(--shadow);
    grid-template-columns: 1.05fr 0.95fr;
}

.hero-copy {
    display: flex;
    padding: 72px 64px;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    display: inline-block;
    color: var(--coral);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 620px;
    margin: 16px 0 20px;
    font-size: clamp(2.6rem, 5vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -0.06em;
}

.hero h1 a {
    color: var(--white);
}

.hero-copy > p {
    max-width: 560px;
    margin: 0;
    color: #cfd6e8;
    font-size: 1.1rem;
}

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

.button {
    display: inline-flex;
    min-height: 46px;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.button-primary {
    color: var(--white);
    background: var(--coral);
    box-shadow: 0 12px 24px rgba(255, 101, 77, 0.26);
}

.button-ghost {
    color: inherit;
    border: 1px solid currentColor;
    background: transparent;
}

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

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

.button-disabled {
    color: #9ba4b7;
    border: 1px solid var(--line);
    background: #eef1f6;
    cursor: default;
}

.hero-stats {
    display: flex;
    margin-top: 48px;
    gap: 34px;
}

.hero-stats span {
    display: grid;
}

.hero-stats strong {
    font-size: 1.35rem;
}

.hero-stats small {
    color: #9da9c4;
}

.hero-feature {
    position: relative;
    min-height: 590px;
    background: #263455;
}

.hero-feature > img {
    height: 100%;
    aspect-ratio: 4 / 5;
}

.hero-feature::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 45%, rgba(16, 27, 54, 0.84));
}

.hero-card-note {
    position: absolute;
    z-index: 2;
    right: 30px;
    bottom: 30px;
    left: 30px;
    display: grid;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    background: rgba(16, 27, 54, 0.7);
    backdrop-filter: blur(14px);
}

.hero-card-note span {
    color: var(--lime);
    font-size: 0.78rem;
    font-weight: 800;
}

.hero-card-note strong {
    margin: 3px 0 4px;
    font-size: 1.35rem;
}

.hero-card-note a {
    color: #dfe8ff;
    font-size: 0.9rem;
}

.trust-strip {
    display: grid;
    margin-top: 24px;
    padding: 22px 30px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    grid-template-columns: repeat(4, 1fr);
}

.trust-strip div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.trust-strip div + div {
    border-left: 1px solid var(--line);
}

.trust-strip b {
    display: grid;
    width: 30px;
    height: 30px;
    color: var(--coral);
    border-radius: 9px;
    background: #fff0ec;
    place-items: center;
}

.section-block {
    margin-top: 104px;
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading h2,
.about-title h2,
.spotlight h2,
.genre-notes h2,
.app-section h2 {
    margin: 8px 0 8px;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

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

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

.category-card {
    display: flex;
    min-height: 230px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: 0 10px 25px rgba(26, 36, 64, 0.05);
    flex-direction: column;
    transition: 0.25s ease;
}

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

.category-icon,
.category-hero-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    color: var(--navy);
    border-radius: 15px 15px 15px 4px;
    background: var(--lime);
    font-weight: 900;
    place-items: center;
}

.category-card strong {
    font-size: 1.12rem;
}

.category-card p {
    margin: 6px 0 14px;
    color: var(--muted);
    font-size: 0.9rem;
}

.category-arrow {
    margin-top: auto;
    color: var(--coral-dark);
    font-size: 0.88rem;
    font-weight: 800;
}

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

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

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

.manga-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

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

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

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

.cover-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    color: var(--white);
    border-radius: 999px;
    background: var(--coral);
    font-size: 0.72rem;
    font-weight: 800;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    margin: 0;
    font-size: 1.1rem;
}

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

.card-meta {
    display: flex;
    color: #7c879f;
    font-size: 0.78rem;
    justify-content: space-between;
}

.section-more {
    margin-top: 26px;
    text-align: right;
}

.section-more a {
    color: var(--coral-dark);
    font-weight: 800;
}

.spotlight {
    display: grid;
    overflow: hidden;
    color: var(--white);
    border-radius: var(--radius-lg);
    background: var(--coral);
    grid-template-columns: 1.1fr 0.9fr;
}

.spotlight-image img {
    height: 100%;
    aspect-ratio: 5 / 4;
}

.spotlight-copy {
    display: flex;
    padding: 58px;
    flex-direction: column;
    justify-content: center;
}

.spotlight-copy .eyebrow {
    color: #ffe9e3;
}

.spotlight-lead {
    margin: 6px 0 18px;
    color: #fff5f2;
}

.feature-list {
    margin: 0 0 28px;
    padding-left: 20px;
}

.feature-list li {
    margin: 8px 0;
}

.spotlight-copy .button {
    align-self: flex-start;
}

.two-column {
    display: grid;
    gap: 24px;
    grid-template-columns: 1.25fr 0.75fr;
}

.ranking-panel,
.quote-panel {
    padding: 38px;
    border-radius: var(--radius-lg);
}

.ranking-panel {
    border: 1px solid var(--line);
    background: var(--white);
}

.ranking-list {
    display: grid;
}

.rank-row {
    display: grid;
    padding: 15px 0;
    align-items: center;
    border-top: 1px solid var(--line);
    grid-template-columns: 55px 1fr auto;
}

.rank-number {
    color: var(--coral);
    font-size: 1.25rem;
    font-weight: 900;
}

.rank-title {
    font-weight: 800;
}

.rank-trend {
    color: var(--muted);
    font-size: 0.8rem;
}

.quote-panel {
    display: flex;
    color: var(--white);
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
}

.quote-mark {
    color: var(--lime);
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 0.7;
}

.quote-panel h2 {
    margin: 20px 0 12px;
    font-size: 2rem;
    line-height: 1.25;
}

.quote-panel p {
    color: #bec8dd;
}

.quote-panel a {
    margin-top: 14px;
    color: var(--lime);
    font-weight: 800;
}

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

.shelf-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow);
}

.shelf-card img {
    aspect-ratio: 13 / 8;
}

.shelf-card > div {
    padding: 25px;
}

.shelf-card span {
    color: var(--coral-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.shelf-card h3 {
    margin: 5px 0;
}

.shelf-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.shelf-card a {
    font-weight: 800;
}

.timeline-section {
    padding: 52px;
    border-radius: var(--radius-lg);
    background: #e9f6ff;
}

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

.update-timeline li {
    display: grid;
    padding: 18px 0;
    align-items: center;
    border-top: 1px solid rgba(24, 51, 76, 0.13);
    grid-template-columns: 90px 1fr auto;
}

.update-timeline time {
    color: var(--coral-dark);
    font-weight: 900;
}

.update-timeline strong,
.update-timeline p {
    margin: 0;
}

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

.update-timeline a {
    font-weight: 800;
}

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

.steps-grid article {
    position: relative;
    min-height: 210px;
    padding: 30px;
    overflow: hidden;
    color: var(--white);
    border-radius: var(--radius-md);
    background: var(--navy-soft);
}

.steps-grid article:nth-child(2) {
    color: var(--ink);
    background: var(--lime);
}

.steps-grid article:nth-child(3) {
    background: var(--coral);
}

.steps-grid article > span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1;
}

.steps-grid article:nth-child(2) > span {
    color: rgba(16, 27, 54, 0.25);
}

.steps-grid h3 {
    margin: 18px 0 5px;
}

.steps-grid p {
    margin: 0;
    opacity: 0.82;
}

.genre-notes {
    display: grid;
    padding: 52px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    gap: 60px;
    grid-template-columns: 1fr 1fr;
}

.genre-notes p {
    color: var(--muted);
}

.meter-list {
    display: grid;
    gap: 22px;
}

.meter-list div {
    display: grid;
    gap: 8px;
}

.meter-list span {
    font-size: 0.9rem;
    font-weight: 800;
}

.meter-list i {
    position: relative;
    display: block;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf0f5;
}

.meter-list i::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--value);
    content: "";
    border-radius: inherit;
    background: var(--coral);
}

.newsletter-mini {
    display: flex;
    padding: 38px 44px;
    align-items: center;
    color: var(--navy);
    border-radius: var(--radius-md);
    background: var(--lime);
    justify-content: space-between;
    gap: 24px;
}

.newsletter-mini > div {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
}

.newsletter-icon {
    grid-row: span 2;
    font-size: 2rem;
}

.newsletter-mini h2,
.newsletter-mini p {
    margin: 0;
}

.about-section {
    display: grid;
    padding: 58px;
    color: var(--white);
    border-radius: var(--radius-lg);
    background: var(--navy);
    gap: 70px;
    grid-template-columns: 0.8fr 1.2fr;
}

.about-copy p {
    margin: 0 0 18px;
    color: #c9d1e2;
}

.app-section {
    display: grid;
    margin-top: 104px;
    margin-bottom: 80px;
    padding: 58px 70px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    gap: 70px;
    grid-template-columns: 1fr auto;
}

.app-copy p {
    max-width: 700px;
    color: var(--muted);
}

.subscribe-note {
    display: block;
    margin-top: 14px;
    color: var(--muted);
}

.brand-code {
    position: relative;
    display: grid;
    width: 190px;
    height: 190px;
    overflow: hidden;
    color: var(--white);
    border: 14px solid var(--navy);
    border-radius: 28px;
    background: repeating-linear-gradient(45deg, var(--navy) 0 10px, var(--coral) 10px 20px);
    box-shadow: var(--shadow);
    place-items: center;
}

.brand-code span {
    display: grid;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: var(--navy);
    font-size: 2rem;
    font-weight: 900;
    place-items: center;
}

.brand-code i {
    position: absolute;
    inset: 16px;
    border: 3px solid var(--white);
    border-radius: 14px;
}

.brand-code b {
    position: absolute;
    bottom: 8px;
    padding: 2px 7px;
    color: var(--navy);
    background: var(--white);
    font-size: 0.6rem;
    letter-spacing: 0.08em;
}

.site-footer {
    padding: 48px 0;
    color: #aeb9ce;
    background: #0a1226;
}

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

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

.brand-mark-small {
    width: 38px;
    height: 38px;
}

.footer-brand strong {
    color: var(--white);
}

.footer-brand p {
    margin: 0;
    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 0.88rem;
}

.copyright {
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    grid-column: 1 / -1;
}

.inner-main {
    min-height: 70vh;
}

.breadcrumb {
    display: flex;
    margin-top: 34px;
    color: var(--muted);
    gap: 10px;
    font-size: 0.86rem;
}

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

.category-hero {
    display: grid;
    margin-top: 22px;
    padding: 54px;
    align-items: center;
    color: var(--white);
    border-radius: var(--radius-lg);
    background: var(--navy);
    gap: 26px;
    grid-template-columns: auto 1fr auto;
}

.category-hero-icon {
    width: 74px;
    height: 74px;
    margin: 0;
    font-size: 1.35rem;
}

.category-hero h1 {
    margin: 5px 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
}

.category-hero p {
    max-width: 700px;
    margin: 0;
    color: #cbd3e4;
}

.work-count,
.reader-category {
    padding: 7px 13px;
    color: var(--navy);
    border-radius: 999px;
    background: var(--lime);
    font-size: 0.8rem;
    font-weight: 900;
}

.category-seo {
    margin-top: 80px;
    margin-bottom: 90px;
    padding: 44px;
    border-left: 6px solid var(--coral);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: var(--white);
}

.category-seo h2 {
    margin-top: 0;
}

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

.reader-article {
    margin-top: 22px;
    margin-bottom: 90px;
}

.reader-header {
    padding: 58px;
    text-align: center;
    border-radius: var(--radius-lg);
    background: var(--white);
}

.reader-header h1 {
    margin: 18px 0 12px;
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.18;
}

.reader-summary {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
}

.reader-meta {
    display: flex;
    margin-top: 28px;
    color: #7a8498;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.86rem;
}

.reading-note {
    display: grid;
    margin: 28px 0 54px;
    padding: 24px 28px;
    border: 1px solid #c9e7f8;
    border-radius: var(--radius-sm);
    background: #eaf7ff;
    grid-template-columns: 100px 1fr;
}

.reading-note p {
    margin: 0;
    color: #53657a;
}

.reader-content {
    max-width: 900px;
    margin: 0 auto;
}

.reader-content > h2,
.chapter-intro {
    text-align: center;
}

.chapter-intro {
    margin-bottom: 32px;
    color: var(--muted);
}

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

.reader-panel img {
    aspect-ratio: 3 / 4;
}

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

.chapter-end {
    margin-top: 46px;
    padding: 46px;
    text-align: center;
    border-radius: var(--radius-md);
    background: var(--navy);
    color: var(--white);
}

.chapter-end span {
    color: var(--lime);
    font-weight: 900;
}

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

.chapter-end p {
    margin: 0;
    color: #c4cde0;
}

.chapter-nav {
    display: grid;
    max-width: 900px;
    margin: 34px auto 0;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
}

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

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

    .main-nav {
        display: none;
        width: 100%;
        margin: 0;
    }

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

    .main-nav ul {
        display: grid;
        padding: 10px 0;
        grid-template-columns: repeat(3, 1fr);
    }

    .nav-link {
        display: flex;
        justify-content: flex-start;
        gap: 8px;
    }

    .nav-icon {
        margin: 0;
    }

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

    .hero-copy {
        padding: 52px 42px;
    }

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

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

@media (max-width: 760px) {
    .section-shell,
    .header-inner,
    .footer-inner {
        width: min(100% - 24px, 1200px);
    }

    .hero {
        min-height: 0;
        margin-top: 28px;
        border-radius: 24px;
        grid-template-columns: 1fr;
    }

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

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

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

    .hero-stats {
        gap: 20px;
    }

    .trust-strip {
        padding: 18px;
        gap: 14px;
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-strip div {
        justify-content: flex-start;
    }

    .trust-strip div + div {
        border-left: 0;
    }

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

    .category-grid,
    .manga-grid-four,
    .manga-grid-five,
    .shelf-grid,
    .steps-grid,
    .two-column,
    .spotlight,
    .genre-notes,
    .about-section,
    .app-section {
        grid-template-columns: 1fr;
    }

    .manga-grid-five .manga-card:last-child {
        max-width: none;
        grid-column: auto;
    }

    .spotlight-image img {
        max-height: 430px;
    }

    .spotlight-copy,
    .ranking-panel,
    .quote-panel,
    .timeline-section,
    .genre-notes,
    .about-section,
    .app-section,
    .reader-header,
    .category-hero {
        padding: 32px 24px;
    }

    .update-timeline li {
        gap: 10px;
        grid-template-columns: 60px 1fr;
    }

    .update-timeline li > a {
        grid-column: 2;
    }

    .newsletter-mini {
        padding: 30px 24px;
        align-items: flex-start;
        flex-direction: column;
    }

    .about-section {
        gap: 22px;
    }

    .app-section {
        margin-top: 70px;
        margin-bottom: 56px;
        gap: 36px;
    }

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

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

    .footer-links {
        flex-wrap: wrap;
    }

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

    .work-count {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .reading-note {
        gap: 8px;
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

    .hero-stats strong {
        font-size: 1.1rem;
    }

    .hero-card-note {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .trust-strip {
        grid-template-columns: 1fr;
    }

    .rank-row {
        grid-template-columns: 45px 1fr;
    }

    .rank-trend {
        grid-column: 2;
    }
}
